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