@databutton/firebase-types 1.42.3 → 1.42.5
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,21 @@ 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
|
+
lifeStageStartedAt?: Timestamp;
|
|
415
426
|
/**
|
|
416
427
|
* @deprecated No longer in use
|
|
417
428
|
*/
|
|
@@ -439,8 +450,8 @@ export interface Project {
|
|
|
439
450
|
isShowcase?: boolean;
|
|
440
451
|
last_deployed?: Timestamp;
|
|
441
452
|
schema?: "2022-12-07" | "2022-08-22" | null;
|
|
442
|
-
devxUrl?: string;
|
|
443
|
-
prodxUrl?: string;
|
|
453
|
+
devxUrl?: string | null;
|
|
454
|
+
prodxUrl?: string | null;
|
|
444
455
|
devxAppbutlerId?: string | null;
|
|
445
456
|
prodxAppbutlerId?: string | null;
|
|
446
457
|
enableAppbutlers?: boolean;
|
|
@@ -830,4 +841,7 @@ export interface Customer {
|
|
|
830
841
|
plan: Plan | null;
|
|
831
842
|
balanceInUsdCents?: number | null;
|
|
832
843
|
}
|
|
844
|
+
export interface Sequence {
|
|
845
|
+
current: number;
|
|
846
|
+
}
|
|
833
847
|
export {};
|
|
@@ -20,6 +20,14 @@ 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 = {};
|
|
23
31
|
export type MigrateViewsRequest = {
|
|
24
32
|
projectId: string;
|
|
25
33
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@databutton/firebase-types",
|
|
3
|
-
"version": "1.42.
|
|
3
|
+
"version": "1.42.5",
|
|
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",
|