mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 12:11:56 +00:00
@@ -168,10 +168,6 @@ export class Daemons<Manifest extends SDKManifest, Ids extends string> {
|
||||
}
|
||||
|
||||
private updateMainHealth() {
|
||||
if (this.healthDaemons.every((x) => x.health.status === "success")) {
|
||||
this.effects.setMainStatus({ status: "running" })
|
||||
} else {
|
||||
this.effects.setMainStatus({ status: "starting" })
|
||||
}
|
||||
this.effects.setMainStatus({ status: "running" })
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
import type { Guid } from "./Guid"
|
||||
|
||||
export type ExecuteAction = {
|
||||
procedureId: Guid
|
||||
serviceId: string | null
|
||||
actionId: string
|
||||
input: any
|
||||
|
||||
4
sdk/lib/osBindings/ProcedureId.ts
Normal file
4
sdk/lib/osBindings/ProcedureId.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
import type { Guid } from "./Guid"
|
||||
|
||||
export type ProcedureId = { procedureId: Guid }
|
||||
@@ -1,6 +1,8 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
import type { DependencyRequirement } from "./DependencyRequirement"
|
||||
import type { Guid } from "./Guid"
|
||||
|
||||
export type SetDependenciesParams = {
|
||||
procedureId: Guid
|
||||
dependencies: Array<DependencyRequirement>
|
||||
}
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
|
||||
export type SetMainStatusStatus = "running" | "stopped" | "starting"
|
||||
export type SetMainStatusStatus = "running" | "stopped"
|
||||
|
||||
@@ -108,6 +108,7 @@ export { PackageVersionInfo } from "./PackageVersionInfo"
|
||||
export { ParamsMaybePackageId } from "./ParamsMaybePackageId"
|
||||
export { ParamsPackageId } from "./ParamsPackageId"
|
||||
export { PasswordType } from "./PasswordType"
|
||||
export { ProcedureId } from "./ProcedureId"
|
||||
export { Progress } from "./Progress"
|
||||
export { Public } from "./Public"
|
||||
export { RecoverySource } from "./RecoverySource"
|
||||
|
||||
Reference in New Issue
Block a user