Updates
This commit is contained in:
Vendored
+12
-7
@@ -923,18 +923,23 @@ export type ServerQueryParam = {
|
||||
fieldName: string;
|
||||
};
|
||||
join?: ServerQueryParamsJoin[];
|
||||
} & {
|
||||
[key: string]: any;
|
||||
};
|
||||
export type ServerQueryObject<T extends object = {
|
||||
[key: string]: any;
|
||||
}> = {
|
||||
value?: string | string[];
|
||||
operator?: "AND" | "OR";
|
||||
equality?: "EQUAL" | "LIKE" | "NOT EQUAL";
|
||||
tableName?: string;
|
||||
__query?: {
|
||||
[key in keyof T]: Omit<ServerQueryObject<T>, "__query">;
|
||||
};
|
||||
};
|
||||
export type ServerQueryQueryObject<T extends object = {
|
||||
[key: string]: any;
|
||||
}> = {
|
||||
[key in keyof T]: {
|
||||
value: string | string[];
|
||||
operator?: "AND" | "OR";
|
||||
equality?: "EQUAL" | "LIKE" | "NOT EQUAL";
|
||||
tableName?: string;
|
||||
};
|
||||
[key in keyof T]: ServerQueryObject<T>;
|
||||
};
|
||||
export type FetchDataParams = {
|
||||
path: string;
|
||||
|
||||
@@ -1101,18 +1101,22 @@ export type ServerQueryParam = {
|
||||
fieldName: string;
|
||||
};
|
||||
join?: ServerQueryParamsJoin[];
|
||||
} & {
|
||||
[key: string]: any;
|
||||
};
|
||||
|
||||
export type ServerQueryObject<T extends object = { [key: string]: any }> = {
|
||||
value?: string | string[];
|
||||
operator?: "AND" | "OR";
|
||||
equality?: "EQUAL" | "LIKE" | "NOT EQUAL";
|
||||
tableName?: string;
|
||||
__query?: {
|
||||
[key in keyof T]: Omit<ServerQueryObject<T>, "__query">;
|
||||
};
|
||||
};
|
||||
|
||||
export type ServerQueryQueryObject<T extends object = { [key: string]: any }> =
|
||||
{
|
||||
[key in keyof T]: {
|
||||
value: string | string[];
|
||||
operator?: "AND" | "OR";
|
||||
equality?: "EQUAL" | "LIKE" | "NOT EQUAL";
|
||||
tableName?: string;
|
||||
};
|
||||
[key in keyof T]: ServerQueryObject<T>;
|
||||
};
|
||||
|
||||
export type FetchDataParams = {
|
||||
|
||||
Reference in New Issue
Block a user