mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2026-04-21 06:59:17 -04:00
12 lines
467 B
TypeScript
12 lines
467 B
TypeScript
import { UseInfiniteQueryOptions } from '@tanstack/react-query';
|
|
import { ExplorerItem, LibraryConfigWrapped, SearchData } from '@sd/client';
|
|
|
|
import { Ordering } from '../store';
|
|
import { UseExplorerSettings } from '../useExplorer';
|
|
|
|
export type UseExplorerInfiniteQueryArgs<TArg, TOrder extends Ordering> = {
|
|
library: LibraryConfigWrapped;
|
|
arg: TArg;
|
|
settings: UseExplorerSettings<TOrder>;
|
|
} & Pick<UseInfiniteQueryOptions<SearchData<ExplorerItem>>, 'enabled'>;
|