communication type typing

This commit is contained in:
Julian Krauser 2024-09-18 09:43:02 +02:00
parent f673dec5fa
commit 72c47ba212
5 changed files with 34 additions and 8 deletions

10
src/type/fieldTypes.ts Normal file
View file

@ -0,0 +1,10 @@
export type CommunicationFieldType = "mobile" | "email" | "city" | "street" | "streetNumber" | "streetNumberAddition";
export const communicationFieldTypes: Array<CommunicationFieldType> = [
"mobile",
"email",
"city",
"street",
"streetNumber",
"streetNumberAddition",
];