dee96b6e91
- 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.
14 lines
485 B
TypeScript
14 lines
485 B
TypeScript
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(): Promise<TranslateServiceGetTranslationsResponseDto> {
|
|
return this.translateService.getTranslations()
|
|
}
|
|
}
|