@ez4/database 0.39.0 → 0.40.0
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/services/query.d.ts +3 -3
- package/package.json +7 -7
package/dist/services/query.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import type { OrderModeUtils } from './order';
|
|
|
7
7
|
import type { LockModeUtils } from './lock';
|
|
8
8
|
import type { TableMetadata } from './table';
|
|
9
9
|
import type { Database } from './contract';
|
|
10
|
-
import type { AnyObject, PartialProperties, PartialObject, FlatObject, OptionalObject, StrictObject, IsNullable, IsUndefined, IsObjectEmpty, IsObject,
|
|
10
|
+
import type { AnyObject, PartialProperties, PartialObject, FlatObject, OptionalObject, StrictObject, IsNullable, IsUndefined, IsObjectEmpty, IsObject, Prettify } from '@ez4/utils';
|
|
11
11
|
/**
|
|
12
12
|
* Query builder types.
|
|
13
13
|
*/
|
|
@@ -185,7 +185,7 @@ export declare namespace Query {
|
|
|
185
185
|
/**
|
|
186
186
|
* Check whether the entity value is in the given ones.
|
|
187
187
|
*/
|
|
188
|
-
isIn:
|
|
188
|
+
isIn: Exclude<V, undefined>[];
|
|
189
189
|
};
|
|
190
190
|
type WhereBetween<V> = {
|
|
191
191
|
/**
|
|
@@ -213,7 +213,7 @@ export declare namespace Query {
|
|
|
213
213
|
};
|
|
214
214
|
type WhereContains<V, E extends DatabaseEngine> = (V extends string ? InsensitiveModeUtils.Input<E> : {}) & {
|
|
215
215
|
/**
|
|
216
|
-
* Check whether the entity value contains
|
|
216
|
+
* Check whether the entity value contains the given one.
|
|
217
217
|
*/
|
|
218
218
|
contains: IsObject<V> extends true ? Partial<V> : V;
|
|
219
219
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ez4/database",
|
|
3
3
|
"description": "EZ4: Components to build database services",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.40.0",
|
|
5
5
|
"author": "Silas B.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"type": "module",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
],
|
|
39
39
|
"scripts": {
|
|
40
40
|
"lint": "eslint --cache",
|
|
41
|
-
"clean": "rm -
|
|
41
|
+
"clean": "rm -rf dist/* *.tsbuildinfo .eslintcache",
|
|
42
42
|
"build": "tsc && node tools/bundler.mjs",
|
|
43
43
|
"test": "npm run build && tsc -p tsconfig.test.json && ez4 test",
|
|
44
44
|
"local:publish": "npm run build && npm run clean:registry && npm publish --registry http://localhost:4873",
|
|
@@ -46,10 +46,10 @@
|
|
|
46
46
|
"live:publish": "npm run build && npm publish --access public"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@ez4/common": "^0.
|
|
50
|
-
"@ez4/project": "^0.
|
|
51
|
-
"@ez4/reflection": "^0.
|
|
52
|
-
"@ez4/schema": "^0.
|
|
53
|
-
"@ez4/utils": "^0.
|
|
49
|
+
"@ez4/common": "^0.40.0",
|
|
50
|
+
"@ez4/project": "^0.40.0",
|
|
51
|
+
"@ez4/reflection": "^0.40.0",
|
|
52
|
+
"@ez4/schema": "^0.40.0",
|
|
53
|
+
"@ez4/utils": "^0.40.0"
|
|
54
54
|
}
|
|
55
55
|
}
|