DomainAuditEntry
Defined in: js-api/src/domains.ts:105
Wire shape of _audit rows (repository.dart rowAudit/tableAudit/schemaAudit selects).
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
actor_id | string | null | - | js-api/src/domains.ts:113 |
after | any | Column-value map after the write; null on 'delete' ops (typed any — see before). | js-api/src/domains.ts:121 |
before | any | Column-value map before the write; null on 'insert' ops (typed any so existing unguarded consumers compile — guard before dereferencing). | js-api/src/domains.ts:119 |
id | number | Audit sequence number (domain_audit.id bigint — a wire number, not a uuid). | js-api/src/domains.ts:107 |
op | "update" | "insert" | "delete" | "promote" | "ddl" | - | js-api/src/domains.ts:112 |
row_id? | string | null | - | js-api/src/domains.ts:110 |
session_id | string | null | - | js-api/src/domains.ts:114 |
source | string | - | js-api/src/domains.ts:115 |
table_id? | string | null | - | js-api/src/domains.ts:111 |
ts | string | - | js-api/src/domains.ts:116 |
tx_id | number | null | PG transaction id grouping multi-op writes (bigint). | js-api/src/domains.ts:109 |