@databutton/firebase-types 1.95.10 → 1.95.11

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.
@@ -25,6 +25,7 @@ export declare enum CollectionName {
25
25
  DEPLOYMENTS = "deployments",
26
26
  DEVRUNS = "devruns",
27
27
  ENV_CONFIGS = "env-configs",
28
+ VARIABLES = "variables",
28
29
  PROJECT_PLANS = "project-plans",
29
30
  DOMAINS = "domains",
30
31
  EVENTS = "events",
@@ -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";
@@ -799,10 +799,19 @@ export interface McpExtensionConfig {
799
799
  }
800
800
  export type SecretRefEnv = "admin" | "app" | "dev" | "prod";
801
801
  export interface SecretRef {
802
- env?: SecretRefEnv;
803
802
  name: string;
803
+ env?: SecretRefEnv;
804
+ }
805
+ export interface SecretV3Ref {
806
+ parent: string;
807
+ secretId: string;
804
808
  }
805
- export interface NeonDatabaseExtensionConfig {
809
+ export interface SecretVersionV3Ref {
810
+ parent: string;
811
+ secretId: string;
812
+ version: string;
813
+ }
814
+ export interface NeonDatabaseExtensionConfigV1 {
806
815
  neonProjectId: string;
807
816
  secretRefs: {
808
817
  env: {
@@ -817,6 +826,11 @@ export interface NeonDatabaseExtensionConfig {
817
826
  };
818
827
  };
819
828
  }
829
+ export interface NeonDatabaseExtensionConfigV2 {
830
+ neonProjectId: string;
831
+ connectionUrlEnvVar: string | null;
832
+ }
833
+ export type NeonDatabaseExtensionConfig = NeonDatabaseExtensionConfigV1 | NeonDatabaseExtensionConfigV2;
820
834
  export interface StackAuthExtensionConfig {
821
835
  projectId: string;
822
836
  publishableClientKey: string;
@@ -2349,7 +2363,7 @@ export interface SecretVersion {
2349
2363
  createdBy: PerformedBy;
2350
2364
  markedForDeletionBy: PerformedBy | null;
2351
2365
  }
2352
- export interface SecretVersionRef {
2366
+ export interface ProjectEnvSecretRef {
2353
2367
  kind: "secret";
2354
2368
  parent: string;
2355
2369
  secretId: string;
@@ -2368,5 +2382,5 @@ export interface ProjectEnvValue {
2368
2382
  kind: "value";
2369
2383
  value: string;
2370
2384
  }
2371
- export type ProjectEnvVariable = SecretVersionRef | ProjectEnvValue;
2385
+ export type ProjectEnvVariable = ProjectEnvSecretRef | ProjectEnvValue;
2372
2386
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@databutton/firebase-types",
3
- "version": "1.95.10",
3
+ "version": "1.95.11",
4
4
  "main": "lib/types/published/index.js",
5
5
  "type": "module",
6
6
  "engines": {