Skip to content

basalt / audit/src / AuditQuery

Interface: AuditQuery ​

Defined in: audit/src/index.ts:60

Properties ​

actorId? ​

> optional actorId?: string

Defined in: audit/src/index.ts:64


chainedOnly? ​

> optional chainedOnly?: boolean

Defined in: audit/src/index.ts:73

Only rows that belong to their tenant's hash chain (they carry a seq under the chain their tenantId maps to). Excludes rows written without the chain — legacy rows, and rows inserted into the database behind Audit's back. It does not prove the returned rows are intact: that is Audit.verify.


event? ​

> optional event?: string

Defined in: audit/src/index.ts:62

Wildcard pattern over the event name (e.g. 'auth:**').


limit? ​

> optional limit?: number

Defined in: audit/src/index.ts:66


since? ​

> optional since?: number

Defined in: audit/src/index.ts:65


tenantId? ​

> optional tenantId?: string

Defined in: audit/src/index.ts:63

Released under the MIT License.