forked from openclaw/openclaw
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.types.ts
More file actions
26 lines (23 loc) · 797 Bytes
/
Copy pathsetup.types.ts
File metadata and controls
26 lines (23 loc) · 797 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import type { GatewayAuthChoice } from "../commands/onboard-types.js";
import type { SecretInput } from "../config/types.secrets.js";
export type WizardFlow = "quickstart" | "advanced";
export type QuickstartGatewayDefaults = {
hasExisting: boolean;
port: number;
bind: "loopback" | "lan" | "auto" | "custom" | "tailnet";
authMode: GatewayAuthChoice;
tailscaleMode: "off" | "serve" | "funnel";
token?: SecretInput;
password?: SecretInput;
customBindHost?: string;
tailscaleResetOnExit: boolean;
};
export type GatewayWizardSettings = {
port: number;
bind: "loopback" | "lan" | "auto" | "custom" | "tailnet";
customBindHost?: string;
authMode: GatewayAuthChoice;
gatewayToken?: string;
tailscaleMode: "off" | "serve" | "funnel";
tailscaleResetOnExit: boolean;
};