mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 03:25:23 +09:00
38 lines
887 B
TypeScript
38 lines
887 B
TypeScript
import * as lib from "@clusterio/lib";
|
|
import * as Messages from "./messages";
|
|
|
|
lib.definePermission({
|
|
name: "exp_scenario.config.view",
|
|
title: "View ExpScenario Config",
|
|
description: "View the config for all submodules of ExpScenario",
|
|
});
|
|
|
|
lib.definePermission({
|
|
name: "exp_scenario.config.edit",
|
|
title: "Edit ExpScenario Config",
|
|
description: "Edit the config for all submodules of ExpScenario",
|
|
});
|
|
|
|
declare module "@clusterio/lib" {
|
|
|
|
}
|
|
|
|
export const plugin: lib.PluginDeclaration = {
|
|
name: "exp_scenario",
|
|
title: "exp_scenario",
|
|
description: "Example Description. Plugin. Change me in index.ts",
|
|
controllerEntrypoint: "./dist/node/controller",
|
|
instanceEntrypoint: "./dist/node/instance",
|
|
|
|
messages: [
|
|
Messages.PluginExampleEvent,
|
|
Messages.PluginExampleRequest,
|
|
Messages.ExampleSubscribableUpdate,
|
|
],
|
|
|
|
webEntrypoint: "./web",
|
|
routes: [
|
|
"/exp_scenario",
|
|
],
|
|
};
|