This commit is contained in:
Benjamin Toby
2024-12-17 18:39:50 +01:00
parent 4b8e8de71f
commit a2ba913340
5 changed files with 16 additions and 10 deletions
+5 -3
View File
@@ -864,12 +864,13 @@ export interface MYSQL_delegated_user_tables_table_def {
date_updated_timestamp?: string;
}
export type ApiKeyObject = {
user_id: string | number;
user_id?: string | number;
full_access?: boolean;
sign: string;
date_code: number;
sign?: string;
date_code?: number;
target_database?: string;
target_table?: string;
error?: string;
};
export type AddApiKeyRequestBody = {
api_key_name: string;
@@ -884,6 +885,7 @@ export type CheckApiCredentialsFnParam = {
database?: string;
table?: string;
user_id?: string | number;
media?: boolean;
};
export type FetchApiFn = (url: string, options?: FetchApiOptions, csrf?: boolean) => Promise<any>;
export type FetchApiOptions = RequestInit & {
+5 -3
View File
@@ -1020,12 +1020,13 @@ export interface MYSQL_delegated_user_tables_table_def {
}
export type ApiKeyObject = {
user_id: string | number;
user_id?: string | number;
full_access?: boolean;
sign: string;
date_code: number;
sign?: string;
date_code?: number;
target_database?: string;
target_table?: string;
error?: string;
};
export type AddApiKeyRequestBody = {
@@ -1044,6 +1045,7 @@ export type CheckApiCredentialsFnParam = {
database?: string;
table?: string;
user_id?: string | number;
media?: boolean;
};
export type FetchApiFn = (