mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 12:11:56 +00:00
chore: Add in the properties to somewhere useful.
This commit is contained in:
@@ -457,9 +457,12 @@ export class SystemForEmbassy implements System {
|
||||
path: "/properties",
|
||||
value: exposeUis.map((x) => x.value),
|
||||
})
|
||||
await effects.exposeUi(
|
||||
exposeUis.map((x, i) => ({ ...x, path: `/properties/${i}` }) as any),
|
||||
)
|
||||
await effects.exposeUi({
|
||||
paths: exposeUis.map((x, i) => ({
|
||||
...x,
|
||||
path: `/properties/${i}`,
|
||||
})) as any[],
|
||||
})
|
||||
} else if (setConfigValue.type === "script") {
|
||||
const moduleCode = this.moduleCode
|
||||
const method = moduleCode.properties
|
||||
@@ -478,9 +481,12 @@ export class SystemForEmbassy implements System {
|
||||
path: "/properties",
|
||||
value: exposeUis.map((x) => x.value),
|
||||
})
|
||||
await effects.exposeUi(
|
||||
exposeUis.map((x, i) => ({ ...x, path: `/properties/${i}` }) as any),
|
||||
)
|
||||
await effects.exposeUi({
|
||||
paths: exposeUis.map((x, i) => ({
|
||||
...x,
|
||||
path: `/properties/${i}`,
|
||||
})) as any[],
|
||||
})
|
||||
}
|
||||
}
|
||||
private async health(
|
||||
|
||||
Reference in New Issue
Block a user