mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ci fix
This commit is contained in:
1 parent
6eed519407
commit
31659a3770
3 files changed
+3
-4
No files matched your search
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "hydrooj",
|
"name": "hydrooj",
|
||||||
"version": "2.13.2",
|
"version": "2.13.3",
|
||||||
"bin": "bin/hydrooj.js",
|
"bin": "bin/hydrooj.js",
|
||||||
"main": "dist/loader.js",
|
"main": "dist/loader.js",
|
||||||
"typings": "dist/loader.d.ts",
|
"typings": "dist/loader.d.ts",
|
||||||
|
|||||||
@@ -25,7 +25,6 @@ import { PERM, PRIV, CONSTANT } from '../model/builtin';
|
|||||||
import {
|
import {
|
||||||
isContent, isPassword, isEmail, isTitle,
|
isContent, isPassword, isEmail, isTitle,
|
||||||
} from '../lib/validator';
|
} from '../lib/validator';
|
||||||
import { Mdoc } from '../interface';
|
|
||||||
|
|
||||||
const { geoip, useragent } = global.Hydro.lib;
|
const { geoip, useragent } = global.Hydro.lib;
|
||||||
|
|
||||||
|
|||||||
@@ -21,8 +21,8 @@ interface EventMap {
|
|||||||
|
|
||||||
'user/message': (uid: number, mdoc: Mdoc, udoc: User) => void
|
'user/message': (uid: number, mdoc: Mdoc, udoc: User) => void
|
||||||
|
|
||||||
'document/add': (doc: any) => Promise<string | void> | string | void
|
'document/add': (doc: any) => Promise<void> | void
|
||||||
'document/set': (domainId: string, docType: number, docId: ObjectID | string | number, args: any) => Promise<string | void> | string | void
|
'document/set': (domainId: string, docType: number, docId: ObjectID | string | number, $set: any) => Promise<void> | void
|
||||||
|
|
||||||
'record/change': (rdoc: Rdoc, $set?: any, $push?: any) => void
|
'record/change': (rdoc: Rdoc, $set?: any, $push?: any) => void
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user