pull/10/head
undefined 4 years ago
parent 6eed519407
commit 31659a3770

@ -1,6 +1,6 @@
{
"name": "hydrooj",
"version": "2.13.2",
"version": "2.13.3",
"bin": "bin/hydrooj.js",
"main": "dist/loader.js",
"typings": "dist/loader.d.ts",

@ -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
}

Loading…
Cancel
Save