1
0
Fork 0

feat(core): Added additional lifecycle hooks

Specifically:

- preInit
- postInit
- preSetDraft
- prePartDraft
- postPartDraft
- postSetDraft
This commit is contained in:
Joost De Cock 2022-09-18 22:48:55 +02:00
parent c5138aad99
commit 04f6852482
3 changed files with 23 additions and 5 deletions

View file

@ -6,7 +6,13 @@
*/
export function Hooks() {
return {
preInit: [],
postInit: [],
preDraft: [],
preSetDraft: [],
prePartDraft: [],
postPartDraft: [],
postSetDraft: [],
postDraft: [],
preSample: [],
postSample: [],