summaryrefslogtreecommitdiff
path: root/src/database.model.ts
diff options
context:
space:
mode:
authorNick Van Doorn <vandoorn.nick@gmail.com>2019-01-19 19:54:59 -0800
committerNick Van Doorn <vandoorn.nick@gmail.com>2019-01-19 19:54:59 -0800
commit9ecb417c79362111a438fa81b307a943ea2547d5 (patch)
tree6057d2a00498444857ee741777696242e1b65e31 /src/database.model.ts
parented879f6c8c0d500590fec851a858f0240111d370 (diff)
Use "read" instead of "fetch"
Diffstat (limited to 'src/database.model.ts')
-rw-r--r--src/database.model.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/database.model.ts b/src/database.model.ts
index 89e3a44..08e91ab 100644
--- a/src/database.model.ts
+++ b/src/database.model.ts
@@ -1,6 +1,6 @@
export interface DatabaseInterface {
init(): Promise<void>;
- fetch(path: string): Promise<Object>;
+ read(path: string): Promise<Object>;
write(path: string, toWrite: Object): Promise<void>;
flush(): Promise<void>;
toString(): Object;