1 | import { ObjectTypeComposer } from '../ObjectTypeComposer';
|
2 | import { InterfaceTypeComposer } from '../InterfaceTypeComposer';
|
3 | import type { InputTypeComposer } from '../InputTypeComposer';
|
4 | import { ComposeOutputType, ComposeInputType, ComposeInputTypeDefinition, AnyTypeComposer } from './typeHelpers';
|
5 | export declare type ToInputTypeOpts = {
|
6 | prefix?: string;
|
7 | postfix?: string;
|
8 | fallbackType?: ComposeInputTypeDefinition | null;
|
9 | };
|
10 | export declare function toInputType(anyTC: AnyTypeComposer<any>, opts?: ToInputTypeOpts): ComposeInputType;
|
11 | export declare function toInputObjectType<TContext>(tc: ObjectTypeComposer<any, TContext> | InterfaceTypeComposer<any, TContext>, opts?: ToInputTypeOpts): InputTypeComposer<TContext>;
|
12 | export declare function convertInputObjectField(field: ComposeOutputType<any>, opts: ToInputTypeOpts): ComposeInputType;
|
13 |
|
\ | No newline at end of file |