@reachu/database 1.0.156 → 1.0.157

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.
@@ -18,4 +18,5 @@ export default class ImportedProduct {
18
18
  channelUser: ChannelUser;
19
19
  magentoBulk: MagentoBulk[];
20
20
  bulkStage?: number;
21
+ bulkStageStatusMessage?: string;
21
22
  }
@@ -83,6 +83,10 @@ __decorate([
83
83
  typeorm_1.Column('integer', { nullable: true }),
84
84
  __metadata("design:type", Number)
85
85
  ], ImportedProduct.prototype, "bulkStage", void 0);
86
+ __decorate([
87
+ typeorm_1.Column('varchar', { nullable: true }),
88
+ __metadata("design:type", String)
89
+ ], ImportedProduct.prototype, "bulkStageStatusMessage", void 0);
86
90
  ImportedProduct = __decorate([
87
91
  typeorm_1.Entity()
88
92
  ], ImportedProduct);
@@ -1 +1 @@
1
- {"version":3,"file":"ImportedProduct.js","sourceRoot":"","sources":["../../src/entity/ImportedProduct.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,qCAQiB;AACjB,qDAA2C;AAC3C,kDAA0B;AAC1B,gEAAwC;AACxC,gEAAwC;AAGxC,IAAqB,eAAe,GAApC,MAAqB,eAAe;CAiDnC,CAAA;AA/CC;IADC,gCAAsB,EAAE;;2CACd;AAGX;IADC,0BAAgB,EAAE;8BACR,IAAI;kDAAC;AAIhB;IAFC,mBAAS,CAAC,GAAG,EAAE,CAAC,cAAI,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;IAC3D,oBAAU,EAAE;8BACP,cAAI;6CAAC;AAIX;IAFC,mBAAS,CAAC,GAAG,EAAE,CAAC,wBAAO,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;IAC9D,oBAAU,EAAE;8BACJ,wBAAO;gDAAC;AAGjB;IADC,gBAAM,CAAC,QAAQ,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,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W;oDAAC;AAIzB;IAFC,mBAAS,CAAC,GAAG,EAAE,CAAC,qBAAW,EAAE,CAAC,IAAiB,EAAE,EAAE,CAAC,IAAI,CAAC,eAAe,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;IAC5F,oBAAU,EAAE;;oDACc;AAG3B;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;kDACnB;AAGnB;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+DACN;AAnDb,eAAe;IADnC,gBAAM,EAAE;GACY,eAAe,CAoDnC;kBApDoB,eAAe"}
@@ -0,0 +1,6 @@
1
+ import { MigrationInterface, QueryRunner } from "typeorm";
2
+ export declare class promoteToProd271223_011703726009902 implements MigrationInterface {
3
+ name: string;
4
+ up(queryRunner: QueryRunner): Promise<void>;
5
+ down(queryRunner: QueryRunner): Promise<void>;
6
+ }
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
+ return new (P || (P = Promise))(function (resolve, reject) {
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
9
+ });
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.promoteToProd271223_011703726009902 = void 0;
13
+ class promoteToProd271223_011703726009902 {
14
+ constructor() {
15
+ this.name = 'promoteToProd271223_011703726009902';
16
+ }
17
+ up(queryRunner) {
18
+ return __awaiter(this, void 0, void 0, function* () {
19
+ yield queryRunner.query(`ALTER TABLE \`channel_user\` DROP COLUMN \`bulk_stage\``);
20
+ yield queryRunner.query(`ALTER TABLE \`imported_product\` ADD \`bulk_stage\` int NULL`);
21
+ });
22
+ }
23
+ down(queryRunner) {
24
+ return __awaiter(this, void 0, void 0, function* () {
25
+ yield queryRunner.query(`ALTER TABLE \`imported_product\` DROP COLUMN \`bulk_stage\``);
26
+ yield queryRunner.query(`ALTER TABLE \`channel_user\` ADD \`bulk_stage\` int NULL`);
27
+ });
28
+ }
29
+ }
30
+ exports.promoteToProd271223_011703726009902 = promoteToProd271223_011703726009902;
31
+ //# sourceMappingURL=1703726009902-promote_to_prod_27_12_23__01.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"1703726009902-promote_to_prod_27_12_23__01.js","sourceRoot":"","sources":["../../src/migrations/1703726009902-promote_to_prod_27_12_23__01.ts"],"names":[],"mappings":";;;;;;;;;;;;AAEA,MAAa,mCAAmC;IAAhD;QACI,SAAI,GAAG,qCAAqC,CAAA;IAYhD,CAAC;IAVgB,EAAE,CAAC,WAAwB;;YACpC,MAAM,WAAW,CAAC,KAAK,CAAC,yDAAyD,CAAC,CAAC;YACnF,MAAM,WAAW,CAAC,KAAK,CAAC,8DAA8D,CAAC,CAAC;QAC5F,CAAC;KAAA;IAEY,IAAI,CAAC,WAAwB;;YACtC,MAAM,WAAW,CAAC,KAAK,CAAC,6DAA6D,CAAC,CAAC;YACvF,MAAM,WAAW,CAAC,KAAK,CAAC,0DAA0D,CAAC,CAAC;QACxF,CAAC;KAAA;CAEJ;AAbD,kFAaC"}
@@ -0,0 +1,6 @@
1
+ import { MigrationInterface, QueryRunner } from "typeorm";
2
+ export declare class promoteToQa281223_011703783765081 implements MigrationInterface {
3
+ name: string;
4
+ up(queryRunner: QueryRunner): Promise<void>;
5
+ down(queryRunner: QueryRunner): Promise<void>;
6
+ }
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
+ return new (P || (P = Promise))(function (resolve, reject) {
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
9
+ });
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.promoteToQa281223_011703783765081 = void 0;
13
+ class promoteToQa281223_011703783765081 {
14
+ constructor() {
15
+ this.name = 'promoteToQa281223_011703783765081';
16
+ }
17
+ up(queryRunner) {
18
+ return __awaiter(this, void 0, void 0, function* () {
19
+ yield queryRunner.query(`ALTER TABLE \`imported_product\` ADD \`bulk_stage\` int NULL`);
20
+ });
21
+ }
22
+ down(queryRunner) {
23
+ return __awaiter(this, void 0, void 0, function* () {
24
+ yield queryRunner.query(`ALTER TABLE \`imported_product\` DROP COLUMN \`bulk_stage\``);
25
+ });
26
+ }
27
+ }
28
+ exports.promoteToQa281223_011703783765081 = promoteToQa281223_011703783765081;
29
+ //# sourceMappingURL=1703783765081-promote_to_qa_28_12_23__01.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"1703783765081-promote_to_qa_28_12_23__01.js","sourceRoot":"","sources":["../../src/migrations/1703783765081-promote_to_qa_28_12_23__01.ts"],"names":[],"mappings":";;;;;;;;;;;;AAEA,MAAa,iCAAiC;IAA9C;QACI,SAAI,GAAG,mCAAmC,CAAA;IAU9C,CAAC;IARgB,EAAE,CAAC,WAAwB;;YACpC,MAAM,WAAW,CAAC,KAAK,CAAC,8DAA8D,CAAC,CAAC;QAC5F,CAAC;KAAA;IAEY,IAAI,CAAC,WAAwB;;YACtC,MAAM,WAAW,CAAC,KAAK,CAAC,6DAA6D,CAAC,CAAC;QAC3F,CAAC;KAAA;CAEJ;AAXD,8EAWC"}
@@ -0,0 +1,6 @@
1
+ import { MigrationInterface, QueryRunner } from "typeorm";
2
+ export declare class promoteToPreDevelop281223_011703784009454 implements MigrationInterface {
3
+ name: string;
4
+ up(queryRunner: QueryRunner): Promise<void>;
5
+ down(queryRunner: QueryRunner): Promise<void>;
6
+ }
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
+ return new (P || (P = Promise))(function (resolve, reject) {
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
9
+ });
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.promoteToPreDevelop281223_011703784009454 = void 0;
13
+ class promoteToPreDevelop281223_011703784009454 {
14
+ constructor() {
15
+ this.name = 'promoteToPreDevelop281223_011703784009454';
16
+ }
17
+ up(queryRunner) {
18
+ return __awaiter(this, void 0, void 0, function* () {
19
+ yield queryRunner.query(`ALTER TABLE \`imported_product\` ADD \`bulk_stage\` int NULL`);
20
+ });
21
+ }
22
+ down(queryRunner) {
23
+ return __awaiter(this, void 0, void 0, function* () {
24
+ yield queryRunner.query(`ALTER TABLE \`imported_product\` DROP COLUMN \`bulk_stage\``);
25
+ });
26
+ }
27
+ }
28
+ exports.promoteToPreDevelop281223_011703784009454 = promoteToPreDevelop281223_011703784009454;
29
+ //# sourceMappingURL=1703784009454-promote_to_pre_develop_28_12_23__01.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"1703784009454-promote_to_pre_develop_28_12_23__01.js","sourceRoot":"","sources":["../../src/migrations/1703784009454-promote_to_pre_develop_28_12_23__01.ts"],"names":[],"mappings":";;;;;;;;;;;;AAEA,MAAa,yCAAyC;IAAtD;QACI,SAAI,GAAG,2CAA2C,CAAA;IAUtD,CAAC;IARgB,EAAE,CAAC,WAAwB;;YACpC,MAAM,WAAW,CAAC,KAAK,CAAC,8DAA8D,CAAC,CAAC;QAC5F,CAAC;KAAA;IAEY,IAAI,CAAC,WAAwB;;YACtC,MAAM,WAAW,CAAC,KAAK,CAAC,6DAA6D,CAAC,CAAC;QAC3F,CAAC;KAAA;CAEJ;AAXD,8FAWC"}
@@ -2442,8 +2442,8 @@
2442
2442
  "affectsGlobalScope": false
2443
2443
  },
