File tree 3 files changed +11
-4
lines changed
3 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 1
1
export { setGlobalOptions } from './core/config' ;
2
2
export { definePlugin } from './core/definePlugin' ;
3
- export type { Options , Service } from './core/types' ;
3
+ export type {
4
+ Options ,
5
+ PluginImplementType ,
6
+ PluginType ,
7
+ QueryResult ,
8
+ Service ,
9
+ } from './core/types' ;
4
10
export { clearCache } from './core/utils/cache' ;
5
11
export type {
6
12
DataType ,
7
13
LoadMoreBaseOptions ,
14
+ LoadMoreQueryResult ,
8
15
LoadMoreService ,
9
16
} from './useLoadMore' ;
10
17
export { default as useLoadMore } from './useLoadMore' ;
11
- export type { PaginationOptions } from './usePagination' ;
18
+ export type { PaginationOptions , PaginationQueryResult } from './usePagination' ;
12
19
export { default as usePagination } from './usePagination' ;
13
20
export { default as useRequest } from './useRequest' ;
14
21
export { default as useRequestProvider } from './useRequestProvider' ;
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ export type LoadMoreBaseOptions<R> = Pick<
34
34
onError ?: ( error : Error ) => void ;
35
35
} ;
36
36
37
- type LoadMoreQueryResult < R extends DataType > = Pick <
37
+ export type LoadMoreQueryResult < R extends DataType > = Pick <
38
38
QueryResult < R , any > ,
39
39
| 'data'
40
40
| 'loading'
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ export interface PaginationOptions<R, P extends unknown[]>
26
26
extends Options < R , P > ,
27
27
PaginationExtendsOption { }
28
28
29
- interface PaginationQueryResult < R , P extends unknown [ ] >
29
+ export interface PaginationQueryResult < R , P extends unknown [ ] >
30
30
extends QueryResult < R , P > {
31
31
current : WritableComputedRef < number > ;
32
32
pageSize : WritableComputedRef < number > ;
You can’t perform that action at this time.
0 commit comments