UNPKG

@pothos/core

Version:

Pothos (formerly GiraphQL) is a plugin based schema builder for creating code-first GraphQL schemas in typescript

13 lines (11 loc) 344 B
import type { SchemaTypes } from '../types'; import { FieldBuilder } from './builder'; export class InterfaceFieldBuilder<Types extends SchemaTypes, ParentShape> extends FieldBuilder< Types, ParentShape, 'Interface' > { constructor(builder: PothosSchemaTypes.SchemaBuilder<Types>) { super(builder, 'Interface', 'Interface'); } }