mfance-shark-v1 1.0.71 → 1.0.73
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/common/entities/country.entity.d.ts +2 -0
- package/dist/common/entities/country.entity.js +8 -0
- package/dist/common/entities/country.entity.js.map +1 -1
- package/dist/common/entities/payment-code.entity.d.ts +3 -4
- package/dist/common/entities/payment-code.entity.js +9 -10
- package/dist/common/entities/payment-code.entity.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -26,6 +26,14 @@ __decorate([
|
|
|
26
26
|
(0, typeorm_1.Column)({ name: 'iso_code', nullable: true }),
|
|
27
27
|
__metadata("design:type", String)
|
|
28
28
|
], Country.prototype, "isoCode", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, typeorm_1.Column)({ name: 'country_code', nullable: true }),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], Country.prototype, "countryCode", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, typeorm_1.Column)({ name: 'url_flag', nullable: true, default: 'https://upload.wikimedia.org/wikipedia/commons/thumb/f/fe/Flag_of_C%C3%B4te_d%27Ivoire.svg/2560px-Flag_of_C%C3%B4te_d%27Ivoire.svg.png' }),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], Country.prototype, "urlFlag", void 0);
|
|
29
37
|
__decorate([
|
|
30
38
|
(0, typeorm_1.Column)({ name: 'disabled_at', nullable: true }),
|
|
31
39
|
__metadata("design:type", Date)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"country.entity.js","sourceRoot":"","sources":["../../../src/common/entities/country.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,qCAA4D;AAC5D,uEAAmE;AACnE,kFAAsE;AACtE,+CAAqC;AACrC,2DAAgD;AAIzC,IAAM,OAAO,GAAb,MAAM,OAAQ,SAAQ,kCAAe;
|
|
1
|
+
{"version":3,"file":"country.entity.js","sourceRoot":"","sources":["../../../src/common/entities/country.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,qCAA4D;AAC5D,uEAAmE;AACnE,kFAAsE;AACtE,+CAAqC;AACrC,2DAAgD;AAIzC,IAAM,OAAO,GAAb,MAAM,OAAQ,SAAQ,kCAAe;CAqB3C,CAAA;AArBY,0BAAO;AAElB;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;qCACf;AAGb;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,UAAU,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;wCAC7B;AAGhB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,cAAc,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4CAC7B;AAGpB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,UAAU,EAAE,QAAQ,EAAE,IAAI,EAAG,OAAO,EAAE,wIAAwI,EAAC,CAAC;;wCAChL;AAGhB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,aAAa,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACpC,IAAI;2CAAC;AAGjB;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC;;sCAChC;AAGd;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,6BAAS,EAAE,CAAC,SAAS,EAAE,EAAE,CAAC,SAAS,CAAC,OAAO,CAAC;;2CACrC;kBApBb,OAAO;IAFnB,IAAA,gBAAM,EAAC,kCAAW,CAAC,OAAO,CAAC;IAC3B,IAAA,gBAAM,EAAC,CAAC,MAAM,CAAC,CAAC;GACJ,OAAO,CAqBnB"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { AuditableEntity } from "../../auditable/auditable.entity";
|
|
2
|
-
import {
|
|
3
|
-
import { Distributor } from "./users/distributor.entity";
|
|
2
|
+
import { User } from "./user.entity";
|
|
4
3
|
export declare class PaymentCode extends AuditableEntity {
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
sender: User;
|
|
5
|
+
receiver: User;
|
|
7
6
|
code: string;
|
|
8
7
|
amount: number;
|
|
9
8
|
isUsed: boolean;
|
|
@@ -12,25 +12,24 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.PaymentCode = void 0;
|
|
13
13
|
const auditable_entity_1 = require("../../auditable/auditable.entity");
|
|
14
14
|
const typeorm_1 = require("typeorm");
|
|
15
|
-
const
|
|
16
|
-
const distributor_entity_1 = require("./users/distributor.entity");
|
|
15
|
+
const user_entity_1 = require("./user.entity");
|
|
17
16
|
let PaymentCode = class PaymentCode extends auditable_entity_1.AuditableEntity {
|
|
18
17
|
};
|
|
19
18
|
exports.PaymentCode = PaymentCode;
|
|
20
19
|
__decorate([
|
|
21
|
-
(0, typeorm_1.ManyToOne)(() =>
|
|
20
|
+
(0, typeorm_1.ManyToOne)(() => user_entity_1.User, (user) => user.id, {
|
|
22
21
|
nullable: true,
|
|
23
22
|
}),
|
|
24
|
-
(0, typeorm_1.JoinColumn)({ name: "
|
|
25
|
-
__metadata("design:type",
|
|
26
|
-
], PaymentCode.prototype, "
|
|
23
|
+
(0, typeorm_1.JoinColumn)({ name: "sender_id" }),
|
|
24
|
+
__metadata("design:type", user_entity_1.User)
|
|
25
|
+
], PaymentCode.prototype, "sender", void 0);
|
|
27
26
|
__decorate([
|
|
28
|
-
(0, typeorm_1.ManyToOne)(() =>
|
|
27
|
+
(0, typeorm_1.ManyToOne)(() => user_entity_1.User, (user) => user.id, {
|
|
29
28
|
nullable: true,
|
|
30
29
|
}),
|
|
31
|
-
(0, typeorm_1.JoinColumn)({ name: "
|
|
32
|
-
__metadata("design:type",
|
|
33
|
-
], PaymentCode.prototype, "
|
|
30
|
+
(0, typeorm_1.JoinColumn)({ name: "receiver_id" }),
|
|
31
|
+
__metadata("design:type", user_entity_1.User)
|
|
32
|
+
], PaymentCode.prototype, "receiver", void 0);
|
|
34
33
|
__decorate([
|
|
35
34
|
(0, typeorm_1.Column)({
|
|
36
35
|
unique: true,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payment-code.entity.js","sourceRoot":"","sources":["../../../src/common/entities/payment-code.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uEAAmE;AACnE,qCAAgE;
|
|
1
|
+
{"version":3,"file":"payment-code.entity.js","sourceRoot":"","sources":["../../../src/common/entities/payment-code.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uEAAmE;AACnE,qCAAgE;AAGhE,+CAAqC;AAK9B,IAAM,WAAW,GAAjB,MAAM,WAAY,SAAQ,kCAAe;CA8C/C,CAAA;AA9CY,kCAAW;AAKtB;IAJC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,EAAE,EAAE;QACxC,QAAQ,EAAE,IAAI;KACf,CAAC;IACD,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;8BAC1B,kBAAI;2CAAC;AAMb;IAJC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,EAAE,EAAE;QACxC,QAAQ,EAAE,IAAI;KACf,CAAC;IACD,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC;8BAC1B,kBAAI;6CAAC;AAMf;IAJC,IAAA,gBAAM,EAAC;QACN,MAAM,EAAE,IAAI;QACZ,QAAQ,EAAE,KAAK;KAChB,CAAC;;yCACW;AAQb;IANC,IAAA,gBAAM,EAAC;QACN,IAAI,EAAE,SAAS;QACf,SAAS,EAAE,EAAE;QACb,KAAK,EAAE,CAAC;QACR,QAAQ,EAAE,KAAK;KAChB,CAAC;;2CACa;AAOf;IALC,IAAA,gBAAM,EAAC;QACN,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,KAAK;QACd,QAAQ,EAAE,KAAK;KAChB,CAAC;;2CACc;AAOhB;IALC,IAAA,gBAAM,EAAC;QACN,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,KAAK;QACd,QAAQ,EAAE,KAAK;KAChB,CAAC;;8CACiB;AAMnB;IAJC,IAAA,gBAAM,EAAC;QACN,IAAI,EAAE,WAAW;QACjB,QAAQ,EAAE,KAAK;KAChB,CAAC;8BACS,IAAI;8CAAC;sBA7CL,WAAW;IAHvB,IAAA,gBAAM,EAAC;QACN,IAAI,EAAE,eAAe;KACtB,CAAC;GACW,WAAW,CA8CvB"}
|