refactor: items services to Nestjs

This commit is contained in:
Ahmed Bouhuolia
2024-12-15 15:23:46 +02:00
parent 0a112c5655
commit 87e9cd64e8
21 changed files with 812 additions and 21 deletions

View File

@@ -8,7 +8,7 @@ import { ItemTransformer } from './Item.transformer';
@Injectable()
export class GetItemService {
constructor(
@Inject(Item)
@Inject(Item.name)
private itemModel: typeof Item,
private eventEmitter2: EventEmitter2,
private transformerInjectable: TransformerInjectable,