@up42/up-components 0.10.6 → 0.10.7
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.
|
@@ -9,6 +9,8 @@ declare type UseRemotePaginationResponse = {
|
|
|
9
9
|
count: number;
|
|
10
10
|
data: any[];
|
|
11
11
|
isLoading: boolean;
|
|
12
|
+
refetch: () => Promise<any>;
|
|
13
|
+
isRefetching: boolean;
|
|
12
14
|
setPage: (page: number) => void;
|
|
13
15
|
setPageSize: (page: number) => void;
|
|
14
16
|
columnsSort: any[];
|
|
@@ -26,5 +28,7 @@ export declare const useRemotePagination: (fetchingHook: ({ params }: {
|
|
|
26
28
|
}) => {
|
|
27
29
|
data: PaginatedResponse<any> | undefined;
|
|
28
30
|
isLoading: boolean;
|
|
31
|
+
refetch: () => Promise<any>;
|
|
32
|
+
isRefetching: boolean;
|
|
29
33
|
}, columns: any[]) => UseRemotePaginationResponse;
|
|
30
34
|
export {};
|
package/dist/index.d.ts
CHANGED
|
@@ -1902,6 +1902,8 @@ declare type UseRemotePaginationResponse = {
|
|
|
1902
1902
|
count: number;
|
|
1903
1903
|
data: any[];
|
|
1904
1904
|
isLoading: boolean;
|
|
1905
|
+
refetch: () => Promise<any>;
|
|
1906
|
+
isRefetching: boolean;
|
|
1905
1907
|
setPage: (page: number) => void;
|
|
1906
1908
|
setPageSize: (page: number) => void;
|
|
1907
1909
|
columnsSort: any[];
|
|
@@ -1919,6 +1921,8 @@ declare const useRemotePagination: (fetchingHook: ({ params }: {
|
|
|
1919
1921
|
}) => {
|
|
1920
1922
|
data: PaginatedResponse<any> | undefined;
|
|
1921
1923
|
isLoading: boolean;
|
|
1924
|
+
refetch: () => Promise<any>;
|
|
1925
|
+
isRefetching: boolean;
|
|
1922
1926
|
}, columns: any[]) => UseRemotePaginationResponse;
|
|
1923
1927
|
|
|
1924
1928
|
declare type CreateAlertProps = {
|