@superinterface/react 5.2.3-beta.2 → 5.3.0-beta.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 +1002 -1602
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +972 -1572
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
- package/dist/tests.cjs +0 -626
- package/dist/tests.cjs.map +0 -1
- package/dist/tests.d.cts +0 -17
- package/dist/tests.d.ts +0 -17
- package/dist/tests.js +0 -556
- package/dist/tests.js.map +0 -1
- package/dist/types/forms.cjs +0 -49
- package/dist/types/forms.cjs.map +0 -1
- package/dist/types/forms.d.cts +0 -39
- package/dist/types/forms.d.ts +0 -39
- package/dist/types/forms.js +0 -1
- package/dist/types/forms.js.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -2,7 +2,7 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
import { MessagesPage, ThreadStorageOptions, StyleProps, SerializedMessage, UseCreateMessageVariables, PlayArgs, AudioRuntime, Avatar as Avatar$1, SerializedRunStep, ToolCall, MessageGroup as MessageGroup$1 } from './types/index.cjs';
|
|
3
3
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
4
4
|
import { UseInfiniteQueryOptions, InfiniteData, UseMutationOptions } from '@tanstack/react-query';
|
|
5
|
-
import
|
|
5
|
+
import * as react_hook_form from 'react-hook-form';
|
|
6
6
|
import * as openai_resources_files from 'openai/resources/files';
|
|
7
7
|
import * as openai_resources_beta_threads_messages from 'openai/resources/beta/threads/messages';
|
|
8
8
|
import * as _tanstack_query_core from '@tanstack/query-core';
|
|
@@ -64,7 +64,7 @@ declare const Thread: {
|
|
|
64
64
|
(props: StyleProps): react_jsx_runtime.JSX.Element;
|
|
65
65
|
Root: ({ children, onSubmit: onSubmitArg, isDisabled: isDisabledArg, style, className, }: {
|
|
66
66
|
children: React.ReactNode;
|
|
67
|
-
onSubmit?: SubmitHandler<{
|
|
67
|
+
onSubmit?: react_hook_form.SubmitHandler<{
|
|
68
68
|
content: string;
|
|
69
69
|
attachments?: openai_resources_beta_threads_messages.Message.Attachment[];
|
|
70
70
|
} & {
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
import { MessagesPage, ThreadStorageOptions, StyleProps, SerializedMessage, UseCreateMessageVariables, PlayArgs, AudioRuntime, Avatar as Avatar$1, SerializedRunStep, ToolCall, MessageGroup as MessageGroup$1 } from './types/index.js';
|
|
3
3
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
4
4
|
import { UseInfiniteQueryOptions, InfiniteData, UseMutationOptions } from '@tanstack/react-query';
|
|
5
|
-
import
|
|
5
|
+
import * as react_hook_form from 'react-hook-form';
|
|
6
6
|
import * as openai_resources_files from 'openai/resources/files';
|
|
7
7
|
import * as openai_resources_beta_threads_messages from 'openai/resources/beta/threads/messages';
|
|
8
8
|
import * as _tanstack_query_core from '@tanstack/query-core';
|
|
@@ -64,7 +64,7 @@ declare const Thread: {
|
|
|
64
64
|
(props: StyleProps): react_jsx_runtime.JSX.Element;
|
|
65
65
|
Root: ({ children, onSubmit: onSubmitArg, isDisabled: isDisabledArg, style, className, }: {
|
|
66
66
|
children: React.ReactNode;
|
|
67
|
-
onSubmit?: SubmitHandler<{
|
|
67
|
+
onSubmit?: react_hook_form.SubmitHandler<{
|
|
68
68
|
content: string;
|
|
69
69
|
attachments?: openai_resources_beta_threads_messages.Message.Attachment[];
|
|
70
70
|
} & {
|