Skip to content

Commit e9065d6

Browse files
authored
chore(KNO-4645): update schedule props (#41)
1 parent 7d18558 commit e9065d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/resources/workflows/interfaces.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export interface CreateSchedulesProps {
4848
recipients: (Recipient | RecipientWithUpsert)[];
4949
actor?: Recipient | RecipientWithUpsert | null;
5050
scheduled_at?: string;
51-
repeats: ScheduleRepeatProperties[];
51+
repeats?: ScheduleRepeatProperties[];
5252
tenant?: string;
5353
data?: { [key: string]: any };
5454
}
@@ -75,7 +75,7 @@ export interface Schedule {
7575
workflow: string;
7676
data: { [key: string]: any };
7777
last_occurrence_at: string | null;
78-
next_occurrence_at: string;
78+
next_occurrence_at: string | null;
7979
inserted_at: string;
8080
updated_at: string;
8181
repeats: ScheduleRepeatProperties[];

0 commit comments

Comments
 (0)