@n8n/chat 0.28.0 → 0.30.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.
package/dist/App.vue.d.ts CHANGED
@@ -1,8 +1,2 @@
1
- declare const _default: import('vue').DefineComponent<Readonly<import('vue').ComponentPropsOptions<{
2
- [x: string]: unknown;
3
- }>>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, readonly string[] | Readonly<import('vue').ExtractPropTypes<Readonly<import('vue').ComponentObjectPropsOptions<{
4
- [x: string]: unknown;
5
- }>>>>, {
6
- readonly [x: number]: string;
7
- } | {}, {}>;
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
8
2
  export default _default;
@@ -1,6 +1,5 @@
1
1
  import { StoryObj } from '@storybook/vue3';
2
2
  import { ChatOptions } from '../types';
3
-
4
3
  declare const meta: {
5
4
  title: string;
6
5
  render: (args: Partial<ChatOptions>) => {
@@ -1 +0,0 @@
1
-
@@ -1,5 +1,4 @@
1
1
  import { createChat } from '../../index';
2
-
3
2
  export declare function createTestChat(options?: Parameters<typeof createChat>[0]): {
4
3
  unmount: () => void;
5
4
  container: Element;
@@ -1,5 +1,4 @@
1
1
  import { LoadPreviousSessionResponse, SendMessageResponse } from '../../types';
2
-
3
2
  export declare function createFetchResponse<T>(data: T): () => Promise<Response>;
4
3
  export declare const createGetLatestMessagesResponse: (data?: LoadPreviousSessionResponse["data"]) => LoadPreviousSessionResponse;
5
4
  export declare const createSendMessageResponse: (output: SendMessageResponse["output"]) => SendMessageResponse;
@@ -1,4 +1,3 @@
1
1
  import { ChatOptions, LoadPreviousSessionResponse, SendMessageResponse } from '../types';
2
-
3
2
  export declare function loadPreviousSession(sessionId: string, options: ChatOptions): Promise<LoadPreviousSessionResponse>;
4
3
  export declare function sendMessage(message: string, files: File[], sessionId: string, options: ChatOptions): Promise<SendMessageResponse>;