@favid-inc/api
Advanced tools
Comparing version 3.4.4 to 3.4.5
@@ -21,2 +21,3 @@ import { Model } from "../model"; | ||
method: "GET"; | ||
query?: FindArgs; | ||
}; | ||
@@ -48,1 +49,18 @@ Response: T | { | ||
} | ||
interface WhereElement { | ||
attr: string; | ||
exp: "LIKE" | "IN" | "IS" | ">" | ">=" | "=" | "<=" | "<"; | ||
value: any; | ||
negate?: boolean; | ||
} | ||
interface OrderByElement { | ||
attr: string; | ||
exp?: "ASC" | "DESC"; | ||
} | ||
interface FindArgs { | ||
limit?: number; | ||
offset?: number; | ||
where?: WhereElement[]; | ||
orderBy?: OrderByElement[]; | ||
} | ||
export {}; |
{ | ||
"name": "@favid-inc/api", | ||
"version": "3.4.4", | ||
"version": "3.4.5", | ||
"description": "API for Favid Project", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/favid-inc/api#readme", |
9892
335