mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-16 15:30:41 +09:00
The control interface is required for adding handlers for message types a plugin defines, but the plugins were loaded before the Control instance was created. This meant there was no sensible way for web plugins to register handlers for their own message types. Move the creating of the Control instance to before plugins are loaded and set this.control for web plugins before init is called.
31 lines
1.4 KiB
TypeScript
31 lines
1.4 KiB
TypeScript
/// <reference path="../global.d.ts" />
|
|
export { default as bootstrap } from "./bootstrap";
|
|
export { default as notify, notifyErrorHandler } from "./util/notify";
|
|
export { default as BaseWebPlugin } from "./BaseWebPlugin";
|
|
export * from "./util/websocket";
|
|
|
|
export * from "./model/instance";
|
|
export * from "./model/host";
|
|
export * from "./model/locale";
|
|
export * from "./model/item_metadata";
|
|
export * from "./model/account";
|
|
|
|
export { default as ControlContext } from "./components/ControlContext";
|
|
|
|
export { default as BaseConfigTree } from "./components/BaseConfigTree";
|
|
export { default as InstanceConfigTree } from "./components/InstanceConfigTree";
|
|
export { default as ControllerConfigTree } from "./components/ControllerConfigTree";
|
|
|
|
export { default as LogConsole } from "./components/LogConsole";
|
|
|
|
export { default as AssignInstanceModal } from "./components/AssignInstanceModal";
|
|
export { default as InstanceList } from "./components/InstanceList";
|
|
export { default as InstanceRcon } from "./components/InstanceRcon";
|
|
export { default as InstanceStatusTag, statusColors } from "./components/InstanceStatusTag";
|
|
export { default as StartStopInstanceButton } from "./components/StartStopInstanceButton";
|
|
|
|
export { default as PageHeader } from "./components/PageHeader";
|
|
export { default as PageLayout } from "./components/PageLayout";
|
|
export { default as SavesList } from "./components/SavesList";
|
|
export { default as SectionHeader } from "./components/SectionHeader";
|