update bindings for API types, add ARCHITECTURE (#3124)

* update binding for API types, add ARCHITECTURE

* translations
This commit is contained in:
Matt Hill
2026-02-16 08:23:28 -07:00
committed by GitHub
parent 3518eccc87
commit d97ab59bab
184 changed files with 1846 additions and 1670 deletions

View 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 { GatewayId } from './GatewayId'
export type AddPrivateDomainParams = { fqdn: string; gateway: GatewayId }

View 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 { AcmeProvider } from './AcmeProvider'
import type { GatewayId } from './GatewayId'
export type AddPublicDomainParams = {
fqdn: string
acme: AcmeProvider | null
gateway: GatewayId
}

View 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 { PackageBackupInfo } from './PackageBackupInfo'
import type { PackageId } from './PackageId'
export type BackupInfo = {
version: string
timestamp: string | null
packageBackups: { [key: PackageId]: PackageBackupInfo }
}

View File

@@ -0,0 +1,11 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { BackupTargetId } from './BackupTargetId'
import type { PackageId } from './PackageId'
import type { PasswordType } from './PasswordType'
export type BackupParams = {
targetId: BackupTargetId
oldPassword: PasswordType | null
packageIds: Array<PackageId> | null
password: PasswordType
}

View 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 { PackageBackupReport } from './PackageBackupReport'
import type { PackageId } from './PackageId'
import type { ServerBackupReport } from './ServerBackupReport'
export type BackupReport = {
server: ServerBackupReport
packages: { [key: PackageId]: PackageBackupReport }
}

View File

@@ -0,0 +1,17 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { CifsBackupTarget } from './CifsBackupTarget'
import type { StartOsRecoveryInfo } from './StartOsRecoveryInfo'
export type BackupTarget =
| {
type: 'disk'
vendor: string | null
model: string | null
logicalname: string
label: string | null
capacity: number
used: number | null
startOs: { [key: string]: StartOsRecoveryInfo }
guid: string | null
}
| ({ type: 'cifs' } & CifsBackupTarget)

View 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 BackupTargetId = string

View 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 { PackageId } from './PackageId'
export type CancelInstallParams = { id: PackageId }

View File

@@ -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 Celsius = number
export type Celsius = { value: string; unit: string }

View 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 CifsAddParams = {
hostname: string
path: string
username: string
password: string | null
}

View 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 { StartOsRecoveryInfo } from './StartOsRecoveryInfo'
export type CifsBackupTarget = {
hostname: string
path: string
username: string
mountable: boolean
startOs: { [key: string]: StartOsRecoveryInfo }
}

View 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 { BackupTargetId } from './BackupTargetId'
export type CifsRemoveParams = { id: BackupTargetId }

View 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 { BackupTargetId } from './BackupTargetId'
export type CifsUpdateParams = {
id: BackupTargetId
hostname: string
path: string
username: string
password: string | null
}

View 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 { PackageId } from './PackageId'
import type { ReplayId } from './ReplayId'
export type ClearTaskParams = {
packageId: PackageId
replayId: ReplayId
force: boolean
}

View 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 { PackageId } from './PackageId'
export type ControlParams = { id: PackageId }

View 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 { ActionId } from './ActionId'
import type { PackageId } from './PackageId'
export type EffectsRunActionParams = {
packageId?: PackageId
actionId: ActionId
input: any
}

View 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 { GatewayId } from './GatewayId'
export type ForgetGatewayParams = { gateway: GatewayId }

View File

@@ -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 GigaBytes = number
export type GigaBytes = { value: string; unit: string }

View File

@@ -1,10 +1,15 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { Bindings } from './Bindings'
import type { GatewayId } from './GatewayId'
import type { PortForward } from './PortForward'
import type { PublicDomainConfig } from './PublicDomainConfig'
export type Host = {
bindings: Bindings
publicDomains: { [key: string]: PublicDomainConfig }
privateDomains: { [key: string]: Array<GatewayId> }
/**
* COMPUTED: port forwarding rules needed on gateways for public addresses to work.
*/
portForwards: Array<PortForward>
}

View 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 Hostname = string

View 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 { BackupTargetId } from './BackupTargetId'
export type InfoParams = {
targetId: BackupTargetId
serverId: string
password: string
}

View 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 { AcmeProvider } from './AcmeProvider'
export type InitAcmeParams = { provider: AcmeProvider; contact: Array<string> }

View 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 KillParams = { ids: Array<string> }

View 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 ListNotificationParams = {
before: number | null
limit: number | null
}

View 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 LogEntry = { timestamp: string; message: string; bootId: string }

View 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 LogFollowResponse = { startCursor: string | null; guid: Guid }

View 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 { LogEntry } from './LogEntry'
export type LogResponse = {
entries: Array<LogEntry>
startCursor: string | null
endCursor: string | null
}

View 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 LogsParams = {
limit?: number
cursor?: string
boot?: number | string
before: boolean
}

View File

@@ -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 MebiBytes = number
export type MebiBytes = { value: string; unit: string }

View 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 { Guid } from './Guid'
import type { Metrics } from './Metrics'
export type MetricsFollowResponse = { guid: Guid; metrics: Metrics }

View 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 ModifyNotificationBeforeParams = { before: number }

View 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 ModifyNotificationParams = { ids: number[] }

View File

@@ -0,0 +1,14 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { NotificationLevel } from './NotificationLevel'
import type { PackageId } from './PackageId'
export type Notification = {
packageId: PackageId | null
createdAt: string
code: number
level: NotificationLevel
title: string
message: string
data: any
seen: boolean
}

View 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 NotificationLevel = 'success' | 'info' | 'warning' | 'error'

View File

@@ -0,0 +1,15 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { NotificationLevel } from './NotificationLevel'
import type { PackageId } from './PackageId'
export type NotificationWithId = {
id: number
packageId: PackageId | null
createdAt: string
code: number
level: NotificationLevel
title: string
message: string
data: any
seen: boolean
}

View 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 { Version } from './Version'
export type PackageBackupInfo = {
title: string
version: Version
osVersion: string
timestamp: string
}

View 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 PackageBackupReport = { error: string | null }

View File

@@ -0,0 +1,11 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { StartOsRecoveryInfo } from './StartOsRecoveryInfo'
export type PartitionInfo = {
logicalname: string
label: string | null
capacity: number
used: number | null
startOs: { [key: string]: StartOsRecoveryInfo }
guid: string | null
}

View File

@@ -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 Percentage = number
export type Percentage = { value: string; unit: string }

View 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 { GatewayId } from './GatewayId'
export type PortForward = { src: string; dst: string; gateway: GatewayId }

View 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 QueryDnsParams = { fqdn: string }

View 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 { PackageId } from './PackageId'
export type RebuildParams = { id: PackageId }

View 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 { AcmeProvider } from './AcmeProvider'
export type RemoveAcmeParams = { provider: AcmeProvider }

View 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 RemoveDomainParams = { fqdn: string }

View 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 { GatewayId } from './GatewayId'
export type RenameGatewayParams = { id: GatewayId; name: string }

View 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 { PasswordType } from './PasswordType'
export type ResetPasswordParams = {
oldPassword: PasswordType | null
newPassword: PasswordType | null
}

View 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 { BackupTargetId } from './BackupTargetId'
import type { PackageId } from './PackageId'
export type RestorePackageParams = {
ids: Array<PackageId>
targetId: BackupTargetId
password: string
}

View File

@@ -1,9 +1,11 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { ActionId } from './ActionId'
import type { Guid } from './Guid'
import type { PackageId } from './PackageId'
export type RunActionParams = {
packageId?: PackageId
packageId: PackageId
eventId: Guid | null
actionId: ActionId
input: any
input?: any
}

View 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 ServerBackupReport = { attempted: boolean; error: string | null }

View 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 SetCountryParams = { country: string }

View 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 SetLanguageParams = { language: string }

View 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 SetStaticDnsParams = { servers: Array<string> | null }

View 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 SetWifiEnabledParams = { enabled: boolean }

View 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 SideloadParams = {}

View 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 SideloadResponse = { upload: Guid; progress: Guid }

View 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.
/**
* So a signal strength is a number between 0-100, I want the null option to be 0 since there is no signal
*/
export type SignalStrength = number

View 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 { SshPubKey } from './SshPubKey'
export type SshAddParams = { key: SshPubKey }

View 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 SshDeleteParams = { fingerprint: string }

View 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 SshKeyResponse = {
alg: string
fingerprint: string
hostname: string
createdAt: string
}

View 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 SshPubKey = string

View 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.
/**
* Ssid are the names of the wifis, usually human readable.
*/
export type Ssid = string

View 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 { Hostname } from './Hostname'
export type StartOsRecoveryInfo = {
hostname: Hostname
version: string
timestamp: string
passwordHash: string | null
wrappedKey: string | null
}

View 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 TimeInfo = { now: string; uptime: bigint }

View 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 { BackupTargetId } from './BackupTargetId'
export type UmountParams = { targetId: BackupTargetId | null }

View 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 { PackageId } from './PackageId'
export type UninstallParams = { id: PackageId; soft: boolean; force: boolean }

View 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 WifiAddParams = { ssid: string; password: string }

View 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 { SignalStrength } from './SignalStrength'
import type { Ssid } from './Ssid'
import type { WifiListOut } from './WifiListOut'
export type WifiListInfo = {
ssids: { [key: Ssid]: SignalStrength }
connected: Ssid | null
country: string | null
ethernet: boolean
availableWifi: Array<WifiListOut>
}

View 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 { SignalStrength } from './SignalStrength'
import type { Ssid } from './Ssid'
export type WifiListOut = {
ssid: Ssid
strength: SignalStrength
security: Array<string>
}

View 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 WifiSsidParams = { ssid: string }

View File

@@ -17,6 +17,8 @@ export { AddMirrorParams } from './AddMirrorParams'
export { AddPackageParams } from './AddPackageParams'
export { AddPackageSignerParams } from './AddPackageSignerParams'
export { AddPackageToCategoryParams } from './AddPackageToCategoryParams'
export { AddPrivateDomainParams } from './AddPrivateDomainParams'
export { AddPublicDomainParams } from './AddPublicDomainParams'
export { AddressInfo } from './AddressInfo'
export { AddSslOptions } from './AddSslOptions'
export { AddTunnelParams } from './AddTunnelParams'
@@ -31,8 +33,13 @@ export { AnySigningKey } from './AnySigningKey'
export { AnyVerifyingKey } from './AnyVerifyingKey'
export { ApiState } from './ApiState'
export { AttachParams } from './AttachParams'
export { BackupInfo } from './BackupInfo'
export { BackupParams } from './BackupParams'
export { BackupProgress } from './BackupProgress'
export { BackupReport } from './BackupReport'
export { BackupTargetFS } from './BackupTargetFS'
export { BackupTargetId } from './BackupTargetId'
export { BackupTarget } from './BackupTarget'
export { Base64 } from './Base64'
export { BindId } from './BindId'
export { BindInfo } from './BindInfo'
@@ -44,18 +51,25 @@ export { Blake3Commitment } from './Blake3Commitment'
export { BlockDev } from './BlockDev'
export { BuildArg } from './BuildArg'
export { CallbackId } from './CallbackId'
export { CancelInstallParams } from './CancelInstallParams'
export { Category } from './Category'
export { Celsius } from './Celsius'
export { CheckDependenciesParam } from './CheckDependenciesParam'
export { CheckDependenciesResult } from './CheckDependenciesResult'
export { CifsAddParams } from './CifsAddParams'
export { CifsBackupTarget } from './CifsBackupTarget'
export { CifsRemoveParams } from './CifsRemoveParams'
export { Cifs } from './Cifs'
export { CifsUpdateParams } from './CifsUpdateParams'
export { ClearActionsParams } from './ClearActionsParams'
export { ClearBindingsParams } from './ClearBindingsParams'
export { ClearCallbacksParams } from './ClearCallbacksParams'
export { ClearServiceInterfacesParams } from './ClearServiceInterfacesParams'
export { ClearTaskParams } from './ClearTaskParams'
export { ClearTasksParams } from './ClearTasksParams'
export { CliSetIconParams } from './CliSetIconParams'
export { ContactInfo } from './ContactInfo'
export { ControlParams } from './ControlParams'
export { CreateSubcontainerFsParams } from './CreateSubcontainerFsParams'
export { CreateTaskParams } from './CreateTaskParams'
export { CurrentDependencies } from './CurrentDependencies'
@@ -75,12 +89,14 @@ export { DomainSettings } from './DomainSettings'
export { Duration } from './Duration'
export { EchoParams } from './EchoParams'
export { EditSignerParams } from './EditSignerParams'
export { EffectsRunActionParams } from './EffectsRunActionParams'
export { EncryptedWire } from './EncryptedWire'
export { ErrorData } from './ErrorData'
export { EventId } from './EventId'
export { ExportActionParams } from './ExportActionParams'
export { ExportServiceInterfaceParams } from './ExportServiceInterfaceParams'
export { FileType } from './FileType'
export { ForgetGatewayParams } from './ForgetGatewayParams'
export { FullIndex } from './FullIndex'
export { FullProgress } from './FullProgress'
export { GatewayId } from './GatewayId'
@@ -110,6 +126,7 @@ export { HealthCheckId } from './HealthCheckId'
export { HostId } from './HostId'
export { HostnameInfo } from './HostnameInfo'
export { HostnameMetadata } from './HostnameMetadata'
export { Hostname } from './Hostname'
export { Hosts } from './Hosts'
export { Host } from './Host'
export { IdMap } from './IdMap'
@@ -117,6 +134,8 @@ export { ImageConfig } from './ImageConfig'
export { ImageId } from './ImageId'
export { ImageMetadata } from './ImageMetadata'
export { ImageSource } from './ImageSource'
export { InfoParams } from './InfoParams'
export { InitAcmeParams } from './InitAcmeParams'
export { InitProgressRes } from './InitProgressRes'
export { InstalledState } from './InstalledState'
export { InstalledVersionParams } from './InstalledVersionParams'
@@ -125,11 +144,17 @@ export { InstallingState } from './InstallingState'
export { InstallParams } from './InstallParams'
export { IpInfo } from './IpInfo'
export { KeyboardOptions } from './KeyboardOptions'
export { KillParams } from './KillParams'
export { ListNotificationParams } from './ListNotificationParams'
export { ListPackageSignersParams } from './ListPackageSignersParams'
export { ListServiceInterfacesParams } from './ListServiceInterfacesParams'
export { ListVersionSignersParams } from './ListVersionSignersParams'
export { LocaleString } from './LocaleString'
export { LogEntry } from './LogEntry'
export { LogFollowResponse } from './LogFollowResponse'
export { LoginParams } from './LoginParams'
export { LogResponse } from './LogResponse'
export { LogsParams } from './LogsParams'
export { LshwDevice } from './LshwDevice'
export { LshwDisplay } from './LshwDisplay'
export { LshwProcessor } from './LshwProcessor'
@@ -141,9 +166,12 @@ export { MetadataSrc } from './MetadataSrc'
export { Metadata } from './Metadata'
export { MetricsCpu } from './MetricsCpu'
export { MetricsDisk } from './MetricsDisk'
export { MetricsFollowResponse } from './MetricsFollowResponse'
export { MetricsGeneral } from './MetricsGeneral'
export { MetricsMemory } from './MetricsMemory'
export { Metrics } from './Metrics'
export { ModifyNotificationBeforeParams } from './ModifyNotificationBeforeParams'
export { ModifyNotificationParams } from './ModifyNotificationParams'
export { MountParams } from './MountParams'
export { MountTarget } from './MountTarget'
export { NamedHealthCheckResult } from './NamedHealthCheckResult'
@@ -152,9 +180,14 @@ export { NetInfo } from './NetInfo'
export { NetworkInfo } from './NetworkInfo'
export { NetworkInterfaceInfo } from './NetworkInterfaceInfo'
export { NetworkInterfaceType } from './NetworkInterfaceType'
export { NotificationLevel } from './NotificationLevel'
export { Notification } from './Notification'
export { NotificationWithId } from './NotificationWithId'
export { OsIndex } from './OsIndex'
export { OsVersionInfoMap } from './OsVersionInfoMap'
export { OsVersionInfo } from './OsVersionInfo'
export { PackageBackupInfo } from './PackageBackupInfo'
export { PackageBackupReport } from './PackageBackupReport'
export { PackageDataEntry } from './PackageDataEntry'
export { PackageDetailLevel } from './PackageDetailLevel'
export { PackageId } from './PackageId'
@@ -163,30 +196,40 @@ export { PackageInfoShort } from './PackageInfoShort'
export { PackageInfo } from './PackageInfo'
export { PackageState } from './PackageState'
export { PackageVersionInfo } from './PackageVersionInfo'
export { PartitionInfo } from './PartitionInfo'
export { PasswordType } from './PasswordType'
export { PathOrUrl } from './PathOrUrl'
export { Pem } from './Pem'
export { Percentage } from './Percentage'
export { PortForward } from './PortForward'
export { Progress } from './Progress'
export { ProgressUnits } from './ProgressUnits'
export { PublicDomainConfig } from './PublicDomainConfig'
export { Public } from './Public'
export { QueryDnsParams } from './QueryDnsParams'
export { RebuildParams } from './RebuildParams'
export { RecoverySource } from './RecoverySource'
export { RegistryAsset } from './RegistryAsset'
export { RegistryInfo } from './RegistryInfo'
export { RemoveAcmeParams } from './RemoveAcmeParams'
export { RemoveAdminParams } from './RemoveAdminParams'
export { RemoveAssetParams } from './RemoveAssetParams'
export { RemoveCategoryParams } from './RemoveCategoryParams'
export { RemoveDomainParams } from './RemoveDomainParams'
export { RemoveMirrorParams } from './RemoveMirrorParams'
export { RemovePackageFromCategoryParams } from './RemovePackageFromCategoryParams'
export { RemovePackageParams } from './RemovePackageParams'
export { RemovePackageSignerParams } from './RemovePackageSignerParams'
export { RemoveTunnelParams } from './RemoveTunnelParams'
export { RemoveVersionParams } from './RemoveVersionParams'
export { RenameGatewayParams } from './RenameGatewayParams'
export { ReplayId } from './ReplayId'
export { RequestCommitment } from './RequestCommitment'
export { ResetPasswordParams } from './ResetPasswordParams'
export { RestorePackageParams } from './RestorePackageParams'
export { RunActionParams } from './RunActionParams'
export { Security } from './Security'
export { ServerBackupReport } from './ServerBackupReport'
export { ServerInfo } from './ServerInfo'
export { ServerSpecs } from './ServerSpecs'
export { ServerStatus } from './ServerStatus'
@@ -196,21 +239,34 @@ export { ServiceInterfaceType } from './ServiceInterfaceType'
export { SessionList } from './SessionList'
export { Sessions } from './Sessions'
export { Session } from './Session'
export { SetCountryParams } from './SetCountryParams'
export { SetDataVersionParams } from './SetDataVersionParams'
export { SetDependenciesParams } from './SetDependenciesParams'
export { SetHealth } from './SetHealth'
export { SetIconParams } from './SetIconParams'
export { SetLanguageParams } from './SetLanguageParams'
export { SetMainStatusStatus } from './SetMainStatusStatus'
export { SetMainStatus } from './SetMainStatus'
export { SetNameParams } from './SetNameParams'
export { SetStaticDnsParams } from './SetStaticDnsParams'
export { SetupExecuteParams } from './SetupExecuteParams'
export { SetupInfo } from './SetupInfo'
export { SetupProgress } from './SetupProgress'
export { SetupResult } from './SetupResult'
export { SetupStatusRes } from './SetupStatusRes'
export { SetWifiEnabledParams } from './SetWifiEnabledParams'
export { SideloadParams } from './SideloadParams'
export { SideloadResponse } from './SideloadResponse'
export { SignalStrength } from './SignalStrength'
export { SignAssetParams } from './SignAssetParams'
export { SignerInfo } from './SignerInfo'
export { SmtpValue } from './SmtpValue'
export { SshAddParams } from './SshAddParams'
export { SshDeleteParams } from './SshDeleteParams'
export { SshKeyResponse } from './SshKeyResponse'
export { SshPubKey } from './SshPubKey'
export { Ssid } from './Ssid'
export { StartOsRecoveryInfo } from './StartOsRecoveryInfo'
export { StartStop } from './StartStop'
export { StatusInfo } from './StatusInfo'
export { TaskCondition } from './TaskCondition'
@@ -220,9 +276,16 @@ export { TaskSeverity } from './TaskSeverity'
export { TaskTrigger } from './TaskTrigger'
export { Task } from './Task'
export { TestSmtpParams } from './TestSmtpParams'
export { TimeInfo } from './TimeInfo'
export { UmountParams } from './UmountParams'
export { UninstallParams } from './UninstallParams'
export { UpdatingState } from './UpdatingState'
export { VerifyCifsParams } from './VerifyCifsParams'
export { VersionSignerParams } from './VersionSignerParams'
export { Version } from './Version'
export { VolumeId } from './VolumeId'
export { WifiAddParams } from './WifiAddParams'
export { WifiInfo } from './WifiInfo'
export { WifiListInfo } from './WifiListInfo'
export { WifiListOut } from './WifiListOut'
export { WifiSsidParams } from './WifiSsidParams'

View File

@@ -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 AnyVerifyingKey = string
export type AnyVerifyingKey = string;

View File

@@ -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 Base64 = string
export type Base64 = string;

View File

@@ -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 Pem = string
export type Pem = string;

View File

@@ -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 PortForwards = { [key: string]: string }
export type PortForwards = { [key: string]: string };

View File

@@ -1,7 +1,3 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
export type Session = {
loggedIn: string
lastActive: string
userAgent: string | null
}
export type Session = { loggedIn: string, lastActive: string, userAgent: string | null, };

View File

@@ -1,4 +1,4 @@
// 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: string]: Session }
export type Sessions = { [key: string]: Session };

View File

@@ -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 SignerInfo = { name: string }
export type SignerInfo = { name: string, };

View File

@@ -1,4 +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'
import type { Pem } from "./Pem";
export type TunnelCertData = { key: Pem; cert: Pem }
export type TunnelCertData = { key: Pem, cert: Pem, };

View File

@@ -1,17 +1,9 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { AnyVerifyingKey } from './AnyVerifyingKey'
import type { PortForwards } from './PortForwards'
import type { Sessions } from './Sessions'
import type { SignerInfo } from './SignerInfo'
import type { WebserverInfo } from './WebserverInfo'
import type { WgServer } from './WgServer'
import type { AnyVerifyingKey } from "./AnyVerifyingKey";
import type { PortForwards } from "./PortForwards";
import type { Sessions } from "./Sessions";
import type { SignerInfo } from "./SignerInfo";
import type { WebserverInfo } from "./WebserverInfo";
import type { WgServer } from "./WgServer";
export type TunnelDatabase = {
webserver: WebserverInfo
sessions: Sessions
password: string | null
authPubkeys: { [key: AnyVerifyingKey]: SignerInfo }
gateways: { [key: AnyVerifyingKey]: SignerInfo }
wg: WgServer
portForwards: PortForwards
}
export type TunnelDatabase = { webserver: WebserverInfo, sessions: Sessions, password: string | null, authPubkeys: { [key: AnyVerifyingKey]: SignerInfo }, gateways: { [key: AnyVerifyingKey]: SignerInfo }, wg: WgServer, portForwards: PortForwards, };

View File

@@ -1,8 +1,4 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { TunnelCertData } from './TunnelCertData'
import type { TunnelCertData } from "./TunnelCertData";
export type WebserverInfo = {
enabled: boolean
listen: string | null
certificate: TunnelCertData | null
}
export type WebserverInfo = { enabled: boolean, listen: string | null, certificate: TunnelCertData | null, };

View File

@@ -1,4 +1,4 @@
// 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 { Base64 } from "./Base64";
export type WgConfig = { name: string; key: Base64; psk: Base64 }
export type WgConfig = { name: string, key: Base64, psk: Base64, };

View File

@@ -1,5 +1,5 @@
// 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 { WgSubnetMap } from './WgSubnetMap'
import type { Base64 } from "./Base64";
import type { WgSubnetMap } from "./WgSubnetMap";
export type WgServer = { port: number; key: Base64; subnets: WgSubnetMap }
export type WgServer = { port: number, key: Base64, subnets: WgSubnetMap, };

View File

@@ -1,4 +1,4 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { WgConfig } from './WgConfig'
import type { WgConfig } from "./WgConfig";
export type WgSubnetClients = { [key: string]: WgConfig }
export type WgSubnetClients = { [key: string]: WgConfig };

View File

@@ -1,4 +1,4 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { WgSubnetClients } from './WgSubnetClients'
import type { WgSubnetClients } from "./WgSubnetClients";
export type WgSubnetConfig = { name: string; clients: WgSubnetClients }
export type WgSubnetConfig = { name: string, clients: WgSubnetClients, };

View File

@@ -1,4 +1,4 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { WgSubnetConfig } from './WgSubnetConfig'
import type { WgSubnetConfig } from "./WgSubnetConfig";
export type WgSubnetMap = { [key: string]: WgSubnetConfig }
export type WgSubnetMap = { [key: string]: WgSubnetConfig };

View File

@@ -10,7 +10,7 @@ import {
GetContainerIpParams,
GetStatusParams,
CreateTaskParams,
RunActionParams,
EffectsRunActionParams,
SetDataVersionParams,
SetMainStatus,
GetServiceManifestParams,
@@ -56,7 +56,7 @@ describe('startosTypeValidation ', () => {
clear: {} as ClearActionsParams,
export: {} as ExportActionParams,
getInput: {} as GetActionInputParams,
run: {} as RunActionParams,
run: {} as EffectsRunActionParams,
createTask: {} as CreateTaskParams,
clearTasks: {} as ClearTasksParams,
},