@databutton/firebase-types 1.36.6 → 1.36.7
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[];
|