Skip to content

AuditLogQuery

Defined in: packages/structures/src/audit-log.ts:166

Which entries AuditLog.find and AuditLog.filter keep. Every field given must match.

T extends number = number

optional since?: string | number | Date

Defined in: packages/structures/src/audit-log.ts:174

Only entries created at or after this time (a Date, an ISO string or milliseconds).


optional targetId?: string

Defined in: packages/structures/src/audit-log.ts:170

The affected entity.


optional type?: T | readonly T[]

Defined in: packages/structures/src/audit-log.ts:168

One action type, or any of several.


optional userId?: string

Defined in: packages/structures/src/audit-log.ts:172

Who did it.