From 5820d439e6466485db801891510fd717509c279d Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Sat, 15 Feb 2025 15:36:22 +0100 Subject: [PATCH] Move benchmark endpoint --- apps/api/src/app/app.module.ts | 2 +- .../benchmarks}/benchmarks.controller.ts | 0 .../{benchmark => endpoints/benchmarks}/benchmarks.module.ts | 0 .../{benchmark => endpoints/benchmarks}/benchmarks.service.ts | 0 4 files changed, 1 insertion(+), 1 deletion(-) rename apps/api/src/app/{benchmark => endpoints/benchmarks}/benchmarks.controller.ts (100%) rename apps/api/src/app/{benchmark => endpoints/benchmarks}/benchmarks.module.ts (100%) rename apps/api/src/app/{benchmark => endpoints/benchmarks}/benchmarks.service.ts (100%) diff --git a/apps/api/src/app/app.module.ts b/apps/api/src/app/app.module.ts index 38dbe9477..2a515bf43 100644 --- a/apps/api/src/app/app.module.ts +++ b/apps/api/src/app/app.module.ts @@ -29,10 +29,10 @@ import { AppController } from './app.controller'; import { AssetModule } from './asset/asset.module'; import { AuthDeviceModule } from './auth-device/auth-device.module'; import { AuthModule } from './auth/auth.module'; -import { BenchmarksModule } from './benchmark/benchmarks.module'; import { CacheModule } from './cache/cache.module'; import { AiModule } from './endpoints/ai/ai.module'; import { ApiKeysModule } from './endpoints/api-keys/api-keys.module'; +import { BenchmarksModule } from './endpoints/benchmarks/benchmarks.module'; import { GhostfolioModule } from './endpoints/data-providers/ghostfolio/ghostfolio.module'; import { MarketDataModule } from './endpoints/market-data/market-data.module'; import { PublicModule } from './endpoints/public/public.module'; diff --git a/apps/api/src/app/benchmark/benchmarks.controller.ts b/apps/api/src/app/endpoints/benchmarks/benchmarks.controller.ts similarity index 100% rename from apps/api/src/app/benchmark/benchmarks.controller.ts rename to apps/api/src/app/endpoints/benchmarks/benchmarks.controller.ts diff --git a/apps/api/src/app/benchmark/benchmarks.module.ts b/apps/api/src/app/endpoints/benchmarks/benchmarks.module.ts similarity index 100% rename from apps/api/src/app/benchmark/benchmarks.module.ts rename to apps/api/src/app/endpoints/benchmarks/benchmarks.module.ts diff --git a/apps/api/src/app/benchmark/benchmarks.service.ts b/apps/api/src/app/endpoints/benchmarks/benchmarks.service.ts similarity index 100% rename from apps/api/src/app/benchmark/benchmarks.service.ts rename to apps/api/src/app/endpoints/benchmarks/benchmarks.service.ts