Skip to content

Commit

Permalink
Removed the beforeSave hook (since it is handled by saving)
Browse files Browse the repository at this point in the history
  • Loading branch information
notheotherben committed Apr 24, 2015
1 parent 6379d10 commit 252ee77
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion lib/Hooks.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion lib/Hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,5 @@ export interface IHooks<TDocument, TInstance> {
creating? (document: TDocument);
retrieved? (document: TDocument);
ready? (instance: TInstance);
beforeSave? (instance: TInstance);
saving? (instance: TInstance, changes: any);
}

0 comments on commit 252ee77

Please sign in to comment.