import type { ResidenceType } from "@customer-portal/domain/address";

/**
 * Total number of steps in the Japan address form.
 * Used by ProgressIndicator component.
 */
export const TOTAL_FORM_STEPS = 4;

/**
 * Default address values for form initialization.
 */
export const DEFAULT_ADDRESS: Omit<
  {
    postcode: string;
    prefecture: string;
    prefectureJa: string;
    city: string;
    cityJa: string;
    town: string;
    townJa: string;
    streetAddress: string;
    buildingName: string;
    roomNumber: string;
    residenceType: ResidenceType | "";
  },
  "residenceType"
> & {
  residenceType: ResidenceType | "";
} = {
  postcode: "",
  prefecture: "",
  prefectureJa: "",
  city: "",
  cityJa: "",
  town: "",
  townJa: "",
  streetAddress: "",
  buildingName: "",
  roomNumber: "",
  residenceType: "",
};
