diff --git a/package.json b/package.json index bb1641f..65e7667 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,8 @@ { "name": "directus-helpers", - "version": "1.0.0", + "version": "1.0.1", "description": "Helpers Directus Extensions", + "license": "ISC", "author": "AntoXa PRO ", "homepage": "https://antoxahub.ru/antoxa/directus-helpers", "repository": { @@ -33,11 +34,10 @@ "Directus" ], "devDependencies": { - "@directus/api": "^18.0.0", - "@directus/extensions-sdk": "^11.0.0", - "prettier": "^3.2.5", - "vite": "^5.1.5", - "vite-plugin-dts": "^3.7.3" - }, - "license": "ISC" + "@directus/api": "latest", + "@directus/extensions-sdk": "latest", + "prettier": "latest", + "vite": "latest", + "vite-plugin-dts": "latest" + } } diff --git a/src/index.ts b/src/index.ts index c87b7f3..f0618b2 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,2 +1,3 @@ +export * from './types' export * from './services' export * from './operations' diff --git a/src/types/hook.ts b/src/types/hook.ts new file mode 100644 index 0000000..4a979e8 --- /dev/null +++ b/src/types/hook.ts @@ -0,0 +1,5 @@ +export type THookFilterInfo = { + event: string, + keys: string[] + collection: string +} diff --git a/src/types/index.ts b/src/types/index.ts new file mode 100644 index 0000000..516962b --- /dev/null +++ b/src/types/index.ts @@ -0,0 +1 @@ +export * from './hook'