update
This commit is contained in:
@@ -15,7 +15,7 @@ export enum NotifTitleEnum {
|
||||
REVIEW_CREATED = 'review.created',
|
||||
ORDER_STATUS_CHANGED = 'order.status.changed',
|
||||
}
|
||||
export type recipientType = { userId: string; restaurantId: string } | { adminId: string; restaurantId: string };
|
||||
export type recipientType = { userId: string } | { adminId: string };
|
||||
|
||||
export interface NotifRequestMessage {
|
||||
subject: NotifTitleEnum;
|
||||
@@ -37,6 +37,7 @@ export interface NotifRequest {
|
||||
// timestamp: Date;
|
||||
// notifType: NotifTypeEnum;
|
||||
// channels: NotifChannelEnum[];
|
||||
restaurantId: string;
|
||||
recipients: recipientType[];
|
||||
message: NotifRequestMessage;
|
||||
metadata: {
|
||||
|
||||
Reference in New Issue
Block a user