This commit is contained in:
2025-11-17 11:12:19 +01:00
parent 5fcfc4dc2c
commit 8eebe3215a
8 changed files with 31 additions and 19 deletions
+7 -4
View File
@@ -1633,6 +1633,11 @@ export type PagePropsType = {
docsPageEditURL?: string | null;
};
export type ResponseQueryObject = {
sql?: string;
params?: string[];
};
export type APIResponseObject<T extends any = any> = {
success: boolean;
payload?: T;
@@ -1642,10 +1647,8 @@ export type APIResponseObject<T extends any = any> = {
payloadThumbnailURL?: string;
error?: any;
msg?: string;
queryObject?: {
sql?: string;
params?: string[];
};
queryObject?: ResponseQueryObject;
countQueryObject?: ResponseQueryObject;
status?: number;
count?: number;
errors?: DSQLErrorObject[];