Skip to main content

Post

talawa-apiDocs


talawa-api / types/generatedGraphQLTypes / Post

Type Alias: Post

> Post: object

Type declaration

__typename?

> optional __typename: "Post"

_id?

> optional _id: Maybe<Scalars["ID"]["output"]>

commentCount?

> optional commentCount: Maybe<Scalars["Int"]["output"]>

comments?

> optional comments: Maybe<Maybe<Comment>[]>

createdAt

> createdAt: Scalars["DateTime"]["output"]

creator?

> optional creator: Maybe<User>

file?

> optional file: Maybe<File>

likeCount?

> optional likeCount: Maybe<Scalars["Int"]["output"]>

likedBy?

> optional likedBy: Maybe<Maybe<User>[]>

organization

> organization: Organization

pinned?

> optional pinned: Maybe<Scalars["Boolean"]["output"]>

text

> text: Scalars["String"]["output"]

title?

> optional title: Maybe<Scalars["String"]["output"]>

updatedAt

> updatedAt: Scalars["DateTime"]["output"]

Defined in

src/types/generatedGraphQLTypes.ts:2214