summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Van Doorn <vandoorn.nick@gmail.com>2019-01-20 13:36:54 -0800
committerNick Van Doorn <vandoorn.nick@gmail.com>2019-01-20 13:36:54 -0800
commitff1369b00eac47716ac5225666ec069ad4a6ae5c (patch)
treeefeb3aed57234211114703e3335f9236d8649ced /src
parentfaa8dfe794a12b842a3a94d6b5169952486c22dc (diff)
Model change handler storage
Diffstat (limited to 'src')
-rw-r--r--src/change-handlers.model.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/change-handlers.model.ts b/src/change-handlers.model.ts
new file mode 100644
index 0000000..0bddecf
--- /dev/null
+++ b/src/change-handlers.model.ts
@@ -0,0 +1,6 @@
+export interface ChangeHandlers {
+ [handlerKey: string]: {
+ path: string;
+ callback: (e: any) => Promise<any>;
+ };
+}