@dev-fastn-ai/react-core 1.0.18 → 1.0.20
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/README.md +1 -1
- package/dist/core/src/utils/misc.d.ts +2 -1
- package/dist/index.cjs.js +416 -351
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +416 -351
- package/dist/index.esm.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @fastn-ai/react-core
|
|
2
2
|
|
|
3
|
-
A
|
|
3
|
+
A React library for integrating Fastn AI connectors into your application. This package provides robust hooks to manage connectors, configurations, and dynamic configuration forms, empowering you to build custom UIs on top of Fastn's data and logic.
|
|
4
4
|
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ConnectorField, ConnectorFieldType, ConnectorForm, CustomAuthContext, OpenGoogleFilesPickerArgs, OptionsResult, SelectOptionsResultPagination } from "../types";
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const getCustomAuthContextValue: (operationName: string, variables: Record<string, any>) => string;
|
|
3
|
+
export declare const getCustomAuthContext: (operationName: string, input: Record<string, any>) => CustomAuthContext;
|
|
3
4
|
export declare const addCustomAuthContextHeader: (headers: Record<string, string>, context: CustomAuthContext) => Record<string, string>;
|
|
4
5
|
export declare const getOauthPopUpDimensions: () => {
|
|
5
6
|
width: number;
|