@tsed/objection 6.107.5 → 6.110.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/lib/cjs/index.js CHANGED
@@ -4,20 +4,20 @@
4
4
  */
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const tslib_1 = require("tslib");
7
- (0, tslib_1.__exportStar)(require("./components/createBooleanColumn"), exports);
8
- (0, tslib_1.__exportStar)(require("./components/createIdColumn"), exports);
9
- (0, tslib_1.__exportStar)(require("./components/createNumberColumn"), exports);
10
- (0, tslib_1.__exportStar)(require("./components/createStringColumn"), exports);
11
- (0, tslib_1.__exportStar)(require("./decorators/columnOptions"), exports);
12
- (0, tslib_1.__exportStar)(require("./decorators/decimal"), exports);
13
- (0, tslib_1.__exportStar)(require("./decorators/entity"), exports);
14
- (0, tslib_1.__exportStar)(require("./decorators/idColumn"), exports);
15
- (0, tslib_1.__exportStar)(require("./domain/ColumnOpts"), exports);
16
- (0, tslib_1.__exportStar)(require("./domain/interfaces"), exports);
17
- (0, tslib_1.__exportStar)(require("./services/ColumnTypesContainer"), exports);
18
- (0, tslib_1.__exportStar)(require("./services/ObjectionConnection"), exports);
19
- (0, tslib_1.__exportStar)(require("./utils/connect"), exports);
20
- (0, tslib_1.__exportStar)(require("./utils/createColumns"), exports);
21
- (0, tslib_1.__exportStar)(require("./utils/defineStaticGetter"), exports);
22
- (0, tslib_1.__exportStar)(require("./utils/getColumnCtx"), exports);
7
+ tslib_1.__exportStar(require("./components/createBooleanColumn"), exports);
8
+ tslib_1.__exportStar(require("./components/createIdColumn"), exports);
9
+ tslib_1.__exportStar(require("./components/createNumberColumn"), exports);
10
+ tslib_1.__exportStar(require("./components/createStringColumn"), exports);
11
+ tslib_1.__exportStar(require("./decorators/columnOptions"), exports);
12
+ tslib_1.__exportStar(require("./decorators/decimal"), exports);
13
+ tslib_1.__exportStar(require("./decorators/entity"), exports);
14
+ tslib_1.__exportStar(require("./decorators/idColumn"), exports);
15
+ tslib_1.__exportStar(require("./domain/ColumnOpts"), exports);
16
+ tslib_1.__exportStar(require("./domain/interfaces"), exports);
17
+ tslib_1.__exportStar(require("./services/ColumnTypesContainer"), exports);
18
+ tslib_1.__exportStar(require("./services/ObjectionConnection"), exports);
19
+ tslib_1.__exportStar(require("./utils/connect"), exports);
20
+ tslib_1.__exportStar(require("./utils/createColumns"), exports);
21
+ tslib_1.__exportStar(require("./utils/defineStaticGetter"), exports);
22
+ tslib_1.__exportStar(require("./utils/getColumnCtx"), exports);
23
23
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,gFAAiD;AACjD,2EAA4C;AAC5C,+EAAgD;AAChD,+EAAgD;AAChD,0EAA2C;AAC3C,oEAAqC;AACrC,mEAAoC;AACpC,qEAAsC;AACtC,mEAAoC;AACpC,mEAAoC;AACpC,+EAAgD;AAChD,8EAA+C;AAC/C,+DAAgC;AAChC,qEAAsC;AACtC,0EAA2C;AAC3C,oEAAqC","sourcesContent":["/**\n * @file Automatically generated by barrelsby.\n */\n\nexport * from \"./components/createBooleanColumn\";\nexport * from \"./components/createIdColumn\";\nexport * from \"./components/createNumberColumn\";\nexport * from \"./components/createStringColumn\";\nexport * from \"./decorators/columnOptions\";\nexport * from \"./decorators/decimal\";\nexport * from \"./decorators/entity\";\nexport * from \"./decorators/idColumn\";\nexport * from \"./domain/ColumnOpts\";\nexport * from \"./domain/interfaces\";\nexport * from \"./services/ColumnTypesContainer\";\nexport * from \"./services/ObjectionConnection\";\nexport * from \"./utils/connect\";\nexport * from \"./utils/createColumns\";\nexport * from \"./utils/defineStaticGetter\";\nexport * from \"./utils/getColumnCtx\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,2EAAiD;AACjD,sEAA4C;AAC5C,0EAAgD;AAChD,0EAAgD;AAChD,qEAA2C;AAC3C,+DAAqC;AACrC,8DAAoC;AACpC,gEAAsC;AACtC,8DAAoC;AACpC,8DAAoC;AACpC,0EAAgD;AAChD,yEAA+C;AAC/C,0DAAgC;AAChC,gEAAsC;AACtC,qEAA2C;AAC3C,+DAAqC","sourcesContent":["/**\n * @file Automatically generated by barrelsby.\n */\n\nexport * from \"./components/createBooleanColumn\";\nexport * from \"./components/createIdColumn\";\nexport * from \"./components/createNumberColumn\";\nexport * from \"./components/createStringColumn\";\nexport * from \"./decorators/columnOptions\";\nexport * from \"./decorators/decimal\";\nexport * from \"./decorators/entity\";\nexport * from \"./decorators/idColumn\";\nexport * from \"./domain/ColumnOpts\";\nexport * from \"./domain/interfaces\";\nexport * from \"./services/ColumnTypesContainer\";\nexport * from \"./services/ObjectionConnection\";\nexport * from \"./utils/connect\";\nexport * from \"./utils/createColumns\";\nexport * from \"./utils/defineStaticGetter\";\nexport * from \"./utils/getColumnCtx\";\n"]}
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.createConnection = void 0;
4
4
  const tslib_1 = require("tslib");
