@databutton/firebase-types 1.59.3 → 1.59.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.
@@ -838,7 +838,7 @@ export interface ProjectContext extends ContextBase {
838
838
  type: "project";
839
839
  }
840
840
  export type ThreadContext = ComponentContext | ProjectContext;
841
- export interface Message {
841
+ export interface DatabutlerMessage {
842
842
  sentBy: PerformedBy;
843
843
  displayName: string;
844
844
  content: string;
@@ -846,6 +846,12 @@ export interface Message {
846
846
  visibleToUser: boolean;
847
847
  suggestedActions: SuggestedAction[];
848
848
  }
849
+ export interface ContextMessage<T> {
850
+ type: "context";
851
+ createdBy: PerformedBy;
852
+ message: T;
853
+ }
854
+ export type Message<T> = DatabutlerMessage | ContextMessage<T>;
849
855
  export type SuggestedAction = {
850
856
  type: "install-package";
851
857
  packages: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@databutton/firebase-types",
3
- "version": "1.59.3",
3
+ "version": "1.59.5",
4
4
  "main": "lib/types/published/index.js",
5
5
  "type": "module",
6
6
  "engines": {