@databutton/firebase-types 1.95.10 → 1.95.12
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.
|
@@ -26,6 +26,7 @@ export var CollectionName;
|
|
|
26
26
|
CollectionName["DEPLOYMENTS"] = "deployments";
|
|
27
27
|
CollectionName["DEVRUNS"] = "devruns";
|
|
28
28
|
CollectionName["ENV_CONFIGS"] = "env-configs";
|
|
29
|
+
CollectionName["VARIABLES"] = "variables";
|
|
29
30
|
CollectionName["PROJECT_PLANS"] = "project-plans";
|
|
30
31
|
CollectionName["DOMAINS"] = "domains";
|
|
31
32
|
CollectionName["EVENTS"] = "events";
|
|
@@ -57,6 +57,10 @@ export interface Account {
|
|
|
57
57
|
* Used to determine deployed app URLs
|
|
58
58
|
*/
|
|
59
59
|
publicUsername: PublicUsername | null;
|
|
60
|
+
/**
|
|
61
|
+
* Default project template ID for new projects (leave blank for using product default)
|
|
62
|
+
*/
|
|
63
|
+
defaultProjectTemplateId?: string;
|
|
60
64
|
}
|
|
61
65
|
interface AccountConfigBase {
|
|
62
66
|
enabledBy: PerformedBy;
|
|
@@ -799,10 +803,19 @@ export interface McpExtensionConfig {
|
|
|
799
803
|
}
|
|
800
804
|
export type SecretRefEnv = "admin" | "app" | "dev" | "prod";
|
|
801
805
|
export interface SecretRef {
|
|
802
|
-
env?: SecretRefEnv;
|
|
803
806
|
name: string;
|
|
807
|
+
env?: SecretRefEnv;
|
|
808
|
+
}
|
|
809
|
+
export interface SecretV3Ref {
|
|
810
|
+
parent: string;
|
|
811
|
+
secretId: string;
|
|
804
812
|
}
|
|
805
|
-
export interface
|
|
813
|
+
export interface SecretVersionV3Ref {
|
|
814
|
+
parent: string;
|
|
815
|
+
secretId: string;
|
|
816
|
+
version: string;
|
|
817
|
+
}
|
|
818
|
+
export interface NeonDatabaseExtensionConfigV1 {
|
|
806
819
|
neonProjectId: string;
|
|
807
820
|
secretRefs: {
|
|
808
821
|
env: {
|
|
@@ -817,6 +830,11 @@ export interface NeonDatabaseExtensionConfig {
|
|
|
817
830
|
};
|
|
818
831
|
};
|
|
819
832
|
}
|
|
833
|
+
export interface NeonDatabaseExtensionConfigV2 {
|
|
834
|
+
neonProjectId: string;
|
|
835
|
+
connectionUrlEnvVar: string | null;
|
|
836
|
+
}
|
|
837
|
+
export type NeonDatabaseExtensionConfig = NeonDatabaseExtensionConfigV1 | NeonDatabaseExtensionConfigV2;
|
|
820
838
|
export interface StackAuthExtensionConfig {
|
|
821
839
|
projectId: string;
|
|
822
840
|
publishableClientKey: string;
|
|
@@ -2349,7 +2367,7 @@ export interface SecretVersion {
|
|
|
2349
2367
|
createdBy: PerformedBy;
|
|
2350
2368
|
markedForDeletionBy: PerformedBy | null;
|
|
2351
2369
|
}
|
|
2352
|
-
export interface
|
|
2370
|
+
export interface ProjectEnvSecretRef {
|
|
2353
2371
|
kind: "secret";
|
|
2354
2372
|
parent: string;
|
|
2355
2373
|
secretId: string;
|
|
@@ -2368,5 +2386,5 @@ export interface ProjectEnvValue {
|
|
|
2368
2386
|
kind: "value";
|
|
2369
2387
|
value: string;
|
|
2370
2388
|
}
|
|
2371
|
-
export type ProjectEnvVariable =
|
|
2389
|
+
export type ProjectEnvVariable = ProjectEnvSecretRef | ProjectEnvValue;
|
|
2372
2390
|
export {};
|