@databutton/firebase-types 1.53.14 → 1.53.15

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.
@@ -311,20 +311,24 @@ export interface MultipageAppDeploymentDeprecated {
311
311
  requirementsRef: string | null;
312
312
  projectEventRef: string | null;
313
313
  }
314
- interface DeploymentRequestBase {
314
+ interface LegacyComponentDeploymentRequest {
315
315
  createdBy: PerformedBy;
316
316
  deploymentRef: string | null;
317
317
  }
318
318
  /**
319
319
  * Document created by the web app to signal that a component should be deployed.
320
+ *
321
+ * @deprecated no longer in use
320
322
  */
321
- export type AppDeploymentRequest = DeploymentRequestBase;
322
- export interface JobDeploymentRequest extends DeploymentRequestBase {
323
+ export interface JobDeploymentRequest extends LegacyComponentDeploymentRequest {
323
324
  cronExpression: string;
324
325
  cronTimezone: string;
325
326
  scheduleForm: "Weekly" | "Custom";
326
327
  }
327
- export type MultipageAppDeploymentRequest = DeploymentRequestBase;
328
+ /**
329
+ * @deprecated no longer in use
330
+ */
331
+ export type MultipageAppDeploymentRequest = LegacyComponentDeploymentRequest;
328
332
  export declare enum ScheduleState {
329
333
  ACTIVE = "ACTIVE",
330
334
  PAUSED = "PAUSED",
@@ -724,8 +728,8 @@ export type PageSnapshot<T = ComponentSnapshotBase> = T & {
724
728
  export type MultipageAppSnapshot<T = ComponentSnapshotBase> = {
725
729
  id: "main" | string;
726
730
  pages: PageSnapshot<T>[];
727
- dependencies: ComponentDependenciesSnapshot<T>;
728
731
  config?: MultipageAppConfig | null;
732
+ dependencies: ComponentDependenciesSnapshot<T>;
729
733
  };
730
734
  export type JobSnapshot<T = ComponentSnapshotBase> = T & {
731
735
  dependencies: ComponentDependenciesSnapshot<T>;
@@ -734,10 +738,14 @@ export type AppSnapshot<T = ComponentSnapshotBase> = {
734
738
  deployedBy: PerformedBy;
735
739
  multipageApps: MultipageAppSnapshot<T>[];
736
740
  jobs: JobSnapshot<T>[];
741
+ modules?: ModuleSnapshot<T>[];
737
742
  };
738
743
  export interface ProjectDeploymentBase<T = ComponentSnapshotBase> extends AppSnapshot<T> {
739
744
  build: {
740
745
  id: string;
746
+ venv?: {
747
+ name: string;
748
+ };
741
749
  };
742
750
  deployStartedAt?: Timestamp | null;
743
751
  deploySucceededAt?: Timestamp | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@databutton/firebase-types",
3
- "version": "1.53.14",
3
+ "version": "1.53.15",
4
4
  "main": "./lib/index.js",
5
5
  "type": "module",
6
6
  "engines": {