diff options
author | Nick Van Doorn <vandoorn.nick@gmail.com> | 2019-01-20 13:36:54 -0800 |
---|---|---|
committer | Nick Van Doorn <vandoorn.nick@gmail.com> | 2019-01-20 13:36:54 -0800 |
commit | ff1369b00eac47716ac5225666ec069ad4a6ae5c (patch) | |
tree | efeb3aed57234211114703e3335f9236d8649ced /src | |
parent | faa8dfe794a12b842a3a94d6b5169952486c22dc (diff) |
Model change handler storage
Diffstat (limited to 'src')
-rw-r--r-- | src/change-handlers.model.ts | 6 |
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>; + }; +} |