import { type LoadableGroupFieldOptions } from "https://deno.land/x/pothos@release-1719071157/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; byPath?: ByPath; load: () => Promise<readonly ShapeFromTypeParam<Types, Type, true>[]>; loaderOptions?: DataLoader.Options<Key, ShapeFromTypeParam<Types, Type, true>[], CacheKey>; group: (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>,