mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 12:11:56 +00:00
Feature/new registry (#2612)
* wip * overhaul boot process * wip: new registry * wip * wip * wip * wip * wip * wip * os registry complete * ui fixes * fixes * fixes * more fixes * fix merkle archive
This commit is contained in:
7
sdk/lib/osBindings/AcceptSigners.ts
Normal file
7
sdk/lib/osBindings/AcceptSigners.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
import type { SignerKey } from "./SignerKey"
|
||||
|
||||
export type AcceptSigners =
|
||||
| { signer: SignerKey }
|
||||
| { any: Array<AcceptSigners> }
|
||||
| { all: Array<AcceptSigners> }
|
||||
@@ -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 UpdateProgress = { size: number | null; downloaded: number }
|
||||
export type AddAdminParams = { signer: string }
|
||||
12
sdk/lib/osBindings/AddAssetParams.ts
Normal file
12
sdk/lib/osBindings/AddAssetParams.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
import type { Signature } from "./Signature"
|
||||
import type { SignerKey } from "./SignerKey"
|
||||
|
||||
export type AddAssetParams = {
|
||||
url: string
|
||||
signature: Signature
|
||||
version: string
|
||||
platform: string
|
||||
upload: boolean
|
||||
__auth_signer: SignerKey
|
||||
}
|
||||
8
sdk/lib/osBindings/AddVersionParams.ts
Normal file
8
sdk/lib/osBindings/AddVersionParams.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
|
||||
export type AddVersionParams = {
|
||||
version: string
|
||||
headline: string
|
||||
releaseNotes: string
|
||||
sourceVersion: string
|
||||
}
|
||||
3
sdk/lib/osBindings/Base64.ts
Normal file
3
sdk/lib/osBindings/Base64.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
|
||||
export type Base64 = string
|
||||
10
sdk/lib/osBindings/Blake3Ed25519Signature.ts
Normal file
10
sdk/lib/osBindings/Blake3Ed25519Signature.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
import type { Base64 } from "./Base64"
|
||||
import type { Pem } from "./Pem"
|
||||
|
||||
export type Blake3Ed25519Signature = {
|
||||
hash: Base64
|
||||
size: bigint
|
||||
pubkey: Pem
|
||||
signature: Base64
|
||||
}
|
||||
9
sdk/lib/osBindings/Blake3Ed2551SignatureInfo.ts
Normal file
9
sdk/lib/osBindings/Blake3Ed2551SignatureInfo.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
import type { Base64 } from "./Base64"
|
||||
import type { Pem } from "./Pem"
|
||||
|
||||
export type Blake3Ed2551SignatureInfo = {
|
||||
hash: Base64
|
||||
size: bigint
|
||||
signatures: { [key: Pem]: Base64 }
|
||||
}
|
||||
6
sdk/lib/osBindings/ContactInfo.ts
Normal file
6
sdk/lib/osBindings/ContactInfo.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
|
||||
export type ContactInfo =
|
||||
| { email: string }
|
||||
| { matrix: string }
|
||||
| { website: string }
|
||||
5
sdk/lib/osBindings/FullIndex.ts
Normal file
5
sdk/lib/osBindings/FullIndex.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
import type { OsIndex } from "./OsIndex"
|
||||
import type { SignerInfo } from "./SignerInfo"
|
||||
|
||||
export type FullIndex = { os: OsIndex; signers: { [key: string]: SignerInfo } }
|
||||
3
sdk/lib/osBindings/GetOsAssetParams.ts
Normal file
3
sdk/lib/osBindings/GetOsAssetParams.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
|
||||
export type GetOsAssetParams = { version: string; platform: string }
|
||||
3
sdk/lib/osBindings/GetVersionParams.ts
Normal file
3
sdk/lib/osBindings/GetVersionParams.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
|
||||
export type GetVersionParams = { source: string | null; target: string | null }
|
||||
3
sdk/lib/osBindings/ListVersionSignersParams.ts
Normal file
3
sdk/lib/osBindings/ListVersionSignersParams.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
|
||||
export type ListVersionSignersParams = { version: string }
|
||||
4
sdk/lib/osBindings/OsIndex.ts
Normal file
4
sdk/lib/osBindings/OsIndex.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 { OsVersionInfo } from "./OsVersionInfo"
|
||||
|
||||
export type OsIndex = { versions: { [key: string]: OsVersionInfo } }
|
||||
12
sdk/lib/osBindings/OsVersionInfo.ts
Normal file
12
sdk/lib/osBindings/OsVersionInfo.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
import type { RegistryAsset } from "./RegistryAsset"
|
||||
|
||||
export type OsVersionInfo = {
|
||||
headline: string
|
||||
releaseNotes: string
|
||||
sourceVersion: string
|
||||
signers: string[]
|
||||
iso: { [key: string]: RegistryAsset }
|
||||
squashfs: { [key: string]: RegistryAsset }
|
||||
img: { [key: string]: RegistryAsset }
|
||||
}
|
||||
@@ -12,7 +12,7 @@ import type { Status } from "./Status"
|
||||
export type PackageDataEntry = {
|
||||
stateInfo: PackageState
|
||||
status: Status
|
||||
marketplaceUrl: string | null
|
||||
registry: string | null
|
||||
developerKey: string
|
||||
icon: DataUrl
|
||||
lastBackup: string | null
|
||||
|
||||
3
sdk/lib/osBindings/Pem.ts
Normal file
3
sdk/lib/osBindings/Pem.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
|
||||
export type Pem = string
|
||||
@@ -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 Progress = boolean | { done: number; total: number | null }
|
||||
export type Progress = null | boolean | { done: number; total: number | null }
|
||||
|
||||
4
sdk/lib/osBindings/RegistryAsset.ts
Normal file
4
sdk/lib/osBindings/RegistryAsset.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 { SignatureInfo } from "./SignatureInfo"
|
||||
|
||||
export type RegistryAsset = { url: string; signatureInfo: SignatureInfo }
|
||||
3
sdk/lib/osBindings/RemoveVersionParams.ts
Normal file
3
sdk/lib/osBindings/RemoveVersionParams.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
|
||||
export type RemoveVersionParams = { version: string }
|
||||
@@ -1,12 +1,12 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
import type { BackupProgress } from "./BackupProgress"
|
||||
import type { FullProgress } from "./FullProgress"
|
||||
import type { PackageId } from "./PackageId"
|
||||
import type { UpdateProgress } from "./UpdateProgress"
|
||||
|
||||
export type ServerStatus = {
|
||||
backupProgress: { [key: PackageId]: BackupProgress } | null
|
||||
updated: boolean
|
||||
updateProgress: UpdateProgress | null
|
||||
updateProgress: FullProgress | null
|
||||
shuttingDown: boolean
|
||||
restarting: boolean
|
||||
}
|
||||
|
||||
8
sdk/lib/osBindings/SignAssetParams.ts
Normal file
8
sdk/lib/osBindings/SignAssetParams.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
import type { Signature } from "./Signature"
|
||||
|
||||
export type SignAssetParams = {
|
||||
version: string
|
||||
platform: string
|
||||
signature: Signature
|
||||
}
|
||||
4
sdk/lib/osBindings/Signature.ts
Normal file
4
sdk/lib/osBindings/Signature.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 { Blake3Ed25519Signature } from "./Blake3Ed25519Signature"
|
||||
|
||||
export type Signature = { blake3Ed25519: Blake3Ed25519Signature }
|
||||
7
sdk/lib/osBindings/SignatureInfo.ts
Normal file
7
sdk/lib/osBindings/SignatureInfo.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
import type { Blake3Ed2551SignatureInfo } from "./Blake3Ed2551SignatureInfo"
|
||||
|
||||
export type SignatureInfo = {
|
||||
context: string
|
||||
"blake-3-ed-25-5i-9": Blake3Ed2551SignatureInfo | null
|
||||
}
|
||||
9
sdk/lib/osBindings/SignerInfo.ts
Normal file
9
sdk/lib/osBindings/SignerInfo.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
import type { ContactInfo } from "./ContactInfo"
|
||||
import type { SignerKey } from "./SignerKey"
|
||||
|
||||
export type SignerInfo = {
|
||||
name: string
|
||||
contact: Array<ContactInfo>
|
||||
keys: Array<SignerKey>
|
||||
}
|
||||
4
sdk/lib/osBindings/SignerKey.ts
Normal file
4
sdk/lib/osBindings/SignerKey.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 { Pem } from "./Pem"
|
||||
|
||||
export type SignerKey = { alg: "ed25519"; pubkey: Pem }
|
||||
3
sdk/lib/osBindings/VersionSignerParams.ts
Normal file
3
sdk/lib/osBindings/VersionSignerParams.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
|
||||
export type VersionSignerParams = { version: string; signer: string }
|
||||
@@ -1,20 +1,28 @@
|
||||
export { AcceptSigners } from "./AcceptSigners"
|
||||
export { ActionId } from "./ActionId"
|
||||
export { ActionMetadata } from "./ActionMetadata"
|
||||
export { AddAdminParams } from "./AddAdminParams"
|
||||
export { AddAssetParams } from "./AddAssetParams"
|
||||
export { AddressInfo } from "./AddressInfo"
|
||||
export { AddSslOptions } from "./AddSslOptions"
|
||||
export { AddVersionParams } from "./AddVersionParams"
|
||||
export { Alerts } from "./Alerts"
|
||||
export { Algorithm } from "./Algorithm"
|
||||
export { AllowedStatuses } from "./AllowedStatuses"
|
||||
export { AllPackageData } from "./AllPackageData"
|
||||
export { AlpnInfo } from "./AlpnInfo"
|
||||
export { BackupProgress } from "./BackupProgress"
|
||||
export { Base64 } from "./Base64"
|
||||
export { BindInfo } from "./BindInfo"
|
||||
export { BindOptions } from "./BindOptions"
|
||||
export { BindParams } from "./BindParams"
|
||||
export { Blake3Ed25519Signature } from "./Blake3Ed25519Signature"
|
||||
export { Blake3Ed2551SignatureInfo } from "./Blake3Ed2551SignatureInfo"
|
||||
export { Callback } from "./Callback"
|
||||
export { CheckDependenciesParam } from "./CheckDependenciesParam"
|
||||
export { CheckDependenciesResult } from "./CheckDependenciesResult"
|
||||
export { ChrootParams } from "./ChrootParams"
|
||||
export { ContactInfo } from "./ContactInfo"
|
||||
export { CreateOverlayedImageParams } from "./CreateOverlayedImageParams"
|
||||
export { CurrentDependencies } from "./CurrentDependencies"
|
||||
export { CurrentDependencyInfo } from "./CurrentDependencyInfo"
|
||||
@@ -35,9 +43,11 @@ export { ExportedIpHostname } from "./ExportedIpHostname"
|
||||
export { ExportedOnionHostname } from "./ExportedOnionHostname"
|
||||
export { ExportServiceInterfaceParams } from "./ExportServiceInterfaceParams"
|
||||
export { ExposeForDependentsParams } from "./ExposeForDependentsParams"
|
||||
export { FullIndex } from "./FullIndex"
|
||||
export { FullProgress } from "./FullProgress"
|
||||
export { GetHostInfoParamsKind } from "./GetHostInfoParamsKind"
|
||||
export { GetHostInfoParams } from "./GetHostInfoParams"
|
||||
export { GetOsAssetParams } from "./GetOsAssetParams"
|
||||
export { GetPrimaryUrlParams } from "./GetPrimaryUrlParams"
|
||||
export { GetServiceInterfaceParams } from "./GetServiceInterfaceParams"
|
||||
export { GetServicePortForwardParams } from "./GetServicePortForwardParams"
|
||||
@@ -45,6 +55,7 @@ export { GetSslCertificateParams } from "./GetSslCertificateParams"
|
||||
export { GetSslKeyParams } from "./GetSslKeyParams"
|
||||
export { GetStoreParams } from "./GetStoreParams"
|
||||
export { GetSystemSmtpParams } from "./GetSystemSmtpParams"
|
||||
export { GetVersionParams } from "./GetVersionParams"
|
||||
export { Governor } from "./Governor"
|
||||
export { HardwareRequirements } from "./HardwareRequirements"
|
||||
export { HealthCheckId } from "./HealthCheckId"
|
||||
@@ -60,22 +71,28 @@ export { InstallingInfo } from "./InstallingInfo"
|
||||
export { InstallingState } from "./InstallingState"
|
||||
export { IpInfo } from "./IpInfo"
|
||||
export { ListServiceInterfacesParams } from "./ListServiceInterfacesParams"
|
||||
export { ListVersionSignersParams } from "./ListVersionSignersParams"
|
||||
export { MainStatus } from "./MainStatus"
|
||||
export { Manifest } from "./Manifest"
|
||||
export { MaybeUtf8String } from "./MaybeUtf8String"
|
||||
export { MountParams } from "./MountParams"
|
||||
export { MountTarget } from "./MountTarget"
|
||||
export { NamedProgress } from "./NamedProgress"
|
||||
export { OsIndex } from "./OsIndex"
|
||||
export { OsVersionInfo } from "./OsVersionInfo"
|
||||
export { PackageDataEntry } from "./PackageDataEntry"
|
||||
export { PackageId } from "./PackageId"
|
||||
export { PackageState } from "./PackageState"
|
||||
export { ParamsMaybePackageId } from "./ParamsMaybePackageId"
|
||||
export { ParamsPackageId } from "./ParamsPackageId"
|
||||
export { PasswordType } from "./PasswordType"
|
||||
export { Pem } from "./Pem"
|
||||
export { Progress } from "./Progress"
|
||||
export { Public } from "./Public"
|
||||
export { RegistryAsset } from "./RegistryAsset"
|
||||
export { RemoveActionParams } from "./RemoveActionParams"
|
||||
export { RemoveAddressParams } from "./RemoveAddressParams"
|
||||
export { RemoveVersionParams } from "./RemoveVersionParams"
|
||||
export { ReverseProxyBind } from "./ReverseProxyBind"
|
||||
export { ReverseProxyDestination } from "./ReverseProxyDestination"
|
||||
export { ReverseProxyHttp } from "./ReverseProxyHttp"
|
||||
@@ -96,8 +113,13 @@ export { SetDependenciesParams } from "./SetDependenciesParams"
|
||||
export { SetHealth } from "./SetHealth"
|
||||
export { SetMainStatus } from "./SetMainStatus"
|
||||
export { SetStoreParams } from "./SetStoreParams"
|
||||
export { SignAssetParams } from "./SignAssetParams"
|
||||
export { SignatureInfo } from "./SignatureInfo"
|
||||
export { Signature } from "./Signature"
|
||||
export { SignerInfo } from "./SignerInfo"
|
||||
export { SignerKey } from "./SignerKey"
|
||||
export { Status } from "./Status"
|
||||
export { UpdateProgress } from "./UpdateProgress"
|
||||
export { UpdatingState } from "./UpdatingState"
|
||||
export { VersionSignerParams } from "./VersionSignerParams"
|
||||
export { VolumeId } from "./VolumeId"
|
||||
export { WifiInfo } from "./WifiInfo"
|
||||
|
||||
Reference in New Issue
Block a user