mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 12:11:56 +00:00
wip: Adding in properties and nested path
This commit is contained in:
@@ -257,7 +257,7 @@ struct RemoveAddressParams {
|
||||
#[ts(export)]
|
||||
#[serde(rename_all = "kebab-case")]
|
||||
enum AllowedStatuses {
|
||||
OnlyRunning,
|
||||
OnlyRunning, // onlyRunning
|
||||
OnlyStopped,
|
||||
Any,
|
||||
Disabled,
|
||||
@@ -1073,20 +1073,19 @@ enum DependencyKind {
|
||||
#[serde(rename_all = "camelCase", tag = "kind")]
|
||||
#[ts(export)]
|
||||
enum DependencyRequirement {
|
||||
#[serde(rename_all = "camelCase")]
|
||||
Running {
|
||||
#[ts(type = "string")]
|
||||
id: PackageId,
|
||||
#[ts(type = "string[]")]
|
||||
#[serde(rename = "healthChecks")]
|
||||
health_checks: BTreeSet<HealthCheckId>,
|
||||
#[serde(rename = "versionSpec")]
|
||||
version_spec: String,
|
||||
url: String,
|
||||
},
|
||||
#[serde(rename_all = "camelCase")]
|
||||
Exists {
|
||||
#[ts(type = "string")]
|
||||
id: PackageId,
|
||||
#[serde(rename = "versionSpec")]
|
||||
version_spec: String,
|
||||
url: String,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user