mirror of
https://github.com/Hestia-Homes/assessment-model.git
synced 2026-06-08 11:37:25 +00:00
added cavity wall insulation as material type to db
This commit is contained in:
parent
f23812130f
commit
99ed655ec8
5 changed files with 1308 additions and 0 deletions
|
|
@ -55,6 +55,8 @@ export async function POST(request: NextRequest) {
|
|||
// status: 200,
|
||||
// });
|
||||
|
||||
console.log("Triggering plan with body: ", validatedBody);
|
||||
|
||||
// For the moment, we don't await any response from the backend, since we haven't split out the trigger
|
||||
fetch(`${process.env.FASTAPI_API_URL}/v1/plan/trigger`, {
|
||||
method: "POST",
|
||||
|
|
|
|||
1
src/app/db/migrations/0038_conscious_paper_doll.sql
Normal file
1
src/app/db/migrations/0038_conscious_paper_doll.sql
Normal file
|
|
@ -0,0 +1 @@
|
|||
ALTER TYPE "type" ADD VALUE 'cavity_wall_insulation';
|
||||
1297
src/app/db/migrations/meta/0038_snapshot.json
Normal file
1297
src/app/db/migrations/meta/0038_snapshot.json
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -267,6 +267,13 @@
|
|||
"when": 1692623678223,
|
||||
"tag": "0037_awesome_harry_osborn",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 38,
|
||||
"version": "5",
|
||||
"when": 1696820822620,
|
||||
"tag": "0038_conscious_paper_doll",
|
||||
"breakpoints": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -14,6 +14,7 @@ export const MaterialType: [string, ...string[]] = [
|
|||
"solid_floor_insulation",
|
||||
"external_wall_insulation",
|
||||
"internal_wall_insulation",
|
||||
"cavity_wall_insulation",
|
||||
];
|
||||
export const materialTypeEnum = pgEnum("type", MaterialType);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue