type alias ContextForAuthimport { type ContextForAuth } from "https://dotland.deno.dev/x/pothos@release-1679079302/packages/plugin-scope-auth/index.ts"; Type ParametersTypes extends SchemaTypesScopesdefinition: Scopes extends (...args: any[]) => infer R ? ContextForAuth<Types, R> : Scopes extends boolean ? Types["Context"] : keyof Scopes extends infer Scope ? Scope extends keyof Types["AuthContexts"] ? Types["AuthContexts"][Scope] : Scope extends "$any" ? ContextForAuth<Types, Scopes[Scope & keyof Scopes]> : Scope extends "$all" ? UnionToIntersection<ContextForAuth<Types, Scopes[Scope & keyof Scopes]>> : Types["Context"] : never