Finished implementing NetworkService
This commit is contained in:
6
src/storage/database.ts
Normal file
6
src/storage/database.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
export interface DatabaseAPI {
|
||||
set(collection: string, key: string, value: any): void;
|
||||
get(collection: string, key: string): string;
|
||||
delete(collection: string, key: string): void;
|
||||
flush(): void;
|
||||
}
|
||||
Reference in New Issue
Block a user