// 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: "Set up your profile" }, { key: "social", label: "Follow & star" }, { key: "keys", label: "Add SSH keys" }, { key: "finish", label: "Finish" } ] as const; export type WelcomeStepKey = (typeof WELCOME_STEPS)[number]["key"]; export const WELCOME_TOTAL = WELCOME_STEPS.length; /** the last step has nothing left to skip past */ export const LAST_STEP = WELCOME_TOTAL - 1;