@superinterface/react 3.21.0 → 3.22.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/index.cjs +484 -406
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +426 -348
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -716,6 +716,7 @@ declare const FunctionBase: ({ fn, runStep, title, }: Args$2) => react_jsx_runti
|
|
|
716
716
|
|
|
717
717
|
declare const ComponentsProvider: ({ children, ...rest }: {
|
|
718
718
|
children: React.ReactNode;
|
|
719
|
+
components: Record<string, React.ComponentType<any>>;
|
|
719
720
|
}) => react_jsx_runtime.JSX.Element;
|
|
720
721
|
|
|
721
722
|
declare const useComponents: () => {
|
|
@@ -744,6 +745,12 @@ declare const useComponents: () => {
|
|
|
744
745
|
runStep: openai_resources_beta_threads_runs_steps.RunStep;
|
|
745
746
|
}) => react_jsx_runtime.JSX.Element;
|
|
746
747
|
StartingToolCalls: () => react_jsx_runtime.JSX.Element;
|
|
748
|
+
TextContent: ({ content }: {
|
|
749
|
+
content: openai_resources_beta_threads_messages.TextContentBlock;
|
|
750
|
+
}) => string | react_jsx_runtime.JSX.Element;
|
|
751
|
+
ImageFileContent: ({ content, }: {
|
|
752
|
+
content: openai_resources_beta_threads_messages.ImageFileContentBlock;
|
|
753
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
747
754
|
};
|
|
748
755
|
};
|
|
749
756
|
|
package/dist/index.d.ts
CHANGED
|
@@ -716,6 +716,7 @@ declare const FunctionBase: ({ fn, runStep, title, }: Args$2) => react_jsx_runti
|
|
|
716
716
|
|
|
717
717
|
declare const ComponentsProvider: ({ children, ...rest }: {
|
|
718
718
|
children: React.ReactNode;
|
|
719
|
+
components: Record<string, React.ComponentType<any>>;
|
|
719
720
|
}) => react_jsx_runtime.JSX.Element;
|
|
720
721
|
|
|
721
722
|
declare const useComponents: () => {
|
|
@@ -744,6 +745,12 @@ declare const useComponents: () => {
|
|
|
744
745
|
runStep: openai_resources_beta_threads_runs_steps.RunStep;
|
|
745
746
|
}) => react_jsx_runtime.JSX.Element;
|
|
746
747
|
StartingToolCalls: () => react_jsx_runtime.JSX.Element;
|
|
748
|
+
TextContent: ({ content }: {
|
|
749
|
+
content: openai_resources_beta_threads_messages.TextContentBlock;
|
|
750
|
+
}) => string | react_jsx_runtime.JSX.Element;
|
|
751
|
+
ImageFileContent: ({ content, }: {
|
|
752
|
+
content: openai_resources_beta_threads_messages.ImageFileContentBlock;
|
|
753
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
747
754
|
};
|
|
748
755
|
};
|
|
749
756
|
|