@reachu/database 1.0.131 → 1.0.133
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/dist/entity/ProductDigital.d.ts +1 -0
- package/dist/entity/ProductDigital.js +4 -0
- package/dist/entity/ProductDigital.js.map +1 -1
- package/dist/entity/modules/subscriptions/Subscription.js +1 -1
- package/dist/entity/modules/subscriptions/Subscription.js.map +1 -1
- package/dist/migrations/1700068092273-generated_15_11_2023.d.ts +6 -0
- package/dist/migrations/1700068092273-generated_15_11_2023.js +29 -0
- package/dist/migrations/1700068092273-generated_15_11_2023.js.map +1 -0
- package/dist/migrations/1700597907034-product-digital-reachu.d.ts +6 -0
- package/dist/migrations/1700597907034-product-digital-reachu.js +29 -0
- package/dist/migrations/1700597907034-product-digital-reachu.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +108 -50
- package/package.json +3 -3
- package/src/entity/ProductDigital.ts +3 -0
- package/src/entity/modules/subscriptions/Subscription.ts +9 -2
- package/src/migrations/1700068092273-generated_15_11_2023.ts +14 -0
- package/src/migrations/1700597907034-product-digital-reachu.ts +14 -0
|
@@ -44,6 +44,10 @@ __decorate([
|
|
|
44
44
|
typeorm_1.Column('text', { nullable: false }),
|
|
45
45
|
__metadata("design:type", String)
|
|
46
46
|
], ProductDigital.prototype, "file_url", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
typeorm_1.Column('text', { nullable: true }),
|
|
49
|
+
__metadata("design:type", String)
|
|
50
|
+
], ProductDigital.prototype, "file_url_reachu", void 0);
|
|
47
51
|
__decorate([
|
|
48
52
|
typeorm_1.Column('integer', { nullable: true }),
|
|
49
53
|
__metadata("design:type", Number)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductDigital.js","sourceRoot":"","sources":["../../src/entity/ProductDigital.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qCAQiB;AACjB,kEAA0C;AAC1C,qDAA2C;AAC3C,iDAAuC;AAEvC,IAAY,KAIX;AAJD,WAAY,KAAK;IACf,iDAAgB,CAAA;IAChB,qCAAU,CAAA;IACV,iCAAQ,CAAA;AACV,CAAC,EAJW,KAAK,GAAL,aAAK,KAAL,aAAK,QAIhB;AAED,IAAY,UAIX;AAJD,WAAY,UAAU;IACpB,yCAAO,CAAA;IACP,uCAAM,CAAA;IACN,qDAAa,CAAA;AACf,CAAC,EAJW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAIrB;AAGD,IAAqB,cAAc,sBAAnC,MAAqB,cAAe,SAAQ,sBAAY;
|
|
1
|
+
{"version":3,"file":"ProductDigital.js","sourceRoot":"","sources":["../../src/entity/ProductDigital.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qCAQiB;AACjB,kEAA0C;AAC1C,qDAA2C;AAC3C,iDAAuC;AAEvC,IAAY,KAIX;AAJD,WAAY,KAAK;IACf,iDAAgB,CAAA;IAChB,qCAAU,CAAA;IACV,iCAAQ,CAAA;AACV,CAAC,EAJW,KAAK,GAAL,aAAK,KAAL,aAAK,QAIhB;AAED,IAAY,UAIX;AAJD,WAAY,UAAU;IACpB,yCAAO,CAAA;IACP,uCAAM,CAAA;IACN,qDAAa,CAAA;AACf,CAAC,EAJW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAIrB;AAGD,IAAqB,cAAc,sBAAnC,MAAqB,cAAe,SAAQ,sBAAY;CAiDvD,CAAA;AA/CC;IADC,gCAAsB,EAAE;;0CACd;AAGX;IADC,0BAAgB,EAAE;8BACR,IAAI;iDAAC;AAGhB;IADC,gBAAM,CAAC,MAAM,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;gDACnB;AAGjB;IADC,gBAAM,CAAC,MAAM,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uDACX;AAGxB;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iDACpB;AAGlB;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iDACT;AAG7B;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4CACnB;AAGnB;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;gDACrB;AAOjB;IALC,kBAAQ,CAAC,GAAG,EAAE,CAAC,gBAAc,EAAE,CAAC,cAA8B,EAAE,EAAE,CAAC,cAAc,CAAC,EAAE,EAAE;QACrF,KAAK,EAAE,KAAK;QACZ,QAAQ,EAAE,IAAI;KACf,CAAC;IACD,oBAAU,EAAE;8BACG,cAAc;sDAAC;AAG/B;IADC,gBAAM,CAAC,GAAG,EAAE,CAAC,oBAAK,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC;8BACnC,oBAAK;6CAAC;AAGb;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sDACf;AAGvB;IADC,gBAAM,CAAC,UAAU,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACtB,IAAI;uDAAC;AAMtB;IAJC,mBAAS,CAAC,GAAG,EAAE,CAAC,wBAAO,EAAE,CAAC,OAAgB,EAAE,EAAE,CAAC,OAAO,CAAC,EAAE,EAAE;QAC1D,KAAK,EAAE,KAAK;KACb,CAAC;IACD,oBAAU,EAAE;8BACJ,wBAAO;+CAAC;AAGjB;IADC,gBAAM,CAAC,MAAM,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;4CACvB;AAhDM,cAAc;IADlC,gBAAM,EAAE;GACY,cAAc,CAiDlC;kBAjDoB,cAAc"}
|
|
@@ -53,7 +53,7 @@ __decorate([
|
|
|
53
53
|
__metadata("design:type", String)
|
|
54
54
|
], Subscription.prototype, "originId", void 0);
|
|
55
55
|
__decorate([
|
|
56
|
-
typeorm_1.Column('varchar', { nullable: true }),
|
|
56
|
+
typeorm_1.Column('varchar', { length: '21844', nullable: true }),
|
|
57
57
|
__metadata("design:type", String)
|
|
58
58
|
], Subscription.prototype, "response", void 0);
|
|
59
59
|
Subscription = __decorate([
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Subscription.js","sourceRoot":"","sources":["../../../../src/entity/modules/subscriptions/Subscription.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,sEAA8C;AAC9C,sDAA8B;AAC9B,kDAA0B;AAE1B,
|
|
1
|
+
{"version":3,"file":"Subscription.js","sourceRoot":"","sources":["../../../../src/entity/modules/subscriptions/Subscription.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,sEAA8C;AAC9C,sDAA8B;AAC9B,kDAA0B;AAE1B,qCAOiB;AAGjB,IAAqB,YAAY,GAAjC,MAAqB,YAAa,SAAQ,sBAAY;CA6BrD,CAAA;AA3BC;IADC,gCAAsB,EAAE;;wCACd;AAGX;IADC,0BAAgB,EAAE;8BACR,IAAI;+CAAC;AAIhB;IAFC,mBAAS,CAAC,GAAG,EAAE,CAAC,cAAI,EAAE,CAAC,IAAU,EAAE,EAAE,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;IACvE,oBAAU,EAAE;8BACP,cAAI;0CAAC;AAIX;IAFC,mBAAS,CAAC,GAAG,EAAE,CAAC,cAAI,EAAE,CAAC,IAAU,EAAE,EAAE,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;IACpF,oBAAU,EAAE;8BACP,cAAI;0CAAC;AAGX;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;gDACnB;AAGnB;IADC,gBAAM,CAAC,SAAS,CAAC;;4CACF;AAGhB;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4CACpC;AAGf;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;8CACrB;AAGjB;IADC,gBAAM,CAAC,SAAS,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;8CACtC;AA5BE,YAAY;IADhC,gBAAM,EAAE;GACY,YAAY,CA6BhC;kBA7BoB,YAAY"}
|
|
@@ -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.generated151120231700068092273 = void 0;
|
|
13
|
+
class generated151120231700068092273 {
|
|
14
|
+
constructor() {
|
|
15
|
+
this.name = 'generated151120231700068092273';
|
|
16
|
+
}
|
|
17
|
+
up(queryRunner) {
|
|
18
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
19
|
+
yield queryRunner.query(`ALTER TABLE \`order_item\` CHANGE \`tax_title\` \`tax_title\` varchar(255) NOT NULL`);
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
down(queryRunner) {
|
|
23
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
24
|
+
yield queryRunner.query(`ALTER TABLE \`order_item\` CHANGE \`tax_title\` \`tax_title\` varchar(255) NULL`);
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
exports.generated151120231700068092273 = generated151120231700068092273;
|
|
29
|
+
//# sourceMappingURL=1700068092273-generated_15_11_2023.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"1700068092273-generated_15_11_2023.js","sourceRoot":"","sources":["../../src/migrations/1700068092273-generated_15_11_2023.ts"],"names":[],"mappings":";;;;;;;;;;;;AAEA,MAAa,8BAA8B;IAA3C;QACI,SAAI,GAAG,gCAAgC,CAAA;IAU3C,CAAC;IARgB,EAAE,CAAC,WAAwB;;YACpC,MAAM,WAAW,CAAC,KAAK,CAAC,qFAAqF,CAAC,CAAC;QACnH,CAAC;KAAA;IAEY,IAAI,CAAC,WAAwB;;YACtC,MAAM,WAAW,CAAC,KAAK,CAAC,iFAAiF,CAAC,CAAC;QAC/G,CAAC;KAAA;CAEJ;AAXD,wEAWC"}
|
|
@@ -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.productDigitalReachu1700597907034 = void 0;
|
|
13
|
+
class productDigitalReachu1700597907034 {
|
|
14
|
+
constructor() {
|
|
15
|
+
this.name = 'productDigitalReachu1700597907034';
|
|
16
|
+
}
|
|
17
|
+
up(queryRunner) {
|
|
18
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
19
|
+
yield queryRunner.query(`ALTER TABLE \`product_digital\` ADD \`file_url_reachu\` text NULL`);
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
down(queryRunner) {
|
|
23
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
24
|
+
yield queryRunner.query(`ALTER TABLE \`product_digital\` DROP COLUMN \`file_url_reachu\``);
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
exports.productDigitalReachu1700597907034 = productDigitalReachu1700597907034;
|
|
29
|
+
//# sourceMappingURL=1700597907034-product-digital-reachu.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"1700597907034-product-digital-reachu.js","sourceRoot":"","sources":["../../src/migrations/1700597907034-product-digital-reachu.ts"],"names":[],"mappings":";;;;;;;;;;;;AAEA,MAAa,iCAAiC;IAA9C;QACI,SAAI,GAAG,mCAAmC,CAAA;IAU9C,CAAC;IARgB,EAAE,CAAC,WAAwB;;YACpC,MAAM,WAAW,CAAC,KAAK,CAAC,mEAAmE,CAAC,CAAC;QACjG,CAAC;KAAA;IAEY,IAAI,CAAC,WAAwB;;YACtC,MAAM,WAAW,CAAC,KAAK,CAAC,iEAAiE,CAAC,CAAC;QAC/F,CAAC;KAAA;CAEJ;AAXD,8EAWC"}
|
|
@@ -2236,44 +2236,59 @@
|
|
|
2236
2236
|
"signature": "744e6430bafc6f39f66c4fc1e6a0d8c9551260ffd1782aa7e3f5166ac6aa1f86",
|
|
2237
2237
|
"affectsGlobalScope": false
|
|
2238
2238
|
},
|
|
2239
|
-
"../node_modules/@types/
|
|
2240
|
-
"version": "
|
|
2241
|
-
"signature": "
|
|
2239
|
+
"../node_modules/@types/send/node_modules/@types/mime/index.d.ts": {
|
|
2240
|
+
"version": "d3f2d715f57df3f04bf7b16dde01dec10366f64fce44503c92b8f78f614c1769",
|
|
2241
|
+
"signature": "d3f2d715f57df3f04bf7b16dde01dec10366f64fce44503c92b8f78f614c1769",
|
|
2242
|
+
"affectsGlobalScope": false
|
|
2243
|
+
},
|
|
2244
|
+
"../node_modules/@types/send/index.d.ts": {
|
|
2245
|
+
"version": "b78cd10245a90e27e62d0558564f5d9a16576294eee724a59ae21b91f9269e4a",
|
|
2246
|
+
"signature": "b78cd10245a90e27e62d0558564f5d9a16576294eee724a59ae21b91f9269e4a",
|
|
2242
2247
|
"affectsGlobalScope": false
|
|
2243
2248
|
},
|
|
2244
2249
|
"../node_modules/@types/qs/index.d.ts": {
|
|
2245
|
-
"version": "
|
|
2246
|
-
"signature": "
|
|
2250
|
+
"version": "fedd311d427fdafac411b4e0edc0d1014668853679e021e04717a6de45ff5c0c",
|
|
2251
|
+
"signature": "fedd311d427fdafac411b4e0edc0d1014668853679e021e04717a6de45ff5c0c",
|
|
2252
|
+
"affectsGlobalScope": false
|
|
2253
|
+
},
|
|
2254
|
+
"../node_modules/@types/range-parser/index.d.ts": {
|
|
2255
|
+
"version": "2f5747b1508ccf83fad0c251ba1e5da2f5a30b78b09ffa1cfaf633045160afed",
|
|
2256
|
+
"signature": "2f5747b1508ccf83fad0c251ba1e5da2f5a30b78b09ffa1cfaf633045160afed",
|
|
2247
2257
|
"affectsGlobalScope": false
|
|
2248
2258
|
},
|
|
2249
2259
|
"../node_modules/@types/express-serve-static-core/index.d.ts": {
|
|
2250
|
-
"version": "
|
|
2251
|
-
"signature": "
|
|
2260
|
+
"version": "50072f976cfa86af1a3044f55cd729d992abe39222d2f6cdf929266c77a42b0b",
|
|
2261
|
+
"signature": "50072f976cfa86af1a3044f55cd729d992abe39222d2f6cdf929266c77a42b0b",
|
|
2252
2262
|
"affectsGlobalScope": true
|
|
2253
2263
|
},
|
|
2264
|
+
"../node_modules/@types/http-errors/index.d.ts": {
|
|
2265
|
+
"version": "b71c603a539078a5e3a039b20f2b0a0d1708967530cf97dec8850a9ca45baa2b",
|
|
2266
|
+
"signature": "b71c603a539078a5e3a039b20f2b0a0d1708967530cf97dec8850a9ca45baa2b",
|
|
2267
|
+
"affectsGlobalScope": false
|
|
2268
|
+
},
|
|
2254
2269
|
"../node_modules/@types/mime/mime.d.ts": {
|
|
2255
|
-
"version": "
|
|
2256
|
-
"signature": "
|
|
2270
|
+
"version": "d2a38ad7bb4676e7fd5d058a08105d81ac232c363ee56be0b401fc277d50dbb1",
|
|
2271
|
+
"signature": "d2a38ad7bb4676e7fd5d058a08105d81ac232c363ee56be0b401fc277d50dbb1",
|
|
2257
2272
|
"affectsGlobalScope": false
|
|
2258
2273
|
},
|
|
2259
2274
|
"../node_modules/@types/mime/index.d.ts": {
|
|
2260
|
-
"version": "
|
|
2261
|
-
"signature": "
|
|
2275
|
+
"version": "2ac2e08e0d0ed266849cb9da521c3be170a8bc111d25eeeb668c7dbf0ac4171a",
|
|
2276
|
+
"signature": "2ac2e08e0d0ed266849cb9da521c3be170a8bc111d25eeeb668c7dbf0ac4171a",
|
|
2262
2277
|
"affectsGlobalScope": false
|
|
2263
2278
|
},
|
|
2264
2279
|
"../node_modules/@types/serve-static/index.d.ts": {
|
|
2265
|
-
"version": "
|
|
2266
|
-
"signature": "
|
|
2280
|
+
"version": "34118be360cdd3381bbebbfd4b093c394460c8fc5df40688d58f45d86ab1448b",
|
|
2281
|
+
"signature": "34118be360cdd3381bbebbfd4b093c394460c8fc5df40688d58f45d86ab1448b",
|
|
2267
2282
|
"affectsGlobalScope": false
|
|
2268
2283
|
},
|
|
2269
2284
|
"../node_modules/@types/connect/index.d.ts": {
|
|
2270
|
-
"version": "
|
|
2271
|
-
"signature": "
|
|
2285
|
+
"version": "104c67f0da1bdf0d94865419247e20eded83ce7f9911a1aa75fc675c077ca66e",
|
|
2286
|
+
"signature": "104c67f0da1bdf0d94865419247e20eded83ce7f9911a1aa75fc675c077ca66e",
|
|
2272
2287
|
"affectsGlobalScope": false
|
|
2273
2288
|
},
|
|
2274
2289
|
"../node_modules/@types/body-parser/index.d.ts": {
|
|
2275
|
-
"version": "
|
|
2276
|
-
"signature": "
|
|
2290
|
+
"version": "cc0d0b339f31ce0ab3b7a5b714d8e578ce698f1e13d7f8c60bfb766baeb1d35c",
|
|
2291
|
+
"signature": "cc0d0b339f31ce0ab3b7a5b714d8e578ce698f1e13d7f8c60bfb766baeb1d35c",
|
|
2277
2292
|
"affectsGlobalScope": false
|
|
2278
2293
|
},
|
|
2279
2294
|
"../node_modules/@types/express/index.d.ts": {
|
|
@@ -2557,7 +2572,7 @@
|
|
|
2557
2572
|
"affectsGlobalScope": false
|
|
2558
2573
|
},
|
|
2559
2574
|
"../src/entity/modules/subscriptions/subscription.ts": {
|
|
2560
|
-
"version": "
|
|
2575
|
+
"version": "d60d238299b93d15d602cdcff89a1b8ae6a922dd59e399331a6373b323b2769a",
|
|
2561
2576
|
"signature": "cdab4b6c9e16417c6f6ef01b8e0181b35913219d9fa2afafd7e7c700e083ed74",
|
|
2562
2577
|
"affectsGlobalScope": false
|
|
2563
2578
|
},
|
|
@@ -2652,8 +2667,8 @@
|
|
|
2652
2667
|
"affectsGlobalScope": false
|
|
2653
2668
|
},
|
|
2654
2669
|
"../src/entity/productdigital.ts": {
|
|
2655
|
-
"version": "
|
|
2656
|
-
"signature": "
|
|
2670
|
+
"version": "989b057359e066a2ce1c34f0aa91454059fc46e8f37175c6fe9ffaaf00e5650a",
|
|
2671
|
+
"signature": "4c22461d61097d49110c56091273e5ab123a2073f8976b99375d34b8dc015a90",
|
|
2657
2672
|
"affectsGlobalScope": false
|
|
2658
2673
|
},
|
|
2659
2674
|
"../src/entity/modules/templates/endpointtemplateecommerce.ts": {
|
|
@@ -3576,34 +3591,44 @@
|
|
|
3576
3591
|
"signature": "a72d8a43d0489caa35edae27045acf26586dcb87cff11535f89a7ecaf3ae90ac",
|
|
3577
3592
|
"affectsGlobalScope": false
|
|
3578
3593
|
},
|
|
3594
|
+
"../src/migrations/1700068092273-generated_15_11_2023.ts": {
|
|
3595
|
+
"version": "cc7cadcf4bd3a1a239de9310ee111d906ab4d76c638d7108f580fcf287759a02",
|
|
3596
|
+
"signature": "e44f8920f20be98bd104f0c0aaefd16671fae40351755d01148bb43f07574755",
|
|
3597
|
+
"affectsGlobalScope": false
|
|
3598
|
+
},
|
|
3579
3599
|
"../src/migrations/1700574103856-subscription-response-max.ts": {
|
|
3580
3600
|
"version": "5028e825a943a06da96c311abb4bb7b4833cc40fddea4ec8163f5893f59ffac0",
|
|
3581
3601
|
"signature": "969360330daba1edbaacb6da183b6bf536a31d10bf2671a795e767ac32dff522",
|
|
3582
3602
|
"affectsGlobalScope": false
|
|
3583
3603
|
},
|
|
3604
|
+
"../src/migrations/1700597907034-product-digital-reachu.ts": {
|
|
3605
|
+
"version": "b4e0d8c743e7d5a744615f39bc06045ac045957a038e96430a805830f4c7c994",
|
|
3606
|
+
"signature": "5560b2a4fd66cf7c30a75d8185bc7ab7c7d7334159974c4c6fa6d9d27207bb16",
|
|
3607
|
+
"affectsGlobalScope": false
|
|
3608
|
+
},
|
|
3584
3609
|
"../src/migrations/execute/index.ts": {
|
|
3585
3610
|
"version": "8b5bf13d095aeb57afd593adf3d799681176a13c327e2f77e0028e178c4ee3b9",
|
|
3586
3611
|
"signature": "8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881",
|
|
3587
3612
|
"affectsGlobalScope": false
|
|
3588
3613
|
},
|
|
3589
3614
|
"../node_modules/@babel/types/lib/index.d.ts": {
|
|
3590
|
-
"version": "
|
|
3591
|
-
"signature": "
|
|
3615
|
+
"version": "f713064ca751dc588bc13832137c418cb70cf0446de92ade60ad631071558fca",
|
|
3616
|
+
"signature": "f713064ca751dc588bc13832137c418cb70cf0446de92ade60ad631071558fca",
|
|
3592
3617
|
"affectsGlobalScope": false
|
|
3593
3618
|
},
|
|
3594
3619
|
"../node_modules/@types/babel__generator/index.d.ts": {
|
|
3595
|
-
"version": "
|
|
3596
|
-
"signature": "
|
|
3620
|
+
"version": "7a1f3d0b8dd0e869c58b44848d9f0be3592c3ff6dc77091e7130306f6d2907ed",
|
|
3621
|
+
"signature": "7a1f3d0b8dd0e869c58b44848d9f0be3592c3ff6dc77091e7130306f6d2907ed",
|
|
3597
3622
|
"affectsGlobalScope": false
|
|
3598
3623
|
},
|
|
3599
3624
|
"../node_modules/@babel/parser/typings/babel-parser.d.ts": {
|
|
3600
|
-
"version": "
|
|
3601
|
-
"signature": "
|
|
3625
|
+
"version": "96c23535f4f9dd15beb767e070559ea672f6a35f103152836a67100605136a96",
|
|
3626
|
+
"signature": "96c23535f4f9dd15beb767e070559ea672f6a35f103152836a67100605136a96",
|
|
3602
3627
|
"affectsGlobalScope": false
|
|
3603
3628
|
},
|
|
3604
3629
|
"../node_modules/@types/babel__template/index.d.ts": {
|
|
3605
|
-
"version": "
|
|
3606
|
-
"signature": "
|
|
3630
|
+
"version": "670a76db379b27c8ff42f1ba927828a22862e2ab0b0908e38b671f0e912cc5ed",
|
|
3631
|
+
"signature": "670a76db379b27c8ff42f1ba927828a22862e2ab0b0908e38b671f0e912cc5ed",
|
|
3607
3632
|
"affectsGlobalScope": false
|
|
3608
3633
|
},
|
|
3609
3634
|
"../node_modules/@types/babel__traverse/index.d.ts": {
|
|
@@ -3612,28 +3637,28 @@
|
|
|
3612
3637
|
"affectsGlobalScope": false
|
|
3613
3638
|
},
|
|
3614
3639
|
"../node_modules/@types/babel__core/index.d.ts": {
|
|
3615
|
-
"version": "
|
|
3616
|
-
"signature": "
|
|
3640
|
+
"version": "3df59a50b6fdd703016b81e254633080b3fa1e9035a462e730235876470d0012",
|
|
3641
|
+
"signature": "3df59a50b6fdd703016b81e254633080b3fa1e9035a462e730235876470d0012",
|
|
3617
3642
|
"affectsGlobalScope": false
|
|
3618
3643
|
},
|
|
3619
3644
|
"../node_modules/@types/graceful-fs/index.d.ts": {
|
|
3620
|
-
"version": "
|
|
3621
|
-
"signature": "
|
|
3645
|
+
"version": "afe73051ff6a03a9565cbd8ebb0e956ee3df5e913ad5c1ded64218aabfa3dcb5",
|
|
3646
|
+
"signature": "afe73051ff6a03a9565cbd8ebb0e956ee3df5e913ad5c1ded64218aabfa3dcb5",
|
|
3622
3647
|
"affectsGlobalScope": false
|
|
3623
3648
|
},
|
|
3624
3649
|
"../node_modules/@types/istanbul-lib-coverage/index.d.ts": {
|
|
3625
|
-
"version": "
|
|
3626
|
-
"signature": "
|
|
3650
|
+
"version": "035a5df183489c2e22f3cf59fc1ed2b043d27f357eecc0eb8d8e840059d44245",
|
|
3651
|
+
"signature": "035a5df183489c2e22f3cf59fc1ed2b043d27f357eecc0eb8d8e840059d44245",
|
|
3627
3652
|
"affectsGlobalScope": false
|
|
3628
3653
|
},
|
|
3629
3654
|
"../node_modules/@types/istanbul-lib-report/index.d.ts": {
|
|
3630
|
-
"version": "
|
|
3631
|
-
"signature": "
|
|
3655
|
+
"version": "a4809f4d92317535e6b22b01019437030077a76fec1d93b9881c9ed4738fcc54",
|
|
3656
|
+
"signature": "a4809f4d92317535e6b22b01019437030077a76fec1d93b9881c9ed4738fcc54",
|
|
3632
3657
|
"affectsGlobalScope": false
|
|
3633
3658
|
},
|
|
3634
3659
|
"../node_modules/@types/istanbul-reports/index.d.ts": {
|
|
3635
|
-
"version": "
|
|
3636
|
-
"signature": "
|
|
3660
|
+
"version": "5f53fa0bd22096d2a78533f94e02c899143b8f0f9891a46965294ee8b91a9434",
|
|
3661
|
+
"signature": "5f53fa0bd22096d2a78533f94e02c899143b8f0f9891a46965294ee8b91a9434",
|
|
3637
3662
|
"affectsGlobalScope": false
|
|
3638
3663
|
},
|
|
3639
3664
|
"../node_modules/jest-diff/build/cleanupsemantic.d.ts": {
|
|
@@ -3677,28 +3702,28 @@
|
|
|
3677
3702
|
"affectsGlobalScope": true
|
|
3678
3703
|
},
|
|
3679
3704
|
"../node_modules/@types/json-schema/index.d.ts": {
|
|
3680
|
-
"version": "
|
|
3681
|
-
"signature": "
|
|
3705
|
+
"version": "f3d8c757e148ad968f0d98697987db363070abada5f503da3c06aefd9d4248c1",
|
|
3706
|
+
"signature": "f3d8c757e148ad968f0d98697987db363070abada5f503da3c06aefd9d4248c1",
|
|
3682
3707
|
"affectsGlobalScope": false
|
|
3683
3708
|
},
|
|
3684
3709
|
"../node_modules/@types/prettier/index.d.ts": {
|
|
3685
|
-
"version": "
|
|
3686
|
-
"signature": "
|
|
3710
|
+
"version": "d88a5e779faf033be3d52142a04fbe1cb96009868e3bbdd296b2bc6c59e06c0e",
|
|
3711
|
+
"signature": "d88a5e779faf033be3d52142a04fbe1cb96009868e3bbdd296b2bc6c59e06c0e",
|
|
3687
3712
|
"affectsGlobalScope": false
|
|
3688
3713
|
},
|
|
3689
3714
|
"../node_modules/@types/stack-utils/index.d.ts": {
|
|
3690
|
-
"version": "
|
|
3691
|
-
"signature": "
|
|
3715
|
+
"version": "ab82804a14454734010dcdcd43f564ff7b0389bee4c5692eec76ff5b30d4cf66",
|
|
3716
|
+
"signature": "ab82804a14454734010dcdcd43f564ff7b0389bee4c5692eec76ff5b30d4cf66",
|
|
3692
3717
|
"affectsGlobalScope": false
|
|
3693
3718
|
},
|
|
3694
3719
|
"../node_modules/@types/yargs-parser/index.d.ts": {
|
|
3695
|
-
"version": "
|
|
3696
|
-
"signature": "
|
|
3720
|
+
"version": "bae8d023ef6b23df7da26f51cea44321f95817c190342a36882e93b80d07a960",
|
|
3721
|
+
"signature": "bae8d023ef6b23df7da26f51cea44321f95817c190342a36882e93b80d07a960",
|
|
3697
3722
|
"affectsGlobalScope": false
|
|
3698
3723
|
},
|
|
3699
3724
|
"../node_modules/@types/yargs/index.d.ts": {
|
|
3700
|
-
"version": "
|
|
3701
|
-
"signature": "
|
|
3725
|
+
"version": "4759c76b46ffcc82dab09654ae64aac3ed5ef1155807df34c3d9708243a53f9f",
|
|
3726
|
+
"signature": "4759c76b46ffcc82dab09654ae64aac3ed5ef1155807df34c3d9708243a53f9f",
|
|
3702
3727
|
"affectsGlobalScope": false
|
|
3703
3728
|
},
|
|
3704
3729
|
"../node_modules/@types/zen-observable/index.d.ts": {
|
|
@@ -3809,7 +3834,8 @@
|
|
|
3809
3834
|
"../node_modules/@types/node/http.d.ts",
|
|
3810
3835
|
"../node_modules/@types/node/index.d.ts",
|
|
3811
3836
|
"../node_modules/@types/qs/index.d.ts",
|
|
3812
|
-
"../node_modules/@types/range-parser/index.d.ts"
|
|
3837
|
+
"../node_modules/@types/range-parser/index.d.ts",
|
|
3838
|
+
"../node_modules/@types/send/index.d.ts"
|
|
3813
3839
|
],
|
|
3814
3840
|
"../node_modules/@types/express/index.d.ts": [
|
|
3815
3841
|
"../node_modules/@types/body-parser/index.d.ts",
|
|
@@ -4007,7 +4033,14 @@
|
|
|
4007
4033
|
"../node_modules/@types/node/zlib.d.ts": [
|
|
4008
4034
|
"../node_modules/@types/node/stream.d.ts"
|
|
4009
4035
|
],
|
|
4036
|
+
"../node_modules/@types/send/index.d.ts": [
|
|
4037
|
+
"../node_modules/@types/node/fs.d.ts",
|
|
4038
|
+
"../node_modules/@types/node/index.d.ts",
|
|
4039
|
+
"../node_modules/@types/node/stream.d.ts",
|
|
4040
|
+
"../node_modules/@types/send/node_modules/@types/mime/index.d.ts"
|
|
4041
|
+
],
|
|
4010
4042
|
"../node_modules/@types/serve-static/index.d.ts": [
|
|
4043
|
+
"../node_modules/@types/http-errors/index.d.ts",
|
|
4011
4044
|
"../node_modules/@types/mime/index.d.ts",
|
|
4012
4045
|
"../node_modules/@types/node/http.d.ts",
|
|
4013
4046
|
"../node_modules/@types/node/index.d.ts"
|
|
@@ -6628,9 +6661,15 @@
|
|
|
6628
6661
|
"../src/migrations/1699601410949-promote_to_production_10_11_2023.ts": [
|
|
6629
6662
|
"../node_modules/typeorm/index.d.ts"
|
|
6630
6663
|
],
|
|
6664
|
+
"../src/migrations/1700068092273-generated_15_11_2023.ts": [
|
|
6665
|
+
"../node_modules/typeorm/index.d.ts"
|
|
6666
|
+
],
|
|
6631
6667
|
"../src/migrations/1700574103856-subscription-response-max.ts": [
|
|
6632
6668
|
"../node_modules/typeorm/index.d.ts"
|
|
6633
6669
|
],
|
|
6670
|
+
"../src/migrations/1700597907034-product-digital-reachu.ts": [
|
|
6671
|
+
"../node_modules/typeorm/index.d.ts"
|
|
6672
|
+
],
|
|
6634
6673
|
"../src/migrations/execute/index.ts": [
|
|
6635
6674
|
"../src/config/connect.ts"
|
|
6636
6675
|
],
|
|
@@ -6880,7 +6919,8 @@
|
|
|
6880
6919
|
"../node_modules/@types/node/http.d.ts",
|
|
6881
6920
|
"../node_modules/@types/node/index.d.ts",
|
|
6882
6921
|
"../node_modules/@types/qs/index.d.ts",
|
|
6883
|
-
"../node_modules/@types/range-parser/index.d.ts"
|
|
6922
|
+
"../node_modules/@types/range-parser/index.d.ts",
|
|
6923
|
+
"../node_modules/@types/send/index.d.ts"
|
|
6884
6924
|
],
|
|
6885
6925
|
"../node_modules/@types/express/index.d.ts": [
|
|
6886
6926
|
"../node_modules/@types/body-parser/index.d.ts",
|
|
@@ -7078,7 +7118,14 @@
|
|
|
7078
7118
|
"../node_modules/@types/node/zlib.d.ts": [
|
|
7079
7119
|
"../node_modules/@types/node/stream.d.ts"
|
|
7080
7120
|
],
|
|
7121
|
+
"../node_modules/@types/send/index.d.ts": [
|
|
7122
|
+
"../node_modules/@types/node/fs.d.ts",
|
|
7123
|
+
"../node_modules/@types/node/index.d.ts",
|
|
7124
|
+
"../node_modules/@types/node/stream.d.ts",
|
|
7125
|
+
"../node_modules/@types/send/node_modules/@types/mime/index.d.ts"
|
|
7126
|
+
],
|
|
7081
7127
|
"../node_modules/@types/serve-static/index.d.ts": [
|
|
7128
|
+
"../node_modules/@types/http-errors/index.d.ts",
|
|
7082
7129
|
"../node_modules/@types/mime/index.d.ts",
|
|
7083
7130
|
"../node_modules/@types/node/http.d.ts",
|
|
7084
7131
|
"../node_modules/@types/node/index.d.ts"
|
|
@@ -9533,9 +9580,15 @@
|
|
|
9533
9580
|
"../src/migrations/1699601410949-promote_to_production_10_11_2023.ts": [
|
|
9534
9581
|
"../node_modules/typeorm/index.d.ts"
|
|
9535
9582
|
],
|
|
9583
|
+
"../src/migrations/1700068092273-generated_15_11_2023.ts": [
|
|
9584
|
+
"../node_modules/typeorm/index.d.ts"
|
|
9585
|
+
],
|
|
9536
9586
|
"../src/migrations/1700574103856-subscription-response-max.ts": [
|
|
9537
9587
|
"../node_modules/typeorm/index.d.ts"
|
|
9538
9588
|
],
|
|
9589
|
+
"../src/migrations/1700597907034-product-digital-reachu.ts": [
|
|
9590
|
+
"../node_modules/typeorm/index.d.ts"
|
|
9591
|
+
],
|
|
9539
9592
|
"../src/migrations/index.ts": [
|
|
9540
9593
|
"../src/migrations/1628474597284-initialschema.ts",
|
|
9541
9594
|
"../src/migrations/1630077596132-removemangopay.ts",
|
|
@@ -9725,6 +9778,7 @@
|
|
|
9725
9778
|
"../node_modules/@types/express-serve-static-core/index.d.ts",
|
|
9726
9779
|
"../node_modules/@types/express/index.d.ts",
|
|
9727
9780
|
"../node_modules/@types/graceful-fs/index.d.ts",
|
|
9781
|
+
"../node_modules/@types/http-errors/index.d.ts",
|
|
9728
9782
|
"../node_modules/@types/istanbul-lib-coverage/index.d.ts",
|
|
9729
9783
|
"../node_modules/@types/istanbul-lib-report/index.d.ts",
|
|
9730
9784
|
"../node_modules/@types/istanbul-reports/index.d.ts",
|
|
@@ -9782,6 +9836,8 @@
|
|
|
9782
9836
|
"../node_modules/@types/prettier/index.d.ts",
|
|
9783
9837
|
"../node_modules/@types/qs/index.d.ts",
|
|
9784
9838
|
"../node_modules/@types/range-parser/index.d.ts",
|
|
9839
|
+
"../node_modules/@types/send/index.d.ts",
|
|
9840
|
+
"../node_modules/@types/send/node_modules/@types/mime/index.d.ts",
|
|
9785
9841
|
"../node_modules/@types/serve-static/index.d.ts",
|
|
9786
9842
|
"../node_modules/@types/stack-utils/index.d.ts",
|
|
9787
9843
|
"../node_modules/@types/yargs-parser/index.d.ts",
|
|
@@ -10409,7 +10465,9 @@
|
|
|
10409
10465
|
"../src/migrations/1697724057621-promote_to_production.ts",
|
|
10410
10466
|
"../src/migrations/1697858770679-user_channel.ts",
|
|
10411
10467
|
"../src/migrations/1699601410949-promote_to_production_10_11_2023.ts",
|
|
10468
|
+
"../src/migrations/1700068092273-generated_15_11_2023.ts",
|
|
10412
10469
|
"../src/migrations/1700574103856-subscription-response-max.ts",
|
|
10470
|
+
"../src/migrations/1700597907034-product-digital-reachu.ts",
|
|
10413
10471
|
"../src/migrations/execute/index.ts",
|
|
10414
10472
|
"../src/migrations/index.ts",
|
|
10415
10473
|
"../src/repositories/discount/index.ts",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reachu/database",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.133",
|
|
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.
|
|
25
|
-
"@reachu/utils": "1.0.
|
|
24
|
+
"@reachu/logger": "1.0.133",
|
|
25
|
+
"@reachu/utils": "1.0.133",
|
|
26
26
|
"dotenv": "8.0.0",
|
|
27
27
|
"express": "4.17.1",
|
|
28
28
|
"mysql2": "1.5.2",
|
|
@@ -34,6 +34,9 @@ export default class ProductDigital extends AuditedModel {
|
|
|
34
34
|
@Column('text', { nullable: false })
|
|
35
35
|
file_url: string;
|
|
36
36
|
|
|
37
|
+
@Column('text', { nullable: true })
|
|
38
|
+
file_url_reachu: string;
|
|
39
|
+
|
|
37
40
|
@Column('integer', { nullable: true })
|
|
38
41
|
file_size: number;
|
|
39
42
|
|
|
@@ -2,7 +2,14 @@ import AuditedModel from '../../AuditedModel';
|
|
|
2
2
|
import User from '../../User';
|
|
3
3
|
import Plan from './Plan';
|
|
4
4
|
|
|
5
|
-
import {
|
|
5
|
+
import {
|
|
6
|
+
Column,
|
|
7
|
+
DeleteDateColumn,
|
|
8
|
+
Entity,
|
|
9
|
+
JoinColumn,
|
|
10
|
+
ManyToOne,
|
|
11
|
+
PrimaryGeneratedColumn,
|
|
12
|
+
} from 'typeorm';
|
|
6
13
|
|
|
7
14
|
@Entity()
|
|
8
15
|
export default class Subscription extends AuditedModel {
|
|
@@ -32,6 +39,6 @@ export default class Subscription extends AuditedModel {
|
|
|
32
39
|
@Column('varchar', { nullable: true })
|
|
33
40
|
originId: string;
|
|
34
41
|
|
|
35
|
-
@Column('varchar', { nullable: true })
|
|
42
|
+
@Column('varchar', { length: '21844', nullable: true })
|
|
36
43
|
response: string;
|
|
37
44
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import {MigrationInterface, QueryRunner} from "typeorm";
|
|
2
|
+
|
|
3
|
+
export class generated151120231700068092273 implements MigrationInterface {
|
|
4
|
+
name = 'generated151120231700068092273'
|
|
5
|
+
|
|
6
|
+
public async up(queryRunner: QueryRunner): Promise<void> {
|
|
7
|
+
await queryRunner.query(`ALTER TABLE \`order_item\` CHANGE \`tax_title\` \`tax_title\` varchar(255) NOT NULL`);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
public async down(queryRunner: QueryRunner): Promise<void> {
|
|
11
|
+
await queryRunner.query(`ALTER TABLE \`order_item\` CHANGE \`tax_title\` \`tax_title\` varchar(255) NULL`);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import {MigrationInterface, QueryRunner} from "typeorm";
|
|
2
|
+
|
|
3
|
+
export class productDigitalReachu1700597907034 implements MigrationInterface {
|
|
4
|
+
name = 'productDigitalReachu1700597907034'
|
|
5
|
+
|
|
6
|
+
public async up(queryRunner: QueryRunner): Promise<void> {
|
|
7
|
+
await queryRunner.query(`ALTER TABLE \`product_digital\` ADD \`file_url_reachu\` text NULL`);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
public async down(queryRunner: QueryRunner): Promise<void> {
|
|
11
|
+
await queryRunner.query(`ALTER TABLE \`product_digital\` DROP COLUMN \`file_url_reachu\``);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
}
|