refactor: improve formatting, type safety, and component organization
- Adjusted inconsistent formatting for better readability across components and services. - Enhanced type safety by adding placeholders for ignored error parameters and improving types across services. - Improved component organization by reordering imports consistently and applying formatting updates in UI components.
This commit is contained in:
@@ -12,7 +12,8 @@ export class RegisterDto {
|
||||
@IsNotEmpty()
|
||||
@MaxLength(32)
|
||||
@Matches(/^[a-z0-9_]+$/, {
|
||||
message: "username must contain only lowercase letters, numbers, and underscores",
|
||||
message:
|
||||
"username must contain only lowercase letters, numbers, and underscores",
|
||||
})
|
||||
username!: string;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user