Interface: ApplySnapshotResponse
@kortexya/reasoninglayer / ApplySnapshotResponse
Interface: ApplySnapshotResponse
Section titled “Interface: ApplySnapshotResponse”Defined in: src/types/snapshots.ts:72
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”authorityTermsWithheld?
Section titled “authorityTermsWithheld?”
optionalauthorityTermsWithheld?:number
Defined in: src/types/snapshots.ts:95
How many of the snapshot’s terms the apply did not write, because they are authority content.
inferenceStateRebuilt
Section titled “inferenceStateRebuilt”inferenceStateRebuilt:
boolean
Defined in: src/types/snapshots.ts:104
Whether the tenant’s inference state was rebuilt after the restore.
message
Section titled “message”message:
string
Defined in: src/types/snapshots.ts:74
Human-readable outcome.
rowsRestored
Section titled “rowsRestored”rowsRestored:
number
Defined in: src/types/snapshots.ts:86
How many rows were restored.
snapshotId
Section titled “snapshotId”snapshotId:
string
Defined in: src/types/snapshots.ts:76
The snapshot that was applied.
snapshotName
Section titled “snapshotName”snapshotName:
string
Defined in: src/types/snapshots.ts:78
Its name.
sortsRejected?
Section titled “sortsRejected?”
optionalsortsRejected?:number
Defined in: src/types/snapshots.ts:90
How many sorts the target refused.
sortsRestored
Section titled “sortsRestored”sortsRestored:
number
Defined in: src/types/snapshots.ts:88
How many sorts were restored.
sourceTenantId
Section titled “sourceTenantId”sourceTenantId:
string
Defined in: src/types/snapshots.ts:80
The tenant it was taken from.
tablesRestored
Section titled “tablesRestored”tablesRestored:
number
Defined in: src/types/snapshots.ts:84
How many tables were restored.
targetTenantId
Section titled “targetTenantId”targetTenantId:
string
Defined in: src/types/snapshots.ts:82
The tenant it was restored into — everything that was there is gone.
termsKept?
Section titled “termsKept?”
optionaltermsKept?:number
Defined in: src/types/snapshots.ts:102
How many of the target’s terms the apply kept: its authority content (governed records, authority rules and facts, operational data), which a restore neither erases nor recreates, and any term of a sort its lattice does not declare.