feat: enforce physical characteristics for seafarer profiles and add dynamic validation and form support

This commit is contained in:
estifanos
2026-08-20 10:17:35 +00:00
parent bc31cec0b2
commit 12daba2951
6 changed files with 208 additions and 8 deletions

View File

@@ -87,6 +87,11 @@ export interface CurrentProfile {
seafarerStatus?: 'ACTIVE' | 'INACTIVE' | 'PENDING' | 'SUSPENDED' | null;
seafarerDepartment?: 'DECK' | 'ENGINE' | 'CATERING' | null;
seafarerStatusReason?: string | null;
/** Identifying particulars for the Seaman Book. Left blank by choice. */
bloodType?: string | null;
hairColor?: string | null;
eyeColor?: string | null;
heightCm?: number | null;
user: AuthUser;
address: CurrentProfileAddress;
profession: CurrentProfileProfession;