Pular para o conteúdo principal

AuditLogDto

@raizfc/contracts


@raizfc/contracts / AuditLogDto

Type Alias: AuditLogDto

AuditLogDto = Readonly<{ action: string; actorId: ID; after?: Readonly<Record<string, unknown>>; before?: Readonly<Record<string, unknown>>; createdAt: ISODateString; entityId: ID; entityType: ManageableEntityType; id: ID; requestId: string; }>

Defined in: team/team-management.dto.ts:212

Generic audit trail entry for any ManageableEntityType. action is a stable machine-readable key (e.g. team.created, team.identity_updated) rather than a closed union so future packs can add actions without touching this contract.