chore : remove class-transformer

This commit is contained in:
2024-12-29 23:47:41 +01:00
parent 49adbdec5b
commit e9d5d8d909
9 changed files with 48 additions and 56 deletions
+5 -5
View File
@@ -2,25 +2,25 @@ import { WordResponseDTO } from './dto/wordresponse.dto';
export class WordCreateEvent {
type = 'create';
constructor(public word: WordResponseDTO) { }
constructor(public word: WordResponseDTO) {}
}
export class WordEditEvent {
type = 'edit';
constructor(public word: WordResponseDTO) { }
constructor(public word: WordResponseDTO) {}
}
export class WordDeleteEvent {
type = 'delete';
constructor(public id: number) { }
constructor(public id: number) {}
}
export class WordEnableEvent {
type = 'enable';
constructor(public id: number) { }
constructor(public id: number) {}
}
export class WordDisableEvent {
type = 'disable';
constructor(public id: number) { }
constructor(public id: number) {}
}