Skip to main content

Announcement

Announcement is an organization-wide announcement displayed above the stream for a set duration

type Announcement {  id: ID!  content: String!  createdAt: Time!  disableAt: Time!  duration: Int!}

Fields#

id (ID!)#

id is a canonical identifier for this Annoucnement, used to dismiss on front-end.

content (String!)#

content is the content displayed for the announcement.

createdAt (Time!)#

createdAt is the creation date.

disableAt (Time!)#

disableAt is the computed date at which announcement will be invalid.

duration (Int!)#

duration determines how long the announcement will be valid for.