feat: support pagination and searching in notification backend

disabled broadcast notifications for now

Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi>
This commit is contained in:
Heikki Hellgren
2024-02-01 21:19:45 +02:00
parent 50c7dbde2f
commit b3c3672b64
13 changed files with 124 additions and 56 deletions
@@ -28,9 +28,13 @@ export type NotificationServiceOptions = {
};
/** @public */
export type NotificationReceivers =
| { type: 'entity'; entityRef: string | string[] }
| { type: 'broadcast' };
export type NotificationReceivers = {
type: 'entity';
entityRef: string | string[];
};
// TODO: Support for broadcast messages
// | { type: 'broadcast' };
/** @public */
export type NotificationSendOptions = {