Skip to content
Commit c10c7dd1 authored by Martin Juhás's avatar Martin Juhás
Browse files

feat: add noticeboard API

### Additions

* added new type `NoticeboardMessageType`
* added new query `noticeboardMessages(includeExpired: Boolean = false): [NoticeboardMessageType!]!`
* added new mutation `createNoticeboardMessage(content: String!, expiration: DateTime!): NoticeboardMessageType!`
* added new mutation `editNoticeboardMessage(messageId: ID!, newContent: String = null, newExpiration: DateTime = null): NoticeboardMessageType!`
* added new mutation `deleteNoticeboardMessages(messageIds: [ID!]!): [ID!]!`
* added new mutation `deleteExpiredNoticeboardMessages: [ID!]!`
* added new subscription `noticeboardSubscription: (message: NoticeboardMessageType!, eventType: EventType!)`

Closes #479
parent 82ae0306
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment