Skip to main content

InterfaceComment

talawa-apiDocs


talawa-api / models/Comment / InterfaceComment

Interface: InterfaceComment

Represents a document for a comment in the MongoDB database.

Properties

_id

> _id: ObjectId

Defined in

src/models/Comment.ts:11


createdAt

> createdAt: Date

Defined in

src/models/Comment.ts:13


creatorId

> creatorId: any

Defined in

src/models/Comment.ts:14


likeCount

> likeCount: number

Defined in

src/models/Comment.ts:18


likedBy

> likedBy: any[]

Defined in

src/models/Comment.ts:17


postId

> postId: any

Defined in

src/models/Comment.ts:16


status

> status: string

Defined in

src/models/Comment.ts:19


text

> text: string

Defined in

src/models/Comment.ts:12


updatedAt

> updatedAt: Date

Defined in

src/models/Comment.ts:15