@databutton/firebase-types 1.59.6 → 1.59.8
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.
|
@@ -847,12 +847,12 @@ export interface DatabutlerMessage {
|
|
|
847
847
|
visibleToUser: boolean;
|
|
848
848
|
suggestedActions: SuggestedAction[];
|
|
849
849
|
}
|
|
850
|
-
export interface ContextMessage<T
|
|
850
|
+
export interface ContextMessage<T> {
|
|
851
851
|
type: "context";
|
|
852
852
|
createdBy: PerformedBy;
|
|
853
853
|
message: T;
|
|
854
854
|
}
|
|
855
|
-
export type Message<T> = DatabutlerMessage | ContextMessage<T>;
|
|
855
|
+
export type Message<T = JsonObject> = DatabutlerMessage | ContextMessage<T>;
|
|
856
856
|
export type SuggestedAction = {
|
|
857
857
|
type: "install-package";
|
|
858
858
|
packages: string[];
|