update packages
This commit is contained in:
parent
5e772c525a
commit
2ac837ebab
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "directus-helpers",
|
||||
"version": "1.2.0",
|
||||
"version": "1.3.0",
|
||||
"description": "Helpers Directus Extensions",
|
||||
"author": "AntoXa PRO <info@antoxa.pro>",
|
||||
"homepage": "https://antoxahub.ru/antoxa/directus-helpers",
|
||||
@ -32,8 +32,8 @@
|
||||
"devDependencies": {
|
||||
"@directus/api": "latest",
|
||||
"@directus/extensions-sdk": "latest",
|
||||
"prettier": "latest",
|
||||
"vite": "latest",
|
||||
"vite-plugin-dts": "latest"
|
||||
"prettier": "^3.3.1",
|
||||
"vite": "^5.2.12",
|
||||
"vite-plugin-dts": "^3.9.1"
|
||||
}
|
||||
}
|
||||
|
@ -37,7 +37,7 @@ export class FactoryServices<TTypes extends TFactoryTypes = any> {
|
||||
return this._items[name] as ItemsService<TService>
|
||||
}
|
||||
|
||||
files() {
|
||||
get files() {
|
||||
if (!this._files) {
|
||||
this._files = new this.opts.services.FilesService({
|
||||
schema: this.opts.schema,
|
||||
@ -47,7 +47,7 @@ export class FactoryServices<TTypes extends TFactoryTypes = any> {
|
||||
return this._files as FilesService
|
||||
}
|
||||
|
||||
users() {
|
||||
get users() {
|
||||
if (!this._users) {
|
||||
this._users = new this.opts.services.UserService({
|
||||
schema: this.opts.schema,
|
||||
|
@ -1,4 +1,4 @@
|
||||
import type { PrimaryKey } from '@directus/api/dist/types'
|
||||
import type { PrimaryKey } from '@directus/types'
|
||||
|
||||
export type TFilterHandlerMeta = Record<string, any> & {
|
||||
event: string | 'items.create' | 'items.update',
|
||||
|
Loading…
Reference in New Issue
Block a user