@integration-app/react 0.1.18 → 0.1.19
Sign up to get free protection for your applications and to get access to all the features.
- package/contexts/integration-app-context.d.ts +2 -3
- package/data-form/index.d.ts +1 -2
- package/data-sources/useDataSource.d.ts +5 -5
- package/data-sources/useDataSourceCollection.d.ts +5 -6
- package/data-sources/useDataSourceCollection.js.map +1 -1
- package/data-sources/useDataSourceLocations.d.ts +5 -5
- package/data-sources/useDataSourceLocations.js.map +1 -1
- package/hooks/useGetter.d.ts +3 -3
- package/integrations/useConnectionSpec.d.ts +3 -4
- package/package.json +2 -2
@@ -1,4 +1,3 @@
|
|
1
|
-
import { IntegrationAppClient } from '@integration-app/sdk';
|
2
1
|
import { ReactNode } from 'react';
|
3
2
|
interface IntegrationAppProviderProps {
|
4
3
|
token: string;
|
@@ -6,6 +5,6 @@ interface IntegrationAppProviderProps {
|
|
6
5
|
uiUri?: string;
|
7
6
|
children: ReactNode;
|
8
7
|
}
|
9
|
-
export declare const IntegrationAppProvider: ({ token, apiUri, uiUri, children, }: IntegrationAppProviderProps) =>
|
10
|
-
export declare function useIntegrationApp():
|
8
|
+
export declare const IntegrationAppProvider: ({ token, apiUri, uiUri, children, }: IntegrationAppProviderProps) => any;
|
9
|
+
export declare function useIntegrationApp(): any;
|
11
10
|
export {};
|
package/data-form/index.d.ts
CHANGED
@@ -1,2 +1 @@
|
|
1
|
-
|
2
|
-
export default function DataForm(): JSX.Element;
|
1
|
+
export default function DataForm(): any;
|
@@ -1,11 +1,11 @@
|
|
1
|
-
import {
|
1
|
+
import { DataSource } from '@integration-app/sdk/data-sources';
|
2
2
|
export declare function useDataSource(idOrKey: string): {
|
3
3
|
loading: boolean;
|
4
4
|
error?: Error;
|
5
|
-
create: (data: Partial<
|
6
|
-
patch: (data: Partial<
|
7
|
-
put: (data:
|
5
|
+
create: (data: Partial<DataSource>) => Promise<DataSource>;
|
6
|
+
patch: (data: Partial<DataSource>) => Promise<DataSource>;
|
7
|
+
put: (data: DataSource) => Promise<DataSource>;
|
8
8
|
archive: () => Promise<void>;
|
9
9
|
refresh: () => void;
|
10
|
-
dataSource:
|
10
|
+
dataSource: DataSource;
|
11
11
|
};
|
@@ -1,8 +1,7 @@
|
|
1
|
-
import {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
error: Error;
|
1
|
+
import { DataSource } from '@integration-app/sdk/data-sources';
|
2
|
+
export declare function useDataSourceCollection(dataSource: DataSource): {
|
3
|
+
loading: any;
|
4
|
+
error: any;
|
6
5
|
refresh: () => void;
|
7
|
-
collection:
|
6
|
+
collection: any;
|
8
7
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"useDataSourceCollection.js","sourceRoot":"","sources":["../../src/data-sources/useDataSourceCollection.ts"],"names":[],"mappings":";;;;AAEA,iFAAuE;AACvE,2EAA0C;AAE1C,SAAgB,uBAAuB,CAAC,
|
1
|
+
{"version":3,"file":"useDataSourceCollection.js","sourceRoot":"","sources":["../../src/data-sources/useDataSourceCollection.ts"],"names":[],"mappings":";;;;AAEA,iFAAuE;AACvE,2EAA0C;AAE1C,SAAgB,uBAAuB,CAAC,UAAsB;IAC5D,MAAM,cAAc,GAAG,IAAA,2CAAiB,GAAE,CAAA;IAC1C,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,GAAG,IAAI,EAAE,GAAG,IAAA,mBAAS,EAC7C,UAAU,EAAE,EAAE,EACd,GAAG,EAAE,CAAC,cAAc,CAAC,kBAAkB,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC,aAAa,EAAE,CACvE,CAAA;IAED,OAAO;QACL,UAAU;QACV,GAAG,IAAI;KACR,CAAA;AACH,CAAC;AAXD,0DAWC"}
|
@@ -1,10 +1,10 @@
|
|
1
|
-
import {
|
2
|
-
export declare function useDataSourceLocations(dataSource:
|
1
|
+
import { DataSource } from '@integration-app/sdk/data-sources';
|
2
|
+
export declare function useDataSourceLocations(dataSource: DataSource, args?: {
|
3
3
|
path?: string;
|
4
4
|
cursor?: string;
|
5
5
|
}): {
|
6
|
-
loading:
|
7
|
-
error:
|
6
|
+
loading: any;
|
7
|
+
error: any;
|
8
8
|
refresh: () => void;
|
9
|
-
locations:
|
9
|
+
locations: any;
|
10
10
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"useDataSourceLocations.js","sourceRoot":"","sources":["../../src/data-sources/useDataSourceLocations.ts"],"names":[],"mappings":";;;;AAEA,iFAAuE;AACvE,2EAA0C;AAE1C,SAAgB,sBAAsB,CACpC,
|
1
|
+
{"version":3,"file":"useDataSourceLocations.js","sourceRoot":"","sources":["../../src/data-sources/useDataSourceLocations.ts"],"names":[],"mappings":";;;;AAEA,iFAAuE;AACvE,2EAA0C;AAE1C,SAAgB,sBAAsB,CACpC,UAAsB,EACtB,IAGC;IAED,MAAM,cAAc,GAAG,IAAA,2CAAiB,GAAE,CAAA;IAC1C,MAAM,EAAE,IAAI,EAAE,GAAG,IAAI,EAAE,GAAG,IAAA,mBAAS,EACjC,UAAU,CAAC,CAAC,CAAC,kBAAkB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,SAAS,EACjE,GAAG,EAAE,CAAC,cAAc,CAAC,kBAAkB,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC,YAAY,CAAC,IAAI,CAAC,CAC1E,CAAA;IAED,OAAO;QACL,SAAS,EAAE,IAAI,EAAE,SAAS,IAAI,EAAE;QAChC,GAAG,IAAI;KACR,CAAA;AACH,CAAC;AAjBD,wDAiBC"}
|
package/hooks/useGetter.d.ts
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@integration-app/react",
|
3
|
-
"version": "0.1.
|
3
|
+
"version": "0.1.19",
|
4
4
|
"description": "React SDK for building native integrations.",
|
5
5
|
"author": "integration.app",
|
6
6
|
"scripts": {
|
@@ -19,7 +19,7 @@
|
|
19
19
|
"main": "index.js",
|
20
20
|
"types": "index.d.ts",
|
21
21
|
"dependencies": {
|
22
|
-
"@integration-app/sdk": "^0.16.
|
22
|
+
"@integration-app/sdk": "^0.16.25"
|
23
23
|
},
|
24
24
|
"devDependencies": {
|
25
25
|
"copy": "^0.3.2",
|