AuditOptions interface
Everything audit() needs to build its middleware.
Signature:
export interface AuditOptions
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
(Optional) Where the trail goes. Omitted entirely, the defaults apply. | |||
|
string |
Connection string for the trail's own pool. | ||
|
() => unknown |
Resolves the actor to record, or a falsy value to record none. | ||
|
(Optional) Soft-delete columns, so a stamped delete is recorded as a delete. | |||
|
Record<string, string> |
Physical table to model name, for the tables that are recorded. |
Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.