Files
factorio-clusterio/plugins/research_sync/index.ts
T
Hornwitser b0f6c95fca Move export for plugin declaration (#555)
Change the expected exported name of plugin declarations to be "plugin"
at the main entrypoint instead of the default export.  This makes the
plugin's code organisation more flexible especially when using CommonJS
JavaScript modules as they can export additional symbols from the
plugin declaration file.
2024-01-18 20:31:52 +01:00

19 lines
493 B
TypeScript

import type * as lib from "@clusterio/lib";
import * as messages from "./messages";
export const plugin: lib.PluginDeclaration = {
name: "research_sync",
title: "Research Sync",
description: "Synchronises technology research progress between instances.",
instanceEntrypoint: "dist/plugin/instance",
controllerEntrypoint: "dist/plugin/controller",
messages: [
messages.ContributionEvent,
messages.ProgressEvent,
messages.FinishedEvent,
messages.SyncTechnologiesRequest,
],
};