mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-17 16:29:40 +02:00
Remove unused themes API from auth service: - Delete themes.schema.ts database schema - Delete themes.controller.ts, themes.service.ts, themes.module.ts - Remove ThemesModule from app.module.ts imports - Remove themes schema export from db/schema/index.ts Custom themes are no longer supported - the built-in theme variants provide sufficient customization options. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
44 lines
1.2 KiB
TypeScript
44 lines
1.2 KiB
TypeScript
import { Module } from '@nestjs/common';
|
|
import { ConfigModule } from '@nestjs/config';
|
|
import { ThrottlerModule } from '@nestjs/throttler';
|
|
import { APP_FILTER } from '@nestjs/core';
|
|
import configuration from './config/configuration';
|
|
import { AuthModule } from './auth/auth.module';
|
|
import { CreditsModule } from './credits/credits.module';
|
|
import { FeedbackModule } from './feedback/feedback.module';
|
|
import { ReferralsModule } from './referrals/referrals.module';
|
|
import { SettingsModule } from './settings/settings.module';
|
|
import { TagsModule } from './tags/tags.module';
|
|
import { AiModule } from './ai/ai.module';
|
|
import { HealthModule } from './health/health.module';
|
|
import { HttpExceptionFilter } from './common/filters/http-exception.filter';
|
|
|
|
@Module({
|
|
imports: [
|
|
ConfigModule.forRoot({
|
|
isGlobal: true,
|
|
load: [configuration],
|
|
}),
|
|
ThrottlerModule.forRoot([
|
|
{
|
|
ttl: 60000, // 60 seconds
|
|
limit: 100, // 100 requests per minute
|
|
},
|
|
]),
|
|
AiModule,
|
|
AuthModule,
|
|
CreditsModule,
|
|
FeedbackModule,
|
|
HealthModule,
|
|
ReferralsModule,
|
|
SettingsModule,
|
|
TagsModule,
|
|
],
|
|
providers: [
|
|
{
|
|
provide: APP_FILTER,
|
|
useClass: HttpExceptionFilter,
|
|
},
|
|
],
|
|
})
|
|
export class AppModule {}
|