diff --git a/app/models/flows/geldEinklagenFormular/context.ts b/app/models/flows/geldEinklagenFormular/context.ts index a8fe89604..d7996c925 100644 --- a/app/models/flows/geldEinklagenFormular/context.ts +++ b/app/models/flows/geldEinklagenFormular/context.ts @@ -10,7 +10,6 @@ import { adresse, namePrivatPerson, persoenlicheDaten, - titleSchema, } from "../persoenlicheDaten/context"; export const context = { @@ -18,9 +17,7 @@ export const context = { ...namePrivatPerson, ...persoenlicheDaten, ...adresse, - titel: titleSchema, //TODO: remove and replace by persoenlicheDaten.title after merge volljaerig: YesNoAnswer, - strasse: inputRequiredSchema, // TODO: replace by adresse.strasseHausnummer after merge gesetzlicheVertretung: YesNoAnswer, gegenseite: z .object({ diff --git a/app/models/flows/persoenlicheDaten/context.ts b/app/models/flows/persoenlicheDaten/context.ts index ba2749b40..47df5b48d 100644 --- a/app/models/flows/persoenlicheDaten/context.ts +++ b/app/models/flows/persoenlicheDaten/context.ts @@ -4,7 +4,7 @@ import { inputRequiredSchema } from "~/services/validation/inputRequired"; import { phoneNumberSchema } from "~/services/validation/phoneNumber"; import { postcodeSchema } from "~/services/validation/postcode"; -export const titleSchema = z.enum(["", "dr"]); +const titleSchema = z.enum(["", "dr"]); export const adresse = { strasseHausnummer: inputRequiredSchema,