@databutton/firebase-types 1.59.5 → 1.59.7
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.
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Timestamp } from "firebase/firestore";
|
|
2
|
+
import { JsonObject } from "type-fest";
|
|
2
3
|
/**
|
|
3
4
|
* Types here should reflect data format stored in firestore and
|
|
4
5
|
* either be backwards-compatible or migrated when needed
|
|
@@ -851,7 +852,7 @@ export interface ContextMessage<T> {
|
|
|
851
852
|
createdBy: PerformedBy;
|
|
852
853
|
message: T;
|
|
853
854
|
}
|
|
854
|
-
export type Message<T> = DatabutlerMessage | ContextMessage<T>;
|
|
855
|
+
export type Message<T = JsonObject> = DatabutlerMessage | ContextMessage<T>;
|
|
855
856
|
export type SuggestedAction = {
|
|
856
857
|
type: "install-package";
|
|
857
858
|
packages: string[];
|