feat(core): MemoryStore returns OcasStore (cas + var + tag) #45
Reference in New Issue
Block a user
Delete Branch "fix/40-memorystore-ocas"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Rewrite
createMemoryStore()in@ocas/coreto return the newOcasStoreinterface ({cas, var, tag}) defined intypes.ts.Why
Issue #40: unify the in-memory store with the new
OcasStoreshape introduced in #39 so downstream packages can rely on a single store API.Changes
createMemoryStore()now returnsOcasStorewith in-memoryCasStore,VarStore,TagStore.store.cas.*access.VarStore(set/get/history/tags/labels/conflicts/list filters) andTagStore(set/update/delete/tag/untag/listByTag/target independence).Ref
Fixes #40