@superinterface/react 5.0.0-beta.3 → 5.1.1
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/index.cjs +216 -138
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -3
- package/dist/index.d.ts +4 -3
- package/dist/index.js +227 -149
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -3,11 +3,11 @@ import { MessagesPage, ThreadStorageOptions, StyleProps, SerializedMessage, UseC
|
|
|
3
3
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
4
4
|
import { UseInfiniteQueryOptions, InfiniteData, UseMutationOptions } from '@tanstack/react-query';
|
|
5
5
|
import * as react_hook_form from 'react-hook-form';
|
|
6
|
+
import * as openai_resources_files from 'openai/resources/files';
|
|
6
7
|
import * as openai_resources_beta_threads_messages from 'openai/resources/beta/threads/messages';
|
|
7
8
|
import * as _tanstack_query_core from '@tanstack/query-core';
|
|
8
9
|
import * as react from 'react';
|
|
9
10
|
import { Dispatch, SetStateAction } from 'react';
|
|
10
|
-
import * as openai_resources_files from 'openai/resources/files';
|
|
11
11
|
import * as unified from 'unified';
|
|
12
12
|
import OpenAI from 'openai';
|
|
13
13
|
import remarkGfm from 'remark-gfm';
|
|
@@ -68,8 +68,9 @@ declare const Thread: {
|
|
|
68
68
|
content: string;
|
|
69
69
|
attachments?: openai_resources_beta_threads_messages.Message.Attachment[];
|
|
70
70
|
} & {
|
|
71
|
-
reset:
|
|
72
|
-
createMessage:
|
|
71
|
+
reset: () => void;
|
|
72
|
+
createMessage: ReturnType<typeof useCreateMessage>["createMessage"];
|
|
73
|
+
files: openai_resources_files.FileObject[];
|
|
73
74
|
}>;
|
|
74
75
|
isDisabled?: boolean;
|
|
75
76
|
} & StyleProps) => react_jsx_runtime.JSX.Element;
|
package/dist/index.d.ts
CHANGED
|
@@ -3,11 +3,11 @@ import { MessagesPage, ThreadStorageOptions, StyleProps, SerializedMessage, UseC
|
|
|
3
3
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
4
4
|
import { UseInfiniteQueryOptions, InfiniteData, UseMutationOptions } from '@tanstack/react-query';
|
|
5
5
|
import * as react_hook_form from 'react-hook-form';
|
|
6
|
+
import * as openai_resources_files from 'openai/resources/files';
|
|
6
7
|
import * as openai_resources_beta_threads_messages from 'openai/resources/beta/threads/messages';
|
|
7
8
|
import * as _tanstack_query_core from '@tanstack/query-core';
|
|
8
9
|
import * as react from 'react';
|
|
9
10
|
import { Dispatch, SetStateAction } from 'react';
|
|
10
|
-
import * as openai_resources_files from 'openai/resources/files';
|
|
11
11
|
import * as unified from 'unified';
|
|
12
12
|
import OpenAI from 'openai';
|
|
13
13
|
import remarkGfm from 'remark-gfm';
|
|
@@ -68,8 +68,9 @@ declare const Thread: {
|
|
|
68
68
|
content: string;
|
|
69
69
|
attachments?: openai_resources_beta_threads_messages.Message.Attachment[];
|
|
70
70
|
} & {
|
|
71
|
-
reset:
|
|
72
|
-
createMessage:
|
|
71
|
+
reset: () => void;
|
|
72
|
+
createMessage: ReturnType<typeof useCreateMessage>["createMessage"];
|
|
73
|
+
files: openai_resources_files.FileObject[];
|
|
73
74
|
}>;
|
|
74
75
|
isDisabled?: boolean;
|
|
75
76
|
} & StyleProps) => react_jsx_runtime.JSX.Element;
|