restoreVaultMemoryOp()
restoreVaultMemoryOp(
ctx:VaultMemoryOperationsContext,id:string):Promise<boolean>
Defined in: src/lib/db/memoryVault/operations.ts:2413
Restore an archived memory (PR2) — clear archived_at so it re-enters recall.
Re-checks is_deleted / ownership inside the writer. Idempotent on an
already-active row (clearing null → null is harmless).
Parameters
| Parameter | Type |
|---|---|
|
| |
|
|
|
Returns
Promise<boolean>
true if the row was restored (or already active); false if it was
deleted / not owned / missing.
Deprecated
App code: use MemoryStore.restore (createLocalMemoryStore).
Last updated on