diff --git a/package.json b/package.json index 41489a1..429aae7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "directus-helpers", - "version": "1.0.2", + "version": "1.0.3", "description": "Helpers Directus Extensions", "license": "ISC", "author": "AntoXa PRO ", diff --git a/src/types/hook.ts b/src/types/hook.ts index c5ca959..1ed5665 100644 --- a/src/types/hook.ts +++ b/src/types/hook.ts @@ -1,6 +1,6 @@ import type { PrimaryKey } from '@directus/api/dist/types' -export type TFilterHandlerMeta = { +export type TFilterHandlerMeta = Record & { event: string | 'items.create' | 'items.update', keys: PrimaryKey[] collection: string