@databutton/firebase-types 1.60.11 → 1.60.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.
|
@@ -643,6 +643,10 @@ export interface ProjectTemplate {
|
|
|
643
643
|
name: string;
|
|
644
644
|
code: string;
|
|
645
645
|
}[];
|
|
646
|
+
uiComponents?: {
|
|
647
|
+
name: string;
|
|
648
|
+
code: string;
|
|
649
|
+
}[];
|
|
646
650
|
frontends?: {
|
|
647
651
|
name: string;
|
|
648
652
|
code: string;
|
|
@@ -824,7 +828,7 @@ type WithDocRef<T> = T & {
|
|
|
824
828
|
export type ComponentSnapshotBase = {
|
|
825
829
|
component: WithDocRef<{
|
|
826
830
|
name: string;
|
|
827
|
-
type: "page" | "job" | "module" | "frontend" | "backend";
|
|
831
|
+
type: "page" | "job" | "module" | "frontend" | "backend" | "ui-component";
|
|
828
832
|
}>;
|
|
829
833
|
codeBlock: WithDocRef<{
|
|
830
834
|
version: WithDocRef<{
|
|
@@ -835,6 +839,7 @@ export type ComponentSnapshotBase = {
|
|
|
835
839
|
}>;
|
|
836
840
|
};
|
|
837
841
|
export type ModuleSnapshot<T = ComponentSnapshotBase> = T;
|
|
842
|
+
export type UiComponentSnapshot<T = ComponentSnapshotBase> = T;
|
|
838
843
|
export type FrontendSnapshot<T = ComponentSnapshotBase> = T;
|
|
839
844
|
export type BackendSnapshot<T = ComponentSnapshotBase> = T;
|
|
840
845
|
export type ComponentDependenciesSnapshot<T = ComponentSnapshotBase> = {
|
|
@@ -862,6 +867,7 @@ export type AppSnapshot<T = ComponentSnapshotBase> = {
|
|
|
862
867
|
multipageApps: MultipageAppSnapshot<T>[];
|
|
863
868
|
jobs: JobSnapshot<T>[];
|
|
864
869
|
modules?: ModuleSnapshot<T>[];
|
|
870
|
+
uiComponents?: UiComponentSnapshot<T>[];
|
|
865
871
|
frontends?: FrontendSnapshot<T>[];
|
|
866
872
|
backends?: BackendSnapshot<T>[];
|
|
867
873
|
};
|
|
@@ -896,7 +902,7 @@ export interface ContextBase {
|
|
|
896
902
|
export interface ComponentContext extends ContextBase {
|
|
897
903
|
type: "component";
|
|
898
904
|
componentId: string;
|
|
899
|
-
componentType: "job" | "page" | "module" | "frontend" | "backend";
|
|
905
|
+
componentType: "job" | "page" | "module" | "frontend" | "backend" | "ui-component";
|
|
900
906
|
}
|
|
901
907
|
export interface ProjectContext extends ContextBase {
|
|
902
908
|
type: "project";
|