@punks/backend-entity-manager 0.0.237 → 0.0.238
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/dist/cjs/index.js +9 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/integrations/repository/typeorm/clause.d.ts +3 -0
- package/dist/cjs/types/platforms/nest/__test__/server/entities/foos/foo.types.d.ts +1 -0
- package/dist/esm/index.js +9 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/integrations/repository/typeorm/clause.d.ts +3 -0
- package/dist/esm/types/platforms/nest/__test__/server/entities/foos/foo.types.d.ts +1 -0
- package/dist/index.d.ts +3 -0
- package/package.json +6 -2
|
@@ -6,6 +6,7 @@ export type NumericFilter = {
|
|
|
6
6
|
lt?: number;
|
|
7
7
|
lte?: number;
|
|
8
8
|
isNull?: boolean;
|
|
9
|
+
notIn?: number[];
|
|
9
10
|
};
|
|
10
11
|
export type StringFilter = {
|
|
11
12
|
gt?: string;
|
|
@@ -40,6 +41,8 @@ export type BooleanFilter = {
|
|
|
40
41
|
eq?: boolean;
|
|
41
42
|
ne?: boolean;
|
|
42
43
|
isNull?: boolean;
|
|
44
|
+
in?: boolean[];
|
|
45
|
+
notIn?: boolean[];
|
|
43
46
|
};
|
|
44
47
|
export type DateFilter = {
|
|
45
48
|
in?: Date[];
|
|
@@ -16,6 +16,7 @@ export declare class FooQueryPaging implements ISearchRequestPaging<FooCursor> {
|
|
|
16
16
|
}
|
|
17
17
|
export declare class FooSearchOptions implements ISearchOptions {
|
|
18
18
|
includeFacets?: boolean;
|
|
19
|
+
facetsFilters?: FooSearchFilters;
|
|
19
20
|
}
|
|
20
21
|
export declare class FooSearchParameters implements IEntitySearchParameters<FooEntity, FooSorting, FooCursor> {
|
|
21
22
|
filters?: FooSearchFilters;
|
package/dist/index.d.ts
CHANGED
|
@@ -2079,6 +2079,7 @@ type NumericFilter = {
|
|
|
2079
2079
|
lt?: number;
|
|
2080
2080
|
lte?: number;
|
|
2081
2081
|
isNull?: boolean;
|
|
2082
|
+
notIn?: number[];
|
|
2082
2083
|
};
|
|
2083
2084
|
type StringFilter = {
|
|
2084
2085
|
gt?: string;
|
|
@@ -2113,6 +2114,8 @@ type BooleanFilter = {
|
|
|
2113
2114
|
eq?: boolean;
|
|
2114
2115
|
ne?: boolean;
|
|
2115
2116
|
isNull?: boolean;
|
|
2117
|
+
in?: boolean[];
|
|
2118
|
+
notIn?: boolean[];
|
|
2116
2119
|
};
|
|
2117
2120
|
type DateFilter = {
|
|
2118
2121
|
in?: Date[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@punks/backend-entity-manager",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.238",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -20,7 +20,9 @@
|
|
|
20
20
|
"clean": "rimraf dist",
|
|
21
21
|
"build": "yarn clean && rollup -c",
|
|
22
22
|
"deploy:npm": "yarn build && npm publish --access public",
|
|
23
|
-
"type-check": "tsc --noEmit --skipLibCheck"
|
|
23
|
+
"type-check": "tsc --noEmit --skipLibCheck",
|
|
24
|
+
"postinstall": "patch-package",
|
|
25
|
+
"patch:create:typeorm": "yarn patch-package typeorm"
|
|
24
26
|
},
|
|
25
27
|
"keywords": [],
|
|
26
28
|
"author": "WebPunks",
|
|
@@ -61,8 +63,10 @@
|
|
|
61
63
|
"handlebars": "^4.7.7",
|
|
62
64
|
"jest": "^29.6.1",
|
|
63
65
|
"lodash": "^4.17.21",
|
|
66
|
+
"patch-package": "^8.0.0",
|
|
64
67
|
"pg": "^8.11.1",
|
|
65
68
|
"pg-mem": "^2.6.13",
|
|
69
|
+
"postinstall-postinstall": "^2.1.0",
|
|
66
70
|
"reflect-metadata": "^0.1.13",
|
|
67
71
|
"rimraf": "^3.0.2",
|
|
68
72
|
"rollup": "^2.60.0",
|