@terabits/grapi
Version:
Grapi Schema Generator For GraphQL Server
15 lines (14 loc) • 377 B
TypeScript
import { NamedType } from './interface';
export default class EnumType implements NamedType {
private description;
private name;
private values;
constructor({ name, values, description }: {
name: string;
values: string[];
description: string;
});
getTypename(): string;
getValues(): string[];
getDescription(): string;
}