This commit is contained in:
2025-12-26 12:08:45 +01:00
parent f95cf21ffd
commit 5caa604b8f
9 changed files with 20 additions and 36 deletions
+3 -3
View File
@@ -792,12 +792,12 @@ export type FetchApiFn = (url: string, options?: FetchApiOptions, csrf?: boolean
export type FetchApiOptions = RequestInit & {
method: (typeof DataCrudRequestMethods)[number] | (typeof DataCrudRequestMethodsLowerCase)[number];
body?: object | string;
headers?: FetchHeader;
headers?: DSQLClientFetchHeader;
query?: {
[key: string]: any;
};
};
type FetchHeader = HeadersInit & {
export type DSQLClientFetchHeader = HeadersInit & {
[key: string]: any;
};
export type FetchApiReturn = {
@@ -2298,5 +2298,5 @@ export type ClientCrudFetchParams<T extends {
basePath?: string;
targetId?: string | number | null;
apiOrigin?: string;
headers?: DSQLClientFetchHeader;
};
export {};