Updates
This commit is contained in:
Vendored
+1
-1
@@ -885,7 +885,7 @@ export type CheckApiCredentialsFnParam = {
|
||||
table?: string;
|
||||
user_id?: string | number;
|
||||
};
|
||||
export type FetchApiFn = (url: string, options?: FetchApiOptions, contentType?: "json" | "text" | "html" | "blob" | "file") => Promise<any>;
|
||||
export type FetchApiFn = (url: string, options?: FetchApiOptions, csrf?: boolean) => Promise<any>;
|
||||
export type FetchApiOptions = RequestInit & {
|
||||
method: "POST" | "GET" | "DELETE" | "PUT" | "PATCH" | "post" | "get" | "delete" | "put" | "patch";
|
||||
body?: object | string;
|
||||
|
||||
@@ -1049,7 +1049,7 @@ export type CheckApiCredentialsFnParam = {
|
||||
export type FetchApiFn = (
|
||||
url: string,
|
||||
options?: FetchApiOptions,
|
||||
contentType?: "json" | "text" | "html" | "blob" | "file"
|
||||
csrf?: boolean
|
||||
) => Promise<any>;
|
||||
|
||||
export type FetchApiOptions = RequestInit & {
|
||||
|
||||
Reference in New Issue
Block a user