mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 04:01:58 +00:00
better tui
This commit is contained in:
3
sdk/base/lib/osBindings/tunnel/AnyVerifyingKey.ts
Normal file
3
sdk/base/lib/osBindings/tunnel/AnyVerifyingKey.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 AnyVerifyingKey = string
|
||||
3
sdk/base/lib/osBindings/tunnel/Base64.ts
Normal file
3
sdk/base/lib/osBindings/tunnel/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
|
||||
3
sdk/base/lib/osBindings/tunnel/Pem.ts
Normal file
3
sdk/base/lib/osBindings/tunnel/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
|
||||
3
sdk/base/lib/osBindings/tunnel/PortForwards.ts
Normal file
3
sdk/base/lib/osBindings/tunnel/PortForwards.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 PortForwards = { [key: string]: string }
|
||||
7
sdk/base/lib/osBindings/tunnel/Session.ts
Normal file
7
sdk/base/lib/osBindings/tunnel/Session.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.
|
||||
|
||||
export type Session = {
|
||||
loggedIn: string
|
||||
lastActive: string
|
||||
userAgent: string | null
|
||||
}
|
||||
4
sdk/base/lib/osBindings/tunnel/Sessions.ts
Normal file
4
sdk/base/lib/osBindings/tunnel/Sessions.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 { Session } from "./Session"
|
||||
|
||||
export type Sessions = { [key: string]: Session }
|
||||
3
sdk/base/lib/osBindings/tunnel/SignerInfo.ts
Normal file
3
sdk/base/lib/osBindings/tunnel/SignerInfo.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 SignerInfo = { name: string }
|
||||
4
sdk/base/lib/osBindings/tunnel/TunnelCertData.ts
Normal file
4
sdk/base/lib/osBindings/tunnel/TunnelCertData.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 TunnelCertData = { key: Pem; cert: Pem }
|
||||
17
sdk/base/lib/osBindings/tunnel/TunnelDatabase.ts
Normal file
17
sdk/base/lib/osBindings/tunnel/TunnelDatabase.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 { 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
|
||||
}
|
||||
8
sdk/base/lib/osBindings/tunnel/WebserverInfo.ts
Normal file
8
sdk/base/lib/osBindings/tunnel/WebserverInfo.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 { TunnelCertData } from "./TunnelCertData"
|
||||
|
||||
export type WebserverInfo = {
|
||||
enabled: boolean
|
||||
listen: string | null
|
||||
certificate: TunnelCertData | null
|
||||
}
|
||||
4
sdk/base/lib/osBindings/tunnel/WgConfig.ts
Normal file
4
sdk/base/lib/osBindings/tunnel/WgConfig.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 { Base64 } from "./Base64"
|
||||
|
||||
export type WgConfig = { name: string; key: Base64; psk: Base64 }
|
||||
5
sdk/base/lib/osBindings/tunnel/WgServer.ts
Normal file
5
sdk/base/lib/osBindings/tunnel/WgServer.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 { Base64 } from "./Base64"
|
||||
import type { WgSubnetMap } from "./WgSubnetMap"
|
||||
|
||||
export type WgServer = { port: number; key: Base64; subnets: WgSubnetMap }
|
||||
4
sdk/base/lib/osBindings/tunnel/WgSubnetClients.ts
Normal file
4
sdk/base/lib/osBindings/tunnel/WgSubnetClients.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 { WgConfig } from "./WgConfig"
|
||||
|
||||
export type WgSubnetClients = { [key: string]: WgConfig }
|
||||
4
sdk/base/lib/osBindings/tunnel/WgSubnetConfig.ts
Normal file
4
sdk/base/lib/osBindings/tunnel/WgSubnetConfig.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 { WgSubnetClients } from "./WgSubnetClients"
|
||||
|
||||
export type WgSubnetConfig = { name: string; clients: WgSubnetClients }
|
||||
4
sdk/base/lib/osBindings/tunnel/WgSubnetMap.ts
Normal file
4
sdk/base/lib/osBindings/tunnel/WgSubnetMap.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 { WgSubnetConfig } from "./WgSubnetConfig"
|
||||
|
||||
export type WgSubnetMap = { [key: string]: WgSubnetConfig }
|
||||
Reference in New Issue
Block a user