Skip to content

Latest commit

 

History

History
166 lines (90 loc) · 3.49 KB

models_Post.InterfacePost.md

File metadata and controls

166 lines (90 loc) · 3.49 KB

talawa-api / Exports / models/Post / InterfacePost

Interface: InterfacePost

models/Post.InterfacePost

This is an interface that represents a database(MongoDB) document for Post.

Table of contents

Properties

Properties

_id

_id: ObjectId

Defined in

src/models/Post.ts:10


commentCount

commentCount: number

Defined in

src/models/Post.ts:11


createdAt

createdAt: Date

Defined in

src/models/Post.ts:12


creatorId

creatorId: any

Defined in

src/models/Post.ts:13


imageUrl

imageUrl: undefined | null | string

Defined in

src/models/Post.ts:14


likeCount

likeCount: number

Defined in

src/models/Post.ts:15


likedBy

likedBy: any[]

Defined in

src/models/Post.ts:16


organization

organization: any

Defined in

src/models/Post.ts:17


pinned

pinned: boolean

Defined in

src/models/Post.ts:18


status

status: string

Defined in

src/models/Post.ts:19


text

text: string

Defined in

src/models/Post.ts:20


title

title: undefined | string

Defined in

src/models/Post.ts:21


updatedAt

updatedAt: Date

Defined in

src/models/Post.ts:22


videoUrl

videoUrl: undefined | null | string

Defined in

src/models/Post.ts:23