@integration-app/react
Advanced tools
Comparing version 0.1.18 to 0.1.19
@@ -1,2 +0,1 @@ | ||
import { IntegrationAppClient } from '@integration-app/sdk'; | ||
import { ReactNode } from 'react'; | ||
@@ -9,4 +8,4 @@ interface IntegrationAppProviderProps { | ||
} | ||
export declare const IntegrationAppProvider: ({ token, apiUri, uiUri, children, }: IntegrationAppProviderProps) => JSX.Element; | ||
export declare function useIntegrationApp(): IntegrationAppClient; | ||
export declare const IntegrationAppProvider: ({ token, apiUri, uiUri, children, }: IntegrationAppProviderProps) => any; | ||
export declare function useIntegrationApp(): any; | ||
export {}; |
@@ -1,2 +0,1 @@ | ||
/// <reference types="react" /> | ||
export default function DataForm(): JSX.Element; | ||
export default function DataForm(): any; |
@@ -1,11 +0,11 @@ | ||
import { DataSourceInstance } from '@integration-app/sdk/data-sources'; | ||
import { DataSource } from '@integration-app/sdk/data-sources'; | ||
export declare function useDataSource(idOrKey: string): { | ||
loading: boolean; | ||
error?: Error; | ||
create: (data: Partial<DataSourceInstance>) => Promise<DataSourceInstance>; | ||
patch: (data: Partial<DataSourceInstance>) => Promise<DataSourceInstance>; | ||
put: (data: DataSourceInstance) => Promise<DataSourceInstance>; | ||
create: (data: Partial<DataSource>) => Promise<DataSource>; | ||
patch: (data: Partial<DataSource>) => Promise<DataSource>; | ||
put: (data: DataSource) => Promise<DataSource>; | ||
archive: () => Promise<void>; | ||
refresh: () => void; | ||
dataSource: DataSourceInstance; | ||
dataSource: DataSource; | ||
}; |
@@ -1,8 +0,7 @@ | ||
import { DataCollectionSpec } from '@integration-app/sdk/data-locations'; | ||
import { DataSourceInstance } from '@integration-app/sdk/data-sources'; | ||
export declare function useDataSourceCollection(dataSource: DataSourceInstance): { | ||
loading: boolean; | ||
error: Error; | ||
import { DataSource } from '@integration-app/sdk/data-sources'; | ||
export declare function useDataSourceCollection(dataSource: DataSource): { | ||
loading: any; | ||
error: any; | ||
refresh: () => void; | ||
collection: DataCollectionSpec; | ||
collection: any; | ||
}; |
@@ -1,10 +0,10 @@ | ||
import { DataSourceInstance } from '@integration-app/sdk/data-sources'; | ||
export declare function useDataSourceLocations(dataSource: DataSourceInstance, args?: { | ||
import { DataSource } from '@integration-app/sdk/data-sources'; | ||
export declare function useDataSourceLocations(dataSource: DataSource, args?: { | ||
path?: string; | ||
cursor?: string; | ||
}): { | ||
loading: boolean; | ||
error: Error; | ||
loading: any; | ||
error: any; | ||
refresh: () => void; | ||
locations: import("@integration-app/sdk/data-locations").DataLocation[]; | ||
locations: any; | ||
}; |
export default function useGetter<Type = any>(key: string, getter: () => Promise<Type>): { | ||
data: Type; | ||
loading: boolean; | ||
error: Error; | ||
data: any; | ||
loading: any; | ||
error: any; | ||
refresh: () => void; | ||
}; |
@@ -1,6 +0,5 @@ | ||
import { ConnectorSpec } from '@integration-app/sdk/connector-api'; | ||
export declare function useConnectorSpec(integrationKey: string): { | ||
data: ConnectorSpec; | ||
loading: boolean; | ||
error: Error; | ||
data: any; | ||
loading: any; | ||
error: any; | ||
}; |
{ | ||
"name": "@integration-app/react", | ||
"version": "0.1.18", | ||
"version": "0.1.19", | ||
"description": "React SDK for building native integrations.", | ||
@@ -22,3 +22,3 @@ "author": "integration.app", | ||
"dependencies": { | ||
"@integration-app/sdk": "^0.16.15" | ||
"@integration-app/sdk": "^0.16.25" | ||
}, | ||
@@ -25,0 +25,0 @@ "devDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
49573
705