@databutton/firebase-types 1.59.14 → 1.59.16
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.
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
export declare enum CollectionName {
|
|
2
|
+
ADMIN_CONFIG = "admin-config",
|
|
3
|
+
APPBUTLERS = "appbutlers",
|
|
4
|
+
APP_CONFIG_SNAPSHOTS = "app-config-snapshots",
|
|
5
|
+
BACKENDS = "backends",
|
|
6
|
+
BUILDS = "builds",
|
|
7
|
+
CAPABILITES = "capabilities",
|
|
8
|
+
CHECKPOINTS = "checkpoints",
|
|
9
|
+
CODE_BLOCKS = "code-blocks",
|
|
10
|
+
CODE_BLOCK_VERSIONS = "versions",
|
|
11
|
+
CUSTOMERS = "customers",
|
|
12
|
+
DATAFILES = "datafiles",
|
|
13
|
+
DATAFRAMES = "dataframes",
|
|
14
|
+
DEPLOYMENT_REQUESTS = "deployment-requests",
|
|
15
|
+
DEPLOYMENTS = "deployments",
|
|
16
|
+
DEVRUNS = "devruns",
|
|
17
|
+
DOMAINS = "domains",
|
|
18
|
+
EVENTS = "events",
|
|
19
|
+
FEATURE_FLAGS = "feature-flags",
|
|
20
|
+
FRONTENDS = "frontends",
|
|
21
|
+
JOBS = "jobs",
|
|
22
|
+
LIFE_STAGE_CHANGE_REQUESTS = "life-stage-change-requests",
|
|
23
|
+
LOGS = "logs",
|
|
24
|
+
MESSAGES = "messages",
|
|
25
|
+
MODULES = "modules",
|
|
26
|
+
MULTIPAGE_APPS = "multipage-apps",
|
|
27
|
+
PAGES = "pages",
|
|
28
|
+
PROFILES = "profiles",
|
|
29
|
+
PROJECT_APPBUTLERS = "project-appbutlers",
|
|
30
|
+
PROJECT_DEPLOYMENTS = "deployments",
|
|
31
|
+
PROJECT_INVITES = "project-invites",
|
|
32
|
+
PROJECTS = "projects",
|
|
33
|
+
PROJECT_TEMPLATES = "project-templates",
|
|
34
|
+
PULSES = "pulses",
|
|
35
|
+
REQUIREMENTS = "requirements",
|
|
36
|
+
RUNS = "runs",
|
|
37
|
+
SCHEDULES = "schedules",
|
|
38
|
+
SCREENSHOTS = "screenshots",
|
|
39
|
+
SEQUENCES = "sequences",
|
|
40
|
+
SHORT_URLS = "short-urls",
|
|
41
|
+
THEMES = "themes",
|
|
42
|
+
THREADS = "threads",
|
|
43
|
+
UPGRADE_REQUESTS = "upgrade-requests",
|
|
44
|
+
USAGE_RECORDS = "usage-records",
|
|
45
|
+
USER_SEGMENTS = "user-segments",
|
|
46
|
+
VERSIONS = "versions",
|
|
47
|
+
VIEWERS = "viewers",
|
|
48
|
+
VISITS = "visits",
|
|
49
|
+
WORKSPACE_VERSIONS = "versions",
|
|
50
|
+
TOKEN_USAGE_RECORDS = "token-usage-records",
|
|
51
|
+
TOKEN_USAGE_ENTRIES = "entries"
|
|
52
|
+
}
|
|
53
|
+
export declare enum DatabuttonIdPrefix {
|
|
54
|
+
APP_DEPLOY = "ad",
|
|
55
|
+
BACKEND = "be",
|
|
56
|
+
CODE_BLOCK = "cb",
|
|
57
|
+
CODE_BLOCK_VERSION = "cbv",
|
|
58
|
+
CODE_BLOCK_CHECKPOINT = "cp",
|
|
59
|
+
FRONTEND = "fe",
|
|
60
|
+
JOB = "jb",
|
|
61
|
+
JOB_DEPLOY = "jd",
|
|
62
|
+
JOB_RUN = "jr",
|
|
63
|
+
MULTIPAGE_APP_DEPLOYMENT = "mad",
|
|
64
|
+
MODULE = "mo",
|
|
65
|
+
MULTIPAGE_APP_PAGE = "mp",
|
|
66
|
+
PROJECT_BUILD = "pb",
|
|
67
|
+
PROJECT_DEPLOYMENT = "pd",
|
|
68
|
+
PROJECT_EVENT = "pe",
|
|
69
|
+
PROJECT_REQUIREMENTS = "pr",
|
|
70
|
+
PROJECT_TEMPLATE = "pt",
|
|
71
|
+
SCHEDULE = "sc",
|
|
72
|
+
STREAMLIT_APP = "st",
|
|
73
|
+
THREADS = "th",
|
|
74
|
+
BROKEN_VENV = "venv"
|
|
75
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
export var CollectionName;
|
|
2
|
+
(function (CollectionName) {
|
|
3
|
+
CollectionName["ADMIN_CONFIG"] = "admin-config";
|
|
4
|
+
CollectionName["APPBUTLERS"] = "appbutlers";
|
|
5
|
+
CollectionName["APP_CONFIG_SNAPSHOTS"] = "app-config-snapshots";
|
|
6
|
+
CollectionName["BACKENDS"] = "backends";
|
|
7
|
+
CollectionName["BUILDS"] = "builds";
|
|
8
|
+
CollectionName["CAPABILITES"] = "capabilities";
|
|
9
|
+
CollectionName["CHECKPOINTS"] = "checkpoints";
|
|
10
|
+
CollectionName["CODE_BLOCKS"] = "code-blocks";
|
|
11
|
+
CollectionName["CODE_BLOCK_VERSIONS"] = "versions";
|
|
12
|
+
CollectionName["CUSTOMERS"] = "customers";
|
|
13
|
+
CollectionName["DATAFILES"] = "datafiles";
|
|
14
|
+
CollectionName["DATAFRAMES"] = "dataframes";
|
|
15
|
+
CollectionName["DEPLOYMENT_REQUESTS"] = "deployment-requests";
|
|
16
|
+
CollectionName["DEPLOYMENTS"] = "deployments";
|
|
17
|
+
CollectionName["DEVRUNS"] = "devruns";
|
|
18
|
+
CollectionName["DOMAINS"] = "domains";
|
|
19
|
+
CollectionName["EVENTS"] = "events";
|
|
20
|
+
CollectionName["FEATURE_FLAGS"] = "feature-flags";
|
|
21
|
+
CollectionName["FRONTENDS"] = "frontends";
|
|
22
|
+
CollectionName["JOBS"] = "jobs";
|
|
23
|
+
CollectionName["LIFE_STAGE_CHANGE_REQUESTS"] = "life-stage-change-requests";
|
|
24
|
+
CollectionName["LOGS"] = "logs";
|
|
25
|
+
CollectionName["MESSAGES"] = "messages";
|
|
26
|
+
CollectionName["MODULES"] = "modules";
|
|
27
|
+
CollectionName["MULTIPAGE_APPS"] = "multipage-apps";
|
|
28
|
+
CollectionName["PAGES"] = "pages";
|
|
29
|
+
CollectionName["PROFILES"] = "profiles";
|
|
30
|
+
CollectionName["PROJECT_APPBUTLERS"] = "project-appbutlers";
|
|
31
|
+
CollectionName["PROJECT_DEPLOYMENTS"] = "deployments";
|
|
32
|
+
CollectionName["PROJECT_INVITES"] = "project-invites";
|
|
33
|
+
CollectionName["PROJECTS"] = "projects";
|
|
34
|
+
CollectionName["PROJECT_TEMPLATES"] = "project-templates";
|
|
35
|
+
CollectionName["PULSES"] = "pulses";
|
|
36
|
+
CollectionName["REQUIREMENTS"] = "requirements";
|
|
37
|
+
CollectionName["RUNS"] = "runs";
|
|
38
|
+
CollectionName["SCHEDULES"] = "schedules";
|
|
39
|
+
CollectionName["SCREENSHOTS"] = "screenshots";
|
|
40
|
+
CollectionName["SEQUENCES"] = "sequences";
|
|
41
|
+
CollectionName["SHORT_URLS"] = "short-urls";
|
|
42
|
+
CollectionName["THEMES"] = "themes";
|
|
43
|
+
CollectionName["THREADS"] = "threads";
|
|
44
|
+
CollectionName["UPGRADE_REQUESTS"] = "upgrade-requests";
|
|
45
|
+
CollectionName["USAGE_RECORDS"] = "usage-records";
|
|
46
|
+
CollectionName["USER_SEGMENTS"] = "user-segments";
|
|
47
|
+
CollectionName["VERSIONS"] = "versions";
|
|
48
|
+
CollectionName["VIEWERS"] = "viewers";
|
|
49
|
+
CollectionName["VISITS"] = "visits";
|
|
50
|
+
CollectionName["WORKSPACE_VERSIONS"] = "versions";
|
|
51
|
+
CollectionName["TOKEN_USAGE_RECORDS"] = "token-usage-records";
|
|
52
|
+
CollectionName["TOKEN_USAGE_ENTRIES"] = "entries";
|
|
53
|
+
})(CollectionName = CollectionName || (CollectionName = {}));
|
|
54
|
+
export var DatabuttonIdPrefix;
|
|
55
|
+
(function (DatabuttonIdPrefix) {
|
|
56
|
+
DatabuttonIdPrefix["APP_DEPLOY"] = "ad";
|
|
57
|
+
DatabuttonIdPrefix["BACKEND"] = "be";
|
|
58
|
+
DatabuttonIdPrefix["CODE_BLOCK"] = "cb";
|
|
59
|
+
DatabuttonIdPrefix["CODE_BLOCK_VERSION"] = "cbv";
|
|
60
|
+
DatabuttonIdPrefix["CODE_BLOCK_CHECKPOINT"] = "cp";
|
|
61
|
+
DatabuttonIdPrefix["FRONTEND"] = "fe";
|
|
62
|
+
DatabuttonIdPrefix["JOB"] = "jb";
|
|
63
|
+
DatabuttonIdPrefix["JOB_DEPLOY"] = "jd";
|
|
64
|
+
DatabuttonIdPrefix["JOB_RUN"] = "jr";
|
|
65
|
+
DatabuttonIdPrefix["MULTIPAGE_APP_DEPLOYMENT"] = "mad";
|
|
66
|
+
DatabuttonIdPrefix["MODULE"] = "mo";
|
|
67
|
+
DatabuttonIdPrefix["MULTIPAGE_APP_PAGE"] = "mp";
|
|
68
|
+
DatabuttonIdPrefix["PROJECT_BUILD"] = "pb";
|
|
69
|
+
DatabuttonIdPrefix["PROJECT_DEPLOYMENT"] = "pd";
|
|
70
|
+
DatabuttonIdPrefix["PROJECT_EVENT"] = "pe";
|
|
71
|
+
DatabuttonIdPrefix["PROJECT_REQUIREMENTS"] = "pr";
|
|
72
|
+
DatabuttonIdPrefix["PROJECT_TEMPLATE"] = "pt";
|
|
73
|
+
DatabuttonIdPrefix["SCHEDULE"] = "sc";
|
|
74
|
+
DatabuttonIdPrefix["STREAMLIT_APP"] = "st";
|
|
75
|
+
DatabuttonIdPrefix["THREADS"] = "th";
|
|
76
|
+
DatabuttonIdPrefix["BROKEN_VENV"] = "venv";
|
|
77
|
+
})(DatabuttonIdPrefix = DatabuttonIdPrefix || (DatabuttonIdPrefix = {}));
|
|
78
|
+
//# sourceMappingURL=enums.js.map
|
|
@@ -250,12 +250,40 @@ export interface Frontend {
|
|
|
250
250
|
staticAssetsPath?: string;
|
|
251
251
|
}
|
|
252
252
|
export declare const DefaultFrontendName = "App";
|
|
253
|
+
export declare enum StepState {
|
|
254
|
+
TODO = "todo",
|
|
255
|
+
IN_PROGRESS = "in-progress",
|
|
256
|
+
FAILED = "failed",
|
|
257
|
+
DONE = "done"
|
|
258
|
+
}
|
|
259
|
+
export interface Step {
|
|
260
|
+
id: string;
|
|
261
|
+
title: string;
|
|
262
|
+
description: string;
|
|
263
|
+
sequence: number;
|
|
264
|
+
state: StepState;
|
|
265
|
+
lastModifiedAt: Timestamp;
|
|
266
|
+
}
|
|
267
|
+
export interface CapabilityBase {
|
|
268
|
+
createdBy: PerformedBy;
|
|
269
|
+
markedForDeletionBy: PerformedBy | null;
|
|
270
|
+
stepsToComplete: Step[];
|
|
271
|
+
displayName: string;
|
|
272
|
+
shortDescription: string;
|
|
273
|
+
aiGeneratedSummary: string;
|
|
274
|
+
}
|
|
275
|
+
export interface EndpointCapability extends CapabilityBase {
|
|
276
|
+
type: "endpoint";
|
|
277
|
+
backendRef: string | null;
|
|
278
|
+
}
|
|
279
|
+
export type Capability = EndpointCapability;
|
|
253
280
|
export interface Backend {
|
|
254
281
|
name: string;
|
|
255
282
|
slug: string;
|
|
256
283
|
createdBy: PerformedBy;
|
|
257
284
|
markedForDeletionBy: PerformedBy | null;
|
|
258
285
|
codeBlockRef: string;
|
|
286
|
+
capabilityRef?: string;
|
|
259
287
|
}
|
|
260
288
|
export declare const DefaultBackendName = "functions";
|
|
261
289
|
export interface Module {
|
|
@@ -511,6 +539,7 @@ export interface Project {
|
|
|
511
539
|
buildingStage?: ProjectBuildStage;
|
|
512
540
|
lifeStage: ProjectLifeStage;
|
|
513
541
|
lifeStageUpdatedBy: PerformedBy;
|
|
542
|
+
aiGeneratedSummary?: string;
|
|
514
543
|
/**
|
|
515
544
|
* @deprecated No longer in use
|
|
516
545
|
*/
|
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
export const DefaultFrontendName = "App";
|
|
2
|
+
export var StepState;
|
|
3
|
+
(function (StepState) {
|
|
4
|
+
StepState["TODO"] = "todo";
|
|
5
|
+
StepState["IN_PROGRESS"] = "in-progress";
|
|
6
|
+
StepState["FAILED"] = "failed";
|
|
7
|
+
StepState["DONE"] = "done";
|
|
8
|
+
})(StepState = StepState || (StepState = {}));
|
|
2
9
|
export const DefaultBackendName = "functions";
|
|
3
10
|
export var ScheduleState;
|
|
4
11
|
(function (ScheduleState) {
|