core&ui: remove Hydro.service.bus, Hydro.ui.template

This commit is contained in:
undefined committed 2025-03-09 16:05:02 +08:00
1 parent a459b9a1fd
commit 1a7b08e56e
8 files changed
+193 -178

No files matched your search

+2 -1
View File
@@ -5,6 +5,7 @@ import {
} from 'hydrooj';
import convert from 'schemastery-jsonschema';
import markdown from './backendlib/markdown';
import { TemplateService } from './backendlib/template';
class WikiHelpHandler extends Handler {
noCheckPermView = true;
@@ -164,6 +165,6 @@ export function apply(ctx: Context) {
domains: SystemModel.get('ui-default.domains') || [],
};
});
ctx.plugin(require('./backendlib/template'));
ctx.plugin(TemplateService);
ctx.plugin(require('./backendlib/builder'));
}