/** * The eight IRP deduction categories. This is the source of the vocabulary: * `packages/contracts` builds its Zod enum from this array so the two can never drift. */ export const IRP_CATEGORIES = [ 'alimentacion', 'salud', 'educacion', 'vivienda', 'vestimenta', 'esparcimiento', 'vehiculo', 'familiares', ] as const; export type IrpCategory = (typeof IRP_CATEGORIES)[number]; /** What a classification carries when no category applies. */ export type IrpCategoryOrNone = IrpCategory | 'none';