UNPKG

@terabits/grapi

Version:

Grapi Schema Generator For GraphQL Server

13 lines (12 loc) 339 B
import Field from '../field'; import { NamedType } from './interface'; export default class ObjectType implements NamedType { private name; private fields; constructor({ name, fields, }: { name: string; fields: Record<string, Field>; }); getTypename(): string; getFields(): Record<string, Field>; }