import { type LoadableListFieldOptions } from "https://deno.land/x/pothos@release-1695354039/packages/plugin-dataloader/index.ts";
Type Parameters
Types extends SchemaTypes
Type extends OutputType<Types>
Nullable extends FieldNullability<[Type]>
Args extends InputFieldMap
definition: Omit<FieldOptionsFromKind<Types, ParentShape, [Type], Nullable, Args, Kind, Key, ResolveReturnShape>, "resolve" | "type"> & { type: Type; load: (keys: Key[], context: Types["Context"]) => Promise<readonly (Error | ShapeFromTypeParam<Types, [Type], Nullable>)[]>; loaderOptions?: DataLoader.Options<Key, ShapeFromTypeParam<Types, [Type], Nullable>, CacheKey>; sort?: (value: ShapeFromTypeParam<Types, [Type], false>) => Key; resolve: Resolver<ParentShape, InputShapeFromFields<Args>, Types["Context"], Key, ResolveReturnShape>; }