@databutton/firebase-types 1.71.22 → 1.71.24

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.
@@ -204,6 +204,8 @@ export type MultipageAppConfig = {
204
204
  * Subcollection under projects
205
205
  *
206
206
  * Every project contains 1 multipage app which in turn contains 0-n pages.
207
+ *
208
+ * @deprecated streamlit only
207
209
  */
208
210
  export interface MultipageApp {
209
211
  /**
@@ -247,6 +249,7 @@ export interface Page {
247
249
  }
248
250
  /**
249
251
  * Subcollection under multipage-apps
252
+ * @deprecated streamlit only
250
253
  */
251
254
  export interface MultipageAppPage {
252
255
  /**
@@ -283,6 +286,7 @@ export interface Frontend {
283
286
  createdBy: PerformedBy;
284
287
  markedForDeletionBy: PerformedBy | null;
285
288
  codeBlockRef: string;
289
+ config?: FrontendConfig;
286
290
  }
287
291
  export declare const DefaultFrontendName = "App";
288
292
  export interface UiComponent {
@@ -356,6 +360,7 @@ export interface Backend {
356
360
  createdBy: PerformedBy;
357
361
  markedForDeletionBy: PerformedBy | null;
358
362
  codeBlockRef: string;
363
+ config?: BackendConfig;
359
364
  capabilityRef?: string;
360
365
  }
361
366
  export declare const DefaultBackendName = "functions";
@@ -701,12 +706,15 @@ export interface ProjectGuidelinesV1 {
701
706
  generatedMarkdown?: string;
702
707
  }
703
708
  export declare enum ProjectExtension {
704
- SHADCN = "shadcn"
709
+ SHADCN = "shadcn",
710
+ FIREBASE_AUTH = "firebase-auth"
705
711
  }
706
- export type ProjectExtensions = {
712
+ export type ProjectExtensionConfig<T = object> = {
707
713
  name: ProjectExtension;
708
714
  version: string;
709
- }[];
715
+ config?: T;
716
+ };
717
+ export type ProjectExtensions = ProjectExtensionConfig[];
710
718
  export interface BaseTheme {
711
719
  defaultFontFamily: string;
712
720
  extraFontFamilies: string[];
@@ -1054,11 +1062,21 @@ export type ComponentSnapshotBase = {
1054
1062
  }>;
1055
1063
  }>;
1056
1064
  };
1065
+ export interface BackendConfig {
1066
+ disableAuth: boolean;
1067
+ }
1068
+ export interface FrontendConfig {
1069
+ disableAuth: boolean;
1070
+ }
1057
1071
  export type ModuleSnapshot<T = ComponentSnapshotBase> = T;
1058
- export type UiComponentSnapshot<T = ComponentSnapshotBase> = T;
1072
+ export type BackendSnapshot<T = ComponentSnapshotBase> = T & {
1073
+ config?: BackendConfig;
1074
+ };
1059
1075
  export type UiFileSnapshot<T = ComponentSnapshotBase> = T;
1060
- export type FrontendSnapshot<T = ComponentSnapshotBase> = T;
1061
- export type BackendSnapshot<T = ComponentSnapshotBase> = T;
1076
+ export type UiComponentSnapshot<T = ComponentSnapshotBase> = T;
1077
+ export type FrontendSnapshot<T = ComponentSnapshotBase> = T & {
1078
+ config?: FrontendConfig;
1079
+ };
1062
1080
  export type ComponentDependenciesSnapshot<T = ComponentSnapshotBase> = {
1063
1081
  modules: ModuleSnapshot<T>[];
1064
1082
  venv: {
@@ -1082,12 +1100,12 @@ export type JobSnapshot<T = ComponentSnapshotBase> = T & {
1082
1100
  export type AppSnapshot<T = ComponentSnapshotBase> = {
1083
1101
  deployedBy: PerformedBy;
1084
1102
  multipageApps: MultipageAppSnapshot<T>[];
1085
- jobs: JobSnapshot<T>[];
1086
1103
  modules?: ModuleSnapshot<T>[];
1087
1104
  backends?: BackendSnapshot<T>[];
1088
- frontends?: FrontendSnapshot<T>[];
1089
- uiComponents?: UiComponentSnapshot<T>[];
1105
+ jobs: JobSnapshot<T>[];
1090
1106
  uiFiles?: UiFileSnapshot<T>[];
1107
+ uiComponents?: UiComponentSnapshot<T>[];
1108
+ frontends?: FrontendSnapshot<T>[];
1091
1109
  };
1092
1110
  export interface ProjectDeploymentBase<T = ComponentSnapshotBase> extends AppSnapshot<T> {
1093
1111
  build: {
@@ -11,11 +11,13 @@ export var StepState;
11
11
  StepState["FAILED"] = "failed";
12
12
  StepState["DONE"] = "done";
13
13
  })(StepState = StepState || (StepState = {}));
14
+ // @deprecated Capability is no longer in use
14
15
  export var CapabilityBuildStage;
15
16
  (function (CapabilityBuildStage) {
16
17
  CapabilityBuildStage["PROTOTYPE"] = "prototype";
17
18
  CapabilityBuildStage["ITERATE"] = "iterate";
18
19
  })(CapabilityBuildStage = CapabilityBuildStage || (CapabilityBuildStage = {}));
20
+ // @deprecated should not be used
19
21
  export const DefaultBackendName = "functions";
20
22
  export var ScheduleState;
21
23
  (function (ScheduleState) {
@@ -53,5 +55,6 @@ export var ProjectBuildStage;
53
55
  export var ProjectExtension;
54
56
  (function (ProjectExtension) {
55
57
  ProjectExtension["SHADCN"] = "shadcn";
58
+ ProjectExtension["FIREBASE_AUTH"] = "firebase-auth";
56
59
  })(ProjectExtension = ProjectExtension || (ProjectExtension = {}));
57
60
  //# sourceMappingURL=persisted.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@databutton/firebase-types",
3
- "version": "1.71.22",
3
+ "version": "1.71.24",
4
4
  "main": "lib/types/published/index.js",
5
5
  "type": "module",
6
6
  "engines": {