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
+11
View File
@@ -2300,3 +2300,14 @@ export type ClientCrudFetchParams<T extends {
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;
};