mirror of
https://github.com/Start9Labs/patch-db.git
synced 2026-03-26 10:21:53 +00:00
remove stash and store completely
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user