mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
core: typings fix
This commit is contained in:
1 parent
d10fec361c
commit
172a03074c
2 files changed
+5
-2
No files matched your search
@@ -580,6 +580,7 @@ export interface Collections {
|
|||||||
'oplog': OplogDoc;
|
'oplog': OplogDoc;
|
||||||
'event': EventDoc;
|
'event': EventDoc;
|
||||||
'opcount': OpCountDoc;
|
'opcount': OpCountDoc;
|
||||||
|
'log': any;
|
||||||
'fs.chunks': any;
|
'fs.chunks': any;
|
||||||
'fs.files': any;
|
'fs.files': any;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import {
|
import {
|
||||||
STATUS, STATUS_CODES, STATUS_TEXTS,
|
getScoreColor, STATUS, STATUS_CODES, STATUS_SHORT_TEXTS,
|
||||||
USER_GENDER_FEMALE, USER_GENDER_ICONS, USER_GENDER_MALE,
|
STATUS_TEXTS, USER_GENDER_FEMALE, USER_GENDER_ICONS, USER_GENDER_MALE,
|
||||||
USER_GENDER_OTHER, USER_GENDER_RANGE, USER_GENDERS,
|
USER_GENDER_OTHER, USER_GENDER_RANGE, USER_GENDERS,
|
||||||
} from '@hydrooj/utils/lib/status';
|
} from '@hydrooj/utils/lib/status';
|
||||||
|
|
||||||
@@ -486,6 +486,7 @@ export const CATEGORIES = {
|
|||||||
|
|
||||||
global.Hydro.model.builtin = {
|
global.Hydro.model.builtin = {
|
||||||
Permission,
|
Permission,
|
||||||
|
getScoreColor,
|
||||||
PERM,
|
PERM,
|
||||||
PERMS,
|
PERMS,
|
||||||
PERMS_BY_FAMILY,
|
PERMS_BY_FAMILY,
|
||||||
@@ -496,6 +497,7 @@ global.Hydro.model.builtin = {
|
|||||||
CATEGORIES,
|
CATEGORIES,
|
||||||
STATUS,
|
STATUS,
|
||||||
STATUS_TEXTS,
|
STATUS_TEXTS,
|
||||||
|
STATUS_SHORT_TEXTS,
|
||||||
STATUS_CODES,
|
STATUS_CODES,
|
||||||
USER_GENDER_MALE,
|
USER_GENDER_MALE,
|
||||||
USER_GENDER_FEMALE,
|
USER_GENDER_FEMALE,
|
||||||
|
|||||||
Reference in new issue
Block a user