feat: add response DTOs for various services across modules
- Created response DTOs for ConfigService, AppService, AuthService, CatalogsService, AccountsService, BusinessActivityComplexesService, ComplexPosesService, SalesInvoicesService, BusinessActivitiesService, ConsumerBusinessActivityGoodsService, and others. - Implemented Create, FindAll, FindOne, and Update response types for services in consumer, partners, and POS modules. - Added request DTOs for creating and updating goods in the consumer business activities module. - Introduced filtering DTO for partner licenses. - Enhanced response mapping for partner license activations.
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
import { Controller, Get } from '@nestjs/common'
|
||||
import { TranslateService } from './translate.service'
|
||||
import type { TranslateServiceGetTranslationsResponseDto } from './dto/translate-response.dto'
|
||||
|
||||
@Controller('admin/translates')
|
||||
export class TranslateController {
|
||||
constructor(private readonly translateService: TranslateService) {}
|
||||
|
||||
@Get()
|
||||
async getTranslations() {
|
||||
async getTranslations(): Promise<TranslateServiceGetTranslationsResponseDto> {
|
||||
return this.translateService.getTranslations()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user