Updates
This commit is contained in:
@@ -291,9 +291,9 @@ export interface UpdateUserFunctionReturn {
|
||||
payload?: Object[] | string;
|
||||
}
|
||||
|
||||
export interface GetReturn {
|
||||
export interface GetReturn<R extends any = any> {
|
||||
success: boolean;
|
||||
payload?: any;
|
||||
payload?: R;
|
||||
msg?: string;
|
||||
error?: string;
|
||||
schema?: DSQL_TableSchemaType;
|
||||
@@ -1092,7 +1092,13 @@ export type FetchApiReturn = {
|
||||
};
|
||||
|
||||
export const ServerQueryOperators = ["AND", "OR"] as const;
|
||||
export const ServerQueryEqualities = ["EQUAL", "LIKE", "NOT EQUAL"] as const;
|
||||
export const ServerQueryEqualities = [
|
||||
"EQUAL",
|
||||
"LIKE",
|
||||
"NOT EQUAL",
|
||||
"REGEXP",
|
||||
"FULLTEXT",
|
||||
] as const;
|
||||
|
||||
export type ServerQueryParam<
|
||||
T extends { [k: string]: any } = { [k: string]: any }
|
||||
@@ -1295,6 +1301,7 @@ export type HandleSocialDbFunctionParams = {
|
||||
additionalFields?: string[];
|
||||
debug?: boolean;
|
||||
loginOnly?: boolean;
|
||||
social_id?: string | number;
|
||||
};
|
||||
|
||||
export type HandleSocialDbFunctionReturn = {
|
||||
|
||||
Reference in New Issue
Block a user