@pipedream/connect-react 2.0.0 → 2.1.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/connect-react.es.js +4753 -4475
- package/dist/connect-react.umd.d.ts +17 -8
- package/dist/connect-react.umd.js +16 -16
- package/package.json +1 -1
|
@@ -34,6 +34,7 @@ import { SelectComponentsConfig } from 'react-select';
|
|
|
34
34
|
import { StylesConfig } from 'react-select';
|
|
35
35
|
import { Theme as Theme_2 } from 'react-select';
|
|
36
36
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
37
|
+
import { UseQueryResult } from '@tanstack/react-query';
|
|
37
38
|
|
|
38
39
|
export declare function Alert({ prop }: AlertProps): JSX_2.Element;
|
|
39
40
|
|
|
@@ -776,12 +777,16 @@ export declare const useApp: (slug: string, opts?: {
|
|
|
776
777
|
};
|
|
777
778
|
|
|
778
779
|
/**
|
|
779
|
-
* Get list of apps that can be authenticated
|
|
780
|
+
* Get list of apps that can be authenticated with pagination support
|
|
780
781
|
*/
|
|
781
|
-
export declare const useApps: (input?: AppsListRequest) =>
|
|
782
|
+
export declare const useApps: (input?: AppsListRequest) => UseAppsResult;
|
|
783
|
+
|
|
784
|
+
export declare type UseAppsResult = Omit<UseQueryResult<unknown, Error>, "data"> & {
|
|
782
785
|
apps: App[];
|
|
783
|
-
|
|
784
|
-
|
|
786
|
+
isLoadingMore: boolean;
|
|
787
|
+
hasMore: boolean;
|
|
788
|
+
loadMore: () => Promise<void>;
|
|
789
|
+
loadMoreError?: Error;
|
|
785
790
|
};
|
|
786
791
|
|
|
787
792
|
/**
|
|
@@ -929,12 +934,16 @@ export declare const useComponent: ({ key }: {
|
|
|
929
934
|
};
|
|
930
935
|
|
|
931
936
|
/**
|
|
932
|
-
* Get list of components
|
|
937
|
+
* Get list of components with pagination support
|
|
933
938
|
*/
|
|
934
|
-
export declare const useComponents: (input?: ComponentsListRequest) =>
|
|
939
|
+
export declare const useComponents: (input?: ComponentsListRequest) => UseComponentsResult;
|
|
940
|
+
|
|
941
|
+
export declare type UseComponentsResult = Omit<UseQueryResult<unknown, Error>, "data"> & {
|
|
935
942
|
components: Component[];
|
|
936
|
-
|
|
937
|
-
|
|
943
|
+
isLoadingMore: boolean;
|
|
944
|
+
hasMore: boolean;
|
|
945
|
+
loadMore: () => Promise<void>;
|
|
946
|
+
loadMoreError?: Error;
|
|
938
947
|
};
|
|
939
948
|
|
|
940
949
|
export declare function useCustomize(): Customization;
|