Interface: AuditActionDefinition
Defined in: packages/contracts/src/schemas/audit-actions.ts:41
One audited action: which modules may record it, and the only data it may carry.
Properties
outcomes
readonlyoutcomes: readonlyAuditOutcome[]
Defined in: packages/contracts/src/schemas/audit-actions.ts:50
The outcomes a record of this action may carry, and no others: AuditRecorded
narrows outcome to exactly this list, so an access.deny that says success
fails validation at the producer. Never empty; verifyAuditSchemas refuses
an empty list.
payload
readonlypayload:TSchema
Defined in: packages/contracts/src/schemas/audit-actions.ts:57
The payload schema. Identifiers, enums, times and counts only (28, section 8): verifyAuditSchemas refuses a property outside that vocabulary, an object that allows extra properties, and a string with no pattern, so personal data cannot be written into a record whose hash is chained.
producers
readonlyproducers: readonlystring[]
Defined in: packages/contracts/src/schemas/audit-actions.ts:43
The modules that may produce a record of this action.