talawa-api / Exports / models/Post / InterfacePost
models/Post.InterfacePost
This is an interface that represents a database(MongoDB) document for Post.
- _id
- commentCount
- createdAt
- creatorId
- imageUrl
- likeCount
- likedBy
- organization
- pinned
- status
- text
- title
- updatedAt
- videoUrl
• _id: ObjectId
• commentCount: number
• createdAt: Date
• creatorId: any
• imageUrl: undefined
| null
| string
• likeCount: number
• likedBy: any
[]
• organization: any
• pinned: boolean
• status: string
• text: string
• title: undefined
| string
• updatedAt: Date
• videoUrl: undefined
| null
| string