import { type LoadableListFieldOptions } from "https://deno.land/x/pothos@release-1721854018/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>, InferredFieldOptionKeys | "type"> & { type: Type; byPath?: ByPath; load: () => 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>; }
keys: Key[],
context: Types["Context"],
args: false extends ByPath ? never : InputShapeFromFields<Args>,