Skip to main content

Interface: AuditClientOptions

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

Options for AuditClient.

Properties​

clock?​

readonly optional clock?: Clock

Defined in: packages/audit-client/src/client.ts:50

Defaults to the system clock.


module​

readonly module: string

Defined in: packages/audit-client/src/client.ts:48

The module this client records for. It becomes every record's producerModule.


newId?​

readonly optional newId?: () => string

Defined in: packages/audit-client/src/client.ts:52

Mints record ids; defaults to UUID v7.

Returns​

string