This commit is contained in:
2025-12-26 13:16:11 +01:00
parent f1e0aa9fc4
commit 27887ded41
6 changed files with 44 additions and 70 deletions
+20
View File
@@ -2961,3 +2961,23 @@ export type ClientCrudFetchParams<
apiOrigin?: string;
headers?: DSQLClientFetchHeader;
};
export type DSQLFetchApiOptions<
T extends { [k: string]: any } = { [k: string]: any }
> = {
method:
| "POST"
| "GET"
| "DELETE"
| "PUT"
| "PATCH"
| "post"
| "get"
| "delete"
| "put"
| "patch";
body?: T | string;
headers?: DSQLClientFetchHeader;
csrfValue?: string;
csrfKey?: string;
};