Added new types to materials db

This commit is contained in:
Khalim Conn-Kowlessar 2023-11-23 16:48:53 +00:00
parent 9c44e6b7ca
commit 64d5ffdb38
2 changed files with 25 additions and 1 deletions

View file

@ -330,6 +330,13 @@
"when": 1700757960766,
"tag": "0046_lonely_jack_flag",
"breakpoints": true
},
{
"idx": 47,
"version": "5",
"when": 1700758121692,
"tag": "0047_curved_psynapse",
"breakpoints": true
}
]
}

View file

@ -20,13 +20,30 @@ export const MaterialType: [string, ...string[]] = [
"exposed_floor_insulation",
"flat_roof_insulation",
"room_roof_insulation",
// Non insulation tasks
"iwi_wall_demolition",
"iwi_vapour_barrier",
"iwi_redecoration",
"suspended_floor_demolition",
"suspended_floor_redecoration",
"solid_floor_demolition",
"solid_floor_preparation",
"solid_floor_vapour_barrier",
"solid_floor_redecoration",
"ewi_wall_demolition",
"ewi_wall_preparation",
"ewi_wall_redecoration",
];
export const materialTypeEnum = pgEnum("type", MaterialType);
export const DepthUnit: [string, ...string[]] = ["mm"];
export const depthUnitEnum = pgEnum("depth_unit", DepthUnit);
export const CostUnit: [string, ...string[]] = ["gbp_sq_meter", "gbp_per_unit"];
export const CostUnit: [string, ...string[]] = [
"gbp_sq_meter",
"gbp_per_unit",
"gbp_per_m2",
];
export const costUnitEnum = pgEnum("cost_unit", CostUnit);
export const RValueUnit: [string, ...string[]] = [