Repository navigation
index.Interface.SkeletonAdapter
Defined in: packages/graphql-casl/src/conditions.ts:99
A dialect that controls the boolean skeleton and passes conditions through verbatim.
The leaves are the rule's conditions as written, so a rule using $in still
yields $in inside a Prisma-shaped tree. Use a LeafAdapter when the
target dialect spells its comparisons differently.
-
AdapterCore<TFilter>
TFilter
optional leaf?: undefined;Defined in: packages/graphql-casl/src/conditions.ts:105
and(filters): TFilter;Defined in: packages/graphql-casl/src/conditions.ts:78
All of these must hold.
TFilter[]
TFilter
everything(): TFilter;Defined in: packages/graphql-casl/src/conditions.ts:82
The filter that matches every row — no restriction at all.
TFilter
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'.
TFilter
or(filters): TFilter;Defined in: packages/graphql-casl/src/conditions.ts:80
Any of these may hold.
TFilter[]
TFilter
rule(conditions, inverted): TFilter;Defined in: packages/graphql-casl/src/conditions.ts:104
One rule's conditions as a filter. An inverted rule (cannot) must come
back negated — it is a restriction, not a permission.
object
boolean
TFilter