@databutton/firebase-types 1.36.5 → 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.
|
@@ -32,7 +32,7 @@ export interface Profile {
|
|
|
32
32
|
*/
|
|
33
33
|
firstSeenWithEarlyAccess?: Timestamp;
|
|
34
34
|
email?: string;
|
|
35
|
-
userId?: string;
|
|
35
|
+
userId?: string | null;
|
|
36
36
|
/**
|
|
37
37
|
* Timestamp set when the user receives early access
|
|
38
38
|
*/
|
|
@@ -46,10 +46,30 @@ export interface Profile {
|
|
|
46
46
|
*/
|
|
47
47
|
readProjectEventsAt?: Timestamp | null;
|
|
48
48
|
projectEventsReadMap?: ProjectEventsReadMap | null;
|
|
49
|
+
/**
|
|
50
|
+
* @deprecated
|
|
51
|
+
*/
|
|
49
52
|
migratedToProfileRef?: string;
|
|
53
|
+
/**
|
|
54
|
+
* @deprecated
|
|
55
|
+
*/
|
|
50
56
|
migratedFromProfileRef?: string;
|
|
51
57
|
segments: string[];
|
|
52
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";
|
|
53
73
|
}
|
|
54
74
|
export interface FeatureFlagBase {
|
|
55
75
|
createdBy: PerformedBy;
|
|
@@ -359,6 +379,8 @@ export interface Project {
|
|
|
359
379
|
* @deprecated No longer in use
|
|
360
380
|
*/
|
|
361
381
|
isPublic: boolean;
|
|
382
|
+
visibility: "public" | "private";
|
|
383
|
+
visibilityLastChangedBy: PerformedBy;
|
|
362
384
|
markedForDeletionAt: Timestamp | null;
|
|
363
385
|
markedForDeletionBy?: PerformedBy | null;
|
|
364
386
|
members: string[];
|