From 252ee7734734c18e859e289f26b00dd4e60b6887 Mon Sep 17 00:00:00 2001 From: Benjamin Pannell Date: Fri, 24 Apr 2015 16:34:06 +0200 Subject: [PATCH] Removed the beforeSave hook (since it is handled by saving) --- lib/Hooks.js.map | 2 +- lib/Hooks.ts | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/Hooks.js.map b/lib/Hooks.js.map index c8ee2f0..0b05250 100644 --- a/lib/Hooks.js.map +++ b/lib/Hooks.js.map @@ -1 +1 @@ -{"version":3,"file":"Hooks.js","sourceRoot":"","sources":["Hooks.ts"],"names":[],"mappings":"AASC"} \ No newline at end of file +{"version":3,"file":"Hooks.js","sourceRoot":"","sources":["Hooks.ts"],"names":[],"mappings":"AAQC"} \ No newline at end of file diff --git a/lib/Hooks.ts b/lib/Hooks.ts index 5ff82bc..ac78048 100644 --- a/lib/Hooks.ts +++ b/lib/Hooks.ts @@ -5,6 +5,5 @@ export interface IHooks { creating? (document: TDocument); retrieved? (document: TDocument); ready? (instance: TInstance); - beforeSave? (instance: TInstance); saving? (instance: TInstance, changes: any); } \ No newline at end of file