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
@@ -25,7 +25,6 @@ import { PERM, PRIV, CONSTANT } from '../model/builtin';
|
||||
import {
|
||||
isContent, isPassword, isEmail, isTitle,
|
||||
} from '../lib/validator';
|
||||
import { Mdoc } from '../interface';
|
||||
|
||||
const { geoip, useragent } = global.Hydro.lib;
|
||||
|
||||
|
||||
@@ -21,8 +21,8 @@ interface EventMap {
|
||||
|
||||
'user/message': (uid: number, mdoc: Mdoc, udoc: User) => void
|
||||
|
||||
'document/add': (doc: any) => Promise<string | void> | string | void
|
||||
'document/set': (domainId: string, docType: number, docId: ObjectID | string | number, args: any) => Promise<string | void> | string | void
|
||||
'document/add': (doc: any) => Promise<void> | 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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user