Files
spacedrive/interface/app/$libraryId/Explorer/queries/useExplorerInfiniteQuery.ts
Utku fd8c0f87b3 [ENG-1067] Update phosphor to new package & update sort imports (#1330)
* ianvs > trivago

* @phosphor-icons/react > phosphor-react
2023-09-11 15:26:44 +00:00

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'>;