Skip to content

Latest commit

 

History

History
111 lines (60 loc) · 2.42 KB

models_Comment.InterfaceComment.md

File metadata and controls

111 lines (60 loc) · 2.42 KB

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:9


createdAt

createdAt: Date

Defined in

src/models/Comment.ts:11


creatorId

creatorId: any

Defined in

src/models/Comment.ts:12


likeCount

likeCount: number

Defined in

src/models/Comment.ts:16


likedBy

likedBy: any[]

Defined in

src/models/Comment.ts:15


postId

postId: any

Defined in

src/models/Comment.ts:14


status

status: string

Defined in

src/models/Comment.ts:17


text

text: string

Defined in

src/models/Comment.ts:10


updatedAt

updatedAt: Date

Defined in

src/models/Comment.ts:13