bigal 13.0.11 → 13.1.1
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 +13 -0
- package/dist/index.cjs +4 -0
- package/dist/index.d.cts +5 -4
- package/dist/index.d.mts +5 -4
- package/dist/index.d.ts +5 -4
- package/dist/index.mjs +4 -0
- package/package.json +9 -9
- package/release.config.mjs +7 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
## [13.1.1](https://github.com/bigalorm/bigal/compare/v13.1.0...v13.1.1) (2025-05-05)
|
|
2
|
+
|
|
3
|
+
# [13.1.0](https://github.com/bigalorm/bigal/compare/v13.0.11...v13.1.0) (2025-05-01)
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
- **deps:** update all dependencies ([#103](https://github.com/bigalorm/bigal/issues/103)) ([5439258](https://github.com/bigalorm/bigal/commit/5439258e0ece2f650a0fa301d625e16edec7a070))
|
|
8
|
+
- **deps:** update dependency @types/pg to v8.11.14 ([#102](https://github.com/bigalorm/bigal/issues/102)) ([8ee31bf](https://github.com/bigalorm/bigal/commit/8ee31bfd5b74eb040e809505506e8113db067a6d))
|
|
9
|
+
|
|
10
|
+
### Features
|
|
11
|
+
|
|
12
|
+
- Add UUID data type ([#104](https://github.com/bigalorm/bigal/issues/104)) ([d1469d3](https://github.com/bigalorm/bigal/commit/d1469d385a8ddd43a0c2bfa67b0c6e39e1ba7641))
|
|
13
|
+
|
|
1
14
|
## [13.0.11](https://github.com/bigalorm/bigal/compare/v13.0.10...v13.0.11) (2025-04-23)
|
|
2
15
|
|
|
3
16
|
### Bug Fixes
|
package/dist/index.cjs
CHANGED
package/dist/index.d.cts
CHANGED
|
@@ -261,7 +261,7 @@ interface ColumnTypeMetadataOptions extends ColumnBaseMetadataOptions {
|
|
|
261
261
|
/**
|
|
262
262
|
* Type of sql column
|
|
263
263
|
*/
|
|
264
|
-
type: 'array' | 'binary' | 'boolean' | 'boolean[]' | 'date' | 'datetime' | 'float' | 'float[]' | 'integer' | 'integer[]' | 'json' | 'string' | 'string[]';
|
|
264
|
+
type: 'array' | 'binary' | 'boolean' | 'boolean[]' | 'date' | 'datetime' | 'float' | 'float[]' | 'integer' | 'integer[]' | 'json' | 'string' | 'string[]' | 'uuid' | 'uuid[]';
|
|
265
265
|
/**
|
|
266
266
|
* Default database value
|
|
267
267
|
*/
|
|
@@ -281,7 +281,7 @@ declare class ColumnTypeMetadata extends ColumnBaseMetadata {
|
|
|
281
281
|
/**
|
|
282
282
|
* Type of the column
|
|
283
283
|
*/
|
|
284
|
-
type: 'array' | 'binary' | 'boolean' | 'boolean[]' | 'date' | 'datetime' | 'float' | 'float[]' | 'integer' | 'integer[]' | 'json' | 'string' | 'string[]';
|
|
284
|
+
type: 'array' | 'binary' | 'boolean' | 'boolean[]' | 'date' | 'datetime' | 'float' | 'float[]' | 'integer' | 'integer[]' | 'json' | 'string' | 'string[]' | 'uuid' | 'uuid[]';
|
|
285
285
|
/**
|
|
286
286
|
* Default database value
|
|
287
287
|
*/
|
|
@@ -813,7 +813,7 @@ interface ColumnTypeOptions extends ColumnBaseOptions {
|
|
|
813
813
|
/**
|
|
814
814
|
* Type of the column
|
|
815
815
|
*/
|
|
816
|
-
type: 'array' | 'binary' | 'boolean' | 'boolean[]' | 'date' | 'datetime' | 'float' | 'float[]' | 'integer' | 'integer[]' | 'json' | 'string' | 'string[]';
|
|
816
|
+
type: 'array' | 'binary' | 'boolean' | 'boolean[]' | 'date' | 'datetime' | 'float' | 'float[]' | 'integer' | 'integer[]' | 'json' | 'string' | 'string[]' | 'uuid' | 'uuid[]';
|
|
817
817
|
/**
|
|
818
818
|
* Default database value
|
|
819
819
|
*/
|
|
@@ -898,4 +898,5 @@ interface InitializeOptions extends IConnection {
|
|
|
898
898
|
*/
|
|
899
899
|
declare function initialize({ models, pool, readonlyPool, connections, expose }: InitializeOptions): Record<string, IReadonlyRepository<Entity> | IRepository<Entity>>;
|
|
900
900
|
|
|
901
|
-
export {
|
|
901
|
+
export { ColumnBaseMetadata, ColumnCollectionMetadata, ColumnModelMetadata, ColumnTypeMetadata, Entity, ModelMetadata, QueryError, ReadonlyRepository, Repository, column, createDateColumn, getMetadataStorage, initialize, primaryColumn, table, updateDateColumn, versionColumn };
|
|
902
|
+
export type { ClassLike, ColumnBaseMetadataOptions, ColumnCollectionMetadataOptions, ColumnMetadata, ColumnModelMetadataOptions, ColumnModifierMetadata, ColumnTypeMetadataOptions, Comparer, CountResult, CreateUpdateOptions, CreateUpdateParams, DeleteOptions, DestroyResult, DoNotReturnRecords, EntityFieldValue, EntityPrimitiveOrId, EntityStatic, ExcludeEntityCollections, ExcludeFunctions, FindArgs, FindOneArgs, FindOneResult, FindResult, GetValueType, IConnection, IReadonlyRepository, IRepository, IRepositoryOptions, IncludeFunctions, InitializeOptions, IsValueOfType, LiteralValues, ModelMetadataOptions, MultipleSortString, NegatableConstraint, NotEntity, NotEntityBrand, NumberOrDateConstraint, OmitEntityCollections, OmitFunctions, OrderBy, PaginateOptions, PickAsType, PickByValueType, PickFunctions, PopulateArgs, Populated, QueryResult, QueryResultOptionalPopulated, QueryResultPopulated, ReturnSelect$1 as ReturnSelect, Sort, SortObject, SortObjectValue, SortString, StringConstraint, WhereClauseValue, WhereQuery, WhereQueryStatement };
|
package/dist/index.d.mts
CHANGED
|
@@ -261,7 +261,7 @@ interface ColumnTypeMetadataOptions extends ColumnBaseMetadataOptions {
|
|
|
261
261
|
/**
|
|
262
262
|
* Type of sql column
|
|
263
263
|
*/
|
|
264
|
-
type: 'array' | 'binary' | 'boolean' | 'boolean[]' | 'date' | 'datetime' | 'float' | 'float[]' | 'integer' | 'integer[]' | 'json' | 'string' | 'string[]';
|
|
264
|
+
type: 'array' | 'binary' | 'boolean' | 'boolean[]' | 'date' | 'datetime' | 'float' | 'float[]' | 'integer' | 'integer[]' | 'json' | 'string' | 'string[]' | 'uuid' | 'uuid[]';
|
|
265
265
|
/**
|
|
266
266
|
* Default database value
|
|
267
267
|
*/
|
|
@@ -281,7 +281,7 @@ declare class ColumnTypeMetadata extends ColumnBaseMetadata {
|
|
|
281
281
|
/**
|
|
282
282
|
* Type of the column
|
|
283
283
|
*/
|
|
284
|
-
type: 'array' | 'binary' | 'boolean' | 'boolean[]' | 'date' | 'datetime' | 'float' | 'float[]' | 'integer' | 'integer[]' | 'json' | 'string' | 'string[]';
|
|
284
|
+
type: 'array' | 'binary' | 'boolean' | 'boolean[]' | 'date' | 'datetime' | 'float' | 'float[]' | 'integer' | 'integer[]' | 'json' | 'string' | 'string[]' | 'uuid' | 'uuid[]';
|
|
285
285
|
/**
|
|
286
286
|
* Default database value
|
|
287
287
|
*/
|
|
@@ -813,7 +813,7 @@ interface ColumnTypeOptions extends ColumnBaseOptions {
|
|
|
813
813
|
/**
|
|
814
814
|
* Type of the column
|
|
815
815
|
*/
|
|
816
|
-
type: 'array' | 'binary' | 'boolean' | 'boolean[]' | 'date' | 'datetime' | 'float' | 'float[]' | 'integer' | 'integer[]' | 'json' | 'string' | 'string[]';
|
|
816
|
+
type: 'array' | 'binary' | 'boolean' | 'boolean[]' | 'date' | 'datetime' | 'float' | 'float[]' | 'integer' | 'integer[]' | 'json' | 'string' | 'string[]' | 'uuid' | 'uuid[]';
|
|
817
817
|
/**
|
|
818
818
|
* Default database value
|
|
819
819
|
*/
|
|
@@ -898,4 +898,5 @@ interface InitializeOptions extends IConnection {
|
|
|
898
898
|
*/
|
|
899
899
|
declare function initialize({ models, pool, readonlyPool, connections, expose }: InitializeOptions): Record<string, IReadonlyRepository<Entity> | IRepository<Entity>>;
|
|
900
900
|
|
|
901
|
-
export {
|
|
901
|
+
export { ColumnBaseMetadata, ColumnCollectionMetadata, ColumnModelMetadata, ColumnTypeMetadata, Entity, ModelMetadata, QueryError, ReadonlyRepository, Repository, column, createDateColumn, getMetadataStorage, initialize, primaryColumn, table, updateDateColumn, versionColumn };
|
|
902
|
+
export type { ClassLike, ColumnBaseMetadataOptions, ColumnCollectionMetadataOptions, ColumnMetadata, ColumnModelMetadataOptions, ColumnModifierMetadata, ColumnTypeMetadataOptions, Comparer, CountResult, CreateUpdateOptions, CreateUpdateParams, DeleteOptions, DestroyResult, DoNotReturnRecords, EntityFieldValue, EntityPrimitiveOrId, EntityStatic, ExcludeEntityCollections, ExcludeFunctions, FindArgs, FindOneArgs, FindOneResult, FindResult, GetValueType, IConnection, IReadonlyRepository, IRepository, IRepositoryOptions, IncludeFunctions, InitializeOptions, IsValueOfType, LiteralValues, ModelMetadataOptions, MultipleSortString, NegatableConstraint, NotEntity, NotEntityBrand, NumberOrDateConstraint, OmitEntityCollections, OmitFunctions, OrderBy, PaginateOptions, PickAsType, PickByValueType, PickFunctions, PopulateArgs, Populated, QueryResult, QueryResultOptionalPopulated, QueryResultPopulated, ReturnSelect$1 as ReturnSelect, Sort, SortObject, SortObjectValue, SortString, StringConstraint, WhereClauseValue, WhereQuery, WhereQueryStatement };
|
package/dist/index.d.ts
CHANGED
|
@@ -261,7 +261,7 @@ interface ColumnTypeMetadataOptions extends ColumnBaseMetadataOptions {
|
|
|
261
261
|
/**
|
|
262
262
|
* Type of sql column
|
|
263
263
|
*/
|
|
264
|
-
type: 'array' | 'binary' | 'boolean' | 'boolean[]' | 'date' | 'datetime' | 'float' | 'float[]' | 'integer' | 'integer[]' | 'json' | 'string' | 'string[]';
|
|
264
|
+
type: 'array' | 'binary' | 'boolean' | 'boolean[]' | 'date' | 'datetime' | 'float' | 'float[]' | 'integer' | 'integer[]' | 'json' | 'string' | 'string[]' | 'uuid' | 'uuid[]';
|
|
265
265
|
/**
|
|
266
266
|
* Default database value
|
|
267
267
|
*/
|
|
@@ -281,7 +281,7 @@ declare class ColumnTypeMetadata extends ColumnBaseMetadata {
|
|
|
281
281
|
/**
|
|
282
282
|
* Type of the column
|
|
283
283
|
*/
|
|
284
|
-
type: 'array' | 'binary' | 'boolean' | 'boolean[]' | 'date' | 'datetime' | 'float' | 'float[]' | 'integer' | 'integer[]' | 'json' | 'string' | 'string[]';
|
|
284
|
+
type: 'array' | 'binary' | 'boolean' | 'boolean[]' | 'date' | 'datetime' | 'float' | 'float[]' | 'integer' | 'integer[]' | 'json' | 'string' | 'string[]' | 'uuid' | 'uuid[]';
|
|
285
285
|
/**
|
|
286
286
|
* Default database value
|
|
287
287
|
*/
|
|
@@ -813,7 +813,7 @@ interface ColumnTypeOptions extends ColumnBaseOptions {
|
|
|
813
813
|
/**
|
|
814
814
|
* Type of the column
|
|
815
815
|
*/
|
|
816
|
-
type: 'array' | 'binary' | 'boolean' | 'boolean[]' | 'date' | 'datetime' | 'float' | 'float[]' | 'integer' | 'integer[]' | 'json' | 'string' | 'string[]';
|
|
816
|
+
type: 'array' | 'binary' | 'boolean' | 'boolean[]' | 'date' | 'datetime' | 'float' | 'float[]' | 'integer' | 'integer[]' | 'json' | 'string' | 'string[]' | 'uuid' | 'uuid[]';
|
|
817
817
|
/**
|
|
818
818
|
* Default database value
|
|
819
819
|
*/
|
|
@@ -898,4 +898,5 @@ interface InitializeOptions extends IConnection {
|
|
|
898
898
|
*/
|
|
899
899
|
declare function initialize({ models, pool, readonlyPool, connections, expose }: InitializeOptions): Record<string, IReadonlyRepository<Entity> | IRepository<Entity>>;
|
|
900
900
|
|
|
901
|
-
export {
|
|
901
|
+
export { ColumnBaseMetadata, ColumnCollectionMetadata, ColumnModelMetadata, ColumnTypeMetadata, Entity, ModelMetadata, QueryError, ReadonlyRepository, Repository, column, createDateColumn, getMetadataStorage, initialize, primaryColumn, table, updateDateColumn, versionColumn };
|
|
902
|
+
export type { ClassLike, ColumnBaseMetadataOptions, ColumnCollectionMetadataOptions, ColumnMetadata, ColumnModelMetadataOptions, ColumnModifierMetadata, ColumnTypeMetadataOptions, Comparer, CountResult, CreateUpdateOptions, CreateUpdateParams, DeleteOptions, DestroyResult, DoNotReturnRecords, EntityFieldValue, EntityPrimitiveOrId, EntityStatic, ExcludeEntityCollections, ExcludeFunctions, FindArgs, FindOneArgs, FindOneResult, FindResult, GetValueType, IConnection, IReadonlyRepository, IRepository, IRepositoryOptions, IncludeFunctions, InitializeOptions, IsValueOfType, LiteralValues, ModelMetadataOptions, MultipleSortString, NegatableConstraint, NotEntity, NotEntityBrand, NumberOrDateConstraint, OmitEntityCollections, OmitFunctions, OrderBy, PaginateOptions, PickAsType, PickByValueType, PickFunctions, PopulateArgs, Populated, QueryResult, QueryResultOptionalPopulated, QueryResultPopulated, ReturnSelect$1 as ReturnSelect, Sort, SortObject, SortObjectValue, SortString, StringConstraint, WhereClauseValue, WhereQuery, WhereQueryStatement };
|
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bigal",
|
|
3
|
-
"version": "13.
|
|
3
|
+
"version": "13.1.1",
|
|
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",
|
|
@@ -33,17 +33,17 @@
|
|
|
33
33
|
"node": ">=18"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@types/pg": "8.11.
|
|
36
|
+
"@types/pg": "8.11.14",
|
|
37
37
|
"lodash": "4.17.21",
|
|
38
|
-
"pg": "8.15.
|
|
39
|
-
"postgres-pool": "10.1.
|
|
38
|
+
"pg": "8.15.6",
|
|
39
|
+
"postgres-pool": "10.1.4"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@faker-js/faker": "9.7.0",
|
|
43
43
|
"@semantic-release/changelog": "6.0.3",
|
|
44
44
|
"@semantic-release/commit-analyzer": "13.0.1",
|
|
45
45
|
"@semantic-release/git": "10.0.1",
|
|
46
|
-
"@semantic-release/github": "11.0.
|
|
46
|
+
"@semantic-release/github": "11.0.2",
|
|
47
47
|
"@semantic-release/npm": "12.0.1",
|
|
48
48
|
"@semantic-release/release-notes-generator": "14.0.3",
|
|
49
49
|
"@types/chai": "5.2.1",
|
|
@@ -51,13 +51,13 @@
|
|
|
51
51
|
"@types/mocha": "10.0.10",
|
|
52
52
|
"@types/node": ">=22",
|
|
53
53
|
"chai": "5.2.0",
|
|
54
|
-
"eslint": "9.
|
|
55
|
-
"eslint-config-decent": "2.
|
|
54
|
+
"eslint": "9.26.0",
|
|
55
|
+
"eslint-config-decent": "2.7.1",
|
|
56
56
|
"husky": "9.1.7",
|
|
57
57
|
"lint-staged": "15.5.1",
|
|
58
58
|
"markdownlint-cli": "0.44.0",
|
|
59
|
-
"mocha": "11.
|
|
60
|
-
"npm-run-all2": "
|
|
59
|
+
"mocha": "11.2.2",
|
|
60
|
+
"npm-run-all2": "8.0.1",
|
|
61
61
|
"pinst": "3.0.0",
|
|
62
62
|
"prettier": "3.5.3",
|
|
63
63
|
"semantic-release": "24.2.3",
|