Initial commit with decorator router, and some basic subsonic api code

This commit is contained in:
2026-04-08 19:40:39 +01:00
commit 8e5a8d073f
19 changed files with 1178 additions and 0 deletions
@@ -0,0 +1,13 @@
import {SubsonicErrorCode} from "../../enum/SubsonicErrorCode";
import {JsonResponder} from "./json-responder";
export class JsonPResponder {
static renderError(code: SubsonicErrorCode, message: string, callback: string): string {
const json = JsonResponder.renderError(code, message);
return `${callback}(${json});`;
}
static createResponse(element: string | null): string {
return '';
}
}