working on words

This commit is contained in:
2024-12-29 12:04:19 +01:00
commit 03d4a1ba26
8 changed files with 166 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
import { Expose } from 'class-transformer';
export class UserResponseDTO {
constructor(partial: Partial<UserResponseDTO>) {
Object.assign(this, partial);
this.id = partial.id;
}
@Expose()
id: string;
@Expose()
username: string;
@Expose()
avatar: string;
}