UNPKG

535 BTypeScriptView Raw
1import { type DescriptionOptions, type ImplementsClassOptions } from "./types.js";
2export type ObjectTypeOptions = DescriptionOptions & ImplementsClassOptions & {
3 /** Set to `true` to disable auth and all middlewares stack for all this Object Type fields resolvers */
4 simpleResolvers?: boolean;
5};
6export declare function ObjectType(): ClassDecorator;
7export declare function ObjectType(options: ObjectTypeOptions): ClassDecorator;
8export declare function ObjectType(name: string, options?: ObjectTypeOptions): ClassDecorator;