@databutton/firebase-types 1.32.3 → 1.32.5
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.
|
@@ -639,4 +639,35 @@ export type AdminRequirementsConfig = {
|
|
|
639
639
|
currentRef: string;
|
|
640
640
|
currentRequirements: Requirements;
|
|
641
641
|
};
|
|
642
|
+
export interface Thread {
|
|
643
|
+
startedBy: PerformedBy;
|
|
644
|
+
context: ThreadContext;
|
|
645
|
+
description: string | null;
|
|
646
|
+
}
|
|
647
|
+
export interface ComponentContext {
|
|
648
|
+
type: "component";
|
|
649
|
+
componentId: string;
|
|
650
|
+
componentType: "job" | "view" | "page" | "module";
|
|
651
|
+
}
|
|
652
|
+
export interface ProjectContext {
|
|
653
|
+
type: "project";
|
|
654
|
+
}
|
|
655
|
+
export type ThreadContext = ComponentContext | ProjectContext;
|
|
656
|
+
export interface Message {
|
|
657
|
+
sentBy: PerformedBy;
|
|
658
|
+
displayName: string;
|
|
659
|
+
content: string;
|
|
660
|
+
visibleToUser: boolean;
|
|
661
|
+
suggestedActions: SuggestedAction[];
|
|
662
|
+
}
|
|
663
|
+
export type SuggestedAction = {
|
|
664
|
+
type: "install-package";
|
|
665
|
+
packages: string[];
|
|
666
|
+
} | {
|
|
667
|
+
type: "insert-code";
|
|
668
|
+
code: string;
|
|
669
|
+
} | {
|
|
670
|
+
type: "compare-code";
|
|
671
|
+
code: string;
|
|
672
|
+
};
|
|
642
673
|
export {};
|