aktueller stand

This commit is contained in:
torbinus
2026-09-17 16:02:51 +02:00
parent 7e51514383
commit 065cb8b64f
295 changed files with 642342 additions and 1059 deletions
+20
View File
@@ -0,0 +1,20 @@
import { medusaFetch } from "./medusa";
export interface ContactRequest {
quelle: string;
name: string;
email: string;
nachricht: string;
datenschutz: boolean;
/** Die unsichtbare Falle. Bleibt beim Menschen leer. */
website?: string;
seite?: string;
}
/** Schickt eine Anfrage an den Shop. Wirft mit der Meldung des Backends. */
export async function sendContactRequest(anfrage: ContactRequest): Promise<void> {
await medusaFetch("/store/contact", {
method: "POST",
body: JSON.stringify(anfrage),
});
}