@reachu/database 1.0.130 → 1.0.132
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/1700574103856-subscription-response-max.d.ts +6 -0
- package/dist/migrations/1700574103856-subscription-response-max.js +31 -0
- package/dist/migrations/1700574103856-subscription-response-max.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 +74 -84
- package/package.json +3 -3
- package/src/entity/ProductDigital.ts +3 -0
- package/src/entity/modules/subscriptions/Subscription.ts +9 -2
- package/src/migrations/1700574103856-subscription-response-max.ts +16 -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,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.subscriptionResponseMax1700574103856 = void 0;
|
|
13
|
+
class subscriptionResponseMax1700574103856 {
|
|
14
|
+
constructor() {
|
|
15
|
+
this.name = 'subscriptionResponseMax1700574103856';
|
|
16
|
+
}
|
|
17
|
+
up(queryRunner) {
|
|
18
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
19
|
+
yield queryRunner.query(`ALTER TABLE \`subscription\` DROP COLUMN \`response\``);
|
|
20
|
+
yield queryRunner.query(`ALTER TABLE \`subscription\` ADD \`response\` varchar(21844) NULL`);
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
down(queryRunner) {
|
|
24
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
25
|
+
yield queryRunner.query(`ALTER TABLE \`subscription\` DROP COLUMN \`response\``);
|
|
26
|
+
yield queryRunner.query(`ALTER TABLE \`subscription\` ADD \`response\` varchar(255) NULL`);
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
exports.subscriptionResponseMax1700574103856 = subscriptionResponseMax1700574103856;
|
|
31
|
+
//# sourceMappingURL=1700574103856-subscription-response-max.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"1700574103856-subscription-response-max.js","sourceRoot":"","sources":["../../src/migrations/1700574103856-subscription-response-max.ts"],"names":[],"mappings":";;;;;;;;;;;;AAEA,MAAa,oCAAoC;IAAjD;QACI,SAAI,GAAG,sCAAsC,CAAA;IAYjD,CAAC;IAVgB,EAAE,CAAC,WAAwB;;YACpC,MAAM,WAAW,CAAC,KAAK,CAAC,uDAAuD,CAAC,CAAC;YACjF,MAAM,WAAW,CAAC,KAAK,CAAC,mEAAmE,CAAC,CAAC;QACjG,CAAC;KAAA;IAEY,IAAI,CAAC,WAAwB;;YACtC,MAAM,WAAW,CAAC,KAAK,CAAC,uDAAuD,CAAC,CAAC;YACjF,MAAM,WAAW,CAAC,KAAK,CAAC,iEAAiE,CAAC,CAAC;QAC/F,CAAC;KAAA;CAEJ;AAbD,oFAaC"}
|
|
@@ -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,59 +2236,44 @@
|
|
|
2236
2236
|
"signature": "744e6430bafc6f39f66c4fc1e6a0d8c9551260ffd1782aa7e3f5166ac6aa1f86",
|
|
2237
2237
|
"affectsGlobalScope": false
|
|
2238
2238
|
},
|
|
2239
|
-
"../node_modules/@types/
|
|
2240
|
-
"version": "
|
|
2241
|
-
"signature": "
|
|
2242
|
-
"affectsGlobalScope": false
|
|
2243
|
-
},
|
|
2244
|
-
"../node_modules/@types/send/index.d.ts": {
|
|
2245
|
-
"version": "b78cd10245a90e27e62d0558564f5d9a16576294eee724a59ae21b91f9269e4a",
|
|
2246
|
-
"signature": "b78cd10245a90e27e62d0558564f5d9a16576294eee724a59ae21b91f9269e4a",
|
|
2239
|
+
"../node_modules/@types/range-parser/index.d.ts": {
|
|
2240
|
+
"version": "16d51f964ec125ad2024cf03f0af444b3bc3ec3614d9345cc54d09bab45c9a4c",
|
|
2241
|
+
"signature": "16d51f964ec125ad2024cf03f0af444b3bc3ec3614d9345cc54d09bab45c9a4c",
|
|
2247
2242
|
"affectsGlobalScope": false
|
|
2248
2243
|
},
|
|
2249
2244
|
"../node_modules/@types/qs/index.d.ts": {
|
|
2250
|
-
"version": "
|
|
2251
|
-
"signature": "
|
|
2252
|
-
"affectsGlobalScope": false
|
|
2253
|
-
},
|
|
2254
|
-
"../node_modules/@types/range-parser/index.d.ts": {
|
|
2255
|
-
"version": "2f5747b1508ccf83fad0c251ba1e5da2f5a30b78b09ffa1cfaf633045160afed",
|
|
2256
|
-
"signature": "2f5747b1508ccf83fad0c251ba1e5da2f5a30b78b09ffa1cfaf633045160afed",
|
|
2245
|
+
"version": "ba601641fac98c229ccd4a303f747de376d761babb33229bb7153bed9356c9cc",
|
|
2246
|
+
"signature": "ba601641fac98c229ccd4a303f747de376d761babb33229bb7153bed9356c9cc",
|
|
2257
2247
|
"affectsGlobalScope": false
|
|
2258
2248
|
},
|
|
2259
2249
|
"../node_modules/@types/express-serve-static-core/index.d.ts": {
|
|
2260
|
-
"version": "
|
|
2261
|
-
"signature": "
|
|
2250
|
+
"version": "c5dd1fef4cd4aaffc78786047bed5ae6fc1200d19a1946cbc4e2d3ed4d62c8fa",
|
|
2251
|
+
"signature": "c5dd1fef4cd4aaffc78786047bed5ae6fc1200d19a1946cbc4e2d3ed4d62c8fa",
|
|
2262
2252
|
"affectsGlobalScope": true
|
|
2263
2253
|
},
|
|
2264
|
-
"../node_modules/@types/http-errors/index.d.ts": {
|
|
2265
|
-
"version": "b71c603a539078a5e3a039b20f2b0a0d1708967530cf97dec8850a9ca45baa2b",
|
|
2266
|
-
"signature": "b71c603a539078a5e3a039b20f2b0a0d1708967530cf97dec8850a9ca45baa2b",
|
|
2267
|
-
"affectsGlobalScope": false
|
|
2268
|
-
},
|
|
2269
2254
|
"../node_modules/@types/mime/mime.d.ts": {
|
|
2270
|
-
"version": "
|
|
2271
|
-
"signature": "
|
|
2255
|
+
"version": "5b9ecf7da4d71cf3832dbb8336150fa924631811f488ad4690c2dfec2b4fb1d7",
|
|
2256
|
+
"signature": "5b9ecf7da4d71cf3832dbb8336150fa924631811f488ad4690c2dfec2b4fb1d7",
|
|
2272
2257
|
"affectsGlobalScope": false
|
|
2273
2258
|
},
|
|
2274
2259
|
"../node_modules/@types/mime/index.d.ts": {
|
|
2275
|
-
"version": "
|
|
2276
|
-
"signature": "
|
|
2260
|
+
"version": "951c85f75aac041dddbedfedf565886a7b494e29ec1532e2a9b4a6180560b50e",
|
|
2261
|
+
"signature": "951c85f75aac041dddbedfedf565886a7b494e29ec1532e2a9b4a6180560b50e",
|
|
2277
2262
|
"affectsGlobalScope": false
|
|
2278
2263
|
},
|
|
2279
2264
|
"../node_modules/@types/serve-static/index.d.ts": {
|
|
2280
|
-
"version": "
|
|
2281
|
-
"signature": "
|
|
2265
|
+
"version": "e6f0cb9d8cb2e38bec66e032e73caa3e7c6671f21ed7196acb821aec462051f2",
|
|
2266
|
+
"signature": "e6f0cb9d8cb2e38bec66e032e73caa3e7c6671f21ed7196acb821aec462051f2",
|
|
2282
2267
|
"affectsGlobalScope": false
|
|
2283
2268
|
},
|
|
2284
2269
|
"../node_modules/@types/connect/index.d.ts": {
|
|
2285
|
-
"version": "
|
|
2286
|
-
"signature": "
|
|
2270
|
+
"version": "6d829824ead8999f87b6df21200df3c6150391b894b4e80662caa462bd48d073",
|
|
2271
|
+
"signature": "6d829824ead8999f87b6df21200df3c6150391b894b4e80662caa462bd48d073",
|
|
2287
2272
|
"affectsGlobalScope": false
|
|
2288
2273
|
},
|
|
2289
2274
|
"../node_modules/@types/body-parser/index.d.ts": {
|
|
2290
|
-
"version": "
|
|
2291
|
-
"signature": "
|
|
2275
|
+
"version": "afc559c1b93df37c25aef6b3dfa2d64325b0e112e887ee18bf7e6f4ec383fc90",
|
|
2276
|
+
"signature": "afc559c1b93df37c25aef6b3dfa2d64325b0e112e887ee18bf7e6f4ec383fc90",
|
|
2292
2277
|
"affectsGlobalScope": false
|
|
2293
2278
|
},
|
|
2294
2279
|
"../node_modules/@types/express/index.d.ts": {
|
|
@@ -2572,7 +2557,7 @@
|
|
|
2572
2557
|
"affectsGlobalScope": false
|
|
2573
2558
|
},
|
|
2574
2559
|
"../src/entity/modules/subscriptions/subscription.ts": {
|
|
2575
|
-
"version": "
|
|
2560
|
+
"version": "d60d238299b93d15d602cdcff89a1b8ae6a922dd59e399331a6373b323b2769a",
|
|
2576
2561
|
"signature": "cdab4b6c9e16417c6f6ef01b8e0181b35913219d9fa2afafd7e7c700e083ed74",
|
|
2577
2562
|
"affectsGlobalScope": false
|
|
2578
2563
|
},
|
|
@@ -2667,8 +2652,8 @@
|
|
|
2667
2652
|
"affectsGlobalScope": false
|
|
2668
2653
|
},
|
|
2669
2654
|
"../src/entity/productdigital.ts": {
|
|
2670
|
-
"version": "
|
|
2671
|
-
"signature": "
|
|
2655
|
+
"version": "989b057359e066a2ce1c34f0aa91454059fc46e8f37175c6fe9ffaaf00e5650a",
|
|
2656
|
+
"signature": "4c22461d61097d49110c56091273e5ab123a2073f8976b99375d34b8dc015a90",
|
|
2672
2657
|
"affectsGlobalScope": false
|
|
2673
2658
|
},
|
|
2674
2659
|
"../src/entity/modules/templates/endpointtemplateecommerce.ts": {
|
|
@@ -3591,29 +3576,39 @@
|
|
|
3591
3576
|
"signature": "a72d8a43d0489caa35edae27045acf26586dcb87cff11535f89a7ecaf3ae90ac",
|
|
3592
3577
|
"affectsGlobalScope": false
|
|
3593
3578
|
},
|
|
3579
|
+
"../src/migrations/1700574103856-subscription-response-max.ts": {
|
|
3580
|
+
"version": "5028e825a943a06da96c311abb4bb7b4833cc40fddea4ec8163f5893f59ffac0",
|
|
3581
|
+
"signature": "969360330daba1edbaacb6da183b6bf536a31d10bf2671a795e767ac32dff522",
|
|
3582
|
+
"affectsGlobalScope": false
|
|
3583
|
+
},
|
|
3584
|
+
"../src/migrations/1700597907034-product-digital-reachu.ts": {
|
|
3585
|
+
"version": "b4e0d8c743e7d5a744615f39bc06045ac045957a038e96430a805830f4c7c994",
|
|
3586
|
+
"signature": "5560b2a4fd66cf7c30a75d8185bc7ab7c7d7334159974c4c6fa6d9d27207bb16",
|
|
3587
|
+
"affectsGlobalScope": false
|
|
3588
|
+
},
|
|
3594
3589
|
"../src/migrations/execute/index.ts": {
|
|
3595
3590
|
"version": "8b5bf13d095aeb57afd593adf3d799681176a13c327e2f77e0028e178c4ee3b9",
|
|
3596
3591
|
"signature": "8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881",
|
|
3597
3592
|
"affectsGlobalScope": false
|
|
3598
3593
|
},
|
|
3599
3594
|
"../node_modules/@babel/types/lib/index.d.ts": {
|
|
3600
|
-
"version": "
|
|
3601
|
-
"signature": "
|
|
3595
|
+
"version": "3078727fed04c123165efdb42deeac5dceaa42ac62216ca13cb809dc7e13415f",
|
|
3596
|
+
"signature": "3078727fed04c123165efdb42deeac5dceaa42ac62216ca13cb809dc7e13415f",
|
|
3602
3597
|
"affectsGlobalScope": false
|
|
3603
3598
|
},
|
|
3604
3599
|
"../node_modules/@types/babel__generator/index.d.ts": {
|
|
3605
|
-
"version": "
|
|
3606
|
-
"signature": "
|
|
3600
|
+
"version": "cc957354aa3c94c9961ebf46282cfde1e81d107fc5785a61f62c67f1dd3ac2eb",
|
|
3601
|
+
"signature": "cc957354aa3c94c9961ebf46282cfde1e81d107fc5785a61f62c67f1dd3ac2eb",
|
|
3607
3602
|
"affectsGlobalScope": false
|
|
3608
3603
|
},
|
|
3609
3604
|
"../node_modules/@babel/parser/typings/babel-parser.d.ts": {
|
|
3610
|
-
"version": "
|
|
3611
|
-
"signature": "
|
|
3605
|
+
"version": "b4f76b34637d79cefad486127115fed843762c69512d7101b7096e1293699679",
|
|
3606
|
+
"signature": "b4f76b34637d79cefad486127115fed843762c69512d7101b7096e1293699679",
|
|
3612
3607
|
"affectsGlobalScope": false
|
|
3613
3608
|
},
|
|
3614
3609
|
"../node_modules/@types/babel__template/index.d.ts": {
|
|
3615
|
-
"version": "
|
|
3616
|
-
"signature": "
|
|
3610
|
+
"version": "93de1c6dab503f053efe8d304cb522bb3a89feab8c98f307a674a4fae04773e9",
|
|
3611
|
+
"signature": "93de1c6dab503f053efe8d304cb522bb3a89feab8c98f307a674a4fae04773e9",
|
|
3617
3612
|
"affectsGlobalScope": false
|
|
3618
3613
|
},
|
|
3619
3614
|
"../node_modules/@types/babel__traverse/index.d.ts": {
|
|
@@ -3622,28 +3617,28 @@
|
|
|
3622
3617
|
"affectsGlobalScope": false
|
|
3623
3618
|
},
|
|
3624
3619
|
"../node_modules/@types/babel__core/index.d.ts": {
|
|
3625
|
-
"version": "
|
|
3626
|
-
"signature": "
|
|
3620
|
+
"version": "b6ddf3a46ccfa4441d8be84d2e9bf3087573c48804196faedbd4a25b60631beb",
|
|
3621
|
+
"signature": "b6ddf3a46ccfa4441d8be84d2e9bf3087573c48804196faedbd4a25b60631beb",
|
|
3627
3622
|
"affectsGlobalScope": false
|
|
3628
3623
|
},
|
|
3629
3624
|
"../node_modules/@types/graceful-fs/index.d.ts": {
|
|
3630
|
-
"version": "
|
|
3631
|
-
"signature": "
|
|
3625
|
+
"version": "bf88ef4208a770ca39a844b182b3695df536326ea566893fdc5b8418702a331e",
|
|
3626
|
+
"signature": "bf88ef4208a770ca39a844b182b3695df536326ea566893fdc5b8418702a331e",
|
|
3632
3627
|
"affectsGlobalScope": false
|
|
3633
3628
|
},
|
|
3634
3629
|
"../node_modules/@types/istanbul-lib-coverage/index.d.ts": {
|
|
3635
|
-
"version": "
|
|
3636
|
-
"signature": "
|
|
3630
|
+
"version": "8b06ac3faeacb8484d84ddb44571d8f410697f98d7bfa86c0fda60373a9f5215",
|
|
3631
|
+
"signature": "8b06ac3faeacb8484d84ddb44571d8f410697f98d7bfa86c0fda60373a9f5215",
|
|
3637
3632
|
"affectsGlobalScope": false
|
|
3638
3633
|
},
|
|
3639
3634
|
"../node_modules/@types/istanbul-lib-report/index.d.ts": {
|
|
3640
|
-
"version": "
|
|
3641
|
-
"signature": "
|
|
3635
|
+
"version": "7eb06594824ada538b1d8b48c3925a83e7db792f47a081a62cf3e5c4e23cf0ee",
|
|
3636
|
+
"signature": "7eb06594824ada538b1d8b48c3925a83e7db792f47a081a62cf3e5c4e23cf0ee",
|
|
3642
3637
|
"affectsGlobalScope": false
|
|
3643
3638
|
},
|
|
3644
3639
|
"../node_modules/@types/istanbul-reports/index.d.ts": {
|
|
3645
|
-
"version": "
|
|
3646
|
-
"signature": "
|
|
3640
|
+
"version": "f5638f7c2f12a9a1a57b5c41b3c1ea7db3876c003bab68e6a57afd6bcc169af0",
|
|
3641
|
+
"signature": "f5638f7c2f12a9a1a57b5c41b3c1ea7db3876c003bab68e6a57afd6bcc169af0",
|
|
3647
3642
|
"affectsGlobalScope": false
|
|
3648
3643
|
},
|
|
3649
3644
|
"../node_modules/jest-diff/build/cleanupsemantic.d.ts": {
|
|
@@ -3687,28 +3682,28 @@
|
|
|
3687
3682
|
"affectsGlobalScope": true
|
|
3688
3683
|
},
|
|
3689
3684
|
"../node_modules/@types/json-schema/index.d.ts": {
|
|
3690
|
-
"version": "
|
|
3691
|
-
"signature": "
|
|
3685
|
+
"version": "f3e604694b624fa3f83f6684185452992088f5efb2cf136b62474aa106d6f1b6",
|
|
3686
|
+
"signature": "f3e604694b624fa3f83f6684185452992088f5efb2cf136b62474aa106d6f1b6",
|
|
3692
3687
|
"affectsGlobalScope": false
|
|
3693
3688
|
},
|
|
3694
3689
|
"../node_modules/@types/prettier/index.d.ts": {
|
|
3695
|
-
"version": "
|
|
3696
|
-
"signature": "
|
|
3690
|
+
"version": "bc88e4049153bc4dddb4503ed7e624eb141edfa9064b3659d6c86e900fe9e621",
|
|
3691
|
+
"signature": "bc88e4049153bc4dddb4503ed7e624eb141edfa9064b3659d6c86e900fe9e621",
|
|
3697
3692
|
"affectsGlobalScope": false
|
|
3698
3693
|
},
|
|
3699
3694
|
"../node_modules/@types/stack-utils/index.d.ts": {
|
|
3700
|
-
"version": "
|
|
3701
|
-
"signature": "
|
|
3695
|
+
"version": "b0d10e46cfe3f6c476b69af02eaa38e4ccc7430221ce3109ae84bb9fb8282298",
|
|
3696
|
+
"signature": "b0d10e46cfe3f6c476b69af02eaa38e4ccc7430221ce3109ae84bb9fb8282298",
|
|
3702
3697
|
"affectsGlobalScope": false
|
|
3703
3698
|
},
|
|
3704
3699
|
"../node_modules/@types/yargs-parser/index.d.ts": {
|
|
3705
|
-
"version": "
|
|
3706
|
-
"signature": "
|
|
3700
|
+
"version": "70e9a18da08294f75bf23e46c7d69e67634c0765d355887b9b41f0d959e1426e",
|
|
3701
|
+
"signature": "70e9a18da08294f75bf23e46c7d69e67634c0765d355887b9b41f0d959e1426e",
|
|
3707
3702
|
"affectsGlobalScope": false
|
|
3708
3703
|
},
|
|
3709
3704
|
"../node_modules/@types/yargs/index.d.ts": {
|
|
3710
|
-
"version": "
|
|
3711
|
-
"signature": "
|
|
3705
|
+
"version": "149ebd778196c03e9c75b630866543501e0e9e62a146c1a17ce91ade4cdfb0ba",
|
|
3706
|
+
"signature": "149ebd778196c03e9c75b630866543501e0e9e62a146c1a17ce91ade4cdfb0ba",
|
|
3712
3707
|
"affectsGlobalScope": false
|
|
3713
3708
|
},
|
|
3714
3709
|
"../node_modules/@types/zen-observable/index.d.ts": {
|
|
@@ -3819,8 +3814,7 @@
|
|
|
3819
3814
|
"../node_modules/@types/node/http.d.ts",
|
|
3820
3815
|
"../node_modules/@types/node/index.d.ts",
|
|
3821
3816
|
"../node_modules/@types/qs/index.d.ts",
|
|
3822
|
-
"../node_modules/@types/range-parser/index.d.ts"
|
|
3823
|
-
"../node_modules/@types/send/index.d.ts"
|
|
3817
|
+
"../node_modules/@types/range-parser/index.d.ts"
|
|
3824
3818
|
],
|
|
3825
3819
|
"../node_modules/@types/express/index.d.ts": [
|
|
3826
3820
|
"../node_modules/@types/body-parser/index.d.ts",
|
|
@@ -4018,14 +4012,7 @@
|
|
|
4018
4012
|
"../node_modules/@types/node/zlib.d.ts": [
|
|
4019
4013
|
"../node_modules/@types/node/stream.d.ts"
|
|
4020
4014
|
],
|
|
4021
|
-
"../node_modules/@types/send/index.d.ts": [
|
|
4022
|
-
"../node_modules/@types/node/fs.d.ts",
|
|
4023
|
-
"../node_modules/@types/node/index.d.ts",
|
|
4024
|
-
"../node_modules/@types/node/stream.d.ts",
|
|
4025
|
-
"../node_modules/@types/send/node_modules/@types/mime/index.d.ts"
|
|
4026
|
-
],
|
|
4027
4015
|
"../node_modules/@types/serve-static/index.d.ts": [
|
|
4028
|
-
"../node_modules/@types/http-errors/index.d.ts",
|
|
4029
4016
|
"../node_modules/@types/mime/index.d.ts",
|
|
4030
4017
|
"../node_modules/@types/node/http.d.ts",
|
|
4031
4018
|
"../node_modules/@types/node/index.d.ts"
|
|
@@ -6646,6 +6633,12 @@
|
|
|
6646
6633
|
"../src/migrations/1699601410949-promote_to_production_10_11_2023.ts": [
|
|
6647
6634
|
"../node_modules/typeorm/index.d.ts"
|
|
6648
6635
|
],
|
|
6636
|
+
"../src/migrations/1700574103856-subscription-response-max.ts": [
|
|
6637
|
+
"../node_modules/typeorm/index.d.ts"
|
|
6638
|
+
],
|
|
6639
|
+
"../src/migrations/1700597907034-product-digital-reachu.ts": [
|
|
6640
|
+
"../node_modules/typeorm/index.d.ts"
|
|
6641
|
+
],
|
|
6649
6642
|
"../src/migrations/execute/index.ts": [
|
|
6650
6643
|
"../src/config/connect.ts"
|
|
6651
6644
|
],
|
|
@@ -6895,8 +6888,7 @@
|
|
|
6895
6888
|
"../node_modules/@types/node/http.d.ts",
|
|
6896
6889
|
"../node_modules/@types/node/index.d.ts",
|
|
6897
6890
|
"../node_modules/@types/qs/index.d.ts",
|
|
6898
|
-
"../node_modules/@types/range-parser/index.d.ts"
|
|
6899
|
-
"../node_modules/@types/send/index.d.ts"
|
|
6891
|
+
"../node_modules/@types/range-parser/index.d.ts"
|
|
6900
6892
|
],
|
|
6901
6893
|
"../node_modules/@types/express/index.d.ts": [
|
|
6902
6894
|
"../node_modules/@types/body-parser/index.d.ts",
|
|
@@ -7094,14 +7086,7 @@
|
|
|
7094
7086
|
"../node_modules/@types/node/zlib.d.ts": [
|
|
7095
7087
|
"../node_modules/@types/node/stream.d.ts"
|
|
7096
7088
|
],
|
|
7097
|
-
"../node_modules/@types/send/index.d.ts": [
|
|
7098
|
-
"../node_modules/@types/node/fs.d.ts",
|
|
7099
|
-
"../node_modules/@types/node/index.d.ts",
|
|
7100
|
-
"../node_modules/@types/node/stream.d.ts",
|
|
7101
|
-
"../node_modules/@types/send/node_modules/@types/mime/index.d.ts"
|
|
7102
|
-
],
|
|
7103
7089
|
"../node_modules/@types/serve-static/index.d.ts": [
|
|
7104
|
-
"../node_modules/@types/http-errors/index.d.ts",
|
|
7105
7090
|
"../node_modules/@types/mime/index.d.ts",
|
|
7106
7091
|
"../node_modules/@types/node/http.d.ts",
|
|
7107
7092
|
"../node_modules/@types/node/index.d.ts"
|
|
@@ -9556,6 +9541,12 @@
|
|
|
9556
9541
|
"../src/migrations/1699601410949-promote_to_production_10_11_2023.ts": [
|
|
9557
9542
|
"../node_modules/typeorm/index.d.ts"
|
|
9558
9543
|
],
|
|
9544
|
+
"../src/migrations/1700574103856-subscription-response-max.ts": [
|
|
9545
|
+
"../node_modules/typeorm/index.d.ts"
|
|
9546
|
+
],
|
|
9547
|
+
"../src/migrations/1700597907034-product-digital-reachu.ts": [
|
|
9548
|
+
"../node_modules/typeorm/index.d.ts"
|
|
9549
|
+
],
|
|
9559
9550
|
"../src/migrations/index.ts": [
|
|
9560
9551
|
"../src/migrations/1628474597284-initialschema.ts",
|
|
9561
9552
|
"../src/migrations/1630077596132-removemangopay.ts",
|
|
@@ -9745,7 +9736,6 @@
|
|
|
9745
9736
|
"../node_modules/@types/express-serve-static-core/index.d.ts",
|
|
9746
9737
|
"../node_modules/@types/express/index.d.ts",
|
|
9747
9738
|
"../node_modules/@types/graceful-fs/index.d.ts",
|
|
9748
|
-
"../node_modules/@types/http-errors/index.d.ts",
|
|
9749
9739
|
"../node_modules/@types/istanbul-lib-coverage/index.d.ts",
|
|
9750
9740
|
"../node_modules/@types/istanbul-lib-report/index.d.ts",
|
|
9751
9741
|
"../node_modules/@types/istanbul-reports/index.d.ts",
|
|
@@ -9803,8 +9793,6 @@
|
|
|
9803
9793
|
"../node_modules/@types/prettier/index.d.ts",
|
|
9804
9794
|
"../node_modules/@types/qs/index.d.ts",
|
|
9805
9795
|
"../node_modules/@types/range-parser/index.d.ts",
|
|
9806
|
-
"../node_modules/@types/send/index.d.ts",
|
|
9807
|
-
"../node_modules/@types/send/node_modules/@types/mime/index.d.ts",
|
|
9808
9796
|
"../node_modules/@types/serve-static/index.d.ts",
|
|
9809
9797
|
"../node_modules/@types/stack-utils/index.d.ts",
|
|
9810
9798
|
"../node_modules/@types/yargs-parser/index.d.ts",
|
|
@@ -10432,6 +10420,8 @@
|
|
|
10432
10420
|
"../src/migrations/1697724057621-promote_to_production.ts",
|
|
10433
10421
|
"../src/migrations/1697858770679-user_channel.ts",
|
|
10434
10422
|
"../src/migrations/1699601410949-promote_to_production_10_11_2023.ts",
|
|
10423
|
+
"../src/migrations/1700574103856-subscription-response-max.ts",
|
|
10424
|
+
"../src/migrations/1700597907034-product-digital-reachu.ts",
|
|
10435
10425
|
"../src/migrations/execute/index.ts",
|
|
10436
10426
|
"../src/migrations/index.ts",
|
|
10437
10427
|
"../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.132",
|
|
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.132",
|
|
25
|
+
"@reachu/utils": "1.0.132",
|
|
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,16 @@
|
|
|
1
|
+
import {MigrationInterface, QueryRunner} from "typeorm";
|
|
2
|
+
|
|
3
|
+
export class subscriptionResponseMax1700574103856 implements MigrationInterface {
|
|
4
|
+
name = 'subscriptionResponseMax1700574103856'
|
|
5
|
+
|
|
6
|
+
public async up(queryRunner: QueryRunner): Promise<void> {
|
|
7
|
+
await queryRunner.query(`ALTER TABLE \`subscription\` DROP COLUMN \`response\``);
|
|
8
|
+
await queryRunner.query(`ALTER TABLE \`subscription\` ADD \`response\` varchar(21844) NULL`);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
public async down(queryRunner: QueryRunner): Promise<void> {
|
|
12
|
+
await queryRunner.query(`ALTER TABLE \`subscription\` DROP COLUMN \`response\``);
|
|
13
|
+
await queryRunner.query(`ALTER TABLE \`subscription\` ADD \`response\` varchar(255) NULL`);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
}
|
|
@@ -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
|
+
}
|