@databutton/firebase-types 1.36.6 → 1.36.8
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.
|
@@ -56,6 +56,20 @@ export interface Profile {
|
|
|
56
56
|
migratedFromProfileRef?: string;
|
|
57
57
|
segments: string[];
|
|
58
58
|
enabledFeatures: string[];
|
|
59
|
+
plan?: PayPerPrivateAppPlan | TeamPlan;
|
|
60
|
+
}
|
|
61
|
+
interface PlanBase {
|
|
62
|
+
lastChangedBy: PerformedBy;
|
|
63
|
+
}
|
|
64
|
+
interface PayPerPrivateAppPlan extends PlanBase {
|
|
65
|
+
type: "pay-per-private-app";
|
|
66
|
+
quota: {
|
|
67
|
+
baseQuota: number;
|
|
68
|
+
paidQuota: number;
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
interface TeamPlan extends PlanBase {
|
|
72
|
+
type: "team";
|
|
59
73
|
}
|
|
60
74
|
export interface FeatureFlagBase {
|
|
61
75
|
createdBy: PerformedBy;
|
|
@@ -365,6 +379,8 @@ export interface Project {
|
|
|
365
379
|
* @deprecated No longer in use
|
|
366
380
|
*/
|
|
367
381
|
isPublic: boolean;
|
|
382
|
+
visibility: "public" | "private";
|
|
383
|
+
visibilityLastChangedBy: PerformedBy;
|
|
368
384
|
markedForDeletionAt: Timestamp | null;
|
|
369
385
|
markedForDeletionBy?: PerformedBy | null;
|
|
370
386
|
members: string[];
|
|
@@ -639,11 +655,13 @@ export type ViewSnapshot<T = ComponentSnapshotBase> = T & {
|
|
|
639
655
|
export type JobSnapshot<T = ComponentSnapshotBase> = T & {
|
|
640
656
|
dependencies: ComponentDependenciesSnapshot<T>;
|
|
641
657
|
};
|
|
642
|
-
export type
|
|
658
|
+
export type AppSnapshot<T = ComponentSnapshotBase> = {
|
|
643
659
|
deployedBy: PerformedBy;
|
|
644
660
|
multipageApps: MultipageAppSnapshot<T>[];
|
|
645
661
|
views: ViewSnapshot<T>[];
|
|
646
662
|
jobs: JobSnapshot<T>[];
|
|
663
|
+
};
|
|
664
|
+
export interface ProjectDeploymentBase<T = ComponentSnapshotBase> extends AppSnapshot<T> {
|
|
647
665
|
build: {
|
|
648
666
|
id: string;
|
|
649
667
|
};
|
|
@@ -653,7 +671,7 @@ export type ProjectDeploymentBase<T = ComponentSnapshotBase> = {
|
|
|
653
671
|
uploadStartedAt?: Timestamp | null;
|
|
654
672
|
uploadSucceededAt?: Timestamp | null;
|
|
655
673
|
uploadFailedAt?: Timestamp | null;
|
|
656
|
-
}
|
|
674
|
+
}
|
|
657
675
|
export type ProjectDeployment = ProjectDeploymentBase;
|
|
658
676
|
export type AdminRequirementsConfig = {
|
|
659
677
|
currentRef: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@databutton/firebase-types",
|
|
3
|
-
"version": "1.36.
|
|
3
|
+
"version": "1.36.8",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"analytics-node": "6.2.0",
|
|
56
56
|
"capture-website": "3.2.0",
|
|
57
57
|
"cors": "2.8.5",
|
|
58
|
-
"firebase": "9.
|
|
58
|
+
"firebase": "9.22.1",
|
|
59
59
|
"firebase-admin": "11.8.0",
|
|
60
60
|
"firebase-functions": "4.3.1",
|
|
61
61
|
"google-auth-library": "^8.6.0",
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"dotenv": "16.0.3",
|
|
84
84
|
"firebase-functions-test": "3.1.0",
|
|
85
85
|
"firebase-tools": "11.30.0",
|
|
86
|
-
"inquirer": "9.2.
|
|
86
|
+
"inquirer": "9.2.6",
|
|
87
87
|
"jest": "29.5.0",
|
|
88
88
|
"p-queue": "^7.3.4",
|
|
89
89
|
"rome": "11.0.0",
|