diff --git a/src/app/db/schema/recommendations.ts b/src/app/db/schema/recommendations.ts index 8486ba47..2bedb4a1 100644 --- a/src/app/db/schema/recommendations.ts +++ b/src/app/db/schema/recommendations.ts @@ -95,13 +95,24 @@ export type RecommendationMaterial = InferModel< // We allow recommendation types to be a string however we'll set up a typing for it here to control // the types we expect +// Note: roof_insulation, wall_insulation and floor_insulation aren't used in the app anymore and +// have been superseded by the more specific types. The backend will no longer return these types export type RecommendationType = - | "wall_insulation" - | "floor_insulation" - | "roof_insulation" + | "internal_wall_insulation" + | "external_wall_insulation" + | "cavity_wall_insulation" + | "suspended_floor_insulation" + | "solid_floor_insulation" + | "exposed_floor_insulation" + | "loft_insulation" + | "flat_roof_insulation" + | "room_roof_insulation" | "mechanical_ventilation" | "sealing_open_fireplace" - | "low_energy_lighting"; + | "low_energy_lighting" + | "roof_insulation" + | "wall_insulation" + | "floor_insulation"; export type UnnestedRecommendation = { quantity: number;