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 { return this.translateService.getTranslations() } }