@databutton/firebase-types 1.79.2 → 1.79.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -303,6 +303,9 @@ export interface CreateScheduleParams {
|
|
|
303
303
|
when: ScheduleWhen;
|
|
304
304
|
runImmediately: boolean;
|
|
305
305
|
}
|
|
306
|
+
export interface UpdateScheduleWhenParams {
|
|
307
|
+
when: ScheduleWhen;
|
|
308
|
+
}
|
|
306
309
|
export type ScheduleChangeRequest = {
|
|
307
310
|
projectId: string;
|
|
308
311
|
type: "create";
|
|
@@ -311,10 +314,10 @@ export type ScheduleChangeRequest = {
|
|
|
311
314
|
};
|
|
312
315
|
} | {
|
|
313
316
|
projectId: string;
|
|
314
|
-
type: "update";
|
|
317
|
+
type: "update-when";
|
|
315
318
|
data: {
|
|
316
319
|
scheduleId: string;
|
|
317
|
-
params:
|
|
320
|
+
params: UpdateScheduleWhenParams;
|
|
318
321
|
};
|
|
319
322
|
} | {
|
|
320
323
|
projectId: string;
|