@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.
@@ -206,3 +206,6 @@ export declare enum CreateProjectErrorCode {
206
206
  export declare enum ConfigTypes {
207
207
  SSO = "sso"
208
208
  }
209
+ export declare enum MigrateToRiffErrorCode {
210
+ UNKNOWN_ERROR = "UNKNOWN_ERROR"
211
+ }
@@ -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 {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@databutton/firebase-types",
3
- "version": "1.93.4",
3
+ "version": "1.93.6",
4
4
  "main": "lib/types/published/index.js",
5
5
  "type": "module",
6
6
  "engines": {