core: fix import

This commit is contained in:
undefined committed 2021-04-23 12:26:54 +08:00
1 parent ab12ca8526
commit ecc1e10664
2 files changed
+6 -2

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "hydrooj", "name": "hydrooj",
"version": "2.23.23", "version": "2.23.24",
"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",
+5 -1
View File
@@ -6,7 +6,11 @@
* NodeJS doesn't support some of this new features. * NodeJS doesn't support some of this new features.
* e.g.: object?.property * e.g.: object?.property
*/ */
import { STATUS, STATUS_TEXTS, STATUS_CODES } from '@hydrooj/utils/lib/status'; import {
STATUS, STATUS_TEXTS, STATUS_CODES,
USER_GENDER_MALE, USER_GENDER_FEMALE, USER_GENDER_OTHER,
USER_GENDER_ICONS, USER_GENDERS, USER_GENDER_RANGE,
} from '@hydrooj/utils/lib/status';
import type { Udoc } from '../interface'; import type { Udoc } from '../interface';
export * from '@hydrooj/utils/lib/status'; export * from '@hydrooj/utils/lib/status';