UNPKG

@pothos/plugin-with-input

Version:

A Pothos plugin for defining fields with input objects

14 lines (8 loc) 373 B
import './global-types'; import './schema-builder'; import SchemaBuilder, { BasePlugin, type SchemaTypes } from '@pothos/core'; export * from './types'; const pluginName = 'withInput'; export default pluginName; export class PothosWithInputPlugin<Types extends SchemaTypes> extends BasePlugin<Types> {} SchemaBuilder.registerPlugin(pluginName, PothosWithInputPlugin);