bigal 13.0.3 → 13.0.4
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/CHANGELOG.md +4 -0
- package/dist/index.d.cts +2 -6
- package/dist/index.d.mts +2 -6
- package/dist/index.d.ts +2 -6
- package/package.json +15 -15
package/CHANGELOG.md
CHANGED
package/dist/index.d.cts
CHANGED
|
@@ -392,12 +392,8 @@ declare function getMetadataStorage<T extends Entity>(): MetadataStorage<T>;
|
|
|
392
392
|
type ExcludeUndefined<T> = Exclude<T, undefined>;
|
|
393
393
|
type LiteralValues<TValue> = (TValue | null)[] | TValue | null;
|
|
394
394
|
type WhereClauseValue<TValue> = TValue extends NotEntityBrand | undefined ? Exclude<TValue, NotEntityBrand | undefined> : Extract<TValue, Entity> extends undefined ? LiteralValues<ExcludeUndefined<TValue>> : (ExcludeUndefined<Exclude<TValue, Entity>> | null)[] | (Pick<Extract<ExcludeUndefined<TValue>, Entity>, 'id'> | null)[] | ExcludeUndefined<Exclude<TValue, Entity>> | Pick<Extract<ExcludeUndefined<TValue>, Entity>, 'id'> | null;
|
|
395
|
-
type StringConstraint<TValue extends string> =
|
|
396
|
-
|
|
397
|
-
};
|
|
398
|
-
type NumberOrDateConstraint<TValue extends Date | number> = {
|
|
399
|
-
[P in '<' | '<=' | '>' | '>=']?: LiteralValues<ExcludeUndefined<TValue>>;
|
|
400
|
-
};
|
|
395
|
+
type StringConstraint<TValue extends string> = Partial<Record<'contains' | 'endsWith' | 'like' | 'startsWith', LiteralValues<ExcludeUndefined<TValue>>>>;
|
|
396
|
+
type NumberOrDateConstraint<TValue extends Date | number> = Partial<Record<'<' | '<=' | '>' | '>=', LiteralValues<ExcludeUndefined<TValue>>>>;
|
|
401
397
|
type NegatableConstraint<TValue> = TValue | {
|
|
402
398
|
'!': TValue;
|
|
403
399
|
};
|
package/dist/index.d.mts
CHANGED
|
@@ -392,12 +392,8 @@ declare function getMetadataStorage<T extends Entity>(): MetadataStorage<T>;
|
|
|
392
392
|
type ExcludeUndefined<T> = Exclude<T, undefined>;
|
|
393
393
|
type LiteralValues<TValue> = (TValue | null)[] | TValue | null;
|
|
394
394
|
type WhereClauseValue<TValue> = TValue extends NotEntityBrand | undefined ? Exclude<TValue, NotEntityBrand | undefined> : Extract<TValue, Entity> extends undefined ? LiteralValues<ExcludeUndefined<TValue>> : (ExcludeUndefined<Exclude<TValue, Entity>> | null)[] | (Pick<Extract<ExcludeUndefined<TValue>, Entity>, 'id'> | null)[] | ExcludeUndefined<Exclude<TValue, Entity>> | Pick<Extract<ExcludeUndefined<TValue>, Entity>, 'id'> | null;
|
|
395
|
-
type StringConstraint<TValue extends string> =
|
|
396
|
-
|
|
397
|
-
};
|
|
398
|
-
type NumberOrDateConstraint<TValue extends Date | number> = {
|
|
399
|
-
[P in '<' | '<=' | '>' | '>=']?: LiteralValues<ExcludeUndefined<TValue>>;
|
|
400
|
-
};
|
|
395
|
+
type StringConstraint<TValue extends string> = Partial<Record<'contains' | 'endsWith' | 'like' | 'startsWith', LiteralValues<ExcludeUndefined<TValue>>>>;
|
|
396
|
+
type NumberOrDateConstraint<TValue extends Date | number> = Partial<Record<'<' | '<=' | '>' | '>=', LiteralValues<ExcludeUndefined<TValue>>>>;
|
|
401
397
|
type NegatableConstraint<TValue> = TValue | {
|
|
402
398
|
'!': TValue;
|
|
403
399
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -392,12 +392,8 @@ declare function getMetadataStorage<T extends Entity>(): MetadataStorage<T>;
|
|
|
392
392
|
type ExcludeUndefined<T> = Exclude<T, undefined>;
|
|
393
393
|
type LiteralValues<TValue> = (TValue | null)[] | TValue | null;
|
|
394
394
|
type WhereClauseValue<TValue> = TValue extends NotEntityBrand | undefined ? Exclude<TValue, NotEntityBrand | undefined> : Extract<TValue, Entity> extends undefined ? LiteralValues<ExcludeUndefined<TValue>> : (ExcludeUndefined<Exclude<TValue, Entity>> | null)[] | (Pick<Extract<ExcludeUndefined<TValue>, Entity>, 'id'> | null)[] | ExcludeUndefined<Exclude<TValue, Entity>> | Pick<Extract<ExcludeUndefined<TValue>, Entity>, 'id'> | null;
|
|
395
|
-
type StringConstraint<TValue extends string> =
|
|
396
|
-
|
|
397
|
-
};
|
|
398
|
-
type NumberOrDateConstraint<TValue extends Date | number> = {
|
|
399
|
-
[P in '<' | '<=' | '>' | '>=']?: LiteralValues<ExcludeUndefined<TValue>>;
|
|
400
|
-
};
|
|
395
|
+
type StringConstraint<TValue extends string> = Partial<Record<'contains' | 'endsWith' | 'like' | 'startsWith', LiteralValues<ExcludeUndefined<TValue>>>>;
|
|
396
|
+
type NumberOrDateConstraint<TValue extends Date | number> = Partial<Record<'<' | '<=' | '>' | '>=', LiteralValues<ExcludeUndefined<TValue>>>>;
|
|
401
397
|
type NegatableConstraint<TValue> = TValue | {
|
|
402
398
|
'!': TValue;
|
|
403
399
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bigal",
|
|
3
|
-
"version": "13.0.
|
|
3
|
+
"version": "13.0.4",
|
|
4
4
|
"description": "A fast and lightweight orm for postgres and node.js, written in typescript.",
|
|
5
5
|
"main": "./dist/index.cjs",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -35,29 +35,29 @@
|
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@types/pg": "^8.11.10",
|
|
37
37
|
"lodash": "^4.17.21",
|
|
38
|
-
"pg": "^8.13.
|
|
39
|
-
"postgres-pool": "^9.0.
|
|
38
|
+
"pg": "^8.13.1",
|
|
39
|
+
"postgres-pool": "^9.0.4"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@faker-js/faker": "^9.0
|
|
43
|
-
"@types/chai": "^5.0.
|
|
44
|
-
"@types/lodash": "^4.17.
|
|
45
|
-
"@types/mocha": "10.0.
|
|
42
|
+
"@faker-js/faker": "^9.2.0",
|
|
43
|
+
"@types/chai": "^5.0.1",
|
|
44
|
+
"@types/lodash": "^4.17.13",
|
|
45
|
+
"@types/mocha": "10.0.10",
|
|
46
46
|
"@types/node": ">=22",
|
|
47
|
-
"chai": "^5.1.
|
|
48
|
-
"eslint": "^9.
|
|
49
|
-
"eslint-config-decent": "^2.2.
|
|
50
|
-
"husky": "^9.1.
|
|
47
|
+
"chai": "^5.1.2",
|
|
48
|
+
"eslint": "^9.16.0",
|
|
49
|
+
"eslint-config-decent": "^2.2.3",
|
|
50
|
+
"husky": "^9.1.7",
|
|
51
51
|
"lint-staged": "^15.2.10",
|
|
52
|
-
"markdownlint-cli": "^0.
|
|
53
|
-
"mocha": "^10.
|
|
52
|
+
"markdownlint-cli": "^0.43.0",
|
|
53
|
+
"mocha": "^10.8.2",
|
|
54
54
|
"npm-run-all": "^4.1.5",
|
|
55
55
|
"pinst": "^3.0.0",
|
|
56
|
-
"prettier": "^3.
|
|
56
|
+
"prettier": "^3.4.1",
|
|
57
57
|
"strict-event-emitter-types": "^2.0.0",
|
|
58
58
|
"ts-mockito": "^2.6.1",
|
|
59
59
|
"ts-node": "^10.9.2",
|
|
60
|
-
"typescript": "^5.
|
|
60
|
+
"typescript": "^5.7.2",
|
|
61
61
|
"unbuild": "^2.0.0"
|
|
62
62
|
},
|
|
63
63
|
"scripts": {
|