Simplify API
This commit is contained in:
parent
010b3d61e9
commit
eb1ad9921a
5 changed files with 203 additions and 53 deletions
4
frontend/sync-client/src/persistence/persistence.ts
Normal file
4
frontend/sync-client/src/persistence/persistence.ts
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
export interface PersistenceProvider {
|
||||
load: () => Promise<unknown>;
|
||||
save: (data: unknown) => Promise<void>;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue