mirror of
https://github.com/Hestia-Homes/assessment-model.git
synced 2026-06-30 12:55:02 +00:00
Added new recommendaton types to database
This commit is contained in:
parent
6a4256af9d
commit
b5efb56dc9
1 changed files with 15 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue