Skip to main content

InterfacePost

talawa-api


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


commentCount

> commentCount: number

Defined in

src/models/Post.ts:14


createdAt

> createdAt: Date

Defined in

src/models/Post.ts:15


creatorId

> creatorId: any

Defined in

src/models/Post.ts:16


file

> file: any

Defined in

src/models/Post.ts:17


likeCount

> likeCount: number

Defined in

src/models/Post.ts:18


likedBy

> likedBy: any[]

Defined in

src/models/Post.ts:19


organization

> organization: any

Defined in

src/models/Post.ts:20


pinned

> pinned: boolean

Defined in

src/models/Post.ts:21


status

> status: string

Defined in

src/models/Post.ts:22


text

> text: string

Defined in

src/models/Post.ts:23


title

> title: undefined | string

Defined in

src/models/Post.ts:24


updatedAt

> updatedAt: Date

Defined in

src/models/Post.ts:25