@databutton/firebase-types 1.53.14 → 1.54.0

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.
@@ -31,6 +31,9 @@ export interface Profile {
31
31
  discordUsername?: string;
32
32
  websiteUrl?: string;
33
33
  profileCardThemeColors?: string[];
34
+ experience?: string;
35
+ companySize?: string;
36
+ aimingToBuild?: string;
34
37
  heardAboutDatabuttonFrom?: string;
35
38
  heardAboutDatabuttonFromComment?: string;
36
39
  announcementsReadAt?: {
@@ -311,20 +314,24 @@ export interface MultipageAppDeploymentDeprecated {
311
314
  requirementsRef: string | null;
312
315
  projectEventRef: string | null;
313
316
  }
314
- interface DeploymentRequestBase {
317
+ interface LegacyComponentDeploymentRequest {
315
318
  createdBy: PerformedBy;
316
319
  deploymentRef: string | null;
317
320
  }
318
321
  /**
319
322
  * Document created by the web app to signal that a component should be deployed.
323
+ *
324
+ * @deprecated no longer in use
320
325
  */
321
- export type AppDeploymentRequest = DeploymentRequestBase;
322
- export interface JobDeploymentRequest extends DeploymentRequestBase {
326
+ export interface JobDeploymentRequest extends LegacyComponentDeploymentRequest {
323
327
  cronExpression: string;
324
328
  cronTimezone: string;
325
329
  scheduleForm: "Weekly" | "Custom";
326
330
  }
327
- export type MultipageAppDeploymentRequest = DeploymentRequestBase;
331
+ /**
332
+ * @deprecated no longer in use
333
+ */
334
+ export type MultipageAppDeploymentRequest = LegacyComponentDeploymentRequest;
328
335
  export declare enum ScheduleState {
329
336
  ACTIVE = "ACTIVE",
330
337
  PAUSED = "PAUSED",
@@ -724,8 +731,8 @@ export type PageSnapshot<T = ComponentSnapshotBase> = T & {
724
731
  export type MultipageAppSnapshot<T = ComponentSnapshotBase> = {
725
732
  id: "main" | string;
726
733
  pages: PageSnapshot<T>[];
727
- dependencies: ComponentDependenciesSnapshot<T>;
728
734
  config?: MultipageAppConfig | null;
735
+ dependencies: ComponentDependenciesSnapshot<T>;
729
736
  };
730
737
  export type JobSnapshot<T = ComponentSnapshotBase> = T & {
731
738
  dependencies: ComponentDependenciesSnapshot<T>;
@@ -734,10 +741,14 @@ export type AppSnapshot<T = ComponentSnapshotBase> = {
734
741
  deployedBy: PerformedBy;
735
742
  multipageApps: MultipageAppSnapshot<T>[];
736
743
  jobs: JobSnapshot<T>[];
744
+ modules?: ModuleSnapshot<T>[];
737
745
  };
738
746
  export interface ProjectDeploymentBase<T = ComponentSnapshotBase> extends AppSnapshot<T> {
739
747
  build: {
740
748
  id: string;
749
+ venv?: {
750
+ name: string;
751
+ };
741
752
  };
742
753
  deployStartedAt?: Timestamp | null;
743
754
  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.54.0",
4
4
  "main": "./lib/index.js",
5
5
  "type": "module",
6
6
  "engines": {