getNotifications query should be called.
Results will be returned with the pagination and possibility to change the order (default sorting is by the creation date, ascending).
The following arguments can be used in the query:
| Argument | Type | Description | Default |
|---|---|---|---|
after | Cursor | Returns results that come after the specified cursor. Should be used together with first parameter. Cannot be used if before is set. | — |
before | Cursor | Returns results that come before the specified cursor. Should be used together with last parameter. Cannot be used if after is set. | — |
first | Integer | Returns up to the first N elements from the list. Required if after parameter is set. Cannot be used together with last. | — |
last | Integer | Returns up to the first N elements from the list. Required if before parameter is set. Cannot be used together with first. | — |
reverse | Boolean | Allows to reverse the order of the underlying list (default order is ascending). | false |
typr | NotificationType | Provides a filter by the notification type. Multiple options can be selected. | — |
status | NotificationStatus | Allows to filter the results by the notification status. Available options: READ, UNREAD | — |
Notification objects.