UNPKG

@grapi/server

Version:

Grapi Schema Generator For GraphQL Server

16 lines (15 loc) 430 B
import { NamedType } from './interface'; export default class EnumType implements NamedType { private readonly description; private readonly name; private readonly values; constructor({ name, values, description }: { name: string; values: string[]; description: string; }); getTypename(): string; getValues(): string[]; getDescription(): string; getTypeDef(): string; }