@rsdk/db.knex 6.0.0-next.5 → 6.0.0-next.50

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.
@@ -0,0 +1,3 @@
1
+ const rsdkEslint = require('@rsdk/eslint-plugin');
2
+
3
+ module.exports = rsdkEslint.createConfig({ tsconfigRootDir: __dirname });
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "@rsdk/db.knex",
3
- "version": "6.0.0-next.5",
3
+ "role": "library",
4
+ "version": "6.0.0-next.50",
4
5
  "description": "Knex integration for platform",
5
6
  "license": "Apache License 2.0",
6
7
  "publishConfig": {
@@ -14,16 +15,21 @@
14
15
  "prepublishOnly": "npm run build"
15
16
  },
16
17
  "peerDependencies": {
17
- "@nestjs/common": "^10.0.0",
18
- "@nestjs/core": "^10.0.0",
19
- "@rsdk/common": "*",
20
- "@rsdk/common.node": "*",
21
- "@rsdk/core": "*",
22
- "@rsdk/db": "*",
23
- "@rsdk/logging": "*",
24
- "knex": "^2.4.2",
18
+ "@nestjs/common": "<=10.4.8",
19
+ "@nestjs/core": "<=10.4.8",
20
+ "@nestjs/microservices": "<=10.4.8",
21
+ "knex": "^3.2.10",
22
+ "lodash": "^4.17.21",
25
23
  "reflect-metadata": "^0.1.12 || ^0.2.0",
26
- "rxjs": "^7.8.1"
24
+ "rxjs": "^7.8.1",
25
+ "type-fest": "^4.29.0"
27
26
  },
28
- "gitHead": "f6054a6f05b82d650f2f6fc4dc2aa5dfdd6f7cf5"
27
+ "dependencies": {
28
+ "@rsdk/common": "6.0.0-next.50",
29
+ "@rsdk/common.node": "6.0.0-next.50",
30
+ "@rsdk/core": "6.0.0-next.50",
31
+ "@rsdk/db": "6.0.0-next.50",
32
+ "@rsdk/logging": "6.0.0-next.50"
33
+ },
34
+ "gitHead": "2ff7c8c9a35e27945fc4fe8ff210b94b2248b27e"
29
35
  }
@@ -4,6 +4,7 @@
4
4
  "node_modules",
5
5
  "dist",
6
6
  "test",
7
+ "**/test.e2e/**",
7
8
  "**/*.spec.ts",
8
9
  "**/*.test.ts",
9
10
  "**/*.test.e2e.ts",
@@ -1,17 +0,0 @@
1
- export declare const contextTransactionMustNotInitialized: () => void;
2
- export declare const contextTransactionMustBeInitialized: () => void;
3
- export declare class SyntheticException extends Error {
4
- name: string;
5
- }
6
- export declare const cat: {
7
- id: number;
8
- name: string;
9
- };
10
- export declare const secondCat: {
11
- id: number;
12
- name: string;
13
- };
14
- export interface Cat {
15
- id: number;
16
- name: string;
17
- }
@@ -1,21 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.secondCat = exports.cat = exports.SyntheticException = exports.contextTransactionMustBeInitialized = exports.contextTransactionMustNotInitialized = void 0;
4
- const initializer_1 = require("../initializer");
5
- const contextTransactionMustNotInitialized = () => {
6
- const context = initializer_1.Initializer.storage.getContext();
7
- expect(context?.transactionInitialized).toBeFalsy();
8
- };
9
- exports.contextTransactionMustNotInitialized = contextTransactionMustNotInitialized;
10
- const contextTransactionMustBeInitialized = () => {
11
- const context = initializer_1.Initializer.storage.getContext();
12
- expect(context?.transactionInitialized).toBeTruthy();
13
- };
14
- exports.contextTransactionMustBeInitialized = contextTransactionMustBeInitialized;
15
- class SyntheticException extends Error {
16
- name = this.constructor.name;
17
- }
18
- exports.SyntheticException = SyntheticException;
19
- exports.cat = { id: 1, name: 'Pushistik' };
20
- exports.secondCat = { id: 2, name: 'Barsik' };
21
- //# sourceMappingURL=utils.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/internal/test.e2e/utils.ts"],"names":[],"mappings":";;;AAAA,gDAA6C;AAEtC,MAAM,oCAAoC,GAAG,GAAS,EAAE;IAC7D,MAAM,OAAO,GAAG,yBAAW,CAAC,OAAO,CAAC,UAAU,EAAE,CAAC;IAEjD,MAAM,CAAC,OAAO,EAAE,sBAAsB,CAAC,CAAC,SAAS,EAAE,CAAC;AACtD,CAAC,CAAC;AAJW,QAAA,oCAAoC,wCAI/C;AAEK,MAAM,mCAAmC,GAAG,GAAS,EAAE;IAC5D,MAAM,OAAO,GAAG,yBAAW,CAAC,OAAO,CAAC,UAAU,EAAE,CAAC;IAEjD,MAAM,CAAC,OAAO,EAAE,sBAAsB,CAAC,CAAC,UAAU,EAAE,CAAC;AACvD,CAAC,CAAC;AAJW,QAAA,mCAAmC,uCAI9C;AAEF,MAAa,kBAAmB,SAAQ,KAAK;IAClC,IAAI,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;CACvC;AAFD,gDAEC;AAEY,QAAA,GAAG,GAAG,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;AACnC,QAAA,SAAS,GAAG,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC"}