Add plugin framework and settings UI

This commit is contained in:
Dotta committed 2026-03-13 16:22:34 -05:00
1 parent 7e288d20fc
commit 80cdbdbd47
103 files changed
+31760 -35

No files matched your search

+2
View File
@@ -41,6 +41,8 @@ export const api = {
request<T>(path, { method: "POST", body: JSON.stringify(body) }),
postForm: <T>(path: string, body: FormData) =>
request<T>(path, { method: "POST", body }),
put: <T>(path: string, body: unknown) =>
request<T>(path, { method: "PUT", body: JSON.stringify(body) }),
patch: <T>(path: string, body: unknown) =>
request<T>(path, { method: "PATCH", body: JSON.stringify(body) }),
delete: <T>(path: string) => request<T>(path, { method: "DELETE" }),