@node-c/persistance-clickhouse 1.0.0-alpha20 → 1.0.0-alpha21

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.
@@ -1,10 +1,11 @@
1
- import { GenericObject } from '@node-c/core';
1
+ import { ConfigProviderService, GenericObject } from '@node-c/core';
2
2
  import { RDBEntityService, SQLQueryBuilderService } from '@node-c/persistance-rdb';
3
3
  import { ClickHouseDBEntitySchema, ClickHouseDBRepository } from '../repository';
4
4
  export declare class ClickHouseDBEntityService<Entity extends GenericObject> extends RDBEntityService<Entity> {
5
+ protected configProvider: ConfigProviderService;
5
6
  protected qb: SQLQueryBuilderService;
6
7
  protected repository: ClickHouseDBRepository<Entity>;
7
8
  protected schema: ClickHouseDBEntitySchema;
8
9
  protected primaryKeys: string[];
9
- constructor(qb: SQLQueryBuilderService, repository: ClickHouseDBRepository<Entity>, schema: ClickHouseDBEntitySchema);
10
+ constructor(configProvider: ConfigProviderService, qb: SQLQueryBuilderService, repository: ClickHouseDBRepository<Entity>, schema: ClickHouseDBEntitySchema);
10
11
  }
@@ -3,8 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ClickHouseDBEntityService = void 0;
4
4
  const persistance_rdb_1 = require("@node-c/persistance-rdb");
5
5
  class ClickHouseDBEntityService extends persistance_rdb_1.RDBEntityService {
6
- constructor(qb, repository, schema) {
7
- super(qb, repository, schema);
6
+ constructor(configProvider, qb, repository, schema) {
7
+ super(configProvider, qb, repository, schema);
8
+ this.configProvider = configProvider;
8
9
  this.qb = qb;
9
10
  this.repository = repository;
10
11
  this.schema = schema;
@@ -1 +1 @@
1
- {"version":3,"file":"clickhouse.entity.service.js","sourceRoot":"","sources":["../../src/entityService/clickhouse.entity.service.ts"],"names":[],"mappings":";;;AACA,6DAAmF;AAInF,MAAa,yBAAwD,SAAQ,kCAAwB;IAGnG,YAEY,EAA0B,EAE1B,UAA0C,EAC1C,MAAgC;QAE1C,KAAK,CAAC,EAAE,EAAE,UAAU,EAAE,MAAM,CAAC,CAAC;QALpB,OAAE,GAAF,EAAE,CAAwB;QAE1B,eAAU,GAAV,UAAU,CAAgC;QAC1C,WAAM,GAAN,MAAM,CAA0B;QAG1C,IAAI,CAAC,WAAW,GAAG,UAAU,CAAC,WAAW,CAAC;IAC5C,CAAC;CACF;AAbD,8DAaC"}
1
+ {"version":3,"file":"clickhouse.entity.service.js","sourceRoot":"","sources":["../../src/entityService/clickhouse.entity.service.ts"],"names":[],"mappings":";;;AACA,6DAAmF;AAInF,MAAa,yBAAwD,SAAQ,kCAAwB;IAGnG,YACY,cAAqC,EACrC,EAA0B,EAC1B,UAA0C,EAC1C,MAAgC;QAE1C,KAAK,CAAC,cAAc,EAAE,EAAE,EAAE,UAAU,EAAE,MAAM,CAAC,CAAC;QALpC,mBAAc,GAAd,cAAc,CAAuB;QACrC,OAAE,GAAF,EAAE,CAAwB;QAC1B,eAAU,GAAV,UAAU,CAAgC;QAC1C,WAAM,GAAN,MAAM,CAA0B;QAG1C,IAAI,CAAC,WAAW,GAAG,UAAU,CAAC,WAAW,CAAC;IAC5C,CAAC;CACF;AAZD,8DAYC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@node-c/persistance-clickhouse",
3
- "version": "1.0.0-alpha20",
3
+ "version": "1.0.0-alpha21",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -15,8 +15,8 @@
15
15
  "@depyronick/nestjs-clickhouse": "^2.0.2",
16
16
  "@nestjs/common": "^10.4.12",
17
17
  "@nestjs/typeorm": "^10.0.2",
18
- "@node-c/core": "^1.0.0-alpha20",
19
- "@node-c/persistance-rdb": "^1.0.0-alpha20",
18
+ "@node-c/core": "^1.0.0-alpha21",
19
+ "@node-c/persistance-rdb": "^1.0.0-alpha21",
20
20
  "class-validator": "^0.14.1",
21
21
  "typeorm": "^0.3.20",
22
22
  "uuid": "^11.0.5"