openclaw/src/wizard/onboarding.types.ts

26 lines
724 B
TypeScript
Raw Normal View History

2026-01-14 05:40:10 +00:00
import type { GatewayAuthChoice } from "../commands/onboard-types.js";
export type WizardFlow = "quickstart" | "advanced";
export type QuickstartGatewayDefaults = {
hasExisting: boolean;
port: number;
2026-01-21 20:35:39 +00:00
bind: "loopback" | "lan" | "auto" | "custom" | "tailnet";
2026-01-14 05:40:10 +00:00
authMode: GatewayAuthChoice;
tailscaleMode: "off" | "serve" | "funnel";
token?: string;
password?: string;
customBindHost?: string;
tailscaleResetOnExit: boolean;
};
export type GatewayWizardSettings = {
port: number;
2026-01-21 20:35:39 +00:00
bind: "loopback" | "lan" | "auto" | "custom" | "tailnet";
2026-01-14 05:40:10 +00:00
customBindHost?: string;
authMode: GatewayAuthChoice;
gatewayToken?: string;
tailscaleMode: "off" | "serve" | "funnel";
tailscaleResetOnExit: boolean;
};