Type Alias: Condition
Condition =
object
Defined in: packages/polizy/src/types.ts:69
Constraints attached to a tuple. A tuple only grants access while its condition is valid: within the optional time window AND with every attribute predicate satisfied by the check-time context. Evaluation is fail-closed.
Properties
attributes?
optionalattributes?:AttributePredicate[]
Defined in: packages/polizy/src/types.ts:73
All predicates must pass (logical AND).
validSince?
optionalvalidSince?:Date
Defined in: packages/polizy/src/types.ts:70
validUntil?
optionalvalidUntil?:Date
Defined in: packages/polizy/src/types.ts:71