@factorialco/f0-react 1.228.2 → 1.229.0

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.
@@ -282,10 +282,18 @@ declare type AiChatProviderReturnValue = {
282
282
  */
283
283
  setAutoClearMinutes: React.Dispatch<React.SetStateAction<number | null>>;
284
284
  autoClearMinutes: number | null;
285
+ /**
286
+ * The initial message to display in the chat
287
+ */
285
288
  initialMessage?: string | string[];
286
289
  setInitialMessage: React.Dispatch<React.SetStateAction<string | string[] | undefined>>;
287
290
  onThumbsUp?: (message: AIMessage) => void;
288
291
  onThumbsDown?: (message: AIMessage) => void;
292
+ /**
293
+ * Clear/reset the chat conversation
294
+ */
295
+ clear: () => void;
296
+ /* Excluded from this release type: setClearFunction */
289
297
  } & Pick<AiChatState, "greeting" | "agent">;
290
298
 
291
299
  declare interface AiChatState {
@@ -5151,11 +5159,6 @@ declare module "@tiptap/core" {
5151
5159
  }
5152
5160
 
5153
5161
 
5154
- declare namespace Calendar {
5155
- var displayName: string;
5156
- }
5157
-
5158
-
5159
5162
  declare module "@tiptap/core" {
5160
5163
  interface Commands<ReturnType> {
5161
5164
  moodTracker: {
@@ -5163,3 +5166,8 @@ declare module "@tiptap/core" {
5163
5166
  };
5164
5167
  }
5165
5168
  }
5169
+
5170
+
5171
+ declare namespace Calendar {
5172
+ var displayName: string;
5173
+ }