core: use common plugin-api interface

This commit is contained in:
undefined committed 2022-09-30 19:02:40 +08:00
1 parent c61c875bee
commit 70a96aecac
54 files changed
+387 -566

No files matched your search

+2 -1
View File
@@ -1,7 +1,8 @@
import * as cordis from 'cordis';
import Schema from 'schemastery';
import { ModuleInterfaces } from './interface';
import { inject } from './lib/ui';
import { Loader, ModuleInterfaces } from './loader';
import { Loader } from './loader';
import { EventMap } from './service/bus';
export interface Events<C extends Context = Context> extends cordis.Events<C>, EventMap {