type alias DataLoaderOptionsimport { type DataLoaderOptions } from "https://dotland.deno.dev/x/pothos@release-1727726265/packages/plugin-dataloader/types.ts"; Type ParametersTypes extends SchemaTypesLoadResultKey extends bigint | number | stringCacheKeyoptionalShape = ShapeFromLoadResult<LoadResult>definition: { load: (keys: Key[], context: Types["Context"]) => Promise<readonly LoadResult[]>; loaderOptions?: DataLoader.Options<Key, Shape, CacheKey>; } & ({ toKey: (value: Shape) => Key; cacheResolved?: boolean; sort?: boolean; } | { toKey?: undefined; cacheResolved?: (value: Shape) => Key; sort?: (value: Shape) => Key; })