@databutton/firebase-types 1.59.5 → 1.59.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.
@@ -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
@@ -846,7 +847,7 @@ export interface DatabutlerMessage {
846
847
  visibleToUser: boolean;
847
848
  suggestedActions: SuggestedAction[];
848
849
  }
849
- export interface ContextMessage<T> {
850
+ export interface ContextMessage<T = JsonObject> {
850
851
  type: "context";
851
852
  createdBy: PerformedBy;
852
853
  message: T;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@databutton/firebase-types",
3
- "version": "1.59.5",
3
+ "version": "1.59.6",
4
4
  "main": "lib/types/published/index.js",
5
5
  "type": "module",
6
6
  "engines": {