UNPKG

1.38 kBTypeScriptView Raw
1import { FieldOptions, InputTypeOptions, InterfaceTypeOptions, ObjectTypeOptions, ReturnTypeFunc } from '..';
2import * as typeFactories from '../type-factories';
3export declare function ArgsType(): ClassDecorator;
4export declare function Directive(sdl: string): MethodDecorator & PropertyDecorator & ClassDecorator;
5export declare function Extensions(value: Record<string, unknown>): MethodDecorator & ClassDecorator & PropertyDecorator;
6export declare function Field(typeOrOptions?: ReturnTypeFunc | FieldOptions, fieldOptions?: FieldOptions): PropertyDecorator & MethodDecorator;
7export declare function HideField(): PropertyDecorator;
8export declare function InputType(nameOrOptions?: string | InputTypeOptions, inputTypeOptions?: InputTypeOptions): ClassDecorator;
9export declare function InterfaceType(nameOrOptions?: string | InterfaceTypeOptions, interfaceOptions?: InterfaceTypeOptions): ClassDecorator;
10export declare function ObjectType(nameOrOptions?: string | ObjectTypeOptions, objectTypeOptions?: ObjectTypeOptions): ClassDecorator;
11export declare function Scalar(name: string, typeFunc?: ReturnTypeFunc): ClassDecorator;
12export declare function dummyFn(): void;
13export declare const createUnionType: typeof typeFactories.createUnionType;
14export declare const registerEnumType: typeof typeFactories.registerEnumType;
15//# sourceMappingURL=graphql-model-shim.d.ts.map
\No newline at end of file