@databutton/firebase-types 1.79.3 → 1.79.5
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.
|
@@ -296,37 +296,17 @@ export type RestoreBranchResponse = {
|
|
|
296
296
|
success: boolean;
|
|
297
297
|
errorMessage?: string;
|
|
298
298
|
};
|
|
299
|
-
export interface CreateScheduleParams {
|
|
300
|
-
projectId: string;
|
|
301
|
-
displayName: string;
|
|
302
|
-
target: ScheduleTarget;
|
|
303
|
-
when: ScheduleWhen;
|
|
304
|
-
runImmediately: boolean;
|
|
305
|
-
}
|
|
306
|
-
export interface UpdateScheduleWhenParams {
|
|
307
|
-
when: ScheduleWhen;
|
|
308
|
-
}
|
|
309
299
|
export type ScheduleChangeRequest = {
|
|
310
300
|
projectId: string;
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
projectId: string;
|
|
317
|
-
type: "update-when";
|
|
318
|
-
data: {
|
|
319
|
-
scheduleId: string;
|
|
320
|
-
params: UpdateScheduleWhenParams;
|
|
321
|
-
};
|
|
322
|
-
} | {
|
|
323
|
-
projectId: string;
|
|
324
|
-
type: "pause" | "resume" | "delete";
|
|
325
|
-
data: {
|
|
326
|
-
scheduleId: string;
|
|
327
|
-
};
|
|
301
|
+
scheduleId: string | null;
|
|
302
|
+
target: ScheduleTarget | null;
|
|
303
|
+
when: ScheduleWhen | null;
|
|
304
|
+
pause: boolean | null;
|
|
305
|
+
delete: boolean | null;
|
|
328
306
|
};
|
|
329
307
|
export interface ScheduleChangeResponse {
|
|
308
|
+
success: boolean;
|
|
330
309
|
scheduleRef: string;
|
|
310
|
+
errorMessages: string[];
|
|
331
311
|
}
|
|
332
312
|
export {};
|