Skip to main content

CreateNotificationPayload

The output of our create Notification mutation.

type CreateNotificationPayload {
clientMutationId: String
notification: Notification
query: Query
accord: Accord
notificationEdge(
orderBy: [NotificationsOrderBy!] = [PRIMARY_KEY_ASC]
): NotificationsEdge
}

Fields

CreateNotificationPayload.clientMutationId ● String scalar

The exact same clientMutationId that was provided in the mutation input, unchanged and unused. May be used by a client to track mutations.

CreateNotificationPayload.notification ● Notification object

The Notification that was created by this mutation.

CreateNotificationPayload.query ● Query object

Our root query field type. Allows us to run any query from our mutation payload.

CreateNotificationPayload.accord ● Accord object

Reads a single Accord that is related to this Notification.

CreateNotificationPayload.notificationEdge ● NotificationsEdge object

An edge for our Notification. May be used by Relay 1.

CreateNotificationPayload.notificationEdge.orderBy ● [NotificationsOrderBy!] list enum

The method to use when ordering Notification.

Returned By

createNotification mutation