@pothos/plugin-scope-auth
Version:
A Pothos plugin for adding scope based authorization checks to your GraphQL Schema
6 lines • 537 B
TypeScript
import { type PothosOutputFieldConfig, type SchemaTypes } from '@pothos/core';
import type { GraphQLResolveInfo } from 'graphql';
import type { PothosScopeAuthPlugin } from '.';
import { type ResolveStep } from './types';
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