@rsdk/db.knex 3.6.0-next.6 → 3.6.0-next.8
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 +8 -0
- package/dist/knex.module.js +0 -2
- package/dist/knex.module.js.map +1 -1
- package/package.json +4 -4
- package/src/knex.module.ts +1 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [3.6.0-next.8](https://github.com/R-Vision/rsdk/compare/v3.6.0-next.7...v3.6.0-next.8) (2023-10-20)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @rsdk/db.knex
|
|
9
|
+
|
|
10
|
+
## [3.6.0-next.7](https://github.com/R-Vision/rsdk/compare/v3.6.0-next.6...v3.6.0-next.7) (2023-10-20)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @rsdk/db.knex
|
|
13
|
+
|
|
6
14
|
## [3.6.0-next.6](https://github.com/R-Vision/rsdk/compare/v3.6.0-next.5...v3.6.0-next.6) (2023-10-20)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @rsdk/db.knex
|
package/dist/knex.module.js
CHANGED
|
@@ -9,7 +9,6 @@ var KnexModule_1;
|
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
exports.KnexModule = void 0;
|
|
11
11
|
const common_1 = require("@nestjs/common");
|
|
12
|
-
const core_1 = require("@rsdk/core");
|
|
13
12
|
const inject_knex_decorator_1 = require("./inject-knex.decorator");
|
|
14
13
|
const providers_1 = require("./providers");
|
|
15
14
|
let KnexModule = exports.KnexModule = KnexModule_1 = class KnexModule {
|
|
@@ -21,7 +20,6 @@ let KnexModule = exports.KnexModule = KnexModule_1 = class KnexModule {
|
|
|
21
20
|
};
|
|
22
21
|
return {
|
|
23
22
|
module: KnexModule_1,
|
|
24
|
-
imports: [core_1.PlatformConfigModule.forFeature(providers_1.KnexPluginConfig)],
|
|
25
23
|
providers: [providers_1.KnexIndicator, providers_1.KnexFactory, instanceProvider],
|
|
26
24
|
exports: [instanceProvider],
|
|
27
25
|
global: true,
|
package/dist/knex.module.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"knex.module.js","sourceRoot":"","sources":["../src/knex.module.ts"],"names":[],"mappings":";;;;;;;;;;AACA,2CAAwC;
|
|
1
|
+
{"version":3,"file":"knex.module.js","sourceRoot":"","sources":["../src/knex.module.ts"],"names":[],"mappings":";;;;;;;;;;AACA,2CAAwC;AAGxC,mEAA+D;AAC/D,2CAAyD;AAIlD,IAAM,UAAU,uCAAhB,MAAM,UAAU;IACrB,MAAM,CAAC,OAAO,CAAC,OAA0B;QACvC,MAAM,gBAAgB,GAAoB;YACxC,MAAM,EAAE,CAAC,uBAAW,CAAC;YACrB,OAAO,EAAE,4CAAoB;YAC7B,UAAU,EAAE,KAAK,EAAE,OAAoB,EAAiB,EAAE,CACxD,MAAM,OAAO,CAAC,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC;SACvC,CAAC;QAEF,OAAO;YACL,MAAM,EAAE,YAAU;YAClB,SAAS,EAAE,CAAC,yBAAa,EAAE,uBAAW,EAAE,gBAAgB,CAAC;YACzD,OAAO,EAAE,CAAC,gBAAgB,CAAC;YAC3B,MAAM,EAAE,IAAI;SACb,CAAC;IACJ,CAAC;CACF,CAAA;qBAhBY,UAAU;IADtB,IAAA,eAAM,EAAC,EAAE,CAAC;GACE,UAAU,CAgBtB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsdk/db.knex",
|
|
3
|
-
"version": "3.6.0-next.
|
|
3
|
+
"version": "3.6.0-next.8",
|
|
4
4
|
"description": "Knex integration for platform",
|
|
5
5
|
"license": "Apache License 2.0",
|
|
6
6
|
"publishConfig": {
|
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
"@nestjs/common": "^10.1.3",
|
|
18
18
|
"@nestjs/core": "^10.1.3",
|
|
19
19
|
"@rsdk/common": "^3.5.0",
|
|
20
|
-
"@rsdk/core": "^3.6.0-next.
|
|
21
|
-
"@rsdk/db": "^3.6.0-next.
|
|
20
|
+
"@rsdk/core": "^3.6.0-next.8",
|
|
21
|
+
"@rsdk/db": "^3.6.0-next.8",
|
|
22
22
|
"@rsdk/logging": "^3.6.0-next.6",
|
|
23
23
|
"knex": "^2.4.2"
|
|
24
24
|
},
|
|
25
|
-
"gitHead": "
|
|
25
|
+
"gitHead": "ab2582634d615f00a027ad65d9dceccee0ac60bf"
|
|
26
26
|
}
|
package/src/knex.module.ts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import type { DynamicModule, FactoryProvider } from '@nestjs/common';
|
|
2
2
|
import { Module } from '@nestjs/common';
|
|
3
|
-
import { PlatformConfigModule } from '@rsdk/core';
|
|
4
3
|
import type { Knex } from 'knex';
|
|
5
4
|
|
|
6
5
|
import { KNEX_INJECTION_TOKEN } from './inject-knex.decorator';
|
|
7
|
-
import { KnexFactory, KnexIndicator
|
|
6
|
+
import { KnexFactory, KnexIndicator } from './providers';
|
|
8
7
|
import type { KnexPluginOptions } from './types';
|
|
9
8
|
|
|
10
9
|
@Module({})
|
|
@@ -19,7 +18,6 @@ export class KnexModule {
|
|
|
19
18
|
|
|
20
19
|
return {
|
|
21
20
|
module: KnexModule,
|
|
22
|
-
imports: [PlatformConfigModule.forFeature(KnexPluginConfig)],
|
|
23
21
|
providers: [KnexIndicator, KnexFactory, instanceProvider],
|
|
24
22
|
exports: [instanceProvider],
|
|
25
23
|
global: true,
|