mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-22 12:26:43 +02:00
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>
22 lines
476 B
TypeScript
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);
|
|
}
|
|
}
|