@dev-fastn-ai/react-core 1.0.5 → 1.0.6
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/core/src/services/apis.d.ts +35 -0
- package/dist/core/src/utils/misc.d.ts +4 -0
- package/dist/index.cjs.js +661 -17168
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +248 -0
- package/dist/index.esm.js +634 -17141
- package/dist/index.esm.js.map +1 -1
- package/package.json +18 -6
- package/dist/core/src/services/api-hooks.d.ts +0 -35
- package/dist/core/src/services/apollo.d.ts +0 -4
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dev-fastn-ai/react-core",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"description": "React hooks and components for integrating Fastn AI connector marketplace into your applications. Built on top of @fastn-ai/core with React Query for optimal performance.",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.esm.js",
|
|
7
|
-
"types": "dist/
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
8
|
"exports": {
|
|
9
9
|
".": {
|
|
10
10
|
"import": "./dist/index.esm.js",
|
|
@@ -17,9 +17,22 @@
|
|
|
17
17
|
"README.md",
|
|
18
18
|
"CHANGELOG.md"
|
|
19
19
|
],
|
|
20
|
+
"peerDependenciesMeta": {
|
|
21
|
+
"@tanstack/react-query": {
|
|
22
|
+
"optional": false
|
|
23
|
+
},
|
|
24
|
+
"react": {
|
|
25
|
+
"optional": false
|
|
26
|
+
},
|
|
27
|
+
"react-dom": {
|
|
28
|
+
"optional": false
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"sideEffects": false,
|
|
20
32
|
"scripts": {
|
|
21
33
|
"build": "rollup -c --bundleConfigAsCjs",
|
|
22
34
|
"clean": "rm -rf dist",
|
|
35
|
+
"prepare": "npm run build",
|
|
23
36
|
"prepublishOnly": "npm run clean && npm run build",
|
|
24
37
|
"type-check": "tsc --noEmit",
|
|
25
38
|
"test": "echo \"No tests specified\" && exit 0"
|
|
@@ -46,8 +59,7 @@
|
|
|
46
59
|
},
|
|
47
60
|
"homepage": "https://docs.fastn.ai",
|
|
48
61
|
"dependencies": {
|
|
49
|
-
"@dev-fastn-ai/core": "^1.0.
|
|
50
|
-
"@tanstack/react-query": "^5.0.0"
|
|
62
|
+
"@dev-fastn-ai/core": "^1.0.2"
|
|
51
63
|
},
|
|
52
64
|
"peerDependencies": {
|
|
53
65
|
"@tanstack/react-query": "^5.0.0",
|
|
@@ -58,6 +70,7 @@
|
|
|
58
70
|
"@rollup/plugin-commonjs": "^28.0.1",
|
|
59
71
|
"@rollup/plugin-json": "^6.1.0",
|
|
60
72
|
"@rollup/plugin-node-resolve": "^15.3.0",
|
|
73
|
+
"@types/node": "^24.0.14",
|
|
61
74
|
"@types/react": "^18.0.29",
|
|
62
75
|
"@types/react-dom": "^18.0.11",
|
|
63
76
|
"rollup": "^4.0.0",
|
|
@@ -71,6 +84,5 @@
|
|
|
71
84
|
},
|
|
72
85
|
"publishConfig": {
|
|
73
86
|
"access": "public"
|
|
74
|
-
}
|
|
75
|
-
"sideEffects": false
|
|
87
|
+
}
|
|
76
88
|
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
declare const GET_WIDGET_CONNECTORS: import("graphql/language/ast").DocumentNode;
|
|
2
|
-
declare const GET_API: import("graphql/language/ast").DocumentNode;
|
|
3
|
-
declare const SAVE_ACTIVATE_CONNECTOR_STATE: import("graphql/language/ast").DocumentNode;
|
|
4
|
-
declare const SAVE_ACTIVATE_CONNECTOR_STATUS: import("graphql/language/ast").DocumentNode;
|
|
5
|
-
declare const GET_METADATA: import("graphql/language/ast").DocumentNode;
|
|
6
|
-
declare const DEACTIVATE_CONNECTOR: import("graphql/language/ast").DocumentNode;
|
|
7
|
-
declare const GET_TENANT_FLOW: import("graphql/language/ast").DocumentNode;
|
|
8
|
-
declare const CONFIGURE_TENANT_FLOW: import("graphql/language/ast").DocumentNode;
|
|
9
|
-
declare const DELETE_TENANT_CONFIGURATION: import("graphql/language/ast").DocumentNode;
|
|
10
|
-
declare const GET_FIELD_DATA_QUERY: import("graphql/language/ast").DocumentNode;
|
|
11
|
-
declare const GET_TENANT_CONFIGURATIONS: import("graphql/language/ast").DocumentNode;
|
|
12
|
-
declare const GET_TENANT_CONFIGURATIONS_BY_ID: import("graphql/language/ast").DocumentNode;
|
|
13
|
-
declare const CREATE_TENANT_CONFIGURATION: import("graphql/language/ast").DocumentNode;
|
|
14
|
-
declare const UPDATE_TENANT_CONFIGURATION: import("graphql/language/ast").DocumentNode;
|
|
15
|
-
declare const DELETE_TENANT_CONFIG: import("graphql/language/ast").DocumentNode;
|
|
16
|
-
declare const DISABLE_TENANT_CONFIG: import("graphql/language/ast").DocumentNode;
|
|
17
|
-
declare const GENERATE_ACCESS_TOKEN: import("graphql/language/ast").DocumentNode;
|
|
18
|
-
declare function getConnectors(variables: any): Promise<import("@apollo/client/core").ApolloQueryResult<any>>;
|
|
19
|
-
declare function getApi(variables: any): Promise<import("@apollo/client/core").ApolloQueryResult<any>>;
|
|
20
|
-
declare function saveActivateConnectorState(variables: any): Promise<import("@apollo/client/core").FetchResult<any>>;
|
|
21
|
-
declare function saveActivateConnectorStatus(variables: any): Promise<import("@apollo/client/core").FetchResult<any>>;
|
|
22
|
-
declare function getMetaData(variables: any): Promise<import("@apollo/client/core").ApolloQueryResult<any>>;
|
|
23
|
-
declare function deactivateConnector(variables: any): Promise<import("@apollo/client/core").FetchResult<any>>;
|
|
24
|
-
declare function getTenantFlow(variables: any): Promise<import("@apollo/client/core").ApolloQueryResult<any>>;
|
|
25
|
-
declare function configureTenantFlow(variables: any): Promise<import("@apollo/client/core").FetchResult<any>>;
|
|
26
|
-
declare function deleteTenantConfiguration(variables: any): Promise<import("@apollo/client/core").FetchResult<any>>;
|
|
27
|
-
declare function getFieldData(variables: any): Promise<import("@apollo/client/core").ApolloQueryResult<any>>;
|
|
28
|
-
declare function getConfigurationSubscriptions(variables: any): Promise<import("@apollo/client/core").ApolloQueryResult<any>>;
|
|
29
|
-
declare function getConfigurationSubscriptionById(variables: any): Promise<import("@apollo/client/core").ApolloQueryResult<any>>;
|
|
30
|
-
declare function createTenantConfiguration(variables: any): Promise<import("@apollo/client/core").FetchResult<any>>;
|
|
31
|
-
declare function updateTenantConfiguration(variables: any): Promise<import("@apollo/client/core").FetchResult<any>>;
|
|
32
|
-
declare function deleteTenantConfig(variables: any): Promise<import("@apollo/client/core").FetchResult<any>>;
|
|
33
|
-
declare function disableTenantConfig(variables: any): Promise<import("@apollo/client/core").FetchResult<any>>;
|
|
34
|
-
declare function generateAccessToken(variables: any): Promise<import("@apollo/client/core").ApolloQueryResult<any>>;
|
|
35
|
-
export { GET_WIDGET_CONNECTORS, GET_API, SAVE_ACTIVATE_CONNECTOR_STATE, SAVE_ACTIVATE_CONNECTOR_STATUS, GET_METADATA, DEACTIVATE_CONNECTOR, GET_TENANT_FLOW, CONFIGURE_TENANT_FLOW, DELETE_TENANT_CONFIGURATION, GET_FIELD_DATA_QUERY, GET_TENANT_CONFIGURATIONS, GET_TENANT_CONFIGURATIONS_BY_ID, CREATE_TENANT_CONFIGURATION, UPDATE_TENANT_CONFIGURATION, DELETE_TENANT_CONFIG, DISABLE_TENANT_CONFIG, GENERATE_ACCESS_TOKEN, getConnectors, getApi, saveActivateConnectorState, saveActivateConnectorStatus, getMetaData, deactivateConnector, getTenantFlow, configureTenantFlow, deleteTenantConfiguration, getFieldData, getConfigurationSubscriptions, getConfigurationSubscriptionById, createTenantConfiguration, updateTenantConfiguration, deleteTenantConfig, disableTenantConfig, generateAccessToken };
|