@cimulate/copilot-widget 1.5.1 → 1.6.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.
|
@@ -62,7 +62,7 @@ declare namespace browse {
|
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
declare interface BrowsePayload {
|
|
65
|
+
declare interface BrowsePayload extends CopilotBrowse {
|
|
66
66
|
userPrompt?: string;
|
|
67
67
|
attachments?: {
|
|
68
68
|
image?: string;
|
|
@@ -186,6 +186,7 @@ export declare const eventHandlers: {
|
|
|
186
186
|
components: {
|
|
187
187
|
setEntryType: (entryType: EntryType) => void;
|
|
188
188
|
toggleWidgetOpen: (isOpen?: boolean) => void;
|
|
189
|
+
toggleWidgetMinimized: (isMinimized?: boolean) => void;
|
|
189
190
|
toggleModalFullscreen: (isFullscreen: boolean) => void;
|
|
190
191
|
setWidgetType: (type: "chat" | "dialog" | "modal") => void;
|
|
191
192
|
setWidgetDialogPosition: (position: DialogPosition) => void;
|
|
@@ -387,7 +388,6 @@ declare interface WidgetComponentConfig {
|
|
|
387
388
|
* Contains all of the context providers needed for the widget.
|
|
388
389
|
*
|
|
389
390
|
* Config >
|
|
390
|
-
* ApiService >
|
|
391
391
|
* CopilotReducer >
|
|
392
392
|
* CopilotState (redux state) >
|
|
393
393
|
* CopilotDispatch (redux dispatch) >
|