Klimafaktoren

This commit is contained in:
Moritz Utcke
2025-02-22 11:11:57 +11:00
parent d3ca67399c
commit 412d2dc7ef
9 changed files with 2146528 additions and 10 deletions

View File

@@ -5,7 +5,7 @@
import { PrismaClient } from "@prisma/client";
import crypto from "node:crypto";
import { faker } from "@faker-js/faker";
import { Enums } from "../src/types";
import { Enums } from "../src/lib/client/prisma";
import moment from "moment";
function hashPassword(password: string): string {
@@ -160,7 +160,7 @@ for (let i = 0; i < 10; i++) {
id: benutzer.id,
},
},
verbrauchsausweis_wohnen: {
verbrauchsausweise_wohnen: {
create: {
benutzer: {
connect: {
@@ -367,7 +367,6 @@ export async function verbrauchsausweisWohnenImportTranslate(
// Also müssen wir hier 1 abziehen
startdatum,
warmwasser_anteil_bekannt: ausweis.warmwasser_anteil_bekannt ? true : false,
wird_gekuehlt: ausweis.wird_gekuehlt ? true : false,
zusaetzliche_heizquelle: ausweis.zusaetzliche_heizquelle ? true : false,
},
}