@databutton/firebase-types 1.32.5 → 1.32.6
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.
|
@@ -644,12 +644,15 @@ export interface Thread {
|
|
|
644
644
|
context: ThreadContext;
|
|
645
645
|
description: string | null;
|
|
646
646
|
}
|
|
647
|
-
export interface
|
|
647
|
+
export interface ContextBase {
|
|
648
|
+
contextKey: string;
|
|
649
|
+
}
|
|
650
|
+
export interface ComponentContext extends ContextBase {
|
|
648
651
|
type: "component";
|
|
649
652
|
componentId: string;
|
|
650
653
|
componentType: "job" | "view" | "page" | "module";
|
|
651
654
|
}
|
|
652
|
-
export interface ProjectContext {
|
|
655
|
+
export interface ProjectContext extends ContextBase {
|
|
653
656
|
type: "project";
|
|
654
657
|
}
|
|
655
658
|
export type ThreadContext = ComponentContext | ProjectContext;
|