/**
 * Which body the main dialog shows. Named, where the page used to pass the
 * magic numbers 1–5 around and a comment to decode them.
 */
export type RegistrationStep =
  | "login"
  | "signup"
  | "roles"
  | "confirm"
  | "unregister";

export const STEP_TITLE_KEYS: Record<RegistrationStep, string> = {
  login: "COMMON.JOINUS",
  signup: "COMMON.SIGN.UP",
  roles: "COMMON.ROLE",
  confirm: "COMMON.CONFIRM_REGISTRATION",
  unregister: "COMMON.CONFIRM_UNREGISTRATION",
};
