Skip to main content

InterfacePost

talawa-apiDocs


talawa-api / models/Post / InterfacePost

Interface: InterfacePost

Represents a MongoDB document for Post in the database.

Properties

_id

> _id: ObjectId

Defined in

src/models/Post.ts:12


commentCount

> commentCount: number

Defined in

src/models/Post.ts:13


createdAt

> createdAt: Date

Defined in

src/models/Post.ts:14


creatorId

> creatorId: any

Defined in

src/models/Post.ts:15


imageUrl

> imageUrl: undefined | null | string

Defined in

src/models/Post.ts:16


likeCount

> likeCount: number

Defined in

src/models/Post.ts:17


likedBy

> likedBy: any[]

Defined in

src/models/Post.ts:18


organization

> organization: any

Defined in

src/models/Post.ts:19


pinned

> pinned: boolean

Defined in

src/models/Post.ts:20


status

> status: string

Defined in

src/models/Post.ts:21


text

> text: string

Defined in

src/models/Post.ts:22


title

> title: undefined | string

Defined in

src/models/Post.ts:23


updatedAt

> updatedAt: Date

Defined in

src/models/Post.ts:24


videoUrl

> videoUrl: undefined | null | string

Defined in

src/models/Post.ts:25