mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
next: esbuild loader
This commit is contained in:
1 parent
cca54dc92a
commit
5eaec48002
28 files changed
+171
-113
No files matched your search
@@ -7,7 +7,7 @@ export interface RemoteAccount {
|
||||
endpoint?: string;
|
||||
proxy?: string;
|
||||
}
|
||||
declare module 'hydrooj/dist/interface' {
|
||||
declare module 'hydrooj/src/interface' {
|
||||
interface Collections {
|
||||
vjudge: RemoteAccount;
|
||||
}
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
/* eslint-disable no-await-in-loop */
|
||||
import { Logger } from 'hydrooj/dist/logger';
|
||||
import db from 'hydrooj/dist/service/db';
|
||||
import * as bus from 'hydrooj/dist/service/bus';
|
||||
import * as Judge from 'hydrooj/dist/handler/judge';
|
||||
import TaskModel from 'hydrooj/dist/model/task';
|
||||
import DomainModel from 'hydrooj/dist/model/domain';
|
||||
import ProblemModel from 'hydrooj/dist/model/problem';
|
||||
import { STATUS } from 'hydrooj/dist/model/builtin';
|
||||
import { Logger } from 'hydrooj/src/logger';
|
||||
import db from 'hydrooj/src/service/db';
|
||||
import * as bus from 'hydrooj/src/service/bus';
|
||||
import * as Judge from 'hydrooj/src/handler/judge';
|
||||
import TaskModel from 'hydrooj/src/model/task';
|
||||
import DomainModel from 'hydrooj/src/model/domain';
|
||||
import ProblemModel from 'hydrooj/src/model/problem';
|
||||
import { STATUS } from 'hydrooj/src/model/builtin';
|
||||
import { sleep } from '@hydrooj/utils/lib/utils';
|
||||
import providers from './providers/index';
|
||||
import { BasicProvider, IBasicProvider, RemoteAccount } from './interface';
|
||||
|
||||
@@ -4,9 +4,9 @@ import proxy from 'superagent-proxy';
|
||||
import { JSDOM } from 'jsdom';
|
||||
import { STATUS } from '@hydrooj/utils/lib/status';
|
||||
import { sleep } from '@hydrooj/utils/lib/utils';
|
||||
import { buildContent } from 'hydrooj/dist/lib/content';
|
||||
import * as setting from 'hydrooj/dist/model/setting';
|
||||
import { Logger } from 'hydrooj/dist/logger';
|
||||
import { buildContent } from 'hydrooj/src/lib/content';
|
||||
import * as setting from 'hydrooj/src/model/setting';
|
||||
import { Logger } from 'hydrooj/src/logger';
|
||||
import { PassThrough } from 'stream';
|
||||
import { IBasicProvider, RemoteAccount } from '../interface';
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@ import { JSDOM } from 'jsdom';
|
||||
import { PassThrough } from 'stream';
|
||||
import { STATUS } from '@hydrooj/utils/lib/status';
|
||||
import { parseMemoryMB, sleep } from '@hydrooj/utils/lib/utils';
|
||||
import * as setting from 'hydrooj/dist/model/setting';
|
||||
import { Logger } from 'hydrooj/dist/logger';
|
||||
import * as setting from 'hydrooj/src/model/setting';
|
||||
import { Logger } from 'hydrooj/src/logger';
|
||||
import { IBasicProvider, RemoteAccount } from '../interface';
|
||||
|
||||
proxy(superagent);
|
||||
|
||||
Reference in new issue
Block a user