mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-11 15:04:52 +09:00
Remove "instance" from ConfigLocation
When the config system was ported to TypeScript the "instance" location was accidentally added to the type of available locations for access control. This has never been a valid location as it was deemed too complicated to work with. The correct location for instances is "controller" and "host" as these are the locations the configs are handled.
This commit is contained in:
1 parent
a6033f4171
commit
3838bc6a70
1 file changed
+1
-1
@@ -7,7 +7,7 @@ import { basicType } from "../helpers";
|
||||
import * as libSchema from "../schema";
|
||||
import { StringEnum } from "../data/composites";
|
||||
|
||||
const ConfigLocation = StringEnum(["controller", "host", "instance", "control"]);
|
||||
const ConfigLocation = StringEnum(["controller", "host", "control"]);
|
||||
export type ConfigLocation = Static<typeof ConfigLocation>;
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user