feat(core): Added additional lifecycle hooks
Specifically: - preInit - postInit - preSetDraft - prePartDraft - postPartDraft - postSetDraft
This commit is contained in:
parent
c5138aad99
commit
04f6852482
3 changed files with 23 additions and 5 deletions
|
@ -6,7 +6,13 @@
|
|||
*/
|
||||
export function Hooks() {
|
||||
return {
|
||||
preInit: [],
|
||||
postInit: [],
|
||||
preDraft: [],
|
||||
preSetDraft: [],
|
||||
prePartDraft: [],
|
||||
postPartDraft: [],
|
||||
postSetDraft: [],
|
||||
postDraft: [],
|
||||
preSample: [],
|
||||
postSample: [],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue