@databutton/firebase-types 1.95.1 → 1.95.2

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.
@@ -1,7 +1,7 @@
1
1
  import type { Timestamp } from "firebase/firestore";
2
2
  import type { RunMigrationsResponse } from "../db-api.js";
3
3
  import type { CreateProjectErrorCode, MigrateToRiffErrorCode } from "./enums.js";
4
- import type { Datafile, Dataframe, Job, Project, ProjectTemplate, ScheduleTarget, ScheduleWhen } from "./persisted.js";
4
+ import type { ApprovalLevel, Datafile, Dataframe, Job, PermissionName, 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">;
7
7
  export type DeleteDataframe = Pick<Dataframe, "markedForDeletionAt" | "markedForDeletionBy">;
@@ -413,4 +413,11 @@ export type MigrateToRiffResponse = {
413
413
  success: false;
414
414
  errorCode: MigrateToRiffErrorCode;
415
415
  };
416
+ export type UpsertGatingConfigRequest = {
417
+ accountId: string;
418
+ approvalLevelRequiredFor: Record<PermissionName, ApprovalLevel>;
419
+ };
420
+ export type UpsertGatingConfigResponse = {
421
+ success: boolean;
422
+ };
416
423
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@databutton/firebase-types",
3
- "version": "1.95.1",
3
+ "version": "1.95.2",
4
4
  "main": "lib/types/published/index.js",
5
5
  "type": "module",
6
6
  "engines": {