mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-19 05:50:47 +00:00
27 lines
797 B
TypeScript
27 lines
797 B
TypeScript
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;
|
|
};
|