@dwtechs/antity-pgsql 0.3.1 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/dist/antity-pgsql.d.ts +2 -1
- package/dist/antity-pgsql.js +2 -0
- package/package.json +2 -2
package/README.md
CHANGED
package/dist/antity-pgsql.d.ts
CHANGED
|
@@ -25,6 +25,7 @@ https://github.com/DWTechs/Antity-pgsql.js
|
|
|
25
25
|
*/
|
|
26
26
|
|
|
27
27
|
import { Entity, Property } from "@dwtechs/antity";
|
|
28
|
+
import { Type } from "@dwtechs/antity";
|
|
28
29
|
import type { Request, Response, NextFunction } from 'express';
|
|
29
30
|
|
|
30
31
|
export type Operation = "SELECT" | "INSERT" | "UPDATE" | "DELETE";
|
|
@@ -37,11 +38,11 @@ export type Filter = {
|
|
|
37
38
|
subProps?: string[];
|
|
38
39
|
matchMode?: MatchMode;
|
|
39
40
|
};
|
|
41
|
+
export { Type };
|
|
40
42
|
export type LogicalOperator = "AND" | "OR";
|
|
41
43
|
export type Comparator = "=" | "<" | ">" | "<=" | ">=" | "<>" | "IS" | "IS NOT" | "IN" | "LIKE" | "NOT LIKE";
|
|
42
44
|
export type MatchMode = "startsWith" | "endsWith" | "contains" | "notContains" | "equals" | "notEquals" | "between" | "in" | "lt" | "lte" | "gt" | "gte" | "is" | "isNot" | "before" | "after" | "st_contains" | "st_dwithin";
|
|
43
45
|
export type MappedType = "string" | "number" | "date";
|
|
44
|
-
export type Type = "boolean" | "string" | "number" | "integer" | "float" | "even" | "odd" | "positive" | "negative" | "powerOfTwo" | "ascii" | "array" | "jwt" | "symbol" | "email" | "regex" | "json" | "ipAddress" | "slug" | "hexadecimal" | "date" | "timestamp" | "function" | "htmlElement" | "htmlEventAttribute" | "node" | "object" | "geometry";
|
|
45
46
|
export type Geometry = {
|
|
46
47
|
lng: number;
|
|
47
48
|
lat: number;
|
package/dist/antity-pgsql.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dwtechs/antity-pgsql",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"description": "Open source library for easy entity management",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"entities"
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@dwtechs/checkard": "3.2.3",
|
|
40
40
|
"@dwtechs/winstan": "0.4.0",
|
|
41
|
-
"@dwtechs/antity": "0.
|
|
41
|
+
"@dwtechs/antity": "0.10.0",
|
|
42
42
|
"@dwtechs/sparray": "0.2.0",
|
|
43
43
|
"pg": "8.13.1"
|
|
44
44
|
},
|