@databutton/firebase-types 1.36.11 → 1.36.12
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.
|
@@ -109,6 +109,17 @@ export interface UserSegment {
|
|
|
109
109
|
name: string;
|
|
110
110
|
}
|
|
111
111
|
export type FeatureFlag = PartialRolloutFeatureFlag | OnOffFeatureFlag | SegmentFeatureFlag;
|
|
112
|
+
export type MultipageAppTheme = {
|
|
113
|
+
name: string;
|
|
114
|
+
primaryColor: string;
|
|
115
|
+
backgroundColor: string;
|
|
116
|
+
secondaryBackgroundColor: string;
|
|
117
|
+
textColor: string;
|
|
118
|
+
font: "sans serif" | "serif" | "monospace";
|
|
119
|
+
};
|
|
120
|
+
export type MultipageAppConfig = {
|
|
121
|
+
theme?: MultipageAppTheme | null;
|
|
122
|
+
};
|
|
112
123
|
/**
|
|
113
124
|
* Subcollection under projects
|
|
114
125
|
*
|
|
@@ -129,6 +140,10 @@ export interface MultipageApp {
|
|
|
129
140
|
* Where or not this multipage app should be accessible by link
|
|
130
141
|
*/
|
|
131
142
|
isPublic: boolean;
|
|
143
|
+
/**
|
|
144
|
+
* The theme used for this multipage app
|
|
145
|
+
*/
|
|
146
|
+
activeThemeId?: string | null;
|
|
132
147
|
}
|
|
133
148
|
/**
|
|
134
149
|
* Subcollection under multipage-apps
|
|
@@ -648,6 +663,7 @@ export type MultipageAppSnapshot<T = ComponentSnapshotBase> = {
|
|
|
648
663
|
id: "main" | string;
|
|
649
664
|
pages: PageSnapshot<T>[];
|
|
650
665
|
dependencies: ComponentDependenciesSnapshot<T>;
|
|
666
|
+
config?: MultipageAppConfig | null;
|
|
651
667
|
};
|
|
652
668
|
export type ViewSnapshot<T = ComponentSnapshotBase> = T & {
|
|
653
669
|
dependencies: ComponentDependenciesSnapshot<T>;
|