@graphql-codegen/typescript-nest
Version:
GraphQL Code Generator plugin for generating NestJS compatible types
20 lines (19 loc) • 391 B
text/typescript
export type DecoratorConfig = {
type: string;
interface: string;
field: string;
input: string;
arguments: string;
};
export type DecoratorOptions = {
nullable?: string;
description?: string;
implements?: string;
};
export interface Type {
type: string;
isNullable: boolean;
isArray: boolean;
isScalar: boolean;
isItemsNullable: boolean;
}