2444
2444
  "../src/entity/importedproduct.ts": {
2445
- "version": "96cee15ec2028dc0cbc319897a7f0b4d91efc690c62a528a34e864565b72597c",
2446
- "signature": "10b64e1a0e4cf163173b2d7083d14380548ece813550aa71fdeb4e95573e660f",
2445
+ "version": "2cc0c6a10dfa04726490f4932d0cac4ac252c4cc6e397a7e660510aaa3ae94bd",
2446
+ "signature": "aa4b2bafe5700d07adfd2181c518bdd228fd6801bcdae56e03a6e1cd76dba76c",
2447
2447
  "affectsGlobalScope": false
2448
2448
  },
2449
2449
  "../src/staticdata/currency.ts": {
@@ -3676,6 +3676,21 @@
3676
3676
  "signature": "6b7052b6681d2d592abe056c191e3f5ea5a294861ad8767963f2a8c5b4397e63",
3677
3677
  "affectsGlobalScope": false
3678
3678
  },
3679
+ "../src/migrations/1703726009902-promote_to_prod_27_12_23__01.ts": {
3680
+ "version": "045e598767e2f1952cce2961fb2317be58431b58c3358cdffb5de1607a5256a1",
3681
+ "signature": "3c9255c304a5ae9653f1ad1d61998794a7b7bcc29fa8f18460ca52f54690cc19",
3682
+ "affectsGlobalScope": false
3683
+ },
3684
+ "../src/migrations/1703783765081-promote_to_qa_28_12_23__01.ts": {
3685
+ "version": "7cb139e9331da647176a30518ce90bd12ab5f0dda810aa25b6fe4462928057f6",
3686
+ "signature": "ca2d706a0dc67a2dfc22726eacabdf0ffa32e84c23e73b69b69e3d59b5682ce1",
3687
+ "affectsGlobalScope": false
3688
+ },
3689
+ "../src/migrations/1703784009454-promote_to_pre_develop_28_12_23__01.ts": {
3690
+ "version": "26dba2c97f7be610986b002a4932a41db298f113e8935e91cdef920c82781e9b",
3691
+ "signature": "b40b983cf8053cc7721f6fe4fc2d04d67ec29de796715678898c217d462e0e6d",
3692
+ "affectsGlobalScope": false
3693
+ },
3679
3694
  "../src/migrations/execute/index.ts": {
3680
3695
  "version": "8b5bf13d095aeb57afd593adf3d799681176a13c327e2f77e0028e178c4ee3b9",
3681
3696
  "signature": "8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881",
@@ -6787,6 +6802,15 @@
6787
6802
  "../src/migrations/1703725615747-promote_to_prod_27_12_23.ts": [
6788
6803
  "../node_modules/typeorm/index.d.ts"
6789
6804
  ],
6805
+ "../src/migrations/1703726009902-promote_to_prod_27_12_23__01.ts": [
6806
+ "../node_modules/typeorm/index.d.ts"
6807
+ ],
6808
+ "../src/migrations/1703783765081-promote_to_qa_28_12_23__01.ts": [
6809
+ "../node_modules/typeorm/index.d.ts"
6810
+ ],
6811
+ "../src/migrations/1703784009454-promote_to_pre_develop_28_12_23__01.ts": [
6812
+ "../node_modules/typeorm/index.d.ts"
6813
+ ],
6790
6814
  "../src/migrations/execute/index.ts": [
6791
6815
  "../src/config/connect.ts"
6792
6816
  ],
@@ -9753,6 +9777,15 @@
9753
9777
  "../src/migrations/1703725615747-promote_to_prod_27_12_23.ts": [
9754
9778
  "../node_modules/typeorm/index.d.ts"
9755
9779
  ],
9780
+ "../src/migrations/1703726009902-promote_to_prod_27_12_23__01.ts": [
9781
+ "../node_modules/typeorm/index.d.ts"
9782
+ ],
9783
+ "../src/migrations/1703783765081-promote_to_qa_28_12_23__01.ts": [
9784
+ "../node_modules/typeorm/index.d.ts"
9785
+ ],
9786
+ "../src/migrations/1703784009454-promote_to_pre_develop_28_12_23__01.ts": [
9787
+ "../node_modules/typeorm/index.d.ts"
9788
+ ],
9756
9789
  "../src/migrations/index.ts": [
9757
9790
  "../src/migrations/1628474597284-initialschema.ts",
9758
9791
  "../src/migrations/1630077596132-removemangopay.ts",
@@ -10647,6 +10680,9 @@
10647
10680
  "../src/migrations/1703602386185-magento-bulk.ts",
10648
10681
  "../src/migrations/1703611484454-promote_to_prod_26_12_23.ts",
10649
10682
  "../src/migrations/1703725615747-promote_to_prod_27_12_23.ts",
10683
+ "../src/migrations/1703726009902-promote_to_prod_27_12_23__01.ts",
10684
+ "../src/migrations/1703783765081-promote_to_qa_28_12_23__01.ts",
10685
+ "../src/migrations/1703784009454-promote_to_pre_develop_28_12_23__01.ts",
10650
10686
  "../src/migrations/execute/index.ts",
10651
10687
  "../src/migrations/index.ts",
10652
10688
  "../src/repositories/discount/index.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reachu/database",
3
- "version": "1.0.156",
3
+ "version": "1.0.157",
4
4
  "description": "reachu-database",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -21,8 +21,8 @@
21
21
  "author": "reachu",
22
22
  "license": "ISC",
23
23
  "dependencies": {
24
- "@reachu/logger": "1.0.156",
25
- "@reachu/utils": "1.0.156",
24
+ "@reachu/logger": "1.0.157",
25
+ "@reachu/utils": "1.0.157",
26
26
  "dotenv": "8.0.0",
27
27
  "express": "4.17.1",
28
28
  "mysql2": "1.5.2",
@@ -62,4 +62,7 @@ export default class ImportedProduct {
62
62
 
63
63
  @Column('integer', { nullable: true })
64
64
  bulkStage?: number;
65
+
66
+ @Column('varchar', { nullable: true })
67
+ bulkStageStatusMessage?: string;
65
68
  }
@@ -0,0 +1,16 @@
1
+ import {MigrationInterface, QueryRunner} from "typeorm";
2
+
3
+ export class promoteToProd271223_011703726009902 implements MigrationInterface {
4
+ name = 'promoteToProd271223_011703726009902'
5
+
6
+ public async up(queryRunner: QueryRunner): Promise<void> {
7
+ await queryRunner.query(`ALTER TABLE \`channel_user\` DROP COLUMN \`bulk_stage\``);
8
+ await queryRunner.query(`ALTER TABLE \`imported_product\` ADD \`bulk_stage\` int NULL`);
9
+ }
10
+
11
+ public async down(queryRunner: QueryRunner): Promise<void> {
12
+ await queryRunner.query(`ALTER TABLE \`imported_product\` DROP COLUMN \`bulk_stage\``);
13
+ await queryRunner.query(`ALTER TABLE \`channel_user\` ADD \`bulk_stage\` int NULL`);
14
+ }
15
+
16
+ }
@@ -0,0 +1,14 @@
1
+ import {MigrationInterface, QueryRunner} from "typeorm";
2
+
3
+ export class promoteToQa281223_011703783765081 implements MigrationInterface {
4
+ name = 'promoteToQa281223_011703783765081'
5
+
6
+ public async up(queryRunner: QueryRunner): Promise<void> {
7
+ await queryRunner.query(`ALTER TABLE \`imported_product\` ADD \`bulk_stage\` int NULL`);
8
+ }
9
+
10
+ public async down(queryRunner: QueryRunner): Promise<void> {
11
+ await queryRunner.query(`ALTER TABLE \`imported_product\` DROP COLUMN \`bulk_stage\``);
12
+ }
13
+
14
+ }
@@ -0,0 +1,14 @@
1
+ import {MigrationInterface, QueryRunner} from "typeorm";
2
+
3
+ export class promoteToPreDevelop281223_011703784009454 implements MigrationInterface {
4
+ name = 'promoteToPreDevelop281223_011703784009454'
5
+
6
+ public async up(queryRunner: QueryRunner): Promise<void> {
7
+ await queryRunner.query(`ALTER TABLE \`imported_product\` ADD \`bulk_stage\` int NULL`);
8
+ }
9
+
10
+ public async down(queryRunner: QueryRunner): Promise<void> {
11
+ await queryRunner.query(`ALTER TABLE \`imported_product\` DROP COLUMN \`bulk_stage\``);
12
+ }
13
+
14
+ }