Skip to main content

talawa-api / Exports / models/Comment / InterfaceComment

Interface: InterfaceComment

models/Comment.InterfaceComment

This is an interface representing a document for a comment in the database - (MongoDB).

Table of contents

Properties

Properties

_id

_id: ObjectId

Defined in

src/models/Comment.ts:10


createdAt

createdAt: Date

Defined in

src/models/Comment.ts:12


creatorId

creatorId: any

Defined in

src/models/Comment.ts:13


likeCount

likeCount: number

Defined in

src/models/Comment.ts:17


likedBy

likedBy: any[]

Defined in

src/models/Comment.ts:16


postId

postId: any

Defined in

src/models/Comment.ts:15


status

status: string

Defined in

src/models/Comment.ts:18


text

text: string

Defined in

src/models/Comment.ts:11


updatedAt

updatedAt: Date

Defined in

src/models/Comment.ts:14