InterfacePost
talawa-api / models/Post / InterfacePost
Interface: InterfacePost
Represents a MongoDB document for Post in the database.
Properties
_id
> _id: ObjectId
Defined in
commentCount
> commentCount: number
Defined in
createdAt
> createdAt: Date
Defined in
creatorId
> creatorId: any
Defined in
file
> file: any
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