mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-04-04 22:39:46 +00:00
revert to ts-rs v9
This commit is contained in:
406
core/Cargo.lock
generated
406
core/Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@@ -31,7 +31,7 @@ rustls = "0.23"
|
|||||||
serde = { version = "1.0", features = ["derive", "rc"] }
|
serde = { version = "1.0", features = ["derive", "rc"] }
|
||||||
serde_json = "1.0"
|
serde_json = "1.0"
|
||||||
ssh-key = "0.6.2"
|
ssh-key = "0.6.2"
|
||||||
ts-rs = "11"
|
ts-rs = "9"
|
||||||
thiserror = "2.0"
|
thiserror = "2.0"
|
||||||
tokio = { version = "1", features = ["full"] }
|
tokio = { version = "1", features = ["full"] }
|
||||||
tracing = "0.1.39"
|
tracing = "0.1.39"
|
||||||
|
|||||||
@@ -135,7 +135,7 @@ id-pool = { version = "0.2.2", default-features = false, features = [
|
|||||||
"u16",
|
"u16",
|
||||||
] }
|
] }
|
||||||
imbl = { version = "6", features = ["serde", "small-chunks"] }
|
imbl = { version = "6", features = ["serde", "small-chunks"] }
|
||||||
imbl-value = { version = "0.4.1", features = ["ts-rs"] }
|
imbl-value = { version = "0.4.3", features = ["ts-rs"] }
|
||||||
include_dir = { version = "0.7.3", features = ["metadata"] }
|
include_dir = { version = "0.7.3", features = ["metadata"] }
|
||||||
indexmap = { version = "2.0.2", features = ["serde"] }
|
indexmap = { version = "2.0.2", features = ["serde"] }
|
||||||
indicatif = { version = "0.17.7", features = ["tokio"] }
|
indicatif = { version = "0.17.7", features = ["tokio"] }
|
||||||
@@ -236,7 +236,7 @@ tracing-error = "0.2.0"
|
|||||||
tracing-futures = "0.2.5"
|
tracing-futures = "0.2.5"
|
||||||
tracing-journald = "0.3.0"
|
tracing-journald = "0.3.0"
|
||||||
tracing-subscriber = { version = "0.3.17", features = ["env-filter"] }
|
tracing-subscriber = { version = "0.3.17", features = ["env-filter"] }
|
||||||
ts-rs = "11.0.1"
|
ts-rs = "9.0.1"
|
||||||
typed-builder = "0.21.0"
|
typed-builder = "0.21.0"
|
||||||
unix-named-pipe = "0.2.0"
|
unix-named-pipe = "0.2.0"
|
||||||
url = { version = "2.4.1", features = ["serde"] }
|
url = { version = "2.4.1", features = ["serde"] }
|
||||||
|
|||||||
@@ -2,4 +2,4 @@
|
|||||||
import type { PackageDataEntry } from "./PackageDataEntry"
|
import type { PackageDataEntry } from "./PackageDataEntry"
|
||||||
import type { PackageId } from "./PackageId"
|
import type { PackageId } from "./PackageId"
|
||||||
|
|
||||||
export type AllPackageData = { [key in PackageId]?: PackageDataEntry }
|
export type AllPackageData = { [key: PackageId]: PackageDataEntry }
|
||||||
|
|||||||
@@ -12,6 +12,6 @@ export type CheckDependenciesResult = {
|
|||||||
installedVersion: Version | null
|
installedVersion: Version | null
|
||||||
satisfies: Array<Version>
|
satisfies: Array<Version>
|
||||||
isRunning: boolean
|
isRunning: boolean
|
||||||
tasks: { [key in ReplayId]?: TaskEntry }
|
tasks: { [key: ReplayId]: TaskEntry }
|
||||||
healthChecks: { [key in HealthCheckId]?: NamedHealthCheckResult }
|
healthChecks: { [key: HealthCheckId]: NamedHealthCheckResult }
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,4 +2,4 @@
|
|||||||
import type { CurrentDependencyInfo } from "./CurrentDependencyInfo"
|
import type { CurrentDependencyInfo } from "./CurrentDependencyInfo"
|
||||||
import type { PackageId } from "./PackageId"
|
import type { PackageId } from "./PackageId"
|
||||||
|
|
||||||
export type CurrentDependencies = { [key in PackageId]?: CurrentDependencyInfo }
|
export type CurrentDependencies = { [key: PackageId]: CurrentDependencyInfo }
|
||||||
|
|||||||
@@ -2,4 +2,4 @@
|
|||||||
import type { DepInfo } from "./DepInfo"
|
import type { DepInfo } from "./DepInfo"
|
||||||
import type { PackageId } from "./PackageId"
|
import type { PackageId } from "./PackageId"
|
||||||
|
|
||||||
export type Dependencies = { [key in PackageId]?: DepInfo }
|
export type Dependencies = { [key: PackageId]: DepInfo }
|
||||||
|
|||||||
@@ -10,5 +10,5 @@ export type FullIndex = {
|
|||||||
icon: DataUrl | null
|
icon: DataUrl | null
|
||||||
package: PackageIndex
|
package: PackageIndex
|
||||||
os: OsIndex
|
os: OsIndex
|
||||||
signers: { [key in Guid]?: SignerInfo }
|
signers: { [key: Guid]: SignerInfo }
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,6 +5,6 @@ import type { Version } from "./Version"
|
|||||||
|
|
||||||
export type GetPackageResponse = {
|
export type GetPackageResponse = {
|
||||||
categories: string[]
|
categories: string[]
|
||||||
best: { [key in Version]?: PackageVersionInfo }
|
best: { [key: Version]: PackageVersionInfo }
|
||||||
otherVersions?: { [key in Version]?: PackageInfoShort }
|
otherVersions?: { [key: Version]: PackageInfoShort }
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,6 +4,6 @@ import type { Version } from "./Version"
|
|||||||
|
|
||||||
export type GetPackageResponseFull = {
|
export type GetPackageResponseFull = {
|
||||||
categories: string[]
|
categories: string[]
|
||||||
best: { [key in Version]?: PackageVersionInfo }
|
best: { [key: Version]: PackageVersionInfo }
|
||||||
otherVersions: { [key in Version]?: PackageVersionInfo }
|
otherVersions: { [key: Version]: PackageVersionInfo }
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,12 +4,12 @@ import type { HostnameInfo } from "./HostnameInfo"
|
|||||||
import type { PublicDomainConfig } from "./PublicDomainConfig"
|
import type { PublicDomainConfig } from "./PublicDomainConfig"
|
||||||
|
|
||||||
export type Host = {
|
export type Host = {
|
||||||
bindings: { [key in number]?: BindInfo }
|
bindings: { [key: number]: BindInfo }
|
||||||
onions: string[]
|
onions: string[]
|
||||||
publicDomains: { [key in string]?: PublicDomainConfig }
|
publicDomains: { [key: string]: PublicDomainConfig }
|
||||||
privateDomains: Array<string>
|
privateDomains: Array<string>
|
||||||
/**
|
/**
|
||||||
* COMPUTED: NetService::update
|
* COMPUTED: NetService::update
|
||||||
*/
|
*/
|
||||||
hostnameInfo: { [key in number]?: Array<HostnameInfo> }
|
hostnameInfo: { [key: number]: Array<HostnameInfo> }
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,4 +2,4 @@
|
|||||||
import type { Host } from "./Host"
|
import type { Host } from "./Host"
|
||||||
import type { HostId } from "./HostId"
|
import type { HostId } from "./HostId"
|
||||||
|
|
||||||
export type Hosts = { [key in HostId]?: Host }
|
export type Hosts = { [key: HostId]: Host }
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ export type ImageSource =
|
|||||||
dockerBuild: {
|
dockerBuild: {
|
||||||
workdir?: string
|
workdir?: string
|
||||||
dockerfile?: string
|
dockerfile?: string
|
||||||
buildArgs?: { [key in string]?: BuildArg }
|
buildArgs?: { [key: string]: BuildArg }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
| { dockerTag: string }
|
| { dockerTag: string }
|
||||||
|
|||||||
@@ -15,11 +15,11 @@ export type MainStatus =
|
|||||||
| { main: "stopping" }
|
| { main: "stopping" }
|
||||||
| {
|
| {
|
||||||
main: "starting"
|
main: "starting"
|
||||||
health: { [key in HealthCheckId]?: NamedHealthCheckResult }
|
health: { [key: HealthCheckId]: NamedHealthCheckResult }
|
||||||
}
|
}
|
||||||
| {
|
| {
|
||||||
main: "running"
|
main: "running"
|
||||||
started: string
|
started: string
|
||||||
health: { [key in HealthCheckId]?: NamedHealthCheckResult }
|
health: { [key: HealthCheckId]: NamedHealthCheckResult }
|
||||||
}
|
}
|
||||||
| { main: "backingUp"; onComplete: StartStop }
|
| { main: "backingUp"; onComplete: StartStop }
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ export type Manifest = {
|
|||||||
donationUrl: string | null
|
donationUrl: string | null
|
||||||
docsUrl: string | null
|
docsUrl: string | null
|
||||||
description: Description
|
description: Description
|
||||||
images: { [key in ImageId]?: ImageConfig }
|
images: { [key: ImageId]: ImageConfig }
|
||||||
volumes: Array<VolumeId>
|
volumes: Array<VolumeId>
|
||||||
alerts: Alerts
|
alerts: Alerts
|
||||||
dependencies: Dependencies
|
dependencies: Dependencies
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ import type { WifiInfo } from "./WifiInfo"
|
|||||||
export type NetworkInfo = {
|
export type NetworkInfo = {
|
||||||
wifi: WifiInfo
|
wifi: WifiInfo
|
||||||
host: Host
|
host: Host
|
||||||
gateways: { [key in GatewayId]?: NetworkInterfaceInfo }
|
gateways: { [key: GatewayId]: NetworkInterfaceInfo }
|
||||||
acme: { [key in AcmeProvider]?: AcmeSettings }
|
acme: { [key: AcmeProvider]: AcmeSettings }
|
||||||
dns: DnsSettings
|
dns: DnsSettings
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ export type OsVersionInfo = {
|
|||||||
releaseNotes: string
|
releaseNotes: string
|
||||||
sourceVersion: string
|
sourceVersion: string
|
||||||
authorized: Array<Guid>
|
authorized: Array<Guid>
|
||||||
iso: { [key in string]?: RegistryAsset<Blake3Commitment> }
|
iso: { [key: string]: RegistryAsset<Blake3Commitment> }
|
||||||
squashfs: { [key in string]?: RegistryAsset<Blake3Commitment> }
|
squashfs: { [key: string]: RegistryAsset<Blake3Commitment> }
|
||||||
img: { [key in string]?: RegistryAsset<Blake3Commitment> }
|
img: { [key: string]: RegistryAsset<Blake3Commitment> }
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||||
import type { OsVersionInfo } from "./OsVersionInfo"
|
import type { OsVersionInfo } from "./OsVersionInfo"
|
||||||
|
|
||||||
export type OsVersionInfoMap = { [key in string]?: OsVersionInfo }
|
export type OsVersionInfoMap = { [key: string]: OsVersionInfo }
|
||||||
|
|||||||
@@ -20,9 +20,9 @@ export type PackageDataEntry = {
|
|||||||
icon: DataUrl
|
icon: DataUrl
|
||||||
lastBackup: string | null
|
lastBackup: string | null
|
||||||
currentDependencies: CurrentDependencies
|
currentDependencies: CurrentDependencies
|
||||||
actions: { [key in ActionId]?: ActionMetadata }
|
actions: { [key: ActionId]: ActionMetadata }
|
||||||
tasks: { [key in ReplayId]?: TaskEntry }
|
tasks: { [key: ReplayId]: TaskEntry }
|
||||||
serviceInterfaces: { [key in ServiceInterfaceId]?: ServiceInterface }
|
serviceInterfaces: { [key: ServiceInterfaceId]: ServiceInterface }
|
||||||
hosts: Hosts
|
hosts: Hosts
|
||||||
storeExposedDependents: string[]
|
storeExposedDependents: string[]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,6 +4,6 @@ import type { PackageId } from "./PackageId"
|
|||||||
import type { PackageInfo } from "./PackageInfo"
|
import type { PackageInfo } from "./PackageInfo"
|
||||||
|
|
||||||
export type PackageIndex = {
|
export type PackageIndex = {
|
||||||
categories: { [key in string]?: Category }
|
categories: { [key: string]: Category }
|
||||||
packages: { [key in PackageId]?: PackageInfo }
|
packages: { [key: PackageId]: PackageInfo }
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,6 +5,6 @@ import type { Version } from "./Version"
|
|||||||
|
|
||||||
export type PackageInfo = {
|
export type PackageInfo = {
|
||||||
authorized: Array<Guid>
|
authorized: Array<Guid>
|
||||||
versions: { [key in Version]?: PackageVersionInfo }
|
versions: { [key: Version]: PackageVersionInfo }
|
||||||
categories: string[]
|
categories: string[]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ export type PackageVersionInfo = {
|
|||||||
donationUrl: string | null
|
donationUrl: string | null
|
||||||
docsUrl: string | null
|
docsUrl: string | null
|
||||||
alerts: Alerts
|
alerts: Alerts
|
||||||
dependencyMetadata: { [key in PackageId]?: DependencyMetadata }
|
dependencyMetadata: { [key: PackageId]: DependencyMetadata }
|
||||||
osVersion: string
|
osVersion: string
|
||||||
sdkVersion: string | null
|
sdkVersion: string | null
|
||||||
hardwareRequirements: HardwareRequirements
|
hardwareRequirements: HardwareRequirements
|
||||||
|
|||||||
@@ -6,5 +6,5 @@ export type RegistryAsset<Commitment> = {
|
|||||||
publishedAt: string
|
publishedAt: string
|
||||||
url: string
|
url: string
|
||||||
commitment: Commitment
|
commitment: Commitment
|
||||||
signatures: { [key in AnyVerifyingKey]?: AnySignature }
|
signatures: { [key: AnyVerifyingKey]: AnySignature }
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,5 +5,5 @@ import type { DataUrl } from "./DataUrl"
|
|||||||
export type RegistryInfo = {
|
export type RegistryInfo = {
|
||||||
name: string | null
|
name: string | null
|
||||||
icon: DataUrl | null
|
icon: DataUrl | null
|
||||||
categories: { [key in string]?: Category }
|
categories: { [key: string]: Category }
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import type { FullProgress } from "./FullProgress"
|
|||||||
import type { PackageId } from "./PackageId"
|
import type { PackageId } from "./PackageId"
|
||||||
|
|
||||||
export type ServerStatus = {
|
export type ServerStatus = {
|
||||||
backupProgress: { [key in PackageId]?: BackupProgress } | null
|
backupProgress: { [key: PackageId]: BackupProgress } | null
|
||||||
updated: boolean
|
updated: boolean
|
||||||
updateProgress: FullProgress | null
|
updateProgress: FullProgress | null
|
||||||
shuttingDown: boolean
|
shuttingDown: boolean
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||||
import type { Session } from "./Session"
|
import type { Session } from "./Session"
|
||||||
|
|
||||||
export type Sessions = { [key in string]?: Session }
|
export type Sessions = { [key: string]: Session }
|
||||||
|
|||||||
Reference in New Issue
Block a user