@databutton/firebase-types 1.42.4 → 1.42.6
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.
|
@@ -408,10 +408,22 @@ export interface DbtnControlledRequirementsConfig {
|
|
|
408
408
|
lastUpdatedBy: PerformedBy;
|
|
409
409
|
currentRequirements?: Requirements;
|
|
410
410
|
}
|
|
411
|
+
export declare enum ProjectLifeStage {
|
|
412
|
+
Creating = "creating",
|
|
413
|
+
Active = "active",
|
|
414
|
+
Hibernating = "hibernating",
|
|
415
|
+
Hibernated = "hibernated",
|
|
416
|
+
Waking = "waking",
|
|
417
|
+
Deleting = "deleting",
|
|
418
|
+
Deleted = "deleted"
|
|
419
|
+
}
|
|
411
420
|
export interface Project {
|
|
412
421
|
createdAt: Timestamp;
|
|
413
422
|
createdBy?: PerformedBy;
|
|
414
423
|
createdFromProjectTemplateId?: string | null;
|
|
424
|
+
lifeStage: ProjectLifeStage;
|
|
425
|
+
lifeStageUpdatedBy?: PerformedBy;
|
|
426
|
+
lifeStageStartedAt?: Timestamp;
|
|
415
427
|
/**
|
|
416
428
|
* @deprecated No longer in use
|
|
417
429
|
*/
|
|
@@ -439,8 +451,8 @@ export interface Project {
|
|
|
439
451
|
isShowcase?: boolean;
|
|
440
452
|
last_deployed?: Timestamp;
|
|
441
453
|
schema?: "2022-12-07" | "2022-08-22" | null;
|
|
442
|
-
devxUrl?: string;
|
|
443
|
-
prodxUrl?: string;
|
|
454
|
+
devxUrl?: string | null;
|
|
455
|
+
prodxUrl?: string | null;
|
|
444
456
|
devxAppbutlerId?: string | null;
|
|
445
457
|
prodxAppbutlerId?: string | null;
|
|
446
458
|
enableAppbutlers?: boolean;
|
|
@@ -830,4 +842,7 @@ export interface Customer {
|
|
|
830
842
|
plan: Plan | null;
|
|
831
843
|
balanceInUsdCents?: number | null;
|
|
832
844
|
}
|
|
845
|
+
export interface Sequence {
|
|
846
|
+
current: number;
|
|
847
|
+
}
|
|
833
848
|
export {};
|
|
@@ -20,6 +20,18 @@ export type CreateProjectRequest = {
|
|
|
20
20
|
export type CreateProjectResponse = {
|
|
21
21
|
projectId: string;
|
|
22
22
|
};
|
|
23
|
+
export type HibernateProjectRequest = {
|
|
24
|
+
projectId: string;
|
|
25
|
+
};
|
|
26
|
+
export type HibernateProjectResponse = {};
|
|
27
|
+
export type WakeProjectRequest = {
|
|
28
|
+
projectId: string;
|
|
29
|
+
};
|
|
30
|
+
export type WakeProjectResponse = {};
|
|
31
|
+
export type DeleteProjectRequest = {
|
|
32
|
+
projectId: string;
|
|
33
|
+
};
|
|
34
|
+
export type DeleteProjectResponse = {};
|
|
23
35
|
export type MigrateViewsRequest = {
|
|
24
36
|
projectId: string;
|
|
25
37
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@databutton/firebase-types",
|
|
3
|
-
"version": "1.42.
|
|
3
|
+
"version": "1.42.6",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -77,25 +77,25 @@
|
|
|
77
77
|
"@types/inquirer": "9.0.3",
|
|
78
78
|
"@types/jest": "29.5.2",
|
|
79
79
|
"@types/lodash": "4.14.195",
|
|
80
|
-
"@types/node": "18.16.
|
|
80
|
+
"@types/node": "18.16.19",
|
|
81
81
|
"@types/uuid": "8.3.4",
|
|
82
82
|
"ansi-escapes": "6.2.0",
|
|
83
83
|
"archiver": "^5.3.1",
|
|
84
84
|
"cli-progress": "^3.12.0",
|
|
85
85
|
"diff": "5.1.0",
|
|
86
|
-
"dotenv": "16.
|
|
86
|
+
"dotenv": "16.3.1",
|
|
87
87
|
"firebase-functions-test": "3.1.0",
|
|
88
88
|
"firebase-tools": "11.30.0",
|
|
89
|
-
"inquirer": "9.2.
|
|
90
|
-
"jest": "29.
|
|
89
|
+
"inquirer": "9.2.7",
|
|
90
|
+
"jest": "29.6.1",
|
|
91
91
|
"p-queue": "^7.3.4",
|
|
92
92
|
"rome": "11.0.0",
|
|
93
93
|
"semantic-release": "19.0.5",
|
|
94
|
-
"ts-jest": "29.1.
|
|
94
|
+
"ts-jest": "29.1.1",
|
|
95
95
|
"ts-node": "10.9.1",
|
|
96
96
|
"type-fest": "3.10.0",
|
|
97
97
|
"typescript": "4.9.5",
|
|
98
|
-
"url-slug": "3.0.
|
|
98
|
+
"url-slug": "3.0.6"
|
|
99
99
|
},
|
|
100
100
|
"repository": {
|
|
101
101
|
"type": "git",
|