@tsed/objection 6.107.4 → 6.109.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 +16 -16
- package/lib/cjs/index.js.map +1 -1
- package/lib/cjs/utils/connect.js +1 -1
- package/lib/cjs/utils/connect.js.map +1 -1
- package/package.json +35 -18
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
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
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
|
package/lib/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,
|
|
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"]}
|
package/lib/cjs/utils/connect.js
CHANGED
|
@@ -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 =
|
|
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,
|
|
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.
|
|
3
|
+
"version": "6.109.0",
|
|
4
4
|
"description": "Objection.js package for Ts.ED framework",
|
|
5
5
|
"private": false,
|
|
6
6
|
"source": "./src/index.ts",
|
|
@@ -21,33 +21,50 @@
|
|
|
21
21
|
"test": "cross-env NODE_ENV=test yarn jest"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"tslib": "2.
|
|
24
|
+
"tslib": "2.3.1"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@tsed/ajv": "6.
|
|
28
|
-
"@tsed/core": "6.
|
|
29
|
-
"@tsed/di": "6.
|
|
30
|
-
"@tsed/json-mapper": "6.
|
|
31
|
-
"@tsed/schema": "6.
|
|
27
|
+
"@tsed/ajv": "6.109.0",
|
|
28
|
+
"@tsed/core": "6.109.0",
|
|
29
|
+
"@tsed/di": "6.109.0",
|
|
30
|
+
"@tsed/json-mapper": "6.109.0",
|
|
31
|
+
"@tsed/schema": "6.109.0",
|
|
32
32
|
"knex": "^0.95.11",
|
|
33
|
-
"mssql": "^7.2.1",
|
|
34
|
-
"mysql": "^2.18.1",
|
|
35
|
-
"mysql2": "^2.3.0",
|
|
36
33
|
"objection": "^2.2.15",
|
|
37
|
-
"oracledb": "^5.2.0",
|
|
38
|
-
"pg": "^8.7.1",
|
|
39
|
-
"sqlite": "^4.0.23",
|
|
40
34
|
"sqlite3": "^5.0.2"
|
|
41
35
|
},
|
|
42
36
|
"peerDependencies": {
|
|
43
|
-
"@tsed/ajv": "^6.
|
|
44
|
-
"@tsed/core": "^6.
|
|
45
|
-
"@tsed/di": "^6.
|
|
46
|
-
"@tsed/json-mapper": "^6.
|
|
47
|
-
"@tsed/schema": "^6.
|
|
37
|
+
"@tsed/ajv": "^6.109.0",
|
|
38
|
+
"@tsed/core": "^6.109.0",
|
|
39
|
+
"@tsed/di": "^6.109.0",
|
|
40
|
+
"@tsed/json-mapper": "^6.109.0",
|
|
41
|
+
"@tsed/schema": "^6.109.0",
|
|
48
42
|
"knex": ">=0.94.0",
|
|
49
43
|
"objection": ">=2.0.0"
|
|
50
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
|
+
},
|
|
51
68
|
"repository": "https://github.com/tsedio/tsed",
|
|
52
69
|
"bugs": {
|
|
53
70
|
"url": "https://github.com/tsedio/tsed/issues"
|