mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-13 15:14:52 +09:00
Move BaseControllerPlugin to controller/src/BaseControllerPlugin.ts Move BaseInstancePlugin to host/src/BaseInstancePlugin.ts Move BaseControlPlugin to ctl/src/BaseCtlPlugin.ts Move BaseWebPlugin to web_ui/src/BaseWebPlugin.ts This solves the circular package dependency problem of the base plugins needing types that are available only in the dependencies to lib.
18 lines
359 B
TypeScript
18 lines
359 B
TypeScript
import type * as lib from "@clusterio/lib";
|
|
|
|
import { ChatEvent } from "./messages";
|
|
|
|
const info: lib.PluginDeclaration = {
|
|
name: "global_chat",
|
|
title: "Global Chat",
|
|
description: "Forwards chat between instances.",
|
|
instanceEntrypoint: "dist/plugin/instance",
|
|
ctlEntrypoint: "dist/plugin/control",
|
|
|
|
messages: [
|
|
ChatEvent,
|
|
],
|
|
};
|
|
|
|
export default info;
|