mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 02:11:53 +00:00
- Add TS derive and type annotations to all tunnel API param structs - Export tunnel bindings to a tunnel/ subdirectory with index generation - Change port forward label from String to Option<String> - Add TunnelDatabase::init() with default subnet creation - Add tunnel migration framework with m_00_port_forward_entry migration to convert legacy string-only port forwards to the new entry format
20 lines
776 B
TypeScript
20 lines
776 B
TypeScript
// 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 { GatewayId } from './GatewayId'
|
|
import type { NetworkInterfaceInfo } from './NetworkInterfaceInfo'
|
|
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: GatewayId]: NetworkInterfaceInfo }
|
|
wg: WgServer
|
|
portForwards: PortForwards
|
|
}
|