ui-next: add hydroPlugins to dynamically load route plugins

This commit is contained in:
Baoshuo committed 2026-05-10 01:12:46 +08:00
1 parent e2a07e6105
commit f2a5a17f95
2 files changed
+29 -6

No files matched your search

+1 -1
View File
@@ -622,7 +622,7 @@ export interface ProblemSearchOptions {
export type ProblemSearch = (domainId: string, q: string, options?: ProblemSearchOptions) => Promise<ProblemSearchResponse>;
export type UIInjectableFields = 'ProblemAdd' | 'Notification' | 'Nav' | 'UserDropdown' | 'DomainManage' | 'ControlPanel';
export type UIInjectableFields = 'ProblemAdd' | 'Notification' | 'Nav' | 'UserDropdown' | 'DomainManage' | 'ControlPanel' | 'Route';
export interface UI {
nodes: Record<UIInjectableFields, any[]>;
getNodes: typeof import('./lib/ui').getNodes;