Module

x/pothos/packages/plugin-scope-auth/types.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-1688425816/packages/plugin-scope-auth/types.ts";

Type Parameters

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