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
- _id
- commentCount
- createdAt
- creatorId
- imageUrl
- likeCount
- likedBy
- organization
- pinned
- status
- text
- title
- updatedAt
- videoUrl
Properties
_id
• _id: ObjectId
Defined in
commentCount
• commentCount: number
Defined in
createdAt
• createdAt: Date
Defined in
creatorId
• creatorId: any
Defined in
imageUrl
• imageUrl: undefined
| null
| string
Defined in
likeCount
• likeCount: number
Defined in
likedBy
• likedBy: any
[]
Defined in
organization
• organization: any
Defined in
pinned
• pinned: boolean
Defined in
status
• status: string
Defined in
text
• text: string
Defined in
title
• title: undefined
| string
Defined in
updatedAt
• updatedAt: Date
Defined in
videoUrl
• videoUrl: undefined
| null
| string