@databutton/firebase-types 1.93.4 → 1.93.6
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.
|
@@ -224,4 +224,8 @@ export var ConfigTypes;
|
|
|
224
224
|
(function (ConfigTypes) {
|
|
225
225
|
ConfigTypes["SSO"] = "sso";
|
|
226
226
|
})(ConfigTypes || (ConfigTypes = {}));
|
|
227
|
+
export var MigrateToRiffErrorCode;
|
|
228
|
+
(function (MigrateToRiffErrorCode) {
|
|
229
|
+
MigrateToRiffErrorCode["UNKNOWN_ERROR"] = "UNKNOWN_ERROR";
|
|
230
|
+
})(MigrateToRiffErrorCode || (MigrateToRiffErrorCode = {}));
|
|
227
231
|
//# sourceMappingURL=enums.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Timestamp } from "firebase/firestore";
|
|
2
2
|
import type { RunMigrationsResponse } from "../db-api.js";
|
|
3
|
-
import type { CreateProjectErrorCode } from "./enums.js";
|
|
3
|
+
import type { CreateProjectErrorCode, MigrateToRiffErrorCode } from "./enums.js";
|
|
4
4
|
import type { Datafile, Dataframe, Job, Project, ProjectTemplate, ScheduleTarget, ScheduleWhen } from "./persisted.js";
|
|
5
5
|
export type DeleteJob = Pick<Job, "markedForDeletionAt" | "markedForDeletionBy">;
|
|
6
6
|
export type DeleteProject = Pick<Project, "markedForDeletionAt" | "markedForDeletionBy">;
|
|
@@ -402,4 +402,13 @@ export type RemoveMemberFromAccountResponse = {
|
|
|
402
402
|
statusCode: number;
|
|
403
403
|
message: string;
|
|
404
404
|
};
|
|
405
|
+
export type MigrateToRiffRequest = {
|
|
406
|
+
projectId: string;
|
|
407
|
+
};
|
|
408
|
+
export type MigrateToRiffResponse = {
|
|
409
|
+
success: true;
|
|
410
|
+
} | {
|
|
411
|
+
success: false;
|
|
412
|
+
errorCode: MigrateToRiffErrorCode;
|
|
413
|
+
};
|
|
405
414
|
export {};
|