Updates
This commit is contained in:
Vendored
+8
-2
@@ -1444,9 +1444,15 @@ export type ResponseQueryObject = {
|
||||
sql?: string;
|
||||
params?: (string | number)[];
|
||||
};
|
||||
export type APIResponseObject<T extends any = any> = {
|
||||
export type APIResponseObject<T extends {
|
||||
[k: string]: any;
|
||||
} = {
|
||||
[k: string]: any;
|
||||
}> = {
|
||||
success: boolean;
|
||||
payload?: T;
|
||||
payload?: T[] | null;
|
||||
singleRes?: T | null;
|
||||
postInsertReturn?: PostInsertReturn | null;
|
||||
payloadBase64?: string;
|
||||
payloadThumbnailBase64?: string;
|
||||
payloadURL?: string;
|
||||
|
||||
Reference in New Issue
Block a user