From 11ebeafdcdec8e3d7089c22ced3b56ba4f5f461e Mon Sep 17 00:00:00 2001 From: Robin Schanbacher Date: Thu, 6 Aug 2026 17:41:37 +0200 Subject: [PATCH] chore: wiki: automatic categories --- app/api/songbooks/route.ts | 2 ++ app/api/songs/[id]/route.ts | 2 ++ app/api/songs/attach/route.ts | 2 ++ app/api/songs/remove/route.ts | 2 ++ app/api/songs/route.ts | 2 ++ app/api/stream/currentID/route.ts | 2 ++ 6 files changed, 12 insertions(+) diff --git a/app/api/songbooks/route.ts b/app/api/songbooks/route.ts index b7e4b88..3d4d542 100644 --- a/app/api/songbooks/route.ts +++ b/app/api/songbooks/route.ts @@ -1,3 +1,5 @@ +// @wikiCategory: Liederbücher + import { NextResponse } from "next/server"; import { getSongbooks, addSongbook } from "@/lib/db/managing"; diff --git a/app/api/songs/[id]/route.ts b/app/api/songs/[id]/route.ts index 426ab1c..459ff28 100644 --- a/app/api/songs/[id]/route.ts +++ b/app/api/songs/[id]/route.ts @@ -1,3 +1,5 @@ +// @wikiCategory: Lieder + import { NextResponse } from "next/server"; import { getSongInfos } from "@/lib/db/managing"; diff --git a/app/api/songs/attach/route.ts b/app/api/songs/attach/route.ts index c4040e7..e401b64 100644 --- a/app/api/songs/attach/route.ts +++ b/app/api/songs/attach/route.ts @@ -1,3 +1,5 @@ +// @wikiCategory: Lieder + import { NextResponse } from "next/server"; import { attachSongToSongbook } from "@/lib/db/managing"; diff --git a/app/api/songs/remove/route.ts b/app/api/songs/remove/route.ts index 4702402..e589221 100644 --- a/app/api/songs/remove/route.ts +++ b/app/api/songs/remove/route.ts @@ -1,3 +1,5 @@ +// @wikiCategory: Lieder + import { NextResponse } from "next/server"; import { removeSongfromSongbook } from "@/lib/db/managing"; diff --git a/app/api/songs/route.ts b/app/api/songs/route.ts index 7276bb8..a48c80b 100644 --- a/app/api/songs/route.ts +++ b/app/api/songs/route.ts @@ -1,3 +1,5 @@ +// @wikiCategory: Lieder + import { NextResponse } from "next/server"; import { getSongs, addSongToSongbook } from "@/lib/db/managing"; diff --git a/app/api/stream/currentID/route.ts b/app/api/stream/currentID/route.ts index 3d33fab..31abe54 100644 --- a/app/api/stream/currentID/route.ts +++ b/app/api/stream/currentID/route.ts @@ -1,3 +1,5 @@ +// @wikiCategory: Stream + import { NextResponse } from "next/server"; import { getSong } from "@/lib/db/managing";