Skip to main content

Interface: RecordInputs

Defined in: packages/audit-client/src/record.ts:32

The inputs of buildRecord.

Properties​

actor​

readonly actor: { 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​

readonly correlationId: string

Defined in: packages/audit-client/src/record.ts:46

The causal chain this belongs to.


entry​

readonly entry: AuditEntry

Defined in: packages/audit-client/src/record.ts:36

The call site's statement.


module​

readonly module: string

Defined in: packages/audit-client/src/record.ts:34

The producing module, from the wiring.


occurredAt​

readonly occurredAt: string

Defined in: packages/audit-client/src/record.ts:44

An RFC 3339 time.


recordId​

readonly recordId: string

Defined in: packages/audit-client/src/record.ts:42

A fresh UUID.


tenant​

readonly tenant: string

Defined in: packages/audit-client/src/record.ts:38

The tenant token the record is filed under.