Skip to content

Interface: ApplySnapshotResponse

@kortexya/reasoninglayer


@kortexya/reasoninglayer / ApplySnapshotResponse

Defined in: src/types/snapshots.ts:72

What restoring a snapshot did to the target tenant.

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.

optional authorityTermsWithheld?: 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: boolean

Defined in: src/types/snapshots.ts:104

Whether the tenant’s inference state was rebuilt after the restore.


message: string

Defined in: src/types/snapshots.ts:74

Human-readable outcome.


rowsRestored: number

Defined in: src/types/snapshots.ts:86

How many rows were restored.


snapshotId: string

Defined in: src/types/snapshots.ts:76

The snapshot that was applied.


snapshotName: string

Defined in: src/types/snapshots.ts:78

Its name.


optional sortsRejected?: number

Defined in: src/types/snapshots.ts:90

How many sorts the target refused.


sortsRestored: number

Defined in: src/types/snapshots.ts:88

How many sorts were restored.


sourceTenantId: string

Defined in: src/types/snapshots.ts:80

The tenant it was taken from.


tablesRestored: number

Defined in: src/types/snapshots.ts:84

How many tables were restored.


targetTenantId: string

Defined in: src/types/snapshots.ts:82

The tenant it was restored into — everything that was there is gone.


optional termsKept?: 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.