managarten/apps-archived/presi/apps/backend/src/theme/theme.controller.ts
Till-JS 44897ae758 chore: archive inventory, presi, storage apps
Move these apps to apps-archived/ as they are not actively developed:
- inventory: Inventory management app
- presi: Presentation tool
- storage: Cloud storage app

These can be reactivated by moving back to apps/ when needed.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-05 15:22:38 +01:00

22 lines
476 B
TypeScript

import { Controller, Get, Param } from '@nestjs/common';
import { ThemeService } from './theme.service';
@Controller('themes')
export class ThemeController {
constructor(private readonly themeService: ThemeService) {}
@Get()
async findAll() {
return this.themeService.findAll();
}
@Get('default')
async findDefault() {
return this.themeService.findDefault();
}
@Get(':id')
async findOne(@Param('id') id: string) {
return this.themeService.findOne(id);
}
}