DomainAuditEntry
Defined in: js-api/src/domains.ts:133
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:141 |
after | any | Column-value map after the write; null on 'delete' ops (typed any — see before). | js-api/src/domains.ts:149 |
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:147 |
id | number | Audit sequence number (domain_audit.id bigint — a wire number, not a uuid). | js-api/src/domains.ts:135 |
op | "insert" | "update" | "delete" | "undelete" | "promote" | "ddl" | - | js-api/src/domains.ts:140 |
row_id? | string | null | - | js-api/src/domains.ts:138 |
session_id | string | null | - | js-api/src/domains.ts:142 |
source | string | - | js-api/src/domains.ts:143 |
table_id? | string | null | - | js-api/src/domains.ts:139 |
ts | string | - | js-api/src/domains.ts:144 |
tx_id | number | null | PG transaction id grouping multi-op writes (bigint). | js-api/src/domains.ts:137 |