Skip to content

Commit a22b28e

Browse files
committed
make sendTo optional and add enableNotification to models
1 parent 82fdff9 commit a22b28e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/model.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,8 @@ export type ModelWithScheduleFields = {
7575
};
7676

7777
export type Notification = {
78-
sendTo: string;
78+
sendTo?: string;
79+
enableNotification?: boolean;
7980
availableEvents?: string[];
8081
selectedEvents?: string[];
8182
};

0 commit comments

Comments
 (0)