Interface: RecordInputs
Defined in: packages/audit-client/src/record.ts:32
The inputs of buildRecord.
Properties
actor
readonlyactor: {kind:"tenant";roles:string[];scopePath:string;subjectId:string;tenant:string; } | {kind:"platform";roles:string[];scopePath:"/";subjectId:"00000000-0000-0000-0000-000000000000";tenant:"platform"; }
Defined in: packages/audit-client/src/record.ts:40
Who acted.
correlationId
readonlycorrelationId:string
Defined in: packages/audit-client/src/record.ts:46
The causal chain this belongs to.
entry
readonlyentry:AuditEntry
Defined in: packages/audit-client/src/record.ts:36
The call site's statement.
module
readonlymodule:string
Defined in: packages/audit-client/src/record.ts:34
The producing module, from the wiring.
occurredAt
readonlyoccurredAt:string
Defined in: packages/audit-client/src/record.ts:44
An RFC 3339 time.
recordId
readonlyrecordId:string
Defined in: packages/audit-client/src/record.ts:42
A fresh UUID.
tenant
readonlytenant:string
Defined in: packages/audit-client/src/record.ts:38
The tenant token the record is filed under.