File tree Expand file tree Collapse file tree 3 files changed +11
-4
lines changed Expand file tree Collapse file tree 3 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 11export { setGlobalOptions } from './core/config' ;
22export { 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' ;
410export { clearCache } from './core/utils/cache' ;
511export type {
612 DataType ,
713 LoadMoreBaseOptions ,
14+ LoadMoreQueryResult ,
815 LoadMoreService ,
916} from './useLoadMore' ;
1017export { default as useLoadMore } from './useLoadMore' ;
11- export type { PaginationOptions } from './usePagination' ;
18+ export type { PaginationOptions , PaginationQueryResult } from './usePagination' ;
1219export { default as usePagination } from './usePagination' ;
1320export { default as useRequest } from './useRequest' ;
1421export { default as useRequestProvider } from './useRequestProvider' ;
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ export type LoadMoreBaseOptions<R> = Pick<
3434 onError ?: ( error : Error ) => void ;
3535} ;
3636
37- type LoadMoreQueryResult < R extends DataType > = Pick <
37+ export type LoadMoreQueryResult < R extends DataType > = Pick <
3838 QueryResult < R , any > ,
3939 | 'data'
4040 | 'loading'
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ export interface PaginationOptions<R, P extends unknown[]>
2626 extends Options < R , P > ,
2727 PaginationExtendsOption { }
2828
29- interface PaginationQueryResult < R , P extends unknown [ ] >
29+ export interface PaginationQueryResult < R , P extends unknown [ ] >
3030 extends QueryResult < R , P > {
3131 current : WritableComputedRef < number > ;
3232 pageSize : WritableComputedRef < number > ;
You can’t perform that action at this time.
0 commit comments