Skip to content

Interface: ApplySnapshotResponse

@kortexya/reasoninglayer


@kortexya/reasoninglayer / ApplySnapshotResponse

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

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.

inferenceStateRebuilt: boolean

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

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


message: string

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

Human-readable outcome.


rowsRestored: number

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

How many rows were restored.


snapshotId: string

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

The snapshot that was applied.


snapshotName: string

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

Its name.


optional sortsRejected?: number

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

How many sorts the target refused.


sortsRestored: number

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

How many sorts were restored.


sourceTenantId: string

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

The tenant it was taken from.


tablesRestored: number

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

How many tables were restored.


targetTenantId: string

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

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