feat(web): useCreateFieldDefinition mutation + MSW handler

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-04 14:16:55 +02:00
parent df8f31d14d
commit 6ad1304efd
3 changed files with 61 additions and 0 deletions
+4
View File
@@ -68,4 +68,8 @@ export const handlers = [
http.post("/api/admin/logout", () => new HttpResponse(null, { status: 204 })),
http.post("/api/admin/objects/:id/visibility", () => new HttpResponse(null, { status: 204 })),
http.post("/api/admin/field-definitions", () =>
HttpResponse.json({ key: "new_field" }, { status: 201 }),
),
];