@decaf-ts/for-fabric 0.12.7 → 0.12.8
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/README.md +177 -146
- package/dist/for-fabric.cjs +1 -1
- package/dist/for-fabric.cjs.map +1 -1
- package/dist/for-fabric.js +1 -1
- package/dist/for-fabric.js.map +1 -1
- package/lib/cjs/cli-module.cjs +105 -1
- package/lib/cjs/cli-module.cjs.map +1 -1
- package/lib/cjs/client/indexes/generation.cjs +7 -2
- package/lib/cjs/client/indexes/generation.cjs.map +1 -1
- package/lib/cjs/contract/OtherLeafletContract.cjs +72 -0
- package/lib/cjs/contract/OtherLeafletContract.cjs.map +1 -0
- package/lib/cjs/contract/OtherLeafletFileContract.cjs +76 -0
- package/lib/cjs/contract/OtherLeafletFileContract.cjs.map +1 -0
- package/lib/cjs/contract/index.cjs +17 -18
- package/lib/cjs/contract/index.cjs.map +1 -1
- package/lib/cjs/contract/models/OtherAudit.cjs +1 -1
- package/lib/cjs/contract/models/OtherAudit.cjs.map +1 -1
- package/lib/cjs/contract/models/OtherBatchShared.cjs +135 -26
- package/lib/cjs/contract/models/OtherBatchShared.cjs.map +1 -1
- package/lib/cjs/contract/models/OtherLeaflet.cjs +1 -1
- package/lib/cjs/contract/models/OtherLeaflet.cjs.map +1 -1
- package/lib/cjs/contract/models/OtherLeafletFile.cjs +1 -1
- package/lib/cjs/contract/models/OtherLeafletFile.cjs.map +1 -1
- package/lib/cjs/contract/models/OtherMarket.cjs +1 -1
- package/lib/cjs/contract/models/OtherMarket.cjs.map +1 -1
- package/lib/cjs/contract/models/OtherProduct.cjs +1 -1
- package/lib/cjs/contract/models/OtherProduct.cjs.map +1 -1
- package/lib/cjs/contract/models/OtherProductImage.cjs +1 -1
- package/lib/cjs/contract/models/OtherProductImage.cjs.map +1 -1
- package/lib/cjs/contract/models/OtherProductShared.cjs +1 -1
- package/lib/cjs/contract/models/OtherProductShared.cjs.map +1 -1
- package/lib/cjs/contract/models/OtherProductStrength.cjs +1 -3
- package/lib/cjs/contract/models/OtherProductStrength.cjs.map +1 -1
- package/lib/cjs/contract/trackedModels/History.cjs +81 -0
- package/lib/cjs/contract/trackedModels/History.cjs.map +1 -0
- package/lib/cjs/contract/trackedModels/OtherAudit.cjs +124 -0
- package/lib/cjs/contract/trackedModels/OtherAudit.cjs.map +1 -0
- package/lib/cjs/contract/trackedModels/OtherLeaflet.cjs +121 -0
- package/lib/cjs/contract/trackedModels/OtherLeaflet.cjs.map +1 -0
- package/lib/cjs/contract/trackedModels/OtherLeafletFile.cjs +71 -0
- package/lib/cjs/contract/trackedModels/OtherLeafletFile.cjs.map +1 -0
- package/lib/cjs/contract/trackedModels/OtherMarket.cjs +90 -0
- package/lib/cjs/contract/trackedModels/OtherMarket.cjs.map +1 -0
- package/lib/cjs/contract/trackedModels/OtherProduct.cjs +83 -0
- package/lib/cjs/contract/trackedModels/OtherProduct.cjs.map +1 -0
- package/lib/cjs/contract/trackedModels/OtherProductImage.cjs +65 -0
- package/lib/cjs/contract/trackedModels/OtherProductImage.cjs.map +1 -0
- package/lib/cjs/contract/trackedModels/OtherProductShared.cjs +105 -0
- package/lib/cjs/contract/trackedModels/OtherProductShared.cjs.map +1 -0
- package/lib/cjs/contract/trackedModels/OtherProductStrength.cjs +91 -0
- package/lib/cjs/contract/trackedModels/OtherProductStrength.cjs.map +1 -0
- package/lib/cjs/contracts/fabric-overrides.cjs.map +1 -1
- package/lib/cjs/version.cjs +1 -1
- package/lib/esm/cli-module.js +105 -1
- package/lib/esm/cli-module.js.map +1 -1
- package/lib/esm/client/fabric-hsm.js.map +1 -1
- package/lib/esm/client/indexes/generation.js +7 -2
- package/lib/esm/client/indexes/generation.js.map +1 -1
- package/lib/esm/contract/OtherLeafletContract.js +63 -0
- package/lib/esm/contract/OtherLeafletContract.js.map +1 -0
- package/lib/esm/contract/OtherLeafletFileContract.js +67 -0
- package/lib/esm/contract/OtherLeafletFileContract.js.map +1 -0
- package/lib/esm/contract/index.js +17 -18
- package/lib/esm/contract/index.js.map +1 -1
- package/lib/esm/contract/models/OtherAudit.js +1 -1
- package/lib/esm/contract/models/OtherAudit.js.map +1 -1
- package/lib/esm/contract/models/OtherBatchShared.js +138 -30
- package/lib/esm/contract/models/OtherBatchShared.js.map +1 -1
- package/lib/esm/contract/models/OtherLeaflet.js +1 -1
- package/lib/esm/contract/models/OtherLeaflet.js.map +1 -1
- package/lib/esm/contract/models/OtherLeafletFile.js +1 -1
- package/lib/esm/contract/models/OtherLeafletFile.js.map +1 -1
- package/lib/esm/contract/models/OtherMarket.js +1 -1
- package/lib/esm/contract/models/OtherMarket.js.map +1 -1
- package/lib/esm/contract/models/OtherProduct.js +1 -1
- package/lib/esm/contract/models/OtherProduct.js.map +1 -1
- package/lib/esm/contract/models/OtherProductImage.js +1 -1
- package/lib/esm/contract/models/OtherProductImage.js.map +1 -1
- package/lib/esm/contract/models/OtherProductShared.js +1 -1
- package/lib/esm/contract/models/OtherProductShared.js.map +1 -1
- package/lib/esm/contract/models/OtherProductStrength.js +1 -3
- package/lib/esm/contract/models/OtherProductStrength.js.map +1 -1
- package/lib/esm/contract/trackedModels/History.js +72 -0
- package/lib/esm/contract/trackedModels/History.js.map +1 -0
- package/lib/esm/contract/trackedModels/OtherAudit.js +115 -0
- package/lib/esm/contract/trackedModels/OtherAudit.js.map +1 -0
- package/lib/esm/contract/trackedModels/OtherLeaflet.js +112 -0
- package/lib/esm/contract/trackedModels/OtherLeaflet.js.map +1 -0
- package/lib/esm/contract/trackedModels/OtherLeafletFile.js +62 -0
- package/lib/esm/contract/trackedModels/OtherLeafletFile.js.map +1 -0
- package/lib/esm/contract/trackedModels/OtherMarket.js +81 -0
- package/lib/esm/contract/trackedModels/OtherMarket.js.map +1 -0
- package/lib/esm/contract/trackedModels/OtherProduct.js +74 -0
- package/lib/esm/contract/trackedModels/OtherProduct.js.map +1 -0
- package/lib/esm/contract/trackedModels/OtherProductImage.js +56 -0
- package/lib/esm/contract/trackedModels/OtherProductImage.js.map +1 -0
- package/lib/esm/contract/trackedModels/OtherProductShared.js +96 -0
- package/lib/esm/contract/trackedModels/OtherProductShared.js.map +1 -0
- package/lib/esm/contract/trackedModels/OtherProductStrength.js +82 -0
- package/lib/esm/contract/trackedModels/OtherProductStrength.js.map +1 -0
- package/lib/esm/contracts/fabric-overrides.js +2 -2
- package/lib/esm/contracts/fabric-overrides.js.map +1 -1
- package/lib/esm/version.js +1 -1
- package/lib/types/contract/OtherLeafletContract.d.cts +18 -0
- package/lib/types/contract/OtherLeafletContract.d.mts +18 -0
- package/lib/types/contract/OtherLeafletFileContract.d.cts +17 -0
- package/lib/types/contract/OtherLeafletFileContract.d.mts +17 -0
- package/lib/types/contract/models/OtherBatchShared.d.cts +43 -6
- package/lib/types/contract/models/OtherBatchShared.d.mts +43 -6
- package/lib/types/contract/trackedModels/History.d.cts +9 -0
- package/lib/types/contract/trackedModels/History.d.mts +9 -0
- package/lib/types/contract/trackedModels/OtherAudit.d.cts +15 -0
- package/lib/types/contract/trackedModels/OtherAudit.d.mts +15 -0
- package/lib/types/contract/trackedModels/OtherLeaflet.d.cts +16 -0
- package/lib/types/contract/trackedModels/OtherLeaflet.d.mts +16 -0
- package/lib/types/contract/trackedModels/OtherLeafletFile.d.cts +10 -0
- package/lib/types/contract/trackedModels/OtherLeafletFile.d.mts +10 -0
- package/lib/types/contract/trackedModels/OtherMarket.d.cts +13 -0
- package/lib/types/contract/trackedModels/OtherMarket.d.mts +13 -0
- package/lib/types/contract/trackedModels/OtherProduct.d.cts +12 -0
- package/lib/types/contract/trackedModels/OtherProduct.d.mts +12 -0
- package/lib/types/contract/trackedModels/OtherProductImage.d.cts +9 -0
- package/lib/types/contract/trackedModels/OtherProductImage.d.mts +9 -0
- package/lib/types/contract/trackedModels/OtherProductShared.d.cts +18 -0
- package/lib/types/contract/trackedModels/OtherProductShared.d.mts +18 -0
- package/lib/types/contract/trackedModels/OtherProductStrength.d.cts +12 -0
- package/lib/types/contract/trackedModels/OtherProductStrength.d.mts +12 -0
- package/lib/types/version.d.cts +1 -1
- package/lib/types/version.d.mts +1 -1
- package/package.json +16 -5
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OtherAudit = void 0;
|
|
4
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
5
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
6
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
7
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
8
|
+
else
|
|
9
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
10
|
+
if (d = decorators[i])
|
|
11
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
12
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
13
|
+
};
|
|
14
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
15
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
16
|
+
return Reflect.metadata(k, v);
|
|
17
|
+
};
|
|
18
|
+
const decorator_validation_1 = require("@decaf-ts/decorator-validation");
|
|
19
|
+
const db_decorators_1 = require("@decaf-ts/db-decorators");
|
|
20
|
+
const decoration_1 = require("@decaf-ts/decoration");
|
|
21
|
+
const core_1 = require("@decaf-ts/core");
|
|
22
|
+
const BaseModel_js_1 = require("./../models/BaseModel.cjs");
|
|
23
|
+
const constants_js_1 = require("./../models/constants.cjs");
|
|
24
|
+
const index_js_1 = require("./../../shared/index.cjs");
|
|
25
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
26
|
+
function uuidSeed(m, ...args) {
|
|
27
|
+
try {
|
|
28
|
+
return `${m.model}${m.action}${m.recordId}${m.userId}${m.transaction}${JSON.stringify(m.diffs)}`;
|
|
29
|
+
}
|
|
30
|
+
catch (e) {
|
|
31
|
+
throw new db_decorators_1.InternalError(`Failed to generate deterministic uuid: ${e}`);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
let OtherAudit = class OtherAudit extends BaseModel_js_1.BaseModel {
|
|
35
|
+
constructor(model) {
|
|
36
|
+
super(model);
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
exports.OtherAudit = OtherAudit;
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, core_1.pk)(),
|
|
42
|
+
(0, core_1.uuid)(uuidSeed),
|
|
43
|
+
(0, index_js_1.mirror)("mirror-collection", "PharmaledgerassocMSP"),
|
|
44
|
+
(0, decoration_1.description)("Unique identifier of the audit record."),
|
|
45
|
+
__metadata("design:type", String)
|
|
46
|
+
], OtherAudit.prototype, "id", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, core_1.column)(),
|
|
49
|
+
(0, decorator_validation_1.required)(),
|
|
50
|
+
(0, db_decorators_1.readonly)(),
|
|
51
|
+
(0, core_1.index)([core_1.OrderDirection.ASC, core_1.OrderDirection.DSC]),
|
|
52
|
+
(0, decoration_1.description)("model/entity affected by the action"),
|
|
53
|
+
(0, core_1.defaultQueryAttr)(),
|
|
54
|
+
__metadata("design:type", String)
|
|
55
|
+
], OtherAudit.prototype, "model", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, core_1.column)(),
|
|
58
|
+
(0, decorator_validation_1.required)(),
|
|
59
|
+
(0, db_decorators_1.readonly)(),
|
|
60
|
+
(0, decorator_validation_1.type)(String),
|
|
61
|
+
(0, core_1.index)([core_1.OrderDirection.ASC, core_1.OrderDirection.DSC]),
|
|
62
|
+
(0, decoration_1.description)("Type of action performed by the user."),
|
|
63
|
+
__metadata("design:type", String)
|
|
64
|
+
], OtherAudit.prototype, "action", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
(0, decoration_1.description)("Id from the model recorded in the audit"),
|
|
67
|
+
(0, core_1.column)(),
|
|
68
|
+
(0, core_1.index)([core_1.OrderDirection.ASC, core_1.OrderDirection.DSC]),
|
|
69
|
+
(0, decorator_validation_1.required)(),
|
|
70
|
+
(0, core_1.defaultQueryAttr)(),
|
|
71
|
+
__metadata("design:type", String)
|
|
72
|
+
], OtherAudit.prototype, "recordId", void 0);
|
|
73
|
+
__decorate([
|
|
74
|
+
(0, core_1.column)(),
|
|
75
|
+
(0, core_1.createdBy)(),
|
|
76
|
+
(0, core_1.index)([core_1.OrderDirection.ASC, core_1.OrderDirection.DSC]),
|
|
77
|
+
(0, decoration_1.description)("Identifier of the user who performed the action."),
|
|
78
|
+
(0, core_1.defaultQueryAttr)(),
|
|
79
|
+
__metadata("design:type", String)
|
|
80
|
+
], OtherAudit.prototype, "userId", void 0);
|
|
81
|
+
__decorate([
|
|
82
|
+
(0, core_1.column)(),
|
|
83
|
+
(0, decorator_validation_1.required)(),
|
|
84
|
+
(0, db_decorators_1.readonly)(),
|
|
85
|
+
(0, decorator_validation_1.type)(String),
|
|
86
|
+
(0, core_1.index)([core_1.OrderDirection.ASC, core_1.OrderDirection.DSC]),
|
|
87
|
+
(0, decoration_1.description)("Group or role of the user who performed the action."),
|
|
88
|
+
__metadata("design:type", String)
|
|
89
|
+
], OtherAudit.prototype, "userGroup", void 0);
|
|
90
|
+
__decorate([
|
|
91
|
+
(0, core_1.column)(),
|
|
92
|
+
(0, decorator_validation_1.required)(),
|
|
93
|
+
(0, db_decorators_1.readonly)(),
|
|
94
|
+
(0, index_js_1.transactionId)(),
|
|
95
|
+
(0, decoration_1.description)("the transaction the audit record was created in"),
|
|
96
|
+
__metadata("design:type", String)
|
|
97
|
+
], OtherAudit.prototype, "transaction", void 0);
|
|
98
|
+
__decorate([
|
|
99
|
+
(0, core_1.column)(),
|
|
100
|
+
(0, db_decorators_1.readonly)(),
|
|
101
|
+
(0, db_decorators_1.serialize)(),
|
|
102
|
+
(0, decoration_1.description)("the diffs for the action."),
|
|
103
|
+
__metadata("design:type", Object)
|
|
104
|
+
], OtherAudit.prototype, "diffs", void 0);
|
|
105
|
+
__decorate([
|
|
106
|
+
(0, index_js_1.ownedBy)(),
|
|
107
|
+
(0, decoration_1.description)("the owner (msp) of the audit log"),
|
|
108
|
+
__metadata("design:type", String)
|
|
109
|
+
], OtherAudit.prototype, "owner", void 0);
|
|
110
|
+
exports.OtherAudit = OtherAudit = __decorate([
|
|
111
|
+
(0, decoration_1.description)("Logs user activity for auditing purposes."),
|
|
112
|
+
(0, db_decorators_1.BlockOperations)([
|
|
113
|
+
// OperationKeys.CREATE,
|
|
114
|
+
db_decorators_1.OperationKeys.UPDATE,
|
|
115
|
+
db_decorators_1.OperationKeys.DELETE,
|
|
116
|
+
]),
|
|
117
|
+
(0, decoration_1.uses)(index_js_1.FabricFlavour),
|
|
118
|
+
(0, index_js_1.sharedData)((0, index_js_1.NamespaceCollection)("decaf-namespace")),
|
|
119
|
+
(0, core_1.table)("audit"),
|
|
120
|
+
(0, decorator_validation_1.model)(),
|
|
121
|
+
__metadata("design:paramtypes", [Object])
|
|
122
|
+
], OtherAudit);
|
|
123
|
+
//# sourceMappingURL=OtherAudit.js.map
|
|
124
|
+
//# sourceMappingURL=OtherAudit.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OtherAudit.js","sourceRoot":"","sources":["OtherAudit.js"],"names":[],"mappings":";;;AAAA,IAAI,UAAU,GAAG,CAAC,IAAI,IAAI,IAAI,CAAC,UAAU,CAAC,IAAI,UAAU,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI;IACjF,IAAI,CAAC,GAAG,SAAS,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,KAAK,IAAI,CAAC,CAAC,CAAC,IAAI,GAAG,MAAM,CAAC,wBAAwB,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC;IAC7H,I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Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Leaflet = void 0;
|
|
4
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
5
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
6
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
7
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
8
|
+
else
|
|
9
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
10
|
+
if (d = decorators[i])
|
|
11
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
12
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
13
|
+
};
|
|
14
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
15
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
16
|
+
return Reflect.metadata(k, v);
|
|
17
|
+
};
|
|
18
|
+
const decorator_validation_1 = require("@decaf-ts/decorator-validation");
|
|
19
|
+
const core_1 = require("@decaf-ts/core");
|
|
20
|
+
const db_decorators_1 = require("@decaf-ts/db-decorators");
|
|
21
|
+
const decoration_1 = require("@decaf-ts/decoration");
|
|
22
|
+
const BaseIdentifiedModel_js_1 = require("./../models/BaseIdentifiedModel.cjs");
|
|
23
|
+
const index_js_1 = require("./../../shared/index.cjs");
|
|
24
|
+
const decorators_private_js_1 = require("./../models/decorators-private.cjs");
|
|
25
|
+
const history_dec_js_1 = require("./../models/history-dec.cjs");
|
|
26
|
+
const gtin_js_1 = require("./../models/gtin.cjs");
|
|
27
|
+
const OtherLeafletFile_js_1 = require("./OtherLeafletFile.cjs");
|
|
28
|
+
let Leaflet = class Leaflet extends BaseIdentifiedModel_js_1.BaseIdentifiedModel {
|
|
29
|
+
constructor(model) {
|
|
30
|
+
super(model);
|
|
31
|
+
this.leafletType = "leaflet";
|
|
32
|
+
}
|
|
33
|
+
compare(other, ...exceptions) {
|
|
34
|
+
return super.compare(other, ...[
|
|
35
|
+
...new Set([
|
|
36
|
+
exceptions,
|
|
37
|
+
"updatedAt",
|
|
38
|
+
"updatedBy",
|
|
39
|
+
"otherFilesContent",
|
|
40
|
+
"xmlFileContent",
|
|
41
|
+
]).values(),
|
|
42
|
+
]);
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
exports.Leaflet = Leaflet;
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, core_1.pk)(),
|
|
48
|
+
(0, history_dec_js_1.historyDec)(),
|
|
49
|
+
(0, index_js_1.mirror)("mirror-collection", "PharmaledgerassocMSP"),
|
|
50
|
+
(0, decorators_private_js_1.audit)(Leaflet),
|
|
51
|
+
(0, db_decorators_1.composed)(["productCode", "batchNumber", "leafletType", "lang", "epiMarket"], ":", ["batchNumber", "epiMarket"]),
|
|
52
|
+
(0, decoration_1.description)("Unique identifier composed of product code, batch number, and language."),
|
|
53
|
+
__metadata("design:type", String)
|
|
54
|
+
], Leaflet.prototype, "id", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
(0, gtin_js_1.gtin)(),
|
|
57
|
+
(0, core_1.column)(),
|
|
58
|
+
(0, decorator_validation_1.required)(),
|
|
59
|
+
(0, db_decorators_1.readonly)(),
|
|
60
|
+
(0, core_1.index)([core_1.OrderDirection.ASC, core_1.OrderDirection.DSC]),
|
|
61
|
+
(0, decoration_1.description)("GTIN code of the product associated with this leaflet."),
|
|
62
|
+
(0, core_1.defaultQueryAttr)(),
|
|
63
|
+
__metadata("design:type", String)
|
|
64
|
+
], Leaflet.prototype, "productCode", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
(0, core_1.column)(),
|
|
67
|
+
(0, db_decorators_1.readonly)(),
|
|
68
|
+
(0, core_1.index)([core_1.OrderDirection.ASC, core_1.OrderDirection.DSC]),
|
|
69
|
+
(0, decoration_1.description)("Batch number linked to the product, if applicable."),
|
|
70
|
+
(0, core_1.defaultQueryAttr)(),
|
|
71
|
+
__metadata("design:type", String)
|
|
72
|
+
], Leaflet.prototype, "batchNumber", void 0);
|
|
73
|
+
__decorate([
|
|
74
|
+
(0, core_1.column)(),
|
|
75
|
+
(0, decorator_validation_1.required)(),
|
|
76
|
+
(0, db_decorators_1.readonly)(),
|
|
77
|
+
(0, core_1.index)([core_1.OrderDirection.ASC, core_1.OrderDirection.DSC]),
|
|
78
|
+
(0, decoration_1.description)("Type category the leaflet belongs to."),
|
|
79
|
+
__metadata("design:type", String)
|
|
80
|
+
], Leaflet.prototype, "leafletType", void 0);
|
|
81
|
+
__decorate([
|
|
82
|
+
(0, core_1.column)(),
|
|
83
|
+
(0, decorator_validation_1.required)(),
|
|
84
|
+
(0, db_decorators_1.readonly)(),
|
|
85
|
+
(0, core_1.index)([core_1.OrderDirection.ASC, core_1.OrderDirection.DSC]),
|
|
86
|
+
(0, decoration_1.description)("Language code of the leaflet (e.g., 'en', 'pt', 'es')."),
|
|
87
|
+
__metadata("design:type", String)
|
|
88
|
+
], Leaflet.prototype, "lang", void 0);
|
|
89
|
+
__decorate([
|
|
90
|
+
(0, core_1.column)(),
|
|
91
|
+
(0, db_decorators_1.readonly)(),
|
|
92
|
+
__metadata("design:type", String)
|
|
93
|
+
], Leaflet.prototype, "epiMarket", void 0);
|
|
94
|
+
__decorate([
|
|
95
|
+
(0, core_1.column)(),
|
|
96
|
+
(0, decorator_validation_1.required)(),
|
|
97
|
+
(0, decoration_1.description)("Main XML content of the electronic leaflet."),
|
|
98
|
+
(0, core_1.oneToOne)(() => OtherLeafletFile_js_1.OtherLeafletFile, { update: core_1.Cascade.CASCADE, delete: core_1.Cascade.CASCADE }, false),
|
|
99
|
+
(0, decoration_1.description)("file with the xml content of the leaflet"),
|
|
100
|
+
__metadata("design:type", Object)
|
|
101
|
+
], Leaflet.prototype, "xmlFileContent", void 0);
|
|
102
|
+
__decorate([
|
|
103
|
+
(0, core_1.oneToMany)(() => OtherLeafletFile_js_1.OtherLeafletFile, { update: core_1.Cascade.CASCADE, delete: core_1.Cascade.CASCADE }, false),
|
|
104
|
+
(0, decoration_1.description)("List of additional files linked to the leaflet, such as PDFs or images."),
|
|
105
|
+
__metadata("design:type", Array)
|
|
106
|
+
], Leaflet.prototype, "otherFilesContent", void 0);
|
|
107
|
+
__decorate([
|
|
108
|
+
(0, index_js_1.ownedBy)(),
|
|
109
|
+
(0, decoration_1.description)("the owner (msp) of the leaflet"),
|
|
110
|
+
__metadata("design:type", String)
|
|
111
|
+
], Leaflet.prototype, "owner", void 0);
|
|
112
|
+
exports.Leaflet = Leaflet = __decorate([
|
|
113
|
+
(0, decoration_1.description)("Represents the ePI leaflet linked to a specific product, batch, and language."),
|
|
114
|
+
(0, decoration_1.uses)(index_js_1.FabricFlavour),
|
|
115
|
+
(0, core_1.table)("other_leaflet"),
|
|
116
|
+
(0, index_js_1.sharedData)((0, index_js_1.NamespaceCollection)("decaf-namespace")),
|
|
117
|
+
(0, decorator_validation_1.model)(),
|
|
118
|
+
__metadata("design:paramtypes", [Object])
|
|
119
|
+
], Leaflet);
|
|
120
|
+
//# sourceMappingURL=OtherLeaflet.js.map
|
|
121
|
+
//# sourceMappingURL=OtherLeaflet.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OtherLeaflet.js","sourceRoot":"","sources":["OtherLeaflet.js"],"names":[],"mappings":";;;AAAA,IAAI,UAAU,GAAG,CAAC,IAAI,IAAI,IAAI,CAAC,UAAU,CAAC,IAAI,UAAU,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI;IACjF,IAAI,CAAC,GAAG,SAAS,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,KAAK,IAAI,CAAC,CAAC,CAAC,IAAI,GAAG,MAAM,CAAC,wBAAwB,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC;IAC7H,I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1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OtherLeafletFile = void 0;
|
|
4
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
5
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
6
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
7
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
8
|
+
else
|
|
9
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
10
|
+
if (d = decorators[i])
|
|
11
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
12
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
13
|
+
};
|
|
14
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
15
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
16
|
+
return Reflect.metadata(k, v);
|
|
17
|
+
};
|
|
18
|
+
const decorator_validation_1 = require("@decaf-ts/decorator-validation");
|
|
19
|
+
const core_1 = require("@decaf-ts/core");
|
|
20
|
+
const decoration_1 = require("@decaf-ts/decoration");
|
|
21
|
+
const db_decorators_1 = require("@decaf-ts/db-decorators");
|
|
22
|
+
const BaseIdentifiedModel_js_1 = require("./../models/BaseIdentifiedModel.cjs");
|
|
23
|
+
const index_js_1 = require("./../../shared/index.cjs");
|
|
24
|
+
let OtherLeafletFile = class OtherLeafletFile extends BaseIdentifiedModel_js_1.BaseIdentifiedModel {
|
|
25
|
+
constructor(model) {
|
|
26
|
+
super(model);
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
exports.OtherLeafletFile = OtherLeafletFile;
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, core_1.pk)(),
|
|
32
|
+
(0, index_js_1.mirror)("mirror-collection", "PharmaledgerassocMSP"),
|
|
33
|
+
(0, db_decorators_1.composed)(["leafletId", "fileName"], ":"),
|
|
34
|
+
(0, decoration_1.description)("Unique identifier of the leaflet file."),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], OtherLeafletFile.prototype, "id", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, core_1.column)(),
|
|
39
|
+
(0, decorator_validation_1.required)(),
|
|
40
|
+
(0, core_1.index)([core_1.OrderDirection.ASC, core_1.OrderDirection.DSC]),
|
|
41
|
+
(0, decoration_1.description)("Identifier of the leaflet this file belongs to."),
|
|
42
|
+
__metadata("design:type", String)
|
|
43
|
+
], OtherLeafletFile.prototype, "leafletId", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, core_1.column)(),
|
|
46
|
+
(0, decorator_validation_1.required)(),
|
|
47
|
+
(0, core_1.index)([core_1.OrderDirection.ASC, core_1.OrderDirection.DSC]),
|
|
48
|
+
(0, decoration_1.description)("Name of the file, including its extension."),
|
|
49
|
+
__metadata("design:type", String)
|
|
50
|
+
], OtherLeafletFile.prototype, "fileName", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
(0, core_1.column)(),
|
|
53
|
+
(0, decorator_validation_1.required)(),
|
|
54
|
+
(0, decoration_1.description)("Base64-encoded content of the file."),
|
|
55
|
+
__metadata("design:type", String)
|
|
56
|
+
], OtherLeafletFile.prototype, "fileContent", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, index_js_1.ownedBy)(),
|
|
59
|
+
(0, decoration_1.description)("the owner (msp) of the leaflet"),
|
|
60
|
+
__metadata("design:type", String)
|
|
61
|
+
], OtherLeafletFile.prototype, "owner", void 0);
|
|
62
|
+
exports.OtherLeafletFile = OtherLeafletFile = __decorate([
|
|
63
|
+
(0, decoration_1.description)("Represents an additional file associated with a leaflet, such as a PDF or image."),
|
|
64
|
+
(0, decoration_1.uses)(index_js_1.FabricFlavour),
|
|
65
|
+
(0, core_1.table)("other_leaflet_file"),
|
|
66
|
+
(0, index_js_1.sharedData)((0, index_js_1.NamespaceCollection)("decaf-namespace")),
|
|
67
|
+
(0, decorator_validation_1.model)(),
|
|
68
|
+
__metadata("design:paramtypes", [Object])
|
|
69
|
+
], OtherLeafletFile);
|
|
70
|
+
//# sourceMappingURL=OtherLeafletFile.js.map
|
|
71
|
+
//# sourceMappingURL=OtherLeafletFile.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OtherLeafletFile.js","sourceRoot":"","sources":["OtherLeafletFile.js"],"names":[],"mappings":";;;AAAA,IAAI,UAAU,GAAG,CAAC,IAAI,IAAI,IAAI,CAAC,UAAU,CAAC,IAAI,UAAU,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI;IACjF,IAAI,CAAC,GAAG,SAAS,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,KAAK,IAAI,CAAC,CAAC,CAAC,IAAI,GAAG,MAAM,CAAC,wBAAwB,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC;IAC7H,IAAI,OAAO,OAAO,KAAK,QAAQ,IAAI,OAAO,OAAO,CAAC,QAAQ,KAAK,UAAU;QAAE,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,CAAC,CAAC;;QAC1H,KAAK,IAAI,CAAC,GAAG,UAAU,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE;YAAE,IAAI,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC;gBAAE,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,C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use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OtherMarket = void 0;
|
|
4
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
5
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
6
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
7
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
8
|
+
else
|
|
9
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
10
|
+
if (d = decorators[i])
|
|
11
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
12
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
13
|
+
};
|
|
14
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
15
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
16
|
+
return Reflect.metadata(k, v);
|
|
17
|
+
};
|
|
18
|
+
const decorator_validation_1 = require("@decaf-ts/decorator-validation");
|
|
19
|
+
const core_1 = require("@decaf-ts/core");
|
|
20
|
+
const db_decorators_1 = require("@decaf-ts/db-decorators");
|
|
21
|
+
const decoration_1 = require("@decaf-ts/decoration");
|
|
22
|
+
const BaseIdentifiedModel_js_1 = require("./../models/BaseIdentifiedModel.cjs");
|
|
23
|
+
const gtin_js_1 = require("./../models/gtin.cjs");
|
|
24
|
+
const index_js_1 = require("./../../shared/index.cjs");
|
|
25
|
+
const history_dec_js_1 = require("./../models/history-dec.cjs");
|
|
26
|
+
let OtherMarket = class OtherMarket extends BaseIdentifiedModel_js_1.BaseIdentifiedModel {
|
|
27
|
+
constructor(model) {
|
|
28
|
+
super(model);
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
exports.OtherMarket = OtherMarket;
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, core_1.pk)({ type: String, generated: false }),
|
|
34
|
+
(0, history_dec_js_1.historyDec)(),
|
|
35
|
+
(0, index_js_1.mirror)("mirror-collection", "PharmaledgerassocMSP"),
|
|
36
|
+
(0, db_decorators_1.composed)(["productCode", "marketId"], ":", true),
|
|
37
|
+
(0, decoration_1.description)("Unique identifier composed of product code and market ID."),
|
|
38
|
+
__metadata("design:type", String)
|
|
39
|
+
], OtherMarket.prototype, "id", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, core_1.column)(),
|
|
42
|
+
(0, decorator_validation_1.required)(),
|
|
43
|
+
(0, core_1.defaultQueryAttr)(),
|
|
44
|
+
(0, core_1.index)([core_1.OrderDirection.ASC, core_1.OrderDirection.DSC]),
|
|
45
|
+
(0, decoration_1.description)("Identifier of the market where the product is registered or sold."),
|
|
46
|
+
__metadata("design:type", String)
|
|
47
|
+
], OtherMarket.prototype, "marketId", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, core_1.column)(),
|
|
50
|
+
(0, gtin_js_1.gtin)(),
|
|
51
|
+
(0, decorator_validation_1.required)(),
|
|
52
|
+
(0, core_1.defaultQueryAttr)(),
|
|
53
|
+
__metadata("design:type", String)
|
|
54
|
+
], OtherMarket.prototype, "productCode", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
(0, core_1.column)(),
|
|
57
|
+
(0, decorator_validation_1.minlength)(2),
|
|
58
|
+
(0, decorator_validation_1.maxlength)(2),
|
|
59
|
+
(0, decoration_1.description)("Two-letter national code (ISO format) representing the market's country."),
|
|
60
|
+
__metadata("design:type", String)
|
|
61
|
+
], OtherMarket.prototype, "nationalCode", void 0);
|
|
62
|
+
__decorate([
|
|
63
|
+
(0, core_1.column)(),
|
|
64
|
+
(0, decoration_1.description)("Name of the Marketing Authorization Holder (MAH)."),
|
|
65
|
+
__metadata("design:type", String)
|
|
66
|
+
], OtherMarket.prototype, "mahName", void 0);
|
|
67
|
+
__decorate([
|
|
68
|
+
(0, core_1.column)(),
|
|
69
|
+
(0, decoration_1.description)("Name of the legal entity responsible for the product in this market."),
|
|
70
|
+
__metadata("design:type", String)
|
|
71
|
+
], OtherMarket.prototype, "legalEntityName", void 0);
|
|
72
|
+
__decorate([
|
|
73
|
+
(0, core_1.column)(),
|
|
74
|
+
(0, decoration_1.description)("Address of the Marketing Authorization Holder or responsible legal entity."),
|
|
75
|
+
__metadata("design:type", String)
|
|
76
|
+
], OtherMarket.prototype, "mahAddress", void 0);
|
|
77
|
+
__decorate([
|
|
78
|
+
(0, db_decorators_1.version)(),
|
|
79
|
+
__metadata("design:type", Number)
|
|
80
|
+
], OtherMarket.prototype, "counter", void 0);
|
|
81
|
+
exports.OtherMarket = OtherMarket = __decorate([
|
|
82
|
+
(0, index_js_1.sharedData)((0, index_js_1.NamespaceCollection)("decaf-namespace")),
|
|
83
|
+
(0, decoration_1.description)("Links a product to a specific market."),
|
|
84
|
+
(0, decoration_1.uses)(index_js_1.FabricFlavour),
|
|
85
|
+
(0, core_1.table)("other_market"),
|
|
86
|
+
(0, decorator_validation_1.model)(),
|
|
87
|
+
__metadata("design:paramtypes", [Object])
|
|
88
|
+
], OtherMarket);
|
|
89
|
+
//# sourceMappingURL=OtherMarket.js.map
|
|
90
|
+
//# sourceMappingURL=OtherMarket.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OtherMarket.js","sourceRoot":"","sources":["OtherMarket.js"],"names":[],"mappings":";;;AAAA,IAAI,UAAU,GAAG,CAAC,IAAI,IAAI,IAAI,CAAC,UAAU,CAAC,IAAI,UAAU,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI;IACjF,IAAI,CAAC,GAAG,SAAS,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,KAAK,IAAI,CAAC,CAAC,CAAC,IAAI,GAAG,MAAM,CAAC,wBAAwB,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CA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value: true });
|
|
3
|
+
exports.OtherProduct = void 0;
|
|
4
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
5
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
6
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
7
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
8
|
+
else
|
|
9
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
10
|
+
if (d = decorators[i])
|
|
11
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
12
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
13
|
+
};
|
|
14
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
15
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
16
|
+
return Reflect.metadata(k, v);
|
|
17
|
+
};
|
|
18
|
+
const decorator_validation_1 = require("@decaf-ts/decorator-validation");
|
|
19
|
+
const core_1 = require("@decaf-ts/core");
|
|
20
|
+
// import {BlockOperations, OperationKeys, readonly} from "@decaf-ts/db-decorators";
|
|
21
|
+
const decoration_1 = require("@decaf-ts/decoration");
|
|
22
|
+
const BaseIdentifiedModel_js_1 = require("./../models/BaseIdentifiedModel.cjs");
|
|
23
|
+
const gtin_js_1 = require("./../models/gtin.cjs");
|
|
24
|
+
const decorators_js_1 = require("./../models/decorators.cjs");
|
|
25
|
+
const index_js_1 = require("./../../shared/index.cjs");
|
|
26
|
+
const db_decorators_1 = require("@decaf-ts/db-decorators");
|
|
27
|
+
const history_dec_js_1 = require("./../models/history-dec.cjs");
|
|
28
|
+
let OtherProduct = class OtherProduct extends BaseIdentifiedModel_js_1.BaseIdentifiedModel {
|
|
29
|
+
constructor(args) {
|
|
30
|
+
super(args);
|
|
31
|
+
this.productRecall = false;
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
exports.OtherProduct = OtherProduct;
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, core_1.pk)(),
|
|
37
|
+
(0, gtin_js_1.gtin)(),
|
|
38
|
+
(0, history_dec_js_1.historyDec)(),
|
|
39
|
+
(0, index_js_1.mirror)("mirror-collection", "PharmaledgerassocMSP"),
|
|
40
|
+
(0, decorators_js_1.audit)(OtherProduct),
|
|
41
|
+
__metadata("design:type", String)
|
|
42
|
+
], OtherProduct.prototype, "productCode", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, core_1.column)(),
|
|
45
|
+
(0, decorator_validation_1.required)(),
|
|
46
|
+
(0, core_1.index)([core_1.OrderDirection.ASC, core_1.OrderDirection.DSC]),
|
|
47
|
+
__metadata("design:type", String)
|
|
48
|
+
], OtherProduct.prototype, "inventedName", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, core_1.column)(),
|
|
51
|
+
(0, decorator_validation_1.required)(),
|
|
52
|
+
(0, core_1.index)([core_1.OrderDirection.ASC, core_1.OrderDirection.DSC]),
|
|
53
|
+
__metadata("design:type", String)
|
|
54
|
+
], OtherProduct.prototype, "nameMedicinalProduct", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
(0, core_1.column)(),
|
|
57
|
+
__metadata("design:type", String)
|
|
58
|
+
], OtherProduct.prototype, "internalMaterialCode", void 0);
|
|
59
|
+
__decorate([
|
|
60
|
+
(0, core_1.column)(),
|
|
61
|
+
(0, core_1.index)([core_1.OrderDirection.ASC, core_1.OrderDirection.DSC]),
|
|
62
|
+
__metadata("design:type", Boolean)
|
|
63
|
+
], OtherProduct.prototype, "productRecall", void 0);
|
|
64
|
+
__decorate([
|
|
65
|
+
(0, db_decorators_1.version)(),
|
|
66
|
+
__metadata("design:type", Number)
|
|
67
|
+
], OtherProduct.prototype, "counter", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
(0, core_1.column)(),
|
|
70
|
+
(0, index_js_1.ownedBy)(),
|
|
71
|
+
__metadata("design:type", String)
|
|
72
|
+
], OtherProduct.prototype, "ownedBy", void 0);
|
|
73
|
+
exports.OtherProduct = OtherProduct = __decorate([
|
|
74
|
+
(0, index_js_1.privateData)(),
|
|
75
|
+
(0, decoration_1.uses)(index_js_1.FabricFlavour)
|
|
76
|
+
// @BlockOperations([OperationKeys.DELETE])
|
|
77
|
+
,
|
|
78
|
+
(0, core_1.table)("other_product"),
|
|
79
|
+
(0, decorator_validation_1.model)(),
|
|
80
|
+
__metadata("design:paramtypes", [Object])
|
|
81
|
+
], OtherProduct);
|
|
82
|
+
//# sourceMappingURL=OtherProduct.js.map
|
|
83
|
+
//# sourceMappingURL=OtherProduct.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OtherProduct.js","sourceRoot":"","sources":["OtherProduct.js"],"names":[],"mappings":";;;AAAA,IAAI,UAAU,GAAG,CAAC,IAAI,IAAI,IAAI,CAAC,UAAU,CAAC,IAAI,UAAU,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI;IACjF,IAAI,CAAC,GAAG,SAAS,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,KAAK,IAAI,CAAC,CAAC,CAAC,IAAI,GAAG,MAAM,CAAC,wBAAwB,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC;IAC7H,IAAI,OAAO,OAAO,KAAK,QAAQ,IAAI,OAAO,OAAO,CAAC,QAAQ,KAAK,UAAU;QAAE,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,CAAC,CAAC;;QAC1H,KAAK,IAAI,CAAC,GAAG,UAAU,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE;YAAE,IAAI,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC;gBAAE,CAAC,GAAG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aAAa,EAAE,MAAM,CAAC;CACpC,EAAE,YAAY,CAAC,SAAS,EAAE,SAAS,EAAE,KAAK,CAAC,CAAC,CAAC;AAC9C,uBAAA,YAAY,GAAG,UAAU,CAAC;IACtB,IAAA,sBAAW,GAAE;IACb,IAAA,iBAAI,EAAC,wBAAa,CAAC;IACnB,2CAA2C;;IAE3C,IAAA,YAAK,EAAC,eAAe,CAAC;IACtB,IAAA,4BAAK,GAAE;IACP,UAAU,CAAC,mBAAmB,EAAE,CAAC,MAAM,CAAC,CAAC;CAC5C,EAAE,YAAY,CAAC,CAAC;AAEjB,wCAAwC"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OtherProductImage = void 0;
|
|
4
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
5
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
6
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
7
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
8
|
+
else
|
|
9
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
10
|
+
if (d = decorators[i])
|
|
11
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
12
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
13
|
+
};
|
|
14
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
15
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
16
|
+
return Reflect.metadata(k, v);
|
|
17
|
+
};
|
|
18
|
+
const decorator_validation_1 = require("@decaf-ts/decorator-validation");
|
|
19
|
+
const core_1 = require("@decaf-ts/core");
|
|
20
|
+
// import {BlockOperations, OperationKeys, readonly} from "@decaf-ts/db-decorators";
|
|
21
|
+
const decoration_1 = require("@decaf-ts/decoration");
|
|
22
|
+
const gtin_js_1 = require("./../models/gtin.cjs");
|
|
23
|
+
const history_dec_js_1 = require("./../models/history-dec.cjs");
|
|
24
|
+
const db_decorators_1 = require("@decaf-ts/db-decorators");
|
|
25
|
+
const index_js_1 = require("./../../shared/index.cjs");
|
|
26
|
+
const BaseIdentifiedModel_js_1 = require("./../models/BaseIdentifiedModel.cjs");
|
|
27
|
+
let OtherProductImage = class OtherProductImage extends BaseIdentifiedModel_js_1.BaseIdentifiedModel {
|
|
28
|
+
constructor(model) {
|
|
29
|
+
super(model);
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
exports.OtherProductImage = OtherProductImage;
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, core_1.pk)(),
|
|
35
|
+
(0, history_dec_js_1.historyDec)(),
|
|
36
|
+
(0, gtin_js_1.gtin)(),
|
|
37
|
+
(0, core_1.defaultQueryAttr)(),
|
|
38
|
+
(0, index_js_1.mirror)("mirror-collection", "PharmaledgerassocMSP"),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], OtherProductImage.prototype, "productCode", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, core_1.column)(),
|
|
43
|
+
(0, decorator_validation_1.required)(),
|
|
44
|
+
(0, core_1.defaultQueryAttr)(),
|
|
45
|
+
__metadata("design:type", String)
|
|
46
|
+
], OtherProductImage.prototype, "content", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, index_js_1.ownedBy)(),
|
|
49
|
+
__metadata("design:type", String)
|
|
50
|
+
], OtherProductImage.prototype, "owner", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
(0, db_decorators_1.version)(),
|
|
53
|
+
__metadata("design:type", Number)
|
|
54
|
+
], OtherProductImage.prototype, "counter", void 0);
|
|
55
|
+
exports.OtherProductImage = OtherProductImage = __decorate([
|
|
56
|
+
(0, index_js_1.sharedData)((0, index_js_1.NamespaceCollection)("decaf-namespace")),
|
|
57
|
+
(0, decoration_1.uses)(index_js_1.FabricFlavour)
|
|
58
|
+
// @BlockOperations([OperationKeys.DELETE])
|
|
59
|
+
,
|
|
60
|
+
(0, core_1.table)("other_product_image"),
|
|
61
|
+
(0, decorator_validation_1.model)(),
|
|
62
|
+
__metadata("design:paramtypes", [Object])
|
|
63
|
+
], OtherProductImage);
|
|
64
|
+
//# sourceMappingURL=OtherProductImage.js.map
|
|
65
|
+
//# sourceMappingURL=OtherProductImage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OtherProductImage.js","sourceRoot":"","sources":["OtherProductImage.js"],"names":[],"mappings":";;;AAAA,IAAI,UAAU,GAAG,CAAC,IAAI,IAAI,IAAI,CAAC,UAAU,CAAC,IAAI,UAAU,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI;IACjF,IAAI,CAAC,GAAG,SAAS,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,KAAK,IAAI,CAAC,CAAC,CAAC,IAAI,GAAG,MAAM,CAAC,wBAAwB,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC;IAC7H,IAAI,OAAO,OAAO,KAAK,QAAQ,IAAI,OAAO,OAAO,CAAC,QAAQ,KAAK,UAAU;QAAE,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,CAAC,CAAC;;QAC1H,KAAK,IAAI,CAAC,GAAG,UAAU,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE;YAAE,IAAI,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC;gBAAE,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CA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