NotificationRule
NotificationRule
Rule to notify a user for a certain type of object event.
| Field | Argument | Type | Description |
|---|---|---|---|
| nodeId | ID! | A globally unique identifier. Can be used in various places throughout the system to identify this single value. | |
| id | UUID! | ||
| screenId | UUID! | ||
| orgId | UUID! | ||
| event | String! | ||
| active | Boolean! | ||
| waitTime | Int! | ||
| createdBy | UUID | ||
| createdAt | Datetime | ||
| spaceId | UUID | ||
| screenByScreenIdAndOrgId | Screen | Reads a single `Screen` that is related to this `NotificationRule`. | |
| orgByOrgId | Org | Reads a single `Org` that is related to this `NotificationRule`. | |
| userByCreatedBy | User | Reads a single `User` that is related to this `NotificationRule`. | |
| spaceBySpaceId | Space | Reads a single `Space` that is related to this `NotificationRule`. | |
| notificationSubscriptionsByNotificationRuleId | NotificationSubscriptionsConnection! | Reads and enables pagination through a set of `NotificationSubscription`. | |
| first | Int | Only read the first `n` values of the set. | |
| last | Int | Only read the last `n` values of the set. | |
| offset | Int | Skip the first `n` values from our `after` cursor, an alternative to cursor based pagination. May not be used with `last`. | |
| before | Cursor | Read all values in the set before (above) this cursor. | |
| after | Cursor | Read all values in the set after (below) this cursor. | |
| orderBy | [NotificationSubscriptionsOrderBy!] | The method to use when ordering `NotificationSubscription`. | |
| condition | NotificationSubscriptionCondition | A condition to be used in determining which values should be returned by the collection. | |
| filter | NotificationSubscriptionFilter | A filter to be used in determining which values should be returned by the collection. | |