5
- const knex_1 = (0, tslib_1.__importDefault)(require("knex"));
5
+ const knex_1 = tslib_1.__importDefault(require("knex"));
6
6
  const objection_1 = require("objection");
7
7
  function createConnection(connectionOptions) {
8
8
  const connection = (0, knex_1.default)(connectionOptions);
@@ -1 +1 @@
1
- {"version":3,"file":"connect.js","sourceRoot":"","sources":["../../../src/utils/connect.ts"],"names":[],"mappings":";;;;AAAA,6DAAgC;AAChC,yCAAgC;AAEhC,SAAgB,gBAAgB,CAAC,iBAA8B;IAC7D,MAAM,UAAU,GAAG,IAAA,cAAI,EAAC,iBAAiB,CAAC,CAAC;IAC3C,iBAAK,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;IAEvB,OAAO,UAAU,CAAC;AACpB,CAAC;AALD,4CAKC","sourcesContent":["import knex, {Knex} from \"knex\";\nimport {Model} from \"objection\";\n\nexport function createConnection(connectionOptions: Knex.Config): Knex {\n const connection = knex(connectionOptions);\n Model.knex(connection);\n\n return connection;\n}\n"]}
1
+ {"version":3,"file":"connect.js","sourceRoot":"","sources":["../../../src/utils/connect.ts"],"names":[],"mappings":";;;;AAAA,wDAAgC;AAChC,yCAAgC;AAEhC,SAAgB,gBAAgB,CAAC,iBAA8B;IAC7D,MAAM,UAAU,GAAG,IAAA,cAAI,EAAC,iBAAiB,CAAC,CAAC;IAC3C,iBAAK,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;IAEvB,OAAO,UAAU,CAAC;AACpB,CAAC;AALD,4CAKC","sourcesContent":["import knex, {Knex} from \"knex\";\nimport {Model} from \"objection\";\n\nexport function createConnection(connectionOptions: Knex.Config): Knex {\n const connection = knex(connectionOptions);\n Model.knex(connection);\n\n return connection;\n}\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tsed/objection",
3
- "version": "6.107.5",
3
+ "version": "6.110.0",
4
4
  "description": "Objection.js package for Ts.ED framework",
5
5
  "private": false,
6
6
  "source": "./src/index.ts",
@@ -21,27 +21,50 @@
21
21
  "test": "cross-env NODE_ENV=test yarn jest"
22
22
  },
23
23
  "dependencies": {
24
- "tslib": "2.2.0"
24
+ "tslib": "2.3.1"
25
25
  },
26
26
  "devDependencies": {
27
- "@tsed/ajv": "6.107.5",
28
- "@tsed/core": "6.107.5",
29
- "@tsed/di": "6.107.5",
30
- "@tsed/json-mapper": "6.107.5",
31
- "@tsed/schema": "6.107.5",
27
+ "@tsed/ajv": "6.110.0",
28
+ "@tsed/core": "6.110.0",
29
+ "@tsed/di": "6.110.0",
30
+ "@tsed/json-mapper": "6.110.0",
31
+ "@tsed/schema": "6.110.0",
32
32
  "knex": "^0.95.11",
33
33
  "objection": "^2.2.15",
34
34
  "sqlite3": "^5.0.2"
35
35
  },
36
36
  "peerDependencies": {
37
- "@tsed/ajv": "^6.107.5",
38
- "@tsed/core": "^6.107.5",
39
- "@tsed/di": "^6.107.5",
40
- "@tsed/json-mapper": "^6.107.5",
41
- "@tsed/schema": "^6.107.5",
37
+ "@tsed/ajv": "^6.110.0",
38
+ "@tsed/core": "^6.110.0",
39
+ "@tsed/di": "^6.110.0",
40
+ "@tsed/json-mapper": "^6.110.0",
41
+ "@tsed/schema": "^6.110.0",
42
42
  "knex": ">=0.94.0",
43
43
  "objection": ">=2.0.0"
44
44
  },
45
+ "peerDependenciesMeta": {
46
+ "@tsed/ajv": {
47
+ "optional": false
48
+ },
49
+ "@tsed/core": {
50
+ "optional": false
51
+ },
52
+ "@tsed/di": {
53
+ "optional": false
54
+ },
55
+ "@tsed/json-mapper": {
56
+ "optional": false
57
+ },
58
+ "@tsed/schema": {
59
+ "optional": false
60
+ },
61
+ "knex": {
62
+ "optional": false
63
+ },
64
+ "objection": {
65
+ "optional": false
66
+ }
67
+ },
45
68
  "repository": "https://github.com/tsedio/tsed",
46
69
  "bugs": {
47
70
  "url": "https://github.com/tsedio/tsed/issues"