@pothos/core
Version:
Pothos (formerly GiraphQL) is a plugin based schema builder for creating code-first GraphQL schemas in typescript
12 lines (10 loc) • 354 B
text/typescript
import type { SchemaTypes } from '../types';
import { RootFieldBuilder } from './root';
export class SubscriptionFieldBuilder<
Types extends SchemaTypes,
ParentShape,
> extends RootFieldBuilder<Types, ParentShape, 'Subscription'> {
constructor(builder: PothosSchemaTypes.SchemaBuilder<Types>) {
super(builder, 'Subscription', 'Object');
}
}