Skip to content

index.Interface.AdapterCore

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

Interface: AdapterCore<TFilter>

Defined in: packages/graphql-casl/src/conditions.ts:76

The combinators every dialect must supply.

Extended by

Type Parameters

TFilter

TFilter

Methods

and()

and(filters): TFilter;

Defined in: packages/graphql-casl/src/conditions.ts:78

All of these must hold.

Parameters

filters

TFilter[]

Returns

TFilter


everything()

everything(): TFilter;

Defined in: packages/graphql-casl/src/conditions.ts:82

The filter that matches every row — no restriction at all.

Returns

TFilter


nothing()?

optional nothing(): TFilter;

Defined in: packages/graphql-casl/src/conditions.ts:87

The filter that matches no row. Optional, and only used by argument scoping's onDenyAll: 'nothing'.

Returns

TFilter


or()

or(filters): TFilter;

Defined in: packages/graphql-casl/src/conditions.ts:80

Any of these may hold.

Parameters

filters

TFilter[]

Returns

TFilter

API Reference

Clone this wiki locally