Added new recommendaton types to database

This commit is contained in:
Khalim Conn-Kowlessar 2023-11-30 11:52:46 +00:00
parent 6a4256af9d
commit b5efb56dc9

View file

@ -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;