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:
Hornwitser committed 2024-10-28 20:15:09 +01:00
1 parent a6033f4171
commit 3838bc6a70
1 file changed
+1 -1
+1 -1
View File
@@ -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>;
/**