fix FilterHandlerMeta
This commit is contained in:
parent
306990ff6c
commit
6598067fb1
@ -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>",
|
||||||
|
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user