Interface: ApplySnapshotResponse
@kortexya/reasoninglayer / ApplySnapshotResponse
Interface: ApplySnapshotResponse
Section titled “Interface: ApplySnapshotResponse”Defined in: src/types/snapshots.ts:57
What restoring a snapshot did to the target tenant.
Remarks
Section titled “Remarks”sortsRejected is the one to read: a sort the target refused is a sort
whose terms restored into a lattice that does not declare them.
Properties
Section titled “Properties”inferenceStateRebuilt
Section titled “inferenceStateRebuilt”inferenceStateRebuilt:
boolean
Defined in: src/types/snapshots.ts:77
Whether the tenant’s inference state was rebuilt after the restore.
message
Section titled “message”message:
string
Defined in: src/types/snapshots.ts:59
Human-readable outcome.
rowsRestored
Section titled “rowsRestored”rowsRestored:
number
Defined in: src/types/snapshots.ts:71
How many rows were restored.
snapshotId
Section titled “snapshotId”snapshotId:
string
Defined in: src/types/snapshots.ts:61
The snapshot that was applied.
snapshotName
Section titled “snapshotName”snapshotName:
string
Defined in: src/types/snapshots.ts:63
Its name.
sortsRejected?
Section titled “sortsRejected?”
optionalsortsRejected?:number
Defined in: src/types/snapshots.ts:75
How many sorts the target refused.
sortsRestored
Section titled “sortsRestored”sortsRestored:
number
Defined in: src/types/snapshots.ts:73
How many sorts were restored.
sourceTenantId
Section titled “sourceTenantId”sourceTenantId:
string
Defined in: src/types/snapshots.ts:65
The tenant it was taken from.
tablesRestored
Section titled “tablesRestored”tablesRestored:
number
Defined in: src/types/snapshots.ts:69
How many tables were restored.
targetTenantId
Section titled “targetTenantId”targetTenantId:
string
Defined in: src/types/snapshots.ts:67
The tenant it was restored into — everything that was there is gone.