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:
@@ -23,14 +23,10 @@ export class DefaultNotificationService implements NotificationService {
|
||||
}
|
||||
|
||||
// @public (undocumented)
|
||||
export type NotificationReceivers =
|
||||
| {
|
||||
type: 'entity';
|
||||
entityRef: string | string[];
|
||||
}
|
||||
| {
|
||||
type: 'broadcast';
|
||||
};
|
||||
export type NotificationReceivers = {
|
||||
type: 'entity';
|
||||
entityRef: string | string[];
|
||||
};
|
||||
|
||||
// @public (undocumented)
|
||||
export type NotificationSendOptions = {
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user