Module

x/pothos/packages/plugin-scope-auth/index.ts>FieldGrantScopes

Pothos GraphQL is library for creating GraphQL schemas in typescript using a strongly typed code first approach
Go to Latest
type alias FieldGrantScopes
import { type FieldGrantScopes } from "https://dotland.deno.dev/x/pothos@release-1708848346/packages/plugin-scope-auth/index.ts";

Type Parameters

Types extends SchemaTypes
Parent
Args extends { }
definition: string[] | ((
parent: Parent,
args: Args,
context: Types["Context"],
) => MaybePromise<readonly string[]>)