Something went wrong. Try again.
Monorepo for Tangled tangled.org
Something went wrong. Try again.
TypeScript
12345678910111213141516// mirrors appview/models/onboarding.go. the appview// persists the index in the `onboarding` table, so these values are storage// keys, not just display order — keep them aligned with the Go constants.export const WELCOME_STEPS = [ { key: "profile", label: "Profile" }, { key: "social", label: "Discover" }, { key: "keys", label: "SSH keys" }, { key: "finish", label: "Finish" }] as const;
export type WelcomeStepKey = (typeof WELCOME_STEPS)[number]["key"];
export const WELCOME_TOTAL = WELCOME_STEPS.length;
export const LAST_STEP = WELCOME_TOTAL - 1;