@databutton/firebase-types 1.93.10 → 1.93.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.
|
@@ -24,6 +24,7 @@ export declare enum CollectionName {
|
|
|
24
24
|
DEPLOYMENT_REQUESTS = "deployment-requests",
|
|
25
25
|
DEPLOYMENTS = "deployments",
|
|
26
26
|
DEVRUNS = "devruns",
|
|
27
|
+
ENV_CONFIGS = "env-configs",
|
|
27
28
|
PROJECT_PLANS = "project-plans",
|
|
28
29
|
DOMAINS = "domains",
|
|
29
30
|
EVENTS = "events",
|
|
@@ -65,6 +66,8 @@ export declare enum CollectionName {
|
|
|
65
66
|
SEQUENCES = "sequences",
|
|
66
67
|
SHORT_URLS = "short-urls",
|
|
67
68
|
STATIC_ASSETS = "static-assets",
|
|
69
|
+
SECRETS = "secrets",
|
|
70
|
+
SECRET_VERSIONS = "versions",
|
|
68
71
|
THEMES = "themes",
|
|
69
72
|
THREADS = "threads",
|
|
70
73
|
UPGRADE_REQUESTS = "upgrade-requests",
|
|
@@ -209,3 +212,8 @@ export declare enum ConfigTypes {
|
|
|
209
212
|
export declare enum MigrateToRiffErrorCode {
|
|
210
213
|
UNKNOWN_ERROR = "UNKNOWN_ERROR"
|
|
211
214
|
}
|
|
215
|
+
export declare enum ProjectEnvConfigEnv {
|
|
216
|
+
DEV = "dev",
|
|
217
|
+
PROD = "prod",
|
|
218
|
+
APP = "app"
|
|
219
|
+
}
|
|
@@ -25,6 +25,7 @@ export var CollectionName;
|
|
|
25
25
|
CollectionName["DEPLOYMENT_REQUESTS"] = "deployment-requests";
|
|
26
26
|
CollectionName["DEPLOYMENTS"] = "deployments";
|
|
27
27
|
CollectionName["DEVRUNS"] = "devruns";
|
|
28
|
+
CollectionName["ENV_CONFIGS"] = "env-configs";
|
|
28
29
|
CollectionName["PROJECT_PLANS"] = "project-plans";
|
|
29
30
|
CollectionName["DOMAINS"] = "domains";
|
|
30
31
|
CollectionName["EVENTS"] = "events";
|
|
@@ -66,6 +67,8 @@ export var CollectionName;
|
|
|
66
67
|
CollectionName["SEQUENCES"] = "sequences";
|
|
67
68
|
CollectionName["SHORT_URLS"] = "short-urls";
|
|
68
69
|
CollectionName["STATIC_ASSETS"] = "static-assets";
|
|
70
|
+
CollectionName["SECRETS"] = "secrets";
|
|
71
|
+
CollectionName["SECRET_VERSIONS"] = "versions";
|
|
69
72
|
CollectionName["THEMES"] = "themes";
|
|
70
73
|
CollectionName["THREADS"] = "threads";
|
|
71
74
|
CollectionName["UPGRADE_REQUESTS"] = "upgrade-requests";
|
|
@@ -228,4 +231,11 @@ export var MigrateToRiffErrorCode;
|
|
|
228
231
|
(function (MigrateToRiffErrorCode) {
|
|
229
232
|
MigrateToRiffErrorCode["UNKNOWN_ERROR"] = "UNKNOWN_ERROR";
|
|
230
233
|
})(MigrateToRiffErrorCode || (MigrateToRiffErrorCode = {}));
|
|
234
|
+
// Environments config can be defined for
|
|
235
|
+
export var ProjectEnvConfigEnv;
|
|
236
|
+
(function (ProjectEnvConfigEnv) {
|
|
237
|
+
ProjectEnvConfigEnv["DEV"] = "dev";
|
|
238
|
+
ProjectEnvConfigEnv["PROD"] = "prod";
|
|
239
|
+
ProjectEnvConfigEnv["APP"] = "app";
|
|
240
|
+
})(ProjectEnvConfigEnv || (ProjectEnvConfigEnv = {}));
|
|
231
241
|
//# sourceMappingURL=enums.js.map
|
|
@@ -2131,4 +2131,33 @@ export interface FormEntry {
|
|
|
2131
2131
|
eventName: string;
|
|
2132
2132
|
properties: Record<string, string | number | boolean | null>;
|
|
2133
2133
|
}
|
|
2134
|
+
export interface Secret {
|
|
2135
|
+
createdBy: PerformedBy;
|
|
2136
|
+
updatedBy: PerformedBy;
|
|
2137
|
+
markedForDeletionBy: PerformedBy | null;
|
|
2138
|
+
isManaged: boolean;
|
|
2139
|
+
versions: {
|
|
2140
|
+
latest: string | null;
|
|
2141
|
+
current: string | null;
|
|
2142
|
+
[key: string]: string | null;
|
|
2143
|
+
};
|
|
2144
|
+
}
|
|
2145
|
+
export interface SecretVersion {
|
|
2146
|
+
createdBy: PerformedBy;
|
|
2147
|
+
markedForDeletionBy: PerformedBy | null;
|
|
2148
|
+
}
|
|
2149
|
+
export interface SecretVersionRef {
|
|
2150
|
+
kind: "secret";
|
|
2151
|
+
parent: string;
|
|
2152
|
+
secretId: string;
|
|
2153
|
+
version: string;
|
|
2154
|
+
}
|
|
2155
|
+
export interface ProjectEnvValue {
|
|
2156
|
+
kind: "value";
|
|
2157
|
+
value: string;
|
|
2158
|
+
}
|
|
2159
|
+
export type ProjectEnvVariable = SecretVersionRef | ProjectEnvValue;
|
|
2160
|
+
export interface ProjectEnvConfig {
|
|
2161
|
+
variables: Record<string, ProjectEnvVariable>;
|
|
2162
|
+
}
|
|
2134
2163
|
export {};
|