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",
"version": "1.0.1",
"version": "1.0.2",
"description": "Helpers Directus Extensions",
"license": "ISC",
"author": "AntoXa PRO <info@antoxa.pro>",

View File

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