UNPKG

@pothos/plugin-scope-auth

Version:

A Pothos plugin for adding scope based authorization checks to your GraphQL Schema

6 lines 549 B
import { type PothosOutputFieldConfig, type SchemaTypes } from '@pothos/core'; import type { GraphQLResolveInfo } from 'graphql'; import type { PothosScopeAuthPlugin } from './index.js'; import { type ResolveStep } from './types.js'; export declare function resolveHelper<Types extends SchemaTypes>(steps: ResolveStep<Types>[], plugin: PothosScopeAuthPlugin<Types>, fieldConfig: PothosOutputFieldConfig<Types>): (parent: unknown, args: {}, context: Types['Context'], info: GraphQLResolveInfo) => unknown; //# sourceMappingURL=resolve-helper.d.ts.map