added first searchmodal draft

This commit is contained in:
2026-06-24 00:58:45 +02:00
parent a542d23c00
commit b7bc8f5525
9 changed files with 175 additions and 53 deletions
+9
View File
@@ -0,0 +1,9 @@
import { apiFetch } from "./client";
import type { AuthResponse } from "../types/connection";
import type { SearchRequest } from "../types/search";
export const search = (req: SearchRequest) =>
apiFetch<AuthResponse>("/search", {
method: "POST",
body: JSON.stringify(req),
});