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
@@ -1,13 +1,13 @@
|
||||
import { BaseService } from 'hydrooj';
|
||||
import * as system from 'hydrooj/dist/model/system';
|
||||
import { Logger } from 'hydrooj/dist/logger';
|
||||
import * as system from 'hydrooj/src/model/system';
|
||||
import { Logger } from 'hydrooj/src/logger';
|
||||
import {
|
||||
Search, Ingest, QueryOptions, SuggestOptions, PushOptions,
|
||||
} from 'sonic-channel';
|
||||
|
||||
const logger = new Logger('sonic');
|
||||
|
||||
declare module 'hydrooj/dist/interface' {
|
||||
declare module 'hydrooj/src/interface' {
|
||||
interface SystemKeys {
|
||||
'sonic.host': string;
|
||||
'sonic.port': number;
|
||||
@@ -110,7 +110,7 @@ class SonicService implements BaseService {
|
||||
const service = new SonicService();
|
||||
global.Hydro.service.sonic = service;
|
||||
export = service;
|
||||
declare module 'hydrooj/dist/interface' {
|
||||
declare module 'hydrooj/src/interface' {
|
||||
interface Service {
|
||||
sonic: typeof service
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user