website refactor

This commit is contained in:
2026-01-16 13:48:18 +01:00
parent 20a42c52fd
commit 7e02fc3ea5
796 changed files with 1946 additions and 2545 deletions

View File

@@ -1,10 +1,10 @@
import { IValueObject } from "../../../shared/domain/ValueObject";
import { ValueObject } from "../../../shared/domain/ValueObject";
export interface DriverNameProps {
value: string;
}
export class DriverName implements IValueObject<DriverNameProps> {
export class DriverName implements ValueObject<DriverNameProps> {
private static readonly MIN_LENGTH = 1;
private static readonly MAX_LENGTH = 50;
private static readonly VALID_CHARACTERS = /^[a-zA-Z0-9\s\-_]+$/;