Skip to content

index.TypeAlias.DenialMode

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

Type Alias: DenialMode

type DenialMode = typeof DenialMode[keyof typeof DenialMode];

Defined in: packages/graphql-casl/src/denials.ts:43

What a denied field does — see ApplyPermissionsOptions.onDeny. The object names each mode, so onDeny: DenialMode.Filter reads the same as onDeny: 'filter'.

API Reference

Clone this wiki locally