Kaizen
Browse modulesAccessaccess/sharedInterfaces

Interface: ResourceSelector

Defined in: shared/access/types.ts:74

A resource-class selector: a fast, indexable filter over persisted fields. $subject.<attr> placeholders are resolved against the compiled subject attributes at evaluation time. Compiles into a Prisma where for authorizedWhere (the fast path).

Properties

resourceType

resourceType: string;

Defined in: shared/access/types.ts:75


where

where: Record<string, SelectorValue>;

Defined in: shared/access/types.ts:76

On this page