* Update hooks.md
* Delete event does not contains the whole payload but the payload keys
* files filter and hooks exist except for create/update
* Update docs/extensions/hooks.md
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
* Adds the 'sort_updated' event emit after items are sorted
Signed-off-by: Mihovil Ilakovac <mihovil.ilakovac@gmail.com>
* Updates the event name to 'sort_update'. Docs.
Signed-off-by: Mihovil Ilakovac <mihovil.ilakovac@gmail.com>
* Updates the event name to `sort`
* Add item/to to hook, fix docs
Co-authored-by: Mihovil Ilakovac <mihovil.ilakovac@gmail.com>
* Add "authenticate" filter hook that allows custom auth check
* Start on test
* Update Jest, restructure API tests, start implementing authenticate test
* Move access token verify to util function
* Ensure jest can show inline warnings on correct lines
* Update is-directus-jwt to use jsonwebtoken decode + add tests
* Remove unused package
* Tweak and finish + test authenticate
* Tweak test
* Add authenticate filter to docs
* Don't scan tests for codeql
* No seriously, ignore tests
* Rename API Endpoints docs to Endpoints to align with Hooks
* Add a Creating Extensions page to the docs
* Update individual extension docs pages
* Apply latest changes to hook docs
* Move available events to a dedicated section in hook docs