fix FilterHandlerMeta

This commit is contained in:
AntoXa PRO 2024-03-28 14:49:08 +03:00
parent 306990ff6c
commit 6598067fb1
2 changed files with 6 additions and 4 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "directus-helpers", "name": "directus-helpers",
"version": "1.0.1", "version": "1.0.2",
"description": "Helpers Directus Extensions", "description": "Helpers Directus Extensions",
"license": "ISC", "license": "ISC",
"author": "AntoXa PRO <info@antoxa.pro>", "author": "AntoXa PRO <info@antoxa.pro>",

View File

@ -1,5 +1,7 @@
export type THookFilterInfo = { import type { PrimaryKey } from '@directus/api/dist/types'
event: string,
keys: string[] export type TFilterHandlerMeta = {
event: string | 'items.create' | 'items.update',
keys: PrimaryKey[]
collection: string collection: string
} }