mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 12:11:56 +00:00
update bindings for API types, add ARCHITECTURE (#3124)
* update binding for API types, add ARCHITECTURE * translations
This commit is contained in:
4
sdk/base/lib/osBindings/AddPrivateDomainParams.ts
Normal file
4
sdk/base/lib/osBindings/AddPrivateDomainParams.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 { GatewayId } from './GatewayId'
|
||||
|
||||
export type AddPrivateDomainParams = { fqdn: string; gateway: GatewayId }
|
||||
9
sdk/base/lib/osBindings/AddPublicDomainParams.ts
Normal file
9
sdk/base/lib/osBindings/AddPublicDomainParams.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 { AcmeProvider } from './AcmeProvider'
|
||||
import type { GatewayId } from './GatewayId'
|
||||
|
||||
export type AddPublicDomainParams = {
|
||||
fqdn: string
|
||||
acme: AcmeProvider | null
|
||||
gateway: GatewayId
|
||||
}
|
||||
9
sdk/base/lib/osBindings/BackupInfo.ts
Normal file
9
sdk/base/lib/osBindings/BackupInfo.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 { PackageBackupInfo } from './PackageBackupInfo'
|
||||
import type { PackageId } from './PackageId'
|
||||
|
||||
export type BackupInfo = {
|
||||
version: string
|
||||
timestamp: string | null
|
||||
packageBackups: { [key: PackageId]: PackageBackupInfo }
|
||||
}
|
||||
11
sdk/base/lib/osBindings/BackupParams.ts
Normal file
11
sdk/base/lib/osBindings/BackupParams.ts
Normal 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
|
||||
}
|
||||
9
sdk/base/lib/osBindings/BackupReport.ts
Normal file
9
sdk/base/lib/osBindings/BackupReport.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 { PackageBackupReport } from './PackageBackupReport'
|
||||
import type { PackageId } from './PackageId'
|
||||
import type { ServerBackupReport } from './ServerBackupReport'
|
||||
|
||||
export type BackupReport = {
|
||||
server: ServerBackupReport
|
||||
packages: { [key: PackageId]: PackageBackupReport }
|
||||
}
|
||||
17
sdk/base/lib/osBindings/BackupTarget.ts
Normal file
17
sdk/base/lib/osBindings/BackupTarget.ts
Normal 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)
|
||||
3
sdk/base/lib/osBindings/BackupTargetId.ts
Normal file
3
sdk/base/lib/osBindings/BackupTargetId.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 BackupTargetId = string
|
||||
4
sdk/base/lib/osBindings/CancelInstallParams.ts
Normal file
4
sdk/base/lib/osBindings/CancelInstallParams.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 { PackageId } from './PackageId'
|
||||
|
||||
export type CancelInstallParams = { id: PackageId }
|
||||
@@ -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 }
|
||||
|
||||
8
sdk/base/lib/osBindings/CifsAddParams.ts
Normal file
8
sdk/base/lib/osBindings/CifsAddParams.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 CifsAddParams = {
|
||||
hostname: string
|
||||
path: string
|
||||
username: string
|
||||
password: string | null
|
||||
}
|
||||
10
sdk/base/lib/osBindings/CifsBackupTarget.ts
Normal file
10
sdk/base/lib/osBindings/CifsBackupTarget.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 { StartOsRecoveryInfo } from './StartOsRecoveryInfo'
|
||||
|
||||
export type CifsBackupTarget = {
|
||||
hostname: string
|
||||
path: string
|
||||
username: string
|
||||
mountable: boolean
|
||||
startOs: { [key: string]: StartOsRecoveryInfo }
|
||||
}
|
||||
4
sdk/base/lib/osBindings/CifsRemoveParams.ts
Normal file
4
sdk/base/lib/osBindings/CifsRemoveParams.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 { BackupTargetId } from './BackupTargetId'
|
||||
|
||||
export type CifsRemoveParams = { id: BackupTargetId }
|
||||
10
sdk/base/lib/osBindings/CifsUpdateParams.ts
Normal file
10
sdk/base/lib/osBindings/CifsUpdateParams.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 { BackupTargetId } from './BackupTargetId'
|
||||
|
||||
export type CifsUpdateParams = {
|
||||
id: BackupTargetId
|
||||
hostname: string
|
||||
path: string
|
||||
username: string
|
||||
password: string | null
|
||||
}
|
||||
9
sdk/base/lib/osBindings/ClearTaskParams.ts
Normal file
9
sdk/base/lib/osBindings/ClearTaskParams.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 { PackageId } from './PackageId'
|
||||
import type { ReplayId } from './ReplayId'
|
||||
|
||||
export type ClearTaskParams = {
|
||||
packageId: PackageId
|
||||
replayId: ReplayId
|
||||
force: boolean
|
||||
}
|
||||
4
sdk/base/lib/osBindings/ControlParams.ts
Normal file
4
sdk/base/lib/osBindings/ControlParams.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 { PackageId } from './PackageId'
|
||||
|
||||
export type ControlParams = { id: PackageId }
|
||||
9
sdk/base/lib/osBindings/EffectsRunActionParams.ts
Normal file
9
sdk/base/lib/osBindings/EffectsRunActionParams.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 { ActionId } from './ActionId'
|
||||
import type { PackageId } from './PackageId'
|
||||
|
||||
export type EffectsRunActionParams = {
|
||||
packageId?: PackageId
|
||||
actionId: ActionId
|
||||
input: any
|
||||
}
|
||||
4
sdk/base/lib/osBindings/ForgetGatewayParams.ts
Normal file
4
sdk/base/lib/osBindings/ForgetGatewayParams.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 { GatewayId } from './GatewayId'
|
||||
|
||||
export type ForgetGatewayParams = { gateway: GatewayId }
|
||||
@@ -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 }
|
||||
|
||||
@@ -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>
|
||||
}
|
||||
|
||||
3
sdk/base/lib/osBindings/Hostname.ts
Normal file
3
sdk/base/lib/osBindings/Hostname.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 Hostname = string
|
||||
8
sdk/base/lib/osBindings/InfoParams.ts
Normal file
8
sdk/base/lib/osBindings/InfoParams.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 { BackupTargetId } from './BackupTargetId'
|
||||
|
||||
export type InfoParams = {
|
||||
targetId: BackupTargetId
|
||||
serverId: string
|
||||
password: string
|
||||
}
|
||||
4
sdk/base/lib/osBindings/InitAcmeParams.ts
Normal file
4
sdk/base/lib/osBindings/InitAcmeParams.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 { AcmeProvider } from './AcmeProvider'
|
||||
|
||||
export type InitAcmeParams = { provider: AcmeProvider; contact: Array<string> }
|
||||
3
sdk/base/lib/osBindings/KillParams.ts
Normal file
3
sdk/base/lib/osBindings/KillParams.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 KillParams = { ids: Array<string> }
|
||||
6
sdk/base/lib/osBindings/ListNotificationParams.ts
Normal file
6
sdk/base/lib/osBindings/ListNotificationParams.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 ListNotificationParams = {
|
||||
before: number | null
|
||||
limit: number | null
|
||||
}
|
||||
3
sdk/base/lib/osBindings/LogEntry.ts
Normal file
3
sdk/base/lib/osBindings/LogEntry.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 LogEntry = { timestamp: string; message: string; bootId: string }
|
||||
4
sdk/base/lib/osBindings/LogFollowResponse.ts
Normal file
4
sdk/base/lib/osBindings/LogFollowResponse.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 LogFollowResponse = { startCursor: string | null; guid: Guid }
|
||||
8
sdk/base/lib/osBindings/LogResponse.ts
Normal file
8
sdk/base/lib/osBindings/LogResponse.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 { LogEntry } from './LogEntry'
|
||||
|
||||
export type LogResponse = {
|
||||
entries: Array<LogEntry>
|
||||
startCursor: string | null
|
||||
endCursor: string | null
|
||||
}
|
||||
8
sdk/base/lib/osBindings/LogsParams.ts
Normal file
8
sdk/base/lib/osBindings/LogsParams.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 LogsParams = {
|
||||
limit?: number
|
||||
cursor?: string
|
||||
boot?: number | string
|
||||
before: boolean
|
||||
}
|
||||
@@ -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 }
|
||||
|
||||
5
sdk/base/lib/osBindings/MetricsFollowResponse.ts
Normal file
5
sdk/base/lib/osBindings/MetricsFollowResponse.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 { Guid } from './Guid'
|
||||
import type { Metrics } from './Metrics'
|
||||
|
||||
export type MetricsFollowResponse = { guid: Guid; metrics: Metrics }
|
||||
@@ -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 }
|
||||
3
sdk/base/lib/osBindings/ModifyNotificationParams.ts
Normal file
3
sdk/base/lib/osBindings/ModifyNotificationParams.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 ModifyNotificationParams = { ids: number[] }
|
||||
14
sdk/base/lib/osBindings/Notification.ts
Normal file
14
sdk/base/lib/osBindings/Notification.ts
Normal 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
|
||||
}
|
||||
3
sdk/base/lib/osBindings/NotificationLevel.ts
Normal file
3
sdk/base/lib/osBindings/NotificationLevel.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 NotificationLevel = 'success' | 'info' | 'warning' | 'error'
|
||||
15
sdk/base/lib/osBindings/NotificationWithId.ts
Normal file
15
sdk/base/lib/osBindings/NotificationWithId.ts
Normal 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
|
||||
}
|
||||
9
sdk/base/lib/osBindings/PackageBackupInfo.ts
Normal file
9
sdk/base/lib/osBindings/PackageBackupInfo.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 { Version } from './Version'
|
||||
|
||||
export type PackageBackupInfo = {
|
||||
title: string
|
||||
version: Version
|
||||
osVersion: string
|
||||
timestamp: string
|
||||
}
|
||||
3
sdk/base/lib/osBindings/PackageBackupReport.ts
Normal file
3
sdk/base/lib/osBindings/PackageBackupReport.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 PackageBackupReport = { error: string | null }
|
||||
11
sdk/base/lib/osBindings/PartitionInfo.ts
Normal file
11
sdk/base/lib/osBindings/PartitionInfo.ts
Normal 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
|
||||
}
|
||||
@@ -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 }
|
||||
|
||||
4
sdk/base/lib/osBindings/PortForward.ts
Normal file
4
sdk/base/lib/osBindings/PortForward.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 { GatewayId } from './GatewayId'
|
||||
|
||||
export type PortForward = { src: string; dst: string; gateway: GatewayId }
|
||||
3
sdk/base/lib/osBindings/QueryDnsParams.ts
Normal file
3
sdk/base/lib/osBindings/QueryDnsParams.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 QueryDnsParams = { fqdn: string }
|
||||
4
sdk/base/lib/osBindings/RebuildParams.ts
Normal file
4
sdk/base/lib/osBindings/RebuildParams.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 { PackageId } from './PackageId'
|
||||
|
||||
export type RebuildParams = { id: PackageId }
|
||||
4
sdk/base/lib/osBindings/RemoveAcmeParams.ts
Normal file
4
sdk/base/lib/osBindings/RemoveAcmeParams.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 { AcmeProvider } from './AcmeProvider'
|
||||
|
||||
export type RemoveAcmeParams = { provider: AcmeProvider }
|
||||
3
sdk/base/lib/osBindings/RemoveDomainParams.ts
Normal file
3
sdk/base/lib/osBindings/RemoveDomainParams.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 RemoveDomainParams = { fqdn: string }
|
||||
4
sdk/base/lib/osBindings/RenameGatewayParams.ts
Normal file
4
sdk/base/lib/osBindings/RenameGatewayParams.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 { GatewayId } from './GatewayId'
|
||||
|
||||
export type RenameGatewayParams = { id: GatewayId; name: string }
|
||||
7
sdk/base/lib/osBindings/ResetPasswordParams.ts
Normal file
7
sdk/base/lib/osBindings/ResetPasswordParams.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 { PasswordType } from './PasswordType'
|
||||
|
||||
export type ResetPasswordParams = {
|
||||
oldPassword: PasswordType | null
|
||||
newPassword: PasswordType | null
|
||||
}
|
||||
9
sdk/base/lib/osBindings/RestorePackageParams.ts
Normal file
9
sdk/base/lib/osBindings/RestorePackageParams.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 { BackupTargetId } from './BackupTargetId'
|
||||
import type { PackageId } from './PackageId'
|
||||
|
||||
export type RestorePackageParams = {
|
||||
ids: Array<PackageId>
|
||||
targetId: BackupTargetId
|
||||
password: string
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
|
||||
3
sdk/base/lib/osBindings/ServerBackupReport.ts
Normal file
3
sdk/base/lib/osBindings/ServerBackupReport.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 ServerBackupReport = { attempted: boolean; error: string | null }
|
||||
3
sdk/base/lib/osBindings/SetCountryParams.ts
Normal file
3
sdk/base/lib/osBindings/SetCountryParams.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 SetCountryParams = { country: string }
|
||||
3
sdk/base/lib/osBindings/SetLanguageParams.ts
Normal file
3
sdk/base/lib/osBindings/SetLanguageParams.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 SetLanguageParams = { language: string }
|
||||
3
sdk/base/lib/osBindings/SetStaticDnsParams.ts
Normal file
3
sdk/base/lib/osBindings/SetStaticDnsParams.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 SetStaticDnsParams = { servers: Array<string> | null }
|
||||
3
sdk/base/lib/osBindings/SetWifiEnabledParams.ts
Normal file
3
sdk/base/lib/osBindings/SetWifiEnabledParams.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 SetWifiEnabledParams = { enabled: boolean }
|
||||
3
sdk/base/lib/osBindings/SideloadParams.ts
Normal file
3
sdk/base/lib/osBindings/SideloadParams.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 SideloadParams = {}
|
||||
4
sdk/base/lib/osBindings/SideloadResponse.ts
Normal file
4
sdk/base/lib/osBindings/SideloadResponse.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 SideloadResponse = { upload: Guid; progress: Guid }
|
||||
6
sdk/base/lib/osBindings/SignalStrength.ts
Normal file
6
sdk/base/lib/osBindings/SignalStrength.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.
|
||||
|
||||
/**
|
||||
* 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
|
||||
4
sdk/base/lib/osBindings/SshAddParams.ts
Normal file
4
sdk/base/lib/osBindings/SshAddParams.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 { SshPubKey } from './SshPubKey'
|
||||
|
||||
export type SshAddParams = { key: SshPubKey }
|
||||
3
sdk/base/lib/osBindings/SshDeleteParams.ts
Normal file
3
sdk/base/lib/osBindings/SshDeleteParams.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 SshDeleteParams = { fingerprint: string }
|
||||
8
sdk/base/lib/osBindings/SshKeyResponse.ts
Normal file
8
sdk/base/lib/osBindings/SshKeyResponse.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 SshKeyResponse = {
|
||||
alg: string
|
||||
fingerprint: string
|
||||
hostname: string
|
||||
createdAt: string
|
||||
}
|
||||
3
sdk/base/lib/osBindings/SshPubKey.ts
Normal file
3
sdk/base/lib/osBindings/SshPubKey.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 SshPubKey = string
|
||||
6
sdk/base/lib/osBindings/Ssid.ts
Normal file
6
sdk/base/lib/osBindings/Ssid.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.
|
||||
|
||||
/**
|
||||
* Ssid are the names of the wifis, usually human readable.
|
||||
*/
|
||||
export type Ssid = string
|
||||
10
sdk/base/lib/osBindings/StartOsRecoveryInfo.ts
Normal file
10
sdk/base/lib/osBindings/StartOsRecoveryInfo.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 { Hostname } from './Hostname'
|
||||
|
||||
export type StartOsRecoveryInfo = {
|
||||
hostname: Hostname
|
||||
version: string
|
||||
timestamp: string
|
||||
passwordHash: string | null
|
||||
wrappedKey: string | null
|
||||
}
|
||||
3
sdk/base/lib/osBindings/TimeInfo.ts
Normal file
3
sdk/base/lib/osBindings/TimeInfo.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 TimeInfo = { now: string; uptime: bigint }
|
||||
4
sdk/base/lib/osBindings/UmountParams.ts
Normal file
4
sdk/base/lib/osBindings/UmountParams.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 { BackupTargetId } from './BackupTargetId'
|
||||
|
||||
export type UmountParams = { targetId: BackupTargetId | null }
|
||||
4
sdk/base/lib/osBindings/UninstallParams.ts
Normal file
4
sdk/base/lib/osBindings/UninstallParams.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 { PackageId } from './PackageId'
|
||||
|
||||
export type UninstallParams = { id: PackageId; soft: boolean; force: boolean }
|
||||
3
sdk/base/lib/osBindings/WifiAddParams.ts
Normal file
3
sdk/base/lib/osBindings/WifiAddParams.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 WifiAddParams = { ssid: string; password: string }
|
||||
12
sdk/base/lib/osBindings/WifiListInfo.ts
Normal file
12
sdk/base/lib/osBindings/WifiListInfo.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 { 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>
|
||||
}
|
||||
9
sdk/base/lib/osBindings/WifiListOut.ts
Normal file
9
sdk/base/lib/osBindings/WifiListOut.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 { SignalStrength } from './SignalStrength'
|
||||
import type { Ssid } from './Ssid'
|
||||
|
||||
export type WifiListOut = {
|
||||
ssid: Ssid
|
||||
strength: SignalStrength
|
||||
security: Array<string>
|
||||
}
|
||||
3
sdk/base/lib/osBindings/WifiSsidParams.ts
Normal file
3
sdk/base/lib/osBindings/WifiSsidParams.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 WifiSsidParams = { ssid: string }
|
||||
@@ -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'
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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 };
|
||||
|
||||
@@ -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, };
|
||||
|
||||
@@ -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 };
|
||||
|
||||
@@ -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, };
|
||||
|
||||
@@ -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, };
|
||||
|
||||
@@ -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, };
|
||||
|
||||
@@ -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, };
|
||||
|
||||
@@ -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, };
|
||||
|
||||
@@ -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, };
|
||||
|
||||
@@ -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 };
|
||||
|
||||
@@ -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, };
|
||||
|
||||
@@ -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 };
|
||||
|
||||
@@ -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,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user