UNPKG

@nestjs/graphql

Version:

GraphQL for NestJS: code-first and schema-first APIs, resolvers as providers, subscriptions, federation and generated SDL, on Apollo or Mercurius.

16 lines • 575 B
import * as ts from 'typescript'; import { PluginOptions } from '../merge-options.js'; export declare class ReadonlyVisitor { private readonly options; readonly key = "@nestjs/graphql"; private readonly modelClassVisitor; get typeImports(): Record<string, string>; constructor(options: PluginOptions); visit(program: ts.Program, sf: ts.SourceFile): ts.Node; collect(): { models: [ts.CallExpression, Record<string, { [x: string]: ts.ObjectLiteralExpression; }>][]; }; } //# sourceMappingURL=readonly.visitor.d.ts.map