Skip to content

index.TypeAlias.GraphQLAbilityOptions

github-actions[bot] edited this page Nov 30, 2026 · 26 revisions

Type Alias: GraphQLAbilityOptions<TSubjectMap>

type GraphQLAbilityOptions<TSubjectMap> = Partial<AbilityOptionsOf<GraphQLAbility<TSubjectMap>>>;

Defined in: packages/graphql-casl/src/graphqlAbility.ts:65

Options accepted by buildGraphQLAbility / the builder's build().

Type Parameters

TSubjectMap

TSubjectMap extends Record<string, object>

API Reference

Clone this wiki locally