Options
All
  • Public
  • Public/Protected
  • All
Menu

Sequelize instance of a Comment

Index

Type aliases

Properties

Variables

Methods

Type aliases

Model

Properties

author

author: User

id

id: string

text

text: string

Variables

define

define: defineCommentModel = defineCommentModel

toPlain

toPlain: toPlainComment = toPlainComment

toPlainList

toPlainList: toPlainComments = toPlainComments

Methods

getAuthor

  • getAuthor(): Promise<User>

setAuthor

  • setAuthor(author: User): Promise<any>

Generated using TypeDoc