Updates
This commit is contained in:
Vendored
+4
-3
@@ -277,9 +277,9 @@ export interface UpdateUserFunctionReturn {
|
||||
success: boolean;
|
||||
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;
|
||||
@@ -942,7 +942,7 @@ export type FetchApiReturn = {
|
||||
[key: string]: any;
|
||||
};
|
||||
export declare const ServerQueryOperators: readonly ["AND", "OR"];
|
||||
export declare const ServerQueryEqualities: readonly ["EQUAL", "LIKE", "NOT EQUAL"];
|
||||
export declare const ServerQueryEqualities: readonly ["EQUAL", "LIKE", "NOT EQUAL", "REGEXP", "FULLTEXT"];
|
||||
export type ServerQueryParam<T extends {
|
||||
[k: string]: any;
|
||||
} = {
|
||||
@@ -1120,6 +1120,7 @@ export type HandleSocialDbFunctionParams = {
|
||||
additionalFields?: string[];
|
||||
debug?: boolean;
|
||||
loginOnly?: boolean;
|
||||
social_id?: string | number;
|
||||
};
|
||||
export type HandleSocialDbFunctionReturn = {
|
||||
success: boolean;
|
||||
|
||||
Vendored
+7
-1
@@ -12,6 +12,12 @@ exports.TextFieldTypesArray = [
|
||||
{ title: "Shell", value: "shell" },
|
||||
];
|
||||
exports.ServerQueryOperators = ["AND", "OR"];
|
||||
exports.ServerQueryEqualities = ["EQUAL", "LIKE", "NOT EQUAL"];
|
||||
exports.ServerQueryEqualities = [
|
||||
"EQUAL",
|
||||
"LIKE",
|
||||
"NOT EQUAL",
|
||||
"REGEXP",
|
||||
"FULLTEXT",
|
||||
];
|
||||
exports.DataCrudRequestMethods = ["GET", "POST", "PUT", "DELETE"];
|
||||
exports.DsqlCrudActions = ["insert", "update", "delete", "get"];
|
||||
|
||||
Reference in New Issue
Block a user