@databutton/firebase-types 1.40.12 → 1.40.14
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.
|
@@ -68,8 +68,9 @@ export interface Profile {
|
|
|
68
68
|
migratedFromProfileRef?: string;
|
|
69
69
|
segments: string[];
|
|
70
70
|
enabledFeatures: string[];
|
|
71
|
-
plan?:
|
|
71
|
+
plan?: Plan;
|
|
72
72
|
}
|
|
73
|
+
export type Plan = TeamPlan | PayAsYouGoPlan | FreePlan;
|
|
73
74
|
interface PlanBase {
|
|
74
75
|
lastChangedBy: PerformedBy;
|
|
75
76
|
}
|
|
@@ -808,4 +809,13 @@ export interface WorkspaceConfigVersion {
|
|
|
808
809
|
watchdog: string;
|
|
809
810
|
};
|
|
810
811
|
}
|
|
812
|
+
export interface UsageRecordBase {
|
|
813
|
+
profileId: string;
|
|
814
|
+
recordedAt: Timestamp;
|
|
815
|
+
}
|
|
816
|
+
export interface AppHourUsageRecord extends UsageRecordBase {
|
|
817
|
+
appCount: number;
|
|
818
|
+
projectIds: string[];
|
|
819
|
+
}
|
|
820
|
+
export type UsageRecord = AppHourUsageRecord;
|
|
811
821
|
export {};
|