import SchemaBuilder from '@pothos/core'; import ComplexityPlugin from '../../src'; import type { ContextType } from './types'; export default new SchemaBuilder<{ Context: ContextType; }>({ plugins: [ComplexityPlugin], complexity: { limit: (ctx) => ctx.complexity, defaultListMultiplier: 5, defaultComplexity: 1, }, });