remove stash and store completely

This commit is contained in:
Matt Hill
2022-09-01 11:01:38 -06:00
parent e4955b8eaa
commit a6cf2aa16d
5 changed files with 183 additions and 254 deletions

View File

@@ -4,11 +4,10 @@ import { Operation } from './json-patch-lib'
export type Revision = {
id: number
patch: Operation<unknown>[]
expireId: string | null
}
// dump/replace the entire store with T
export type Dump<T> = { id: number; value: T; expireId: string | null }
export type Dump<T> = { id: number; value: T }
export type Update<T> = Revision | Dump<T>