From f95e87b450d969dd1975f9cdcaf66cf605de1123 Mon Sep 17 00:00:00 2001 From: Moritz Utcke Date: Sat, 18 Oct 2025 11:53:39 -0400 Subject: [PATCH] Empfaenger --- bun.lock | 3 --- package.json | 1 - src/astro-typesafe-api-caller.ts | 10 ++++---- src/layouts/AusweisLayoutDaten.astro | 14 ----------- src/layouts/AusweisLayoutPruefung.astro | 16 ------------- src/layouts/BlankLayout.astro | 16 ------------- src/layouts/DashboardLayout.astro | 25 ------------------- src/layouts/Layout.astro | 13 ---------- src/modules/KundendatenModule.svelte | 6 ++--- src/pages/api/rechnung/[id].ts | 32 ++++++++++++++++++++----- src/pages/api/rechnung/index.ts | 4 ++++ 11 files changed, 38 insertions(+), 102 deletions(-) diff --git a/bun.lock b/bun.lock index 83435aed..004983ae 100644 --- a/bun.lock +++ b/bun.lock @@ -29,7 +29,6 @@ "fontkit": "^2.0.4", "handlebars": "^4.7.8", "heic2any": "^0.0.4", - "highlight.run": "^9.14.0", "is-base64": "^1.1.0", "js-cookie": "^3.0.5", "js-interpolate": "^1.3.2", @@ -1560,8 +1559,6 @@ "hexoid": ["hexoid@2.0.0", "", {}, "sha512-qlspKUK7IlSQv2o+5I7yhUd7TxlOG2Vr5LTa3ve2XSNVKAL/n/u/7KLvKmFNimomDIKvZFXWHv0T12mv7rT8Aw=="], - "highlight.run": ["highlight.run@9.14.0", "", {}, "sha512-ZR+ZLHlVU8lXqsuto0ZEMAOuvptaTBBf1jradnKDIn9OfAXupcYFbkASDlbsZtyBh2SYJSK50xwrucXujhksRg=="], - "hosted-git-info": ["hosted-git-info@2.8.9", "", {}, "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw=="], "hotkeys-js": ["hotkeys-js@3.13.9", "", {}, "sha512-3TRCj9u9KUH6cKo25w4KIdBfdBfNRjfUwrljCLDC2XhmPDG0SjAZFcFZekpUZFmXzfYoGhFDcdx2gX/vUVtztQ=="], diff --git a/package.json b/package.json index 37841004..e12bbb76 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,6 @@ "fontkit": "^2.0.4", "handlebars": "^4.7.8", "heic2any": "^0.0.4", - "highlight.run": "^9.14.0", "is-base64": "^1.1.0", "js-cookie": "^3.0.5", "js-interpolate": "^1.3.2", diff --git a/src/astro-typesafe-api-caller.ts b/src/astro-typesafe-api-caller.ts index 8c735c38..b5674389 100644 --- a/src/astro-typesafe-api-caller.ts +++ b/src/astro-typesafe-api-caller.ts @@ -12,28 +12,28 @@ export const createCaller = createCallerFactory({ "admin/nicht-ausstellen": await import("../src/pages/api/admin/nicht-ausstellen.ts"), "admin/registriernummer": await import("../src/pages/api/admin/registriernummer.ts"), "admin/stornieren": await import("../src/pages/api/admin/stornieren.ts"), + "ausweise": await import("../src/pages/api/ausweise/index.ts"), "aufnahme": await import("../src/pages/api/aufnahme/index.ts"), "auth/access-token": await import("../src/pages/api/auth/access-token.ts"), "auth/passwort-vergessen": await import("../src/pages/api/auth/passwort-vergessen.ts"), "auth/refresh-token": await import("../src/pages/api/auth/refresh-token.ts"), - "ausweise": await import("../src/pages/api/ausweise/index.ts"), "bedarfsausweis-gewerbe/[id]": await import("../src/pages/api/bedarfsausweis-gewerbe/[id].ts"), "bedarfsausweis-gewerbe": await import("../src/pages/api/bedarfsausweis-gewerbe/index.ts"), - "bedarfsausweis-wohnen/[id]": await import("../src/pages/api/bedarfsausweis-wohnen/[id].ts"), - "bedarfsausweis-wohnen": await import("../src/pages/api/bedarfsausweis-wohnen/index.ts"), - "bilder/[id]": await import("../src/pages/api/bilder/[id].ts"), "geg-nachweis-gewerbe/[id]": await import("../src/pages/api/geg-nachweis-gewerbe/[id].ts"), "geg-nachweis-gewerbe": await import("../src/pages/api/geg-nachweis-gewerbe/index.ts"), + "bilder/[id]": await import("../src/pages/api/bilder/[id].ts"), "geg-nachweis-wohnen/[id]": await import("../src/pages/api/geg-nachweis-wohnen/[id].ts"), "geg-nachweis-wohnen": await import("../src/pages/api/geg-nachweis-wohnen/index.ts"), + "bedarfsausweis-wohnen/[id]": await import("../src/pages/api/bedarfsausweis-wohnen/[id].ts"), + "bedarfsausweis-wohnen": await import("../src/pages/api/bedarfsausweis-wohnen/index.ts"), "objekt": await import("../src/pages/api/objekt/index.ts"), "rechnung/[id]": await import("../src/pages/api/rechnung/[id].ts"), "rechnung/anfordern": await import("../src/pages/api/rechnung/anfordern.ts"), "rechnung": await import("../src/pages/api/rechnung/index.ts"), - "ticket": await import("../src/pages/api/ticket/index.ts"), "user/autocreate": await import("../src/pages/api/user/autocreate.ts"), "user": await import("../src/pages/api/user/index.ts"), "user/self": await import("../src/pages/api/user/self.ts"), + "ticket": await import("../src/pages/api/ticket/index.ts"), "verbrauchsausweis-wohnen/[id]": await import("../src/pages/api/verbrauchsausweis-wohnen/[id].ts"), "verbrauchsausweis-wohnen": await import("../src/pages/api/verbrauchsausweis-wohnen/index.ts"), "verbrauchsausweis-gewerbe/[id]": await import("../src/pages/api/verbrauchsausweis-gewerbe/[id].ts"), diff --git a/src/layouts/AusweisLayoutDaten.astro b/src/layouts/AusweisLayoutDaten.astro index db6f2fa2..07345175 100644 --- a/src/layouts/AusweisLayoutDaten.astro +++ b/src/layouts/AusweisLayoutDaten.astro @@ -18,20 +18,6 @@ const { title } = Astro.props; --- - diff --git a/src/layouts/BlankLayout.astro b/src/layouts/BlankLayout.astro index 128dfeb4..b38aa5a1 100644 --- a/src/layouts/BlankLayout.astro +++ b/src/layouts/BlankLayout.astro @@ -34,22 +34,6 @@ const schema = JSON.stringify({ }); --- - - diff --git a/src/layouts/DashboardLayout.astro b/src/layouts/DashboardLayout.astro index e07deb53..126c448c 100644 --- a/src/layouts/DashboardLayout.astro +++ b/src/layouts/DashboardLayout.astro @@ -45,31 +45,6 @@ const schema = JSON.stringify({ let lightTheme = Astro.cookies.get("theme")?.value === "light"; --- - - diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index e5630c35..add13866 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -19,19 +19,6 @@ const { title } = Astro.props; ---