Merge Konflict

Ist jetzt auf stand von main
This commit is contained in:
Rudi committed 2026-08-27 15:18:38 +02:00
commit f026db0b68
21 files changed
+1044 -5601

No files matched your search

+6
View File
@@ -1,3 +1,5 @@
// @wikiCategory: Liederbücher
import { NextResponse } from "next/server";
import { getSongBooks, searchSongBooksByTitle, createSongBook } from "@/lib/db/songbook";
@@ -13,6 +15,8 @@ import { getSongBooks, searchSongBooksByTitle, createSongBook } from "@/lib/db/s
* description: List of songbooks
* 500:
* description: Internal Server Error
*
* @wikiDescription: Liste aller Liederbücher abrufen
*/
export async function GET(request: Request) {
try {
@@ -100,6 +104,8 @@ export async function GET(request: Request) {
* description: Conflict (title already exists)
* 500:
* description: Internal Server Error
*
* @wikiDescription: Neues Liederbuch erstellen
*/
export async function POST(request: Request) {
try {
+3
View File
@@ -1,7 +1,10 @@
// @wikiCategory: Lieder
import { NextResponse } from "next/server";
import { getSongs, searchSongsByTitle, createSong, } from "@/lib/db/song";
/**
* @openapi
* /api/songs:
+4
View File
@@ -1,3 +1,5 @@
// @wikiCategory: Stream
import { NextResponse } from "next/server";
import { getSong } from "@/lib/db/managing";
@@ -8,10 +10,12 @@ let currentSong = {
title: ""
};
// @wikiDescription: Akutell gestreamtes Lied abrufen
export async function GET() {
return NextResponse.json(currentSong)
}
// @wikiDescription: Lied zum Streamen festlegen
export async function POST(request: Request) {
try {
const data = await request.json();