Notification
Web notifications can be pushed to users to notify them from actions in Kili.
type Notification {
_: Boolean
id: ID!
createdAt: DateTime!
hasBeenSeen: Boolean!
linkFollowed: Boolean!
linkLabel: String
linkPath: String
message: String!
progress: Int
status: NotificationStatus!
url: String!
userID: String!
}
Fields
Notification._ ● Boolean scalar
Notification.id ● ID! non-null scalar
Notification.createdAt ● DateTime! non-null scalar
Notification.hasBeenSeen ● Boolean! non-null scalar
Notification.linkFollowed ● Boolean! non-null scalar
Whether the user has already followed linkPath. The button is one-shot; the link is kept.
Notification.linkLabel ● String scalar
Wording of the button that follows linkPath, e.g. "Update queue".
Notification.linkPath ● String scalar
Relative in-app route the notification points back to, e.g. the queue a bulk action was launched from. Always built by the backend, never supplied by a client.