Type Alias: AttributePredicate
AttributePredicate =
object
Defined in: packages/polizy/src/types.ts:58
An attribute-based predicate evaluated against the context passed to
check(). attribute is a dot-path into the context object.
Properties
attribute
attribute:
string
Defined in: packages/polizy/src/types.ts:59
operator
operator:
AttributeOperator
Defined in: packages/polizy/src/types.ts:60
value
value:
JsonScalar|JsonScalar[]
Defined in: packages/polizy/src/types.ts:61