How do I migrate a v3 hook to v4?

hey @yes_nik

Did you finally solved this somehow?

I am trying to create a custom hook in strapi v4 and it does not get initialized, despite I am using the same structure as you.

Thanks!