@smartsoft001-mobilems/objects-domain 1.0.41
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/package.json +14 -0
- package/src/features.d.ts +1 -0
- package/src/features.js +5 -0
- package/src/features.js.map +1 -0
- package/src/index.d.ts +3 -0
- package/src/index.js +7 -0
- package/src/index.js.map +1 -0
- package/src/lib/entities/author.entity.d.ts +7 -0
- package/src/lib/entities/author.entity.js +27 -0
- package/src/lib/entities/author.entity.js.map +1 -0
- package/src/lib/entities/bibliography.entity.d.ts +6 -0
- package/src/lib/entities/bibliography.entity.js +23 -0
- package/src/lib/entities/bibliography.entity.js.map +1 -0
- package/src/lib/entities/contractor.entity.d.ts +5 -0
- package/src/lib/entities/contractor.entity.js +19 -0
- package/src/lib/entities/contractor.entity.js.map +1 -0
- package/src/lib/entities/copyrights.entity.d.ts +9 -0
- package/src/lib/entities/copyrights.entity.js +35 -0
- package/src/lib/entities/copyrights.entity.js.map +1 -0
- package/src/lib/entities/date.entity.d.ts +6 -0
- package/src/lib/entities/date.entity.js +23 -0
- package/src/lib/entities/date.entity.js.map +1 -0
- package/src/lib/entities/department.entity.d.ts +6 -0
- package/src/lib/entities/department.entity.js +23 -0
- package/src/lib/entities/department.entity.js.map +1 -0
- package/src/lib/entities/description-rights.entity.d.ts +8 -0
- package/src/lib/entities/description-rights.entity.js +31 -0
- package/src/lib/entities/description-rights.entity.js.map +1 -0
- package/src/lib/entities/event.entity.d.ts +10 -0
- package/src/lib/entities/event.entity.js +35 -0
- package/src/lib/entities/event.entity.js.map +1 -0
- package/src/lib/entities/extra-num-pattern.entity.d.ts +6 -0
- package/src/lib/entities/extra-num-pattern.entity.js +23 -0
- package/src/lib/entities/extra-num-pattern.entity.js.map +1 -0
- package/src/lib/entities/iconclasse.entity.d.ts +7 -0
- package/src/lib/entities/iconclasse.entity.js +27 -0
- package/src/lib/entities/iconclasse.entity.js.map +1 -0
- package/src/lib/entities/index.d.ts +24 -0
- package/src/lib/entities/index.js +28 -0
- package/src/lib/entities/index.js.map +1 -0
- package/src/lib/entities/material.entity.d.ts +6 -0
- package/src/lib/entities/material.entity.js +23 -0
- package/src/lib/entities/material.entity.js.map +1 -0
- package/src/lib/entities/object.entity.d.ts +92 -0
- package/src/lib/entities/object.entity.js +226 -0
- package/src/lib/entities/object.entity.js.map +1 -0
- package/src/lib/entities/origin-period.entity.d.ts +5 -0
- package/src/lib/entities/origin-period.entity.js +19 -0
- package/src/lib/entities/origin-period.entity.js.map +1 -0
- package/src/lib/entities/other-title.entity.d.ts +7 -0
- package/src/lib/entities/other-title.entity.js +27 -0
- package/src/lib/entities/other-title.entity.js.map +1 -0
- package/src/lib/entities/owner.entity.d.ts +5 -0
- package/src/lib/entities/owner.entity.js +19 -0
- package/src/lib/entities/owner.entity.js.map +1 -0
- package/src/lib/entities/place-exposure.entity.d.ts +6 -0
- package/src/lib/entities/place-exposure.entity.js +23 -0
- package/src/lib/entities/place-exposure.entity.js.map +1 -0
- package/src/lib/entities/place.entity.d.ts +9 -0
- package/src/lib/entities/place.entity.js +35 -0
- package/src/lib/entities/place.entity.js.map +1 -0
- package/src/lib/entities/programmes-participation.entity.d.ts +9 -0
- package/src/lib/entities/programmes-participation.entity.js +31 -0
- package/src/lib/entities/programmes-participation.entity.js.map +1 -0
- package/src/lib/entities/purchase-method.entity.d.ts +5 -0
- package/src/lib/entities/purchase-method.entity.js +19 -0
- package/src/lib/entities/purchase-method.entity.js.map +1 -0
- package/src/lib/entities/redactor.entity.d.ts +8 -0
- package/src/lib/entities/redactor.entity.js +23 -0
- package/src/lib/entities/redactor.entity.js.map +1 -0
- package/src/lib/entities/size.entity.d.ts +7 -0
- package/src/lib/entities/size.entity.js +23 -0
- package/src/lib/entities/size.entity.js.map +1 -0
- package/src/lib/entities/tag.entity.d.ts +6 -0
- package/src/lib/entities/tag.entity.js +23 -0
- package/src/lib/entities/tag.entity.js.map +1 -0
- package/src/lib/entities/technique.entity.d.ts +6 -0
- package/src/lib/entities/technique.entity.js +23 -0
- package/src/lib/entities/technique.entity.js.map +1 -0
- package/src/lib/entities/type.entity.d.ts +8 -0
- package/src/lib/entities/type.entity.js +31 -0
- package/src/lib/entities/type.entity.js.map +1 -0
- package/src/lib/enums/index.d.ts +1 -0
- package/src/lib/enums/index.js +5 -0
- package/src/lib/enums/index.js.map +1 -0
- package/src/lib/enums/object-type-feature.enum.d.ts +7 -0
- package/src/lib/enums/object-type-feature.enum.js +12 -0
- package/src/lib/enums/object-type-feature.enum.js.map +1 -0
- package/src/lib/value-objects/attachment.value-object.d.ts +5 -0
- package/src/lib/value-objects/attachment.value-object.js +11 -0
- package/src/lib/value-objects/attachment.value-object.js.map +1 -0
- package/src/lib/value-objects/index.d.ts +3 -0
- package/src/lib/value-objects/index.js +7 -0
- package/src/lib/value-objects/index.js.map +1 -0
- package/src/lib/value-objects/public-description.value-object.d.ts +7 -0
- package/src/lib/value-objects/public-description.value-object.js +13 -0
- package/src/lib/value-objects/public-description.value-object.js.map +1 -0
- package/src/lib/value-objects/size-dimension.value-object.d.ts +8 -0
- package/src/lib/value-objects/size-dimension.value-object.js +14 -0
- package/src/lib/value-objects/size-dimension.value-object.js.map +1 -0
- package/src/test-setup.d.ts +0 -0
- package/src/test-setup.js +1 -0
- package/src/test-setup.js.map +1 -0
package/package.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@smartsoft001-mobilems/objects-domain",
|
|
3
|
+
"version": "1.0.41",
|
|
4
|
+
"main": "./src/index.js",
|
|
5
|
+
"types": "./src/index.d.ts",
|
|
6
|
+
"dependencies": {},
|
|
7
|
+
"peerDependencies": {
|
|
8
|
+
"@smartsoft001/models": "^1.1.21",
|
|
9
|
+
"@smartsoft001/domain-core": "^1.1.21",
|
|
10
|
+
"@smartsoft001-mobilems/models": "1.0.41",
|
|
11
|
+
"@smartsoft001-mobilems/articles-domain": "1.0.41",
|
|
12
|
+
"tslib": "^2.2.0"
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const DOMAIN_SERVICES: any[];
|
package/src/features.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"features.js","sourceRoot":"","sources":["../../../../../libs/objects/domain/src/features.ts"],"names":[],"mappings":";;;AAAa,QAAA,eAAe,GAAG,EAAE,CAAC"}
|
package/src/index.d.ts
ADDED
package/src/index.js
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./lib/entities"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./lib/enums"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./lib/value-objects"), exports);
|
|
7
|
+
//# sourceMappingURL=index.js.map
|
package/src/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../libs/objects/domain/src/index.ts"],"names":[],"mappings":";;;AAAA,yDAA+B;AAC/B,sDAA4B;AAC5B,8DAAoC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MsObjectAuthor = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const models_1 = require("@smartsoft001/models");
|
|
6
|
+
let MsObjectAuthor = class MsObjectAuthor {
|
|
7
|
+
constructor() {
|
|
8
|
+
this.id = 0;
|
|
9
|
+
}
|
|
10
|
+
};
|
|
11
|
+
tslib_1.__decorate([
|
|
12
|
+
(0, models_1.Field)(),
|
|
13
|
+
tslib_1.__metadata("design:type", String)
|
|
14
|
+
], MsObjectAuthor.prototype, "name", void 0);
|
|
15
|
+
tslib_1.__decorate([
|
|
16
|
+
(0, models_1.Field)(),
|
|
17
|
+
tslib_1.__metadata("design:type", String)
|
|
18
|
+
], MsObjectAuthor.prototype, "role", void 0);
|
|
19
|
+
tslib_1.__decorate([
|
|
20
|
+
(0, models_1.Field)(),
|
|
21
|
+
tslib_1.__metadata("design:type", String)
|
|
22
|
+
], MsObjectAuthor.prototype, "comment", void 0);
|
|
23
|
+
MsObjectAuthor = tslib_1.__decorate([
|
|
24
|
+
(0, models_1.Model)()
|
|
25
|
+
], MsObjectAuthor);
|
|
26
|
+
exports.MsObjectAuthor = MsObjectAuthor;
|
|
27
|
+
//# sourceMappingURL=author.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"author.entity.js","sourceRoot":"","sources":["../../../../../../../libs/objects/domain/src/lib/entities/author.entity.ts"],"names":[],"mappings":";;;;AAAA,iDAAkD;AAI3C,IAAM,cAAc,GAApB,MAAM,cAAc;IAApB;QACH,OAAE,GAAG,CAAC,CAAC;IAUX,CAAC;CAAA,CAAA;AARG;IAAC,IAAA,cAAK,GAAE;;4CACM;AAEd;IAAC,IAAA,cAAK,GAAE;;4CACM;AAEd;IAAC,IAAA,cAAK,GAAE;;+CACS;AAVR,cAAc;IAD1B,IAAA,cAAK,GAAE;GACK,cAAc,CAW1B;AAXY,wCAAc"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MsObjectBibliography = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const models_1 = require("@smartsoft001/models");
|
|
6
|
+
let MsObjectBibliography = class MsObjectBibliography {
|
|
7
|
+
constructor() {
|
|
8
|
+
this.id = 0;
|
|
9
|
+
}
|
|
10
|
+
};
|
|
11
|
+
tslib_1.__decorate([
|
|
12
|
+
(0, models_1.Field)(),
|
|
13
|
+
tslib_1.__metadata("design:type", String)
|
|
14
|
+
], MsObjectBibliography.prototype, "text", void 0);
|
|
15
|
+
tslib_1.__decorate([
|
|
16
|
+
(0, models_1.Field)(),
|
|
17
|
+
tslib_1.__metadata("design:type", String)
|
|
18
|
+
], MsObjectBibliography.prototype, "permalink", void 0);
|
|
19
|
+
MsObjectBibliography = tslib_1.__decorate([
|
|
20
|
+
(0, models_1.Model)()
|
|
21
|
+
], MsObjectBibliography);
|
|
22
|
+
exports.MsObjectBibliography = MsObjectBibliography;
|
|
23
|
+
//# sourceMappingURL=bibliography.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bibliography.entity.js","sourceRoot":"","sources":["../../../../../../../libs/objects/domain/src/lib/entities/bibliography.entity.ts"],"names":[],"mappings":";;;;AAAA,iDAAkD;AAI3C,IAAM,oBAAoB,GAA1B,MAAM,oBAAoB;IAA1B;QACH,OAAE,GAAG,CAAC,CAAC;IAOX,CAAC;CAAA,CAAA;AALG;IAAC,IAAA,cAAK,GAAE;;kDACM;AAEd;IAAC,IAAA,cAAK,GAAE;;uDACW;AAPV,oBAAoB;IADhC,IAAA,cAAK,GAAE;GACK,oBAAoB,CAQhC;AARY,oDAAoB"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MsObjectContractor = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const models_1 = require("@smartsoft001/models");
|
|
6
|
+
let MsObjectContractor = class MsObjectContractor {
|
|
7
|
+
constructor() {
|
|
8
|
+
this.id = 0;
|
|
9
|
+
}
|
|
10
|
+
};
|
|
11
|
+
tslib_1.__decorate([
|
|
12
|
+
(0, models_1.Field)(),
|
|
13
|
+
tslib_1.__metadata("design:type", String)
|
|
14
|
+
], MsObjectContractor.prototype, "name", void 0);
|
|
15
|
+
MsObjectContractor = tslib_1.__decorate([
|
|
16
|
+
(0, models_1.Model)()
|
|
17
|
+
], MsObjectContractor);
|
|
18
|
+
exports.MsObjectContractor = MsObjectContractor;
|
|
19
|
+
//# sourceMappingURL=contractor.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contractor.entity.js","sourceRoot":"","sources":["../../../../../../../libs/objects/domain/src/lib/entities/contractor.entity.ts"],"names":[],"mappings":";;;;AAAA,iDAAkD;AAI3C,IAAM,kBAAkB,GAAxB,MAAM,kBAAkB;IAAxB;QACH,OAAE,GAAG,CAAC,CAAC;IAIX,CAAC;CAAA,CAAA;AAFG;IAAC,IAAA,cAAK,GAAE;;gDACM;AAJL,kBAAkB;IAD9B,IAAA,cAAK,GAAE;GACK,kBAAkB,CAK9B;AALY,gDAAkB"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MsObjectCopyrights = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const models_1 = require("@smartsoft001/models");
|
|
6
|
+
let MsObjectCopyrights = class MsObjectCopyrights {
|
|
7
|
+
constructor() {
|
|
8
|
+
this.id = 0;
|
|
9
|
+
}
|
|
10
|
+
};
|
|
11
|
+
tslib_1.__decorate([
|
|
12
|
+
(0, models_1.Field)(),
|
|
13
|
+
tslib_1.__metadata("design:type", String)
|
|
14
|
+
], MsObjectCopyrights.prototype, "name", void 0);
|
|
15
|
+
tslib_1.__decorate([
|
|
16
|
+
(0, models_1.Field)(),
|
|
17
|
+
tslib_1.__metadata("design:type", String)
|
|
18
|
+
], MsObjectCopyrights.prototype, "image", void 0);
|
|
19
|
+
tslib_1.__decorate([
|
|
20
|
+
(0, models_1.Field)(),
|
|
21
|
+
tslib_1.__metadata("design:type", String)
|
|
22
|
+
], MsObjectCopyrights.prototype, "link", void 0);
|
|
23
|
+
tslib_1.__decorate([
|
|
24
|
+
(0, models_1.Field)(),
|
|
25
|
+
tslib_1.__metadata("design:type", Boolean)
|
|
26
|
+
], MsObjectCopyrights.prototype, "restricted", void 0);
|
|
27
|
+
tslib_1.__decorate([
|
|
28
|
+
(0, models_1.Field)(),
|
|
29
|
+
tslib_1.__metadata("design:type", String)
|
|
30
|
+
], MsObjectCopyrights.prototype, "description", void 0);
|
|
31
|
+
MsObjectCopyrights = tslib_1.__decorate([
|
|
32
|
+
(0, models_1.Model)()
|
|
33
|
+
], MsObjectCopyrights);
|
|
34
|
+
exports.MsObjectCopyrights = MsObjectCopyrights;
|
|
35
|
+
//# sourceMappingURL=copyrights.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"copyrights.entity.js","sourceRoot":"","sources":["../../../../../../../libs/objects/domain/src/lib/entities/copyrights.entity.ts"],"names":[],"mappings":";;;;AAAA,iDAAkD;AAI3C,IAAM,kBAAkB,GAAxB,MAAM,kBAAkB;IAAxB;QACH,OAAE,GAAG,CAAC,CAAC;IAgBX,CAAC;CAAA,CAAA;AAdG;IAAC,IAAA,cAAK,GAAE;;gDACM;AAEd;IAAC,IAAA,cAAK,GAAE;;iDACO;AAEf;IAAC,IAAA,cAAK,GAAE;;gDACM;AAEd;IAAC,IAAA,cAAK,GAAE;;sDACa;AAErB;IAAC,IAAA,cAAK,GAAE;;uDACa;AAhBZ,kBAAkB;IAD9B,IAAA,cAAK,GAAE;GACK,kBAAkB,CAiB9B;AAjBY,gDAAkB"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MsObjectDate = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const models_1 = require("@smartsoft001/models");
|
|
6
|
+
let MsObjectDate = class MsObjectDate {
|
|
7
|
+
constructor() {
|
|
8
|
+
this.id = 0;
|
|
9
|
+
}
|
|
10
|
+
};
|
|
11
|
+
tslib_1.__decorate([
|
|
12
|
+
(0, models_1.Field)(),
|
|
13
|
+
tslib_1.__metadata("design:type", String)
|
|
14
|
+
], MsObjectDate.prototype, "name", void 0);
|
|
15
|
+
tslib_1.__decorate([
|
|
16
|
+
(0, models_1.Field)(),
|
|
17
|
+
tslib_1.__metadata("design:type", String)
|
|
18
|
+
], MsObjectDate.prototype, "comment", void 0);
|
|
19
|
+
MsObjectDate = tslib_1.__decorate([
|
|
20
|
+
(0, models_1.Model)()
|
|
21
|
+
], MsObjectDate);
|
|
22
|
+
exports.MsObjectDate = MsObjectDate;
|
|
23
|
+
//# sourceMappingURL=date.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"date.entity.js","sourceRoot":"","sources":["../../../../../../../libs/objects/domain/src/lib/entities/date.entity.ts"],"names":[],"mappings":";;;;AAAA,iDAAkD;AAI3C,IAAM,YAAY,GAAlB,MAAM,YAAY;IAAlB;QACH,OAAE,GAAG,CAAC,CAAC;IAOX,CAAC;CAAA,CAAA;AALG;IAAC,IAAA,cAAK,GAAE;;0CACM;AAEd;IAAC,IAAA,cAAK,GAAE;;6CACS;AAPR,YAAY;IADxB,IAAA,cAAK,GAAE;GACK,YAAY,CAQxB;AARY,oCAAY"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MsObjectDepartment = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const models_1 = require("@smartsoft001/models");
|
|
6
|
+
let MsObjectDepartment = class MsObjectDepartment {
|
|
7
|
+
constructor() {
|
|
8
|
+
this.id = 0;
|
|
9
|
+
}
|
|
10
|
+
};
|
|
11
|
+
tslib_1.__decorate([
|
|
12
|
+
(0, models_1.Field)(),
|
|
13
|
+
tslib_1.__metadata("design:type", String)
|
|
14
|
+
], MsObjectDepartment.prototype, "name", void 0);
|
|
15
|
+
tslib_1.__decorate([
|
|
16
|
+
(0, models_1.Field)(),
|
|
17
|
+
tslib_1.__metadata("design:type", String)
|
|
18
|
+
], MsObjectDepartment.prototype, "historicalProvenance", void 0);
|
|
19
|
+
MsObjectDepartment = tslib_1.__decorate([
|
|
20
|
+
(0, models_1.Model)()
|
|
21
|
+
], MsObjectDepartment);
|
|
22
|
+
exports.MsObjectDepartment = MsObjectDepartment;
|
|
23
|
+
//# sourceMappingURL=department.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"department.entity.js","sourceRoot":"","sources":["../../../../../../../libs/objects/domain/src/lib/entities/department.entity.ts"],"names":[],"mappings":";;;;AAAA,iDAAkD;AAI3C,IAAM,kBAAkB,GAAxB,MAAM,kBAAkB;IAAxB;QACH,OAAE,GAAG,CAAC,CAAC;IAOX,CAAC;CAAA,CAAA;AALG;IAAC,IAAA,cAAK,GAAE;;gDACM;AAEd;IAAC,IAAA,cAAK,GAAE;;gEACsB;AAPrB,kBAAkB;IAD9B,IAAA,cAAK,GAAE;GACK,kBAAkB,CAQ9B;AARY,gDAAkB"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MsObjectDescriptionRights = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const models_1 = require("@smartsoft001/models");
|
|
6
|
+
let MsObjectDescriptionRights = class MsObjectDescriptionRights {
|
|
7
|
+
constructor() {
|
|
8
|
+
this.id = 0;
|
|
9
|
+
}
|
|
10
|
+
};
|
|
11
|
+
tslib_1.__decorate([
|
|
12
|
+
(0, models_1.Field)(),
|
|
13
|
+
tslib_1.__metadata("design:type", String)
|
|
14
|
+
], MsObjectDescriptionRights.prototype, "name", void 0);
|
|
15
|
+
tslib_1.__decorate([
|
|
16
|
+
(0, models_1.Field)(),
|
|
17
|
+
tslib_1.__metadata("design:type", String)
|
|
18
|
+
], MsObjectDescriptionRights.prototype, "image", void 0);
|
|
19
|
+
tslib_1.__decorate([
|
|
20
|
+
(0, models_1.Field)(),
|
|
21
|
+
tslib_1.__metadata("design:type", String)
|
|
22
|
+
], MsObjectDescriptionRights.prototype, "link", void 0);
|
|
23
|
+
tslib_1.__decorate([
|
|
24
|
+
(0, models_1.Field)(),
|
|
25
|
+
tslib_1.__metadata("design:type", Boolean)
|
|
26
|
+
], MsObjectDescriptionRights.prototype, "restricted", void 0);
|
|
27
|
+
MsObjectDescriptionRights = tslib_1.__decorate([
|
|
28
|
+
(0, models_1.Model)()
|
|
29
|
+
], MsObjectDescriptionRights);
|
|
30
|
+
exports.MsObjectDescriptionRights = MsObjectDescriptionRights;
|
|
31
|
+
//# sourceMappingURL=description-rights.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"description-rights.entity.js","sourceRoot":"","sources":["../../../../../../../libs/objects/domain/src/lib/entities/description-rights.entity.ts"],"names":[],"mappings":";;;;AAAA,iDAAkD;AAI3C,IAAM,yBAAyB,GAA/B,MAAM,yBAAyB;IAA/B;QACH,OAAE,GAAG,CAAC,CAAC;IAaX,CAAC;CAAA,CAAA;AAXG;IAAC,IAAA,cAAK,GAAE;;uDACM;AAEd;IAAC,IAAA,cAAK,GAAE;;wDACO;AAEf;IAAC,IAAA,cAAK,GAAE;;uDACM;AAEd;IAAC,IAAA,cAAK,GAAE;;6DACa;AAbZ,yBAAyB;IADrC,IAAA,cAAK,GAAE;GACK,yBAAyB,CAcrC;AAdY,8DAAyB"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IEntity } from "@smartsoft001/domain-core";
|
|
2
|
+
import { MsObjectContractor } from "@smartsoft001-mobilems/objects-domain";
|
|
3
|
+
export declare class MsObjectEvent implements IEntity<number> {
|
|
4
|
+
id: number;
|
|
5
|
+
name?: string;
|
|
6
|
+
dateFrom?: Date;
|
|
7
|
+
dateTo?: Date;
|
|
8
|
+
comment?: string;
|
|
9
|
+
contractors?: Array<MsObjectContractor>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MsObjectEvent = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const models_1 = require("@smartsoft001/models");
|
|
6
|
+
let MsObjectEvent = class MsObjectEvent {
|
|
7
|
+
constructor() {
|
|
8
|
+
this.id = 0;
|
|
9
|
+
}
|
|
10
|
+
};
|
|
11
|
+
tslib_1.__decorate([
|
|
12
|
+
(0, models_1.Field)(),
|
|
13
|
+
tslib_1.__metadata("design:type", String)
|
|
14
|
+
], MsObjectEvent.prototype, "name", void 0);
|
|
15
|
+
tslib_1.__decorate([
|
|
16
|
+
(0, models_1.Field)(),
|
|
17
|
+
tslib_1.__metadata("design:type", Date)
|
|
18
|
+
], MsObjectEvent.prototype, "dateFrom", void 0);
|
|
19
|
+
tslib_1.__decorate([
|
|
20
|
+
(0, models_1.Field)(),
|
|
21
|
+
tslib_1.__metadata("design:type", Date)
|
|
22
|
+
], MsObjectEvent.prototype, "dateTo", void 0);
|
|
23
|
+
tslib_1.__decorate([
|
|
24
|
+
(0, models_1.Field)(),
|
|
25
|
+
tslib_1.__metadata("design:type", String)
|
|
26
|
+
], MsObjectEvent.prototype, "comment", void 0);
|
|
27
|
+
tslib_1.__decorate([
|
|
28
|
+
(0, models_1.Field)(),
|
|
29
|
+
tslib_1.__metadata("design:type", Array)
|
|
30
|
+
], MsObjectEvent.prototype, "contractors", void 0);
|
|
31
|
+
MsObjectEvent = tslib_1.__decorate([
|
|
32
|
+
(0, models_1.Model)()
|
|
33
|
+
], MsObjectEvent);
|
|
34
|
+
exports.MsObjectEvent = MsObjectEvent;
|
|
35
|
+
//# sourceMappingURL=event.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"event.entity.js","sourceRoot":"","sources":["../../../../../../../libs/objects/domain/src/lib/entities/event.entity.ts"],"names":[],"mappings":";;;;AAAA,iDAAkD;AAK3C,IAAM,aAAa,GAAnB,MAAM,aAAa;IAAnB;QACH,OAAE,GAAG,CAAC,CAAC;IAgBX,CAAC;CAAA,CAAA;AAdG;IAAC,IAAA,cAAK,GAAE;;2CACM;AAEd;IAAC,IAAA,cAAK,GAAE;sCACG,IAAI;+CAAC;AAEhB;IAAC,IAAA,cAAK,GAAE;sCACC,IAAI;6CAAC;AAEd;IAAC,IAAA,cAAK,GAAE;;8CACS;AAEjB;IAAC,IAAA,cAAK,GAAE;sCACM,KAAK;kDAAqB;AAhB/B,aAAa;IADzB,IAAA,cAAK,GAAE;GACK,aAAa,CAiBzB;AAjBY,sCAAa"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MsObjectExtraNumPattern = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const models_1 = require("@smartsoft001/models");
|
|
6
|
+
let MsObjectExtraNumPattern = class MsObjectExtraNumPattern {
|
|
7
|
+
constructor() {
|
|
8
|
+
this.id = 0;
|
|
9
|
+
}
|
|
10
|
+
};
|
|
11
|
+
tslib_1.__decorate([
|
|
12
|
+
(0, models_1.Field)(),
|
|
13
|
+
tslib_1.__metadata("design:type", String)
|
|
14
|
+
], MsObjectExtraNumPattern.prototype, "number", void 0);
|
|
15
|
+
tslib_1.__decorate([
|
|
16
|
+
(0, models_1.Field)(),
|
|
17
|
+
tslib_1.__metadata("design:type", String)
|
|
18
|
+
], MsObjectExtraNumPattern.prototype, "comment", void 0);
|
|
19
|
+
MsObjectExtraNumPattern = tslib_1.__decorate([
|
|
20
|
+
(0, models_1.Model)({})
|
|
21
|
+
], MsObjectExtraNumPattern);
|
|
22
|
+
exports.MsObjectExtraNumPattern = MsObjectExtraNumPattern;
|
|
23
|
+
//# sourceMappingURL=extra-num-pattern.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"extra-num-pattern.entity.js","sourceRoot":"","sources":["../../../../../../../libs/objects/domain/src/lib/entities/extra-num-pattern.entity.ts"],"names":[],"mappings":";;;;AACA,iDAAkD;AAG3C,IAAM,uBAAuB,GAA7B,MAAM,uBAAuB;IAA7B;QACH,OAAE,GAAG,CAAC,CAAC;IAOX,CAAC;CAAA,CAAA;AALG;IAAC,IAAA,cAAK,GAAE;;uDACQ;AAEhB;IAAC,IAAA,cAAK,GAAE;;wDACS;AAPR,uBAAuB;IADnC,IAAA,cAAK,EAAC,EAAE,CAAC;GACG,uBAAuB,CAQnC;AARY,0DAAuB"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MsObjectIconclasse = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const models_1 = require("@smartsoft001/models");
|
|
6
|
+
let MsObjectIconclasse = class MsObjectIconclasse {
|
|
7
|
+
constructor() {
|
|
8
|
+
this.id = 0;
|
|
9
|
+
}
|
|
10
|
+
};
|
|
11
|
+
tslib_1.__decorate([
|
|
12
|
+
(0, models_1.Field)(),
|
|
13
|
+
tslib_1.__metadata("design:type", String)
|
|
14
|
+
], MsObjectIconclasse.prototype, "notation", void 0);
|
|
15
|
+
tslib_1.__decorate([
|
|
16
|
+
(0, models_1.Field)(),
|
|
17
|
+
tslib_1.__metadata("design:type", String)
|
|
18
|
+
], MsObjectIconclasse.prototype, "description", void 0);
|
|
19
|
+
tslib_1.__decorate([
|
|
20
|
+
(0, models_1.Field)(),
|
|
21
|
+
tslib_1.__metadata("design:type", String)
|
|
22
|
+
], MsObjectIconclasse.prototype, "comment", void 0);
|
|
23
|
+
MsObjectIconclasse = tslib_1.__decorate([
|
|
24
|
+
(0, models_1.Model)()
|
|
25
|
+
], MsObjectIconclasse);
|
|
26
|
+
exports.MsObjectIconclasse = MsObjectIconclasse;
|
|
27
|
+
//# sourceMappingURL=iconclasse.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"iconclasse.entity.js","sourceRoot":"","sources":["../../../../../../../libs/objects/domain/src/lib/entities/iconclasse.entity.ts"],"names":[],"mappings":";;;;AAAA,iDAAkD;AAI3C,IAAM,kBAAkB,GAAxB,MAAM,kBAAkB;IAAxB;QACH,OAAE,GAAG,CAAC,CAAC;IAUX,CAAC;CAAA,CAAA;AARG;IAAC,IAAA,cAAK,GAAE;;oDACU;AAElB;IAAC,IAAA,cAAK,GAAE;;uDACa;AAErB;IAAC,IAAA,cAAK,GAAE;;mDACS;AAVR,kBAAkB;IAD9B,IAAA,cAAK,GAAE;GACK,kBAAkB,CAW9B;AAXY,gDAAkB"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export * from "./object.entity";
|
|
2
|
+
export * from "./extra-num-pattern.entity";
|
|
3
|
+
export * from "./contractor.entity";
|
|
4
|
+
export * from "./purchase-method.entity";
|
|
5
|
+
export * from "./origin-period.entity";
|
|
6
|
+
export * from "./place-exposure.entity";
|
|
7
|
+
export * from "./department.entity";
|
|
8
|
+
export * from "./owner.entity";
|
|
9
|
+
export * from "./description-rights.entity";
|
|
10
|
+
export * from "./author.entity";
|
|
11
|
+
export * from "./iconclasse.entity";
|
|
12
|
+
export * from "./other-title.entity";
|
|
13
|
+
export * from "./place.entity";
|
|
14
|
+
export * from "./technique.entity";
|
|
15
|
+
export * from "./size.entity";
|
|
16
|
+
export * from "./type.entity";
|
|
17
|
+
export * from "./material.entity";
|
|
18
|
+
export * from "./tag.entity";
|
|
19
|
+
export * from "./redactor.entity";
|
|
20
|
+
export * from "./copyrights.entity";
|
|
21
|
+
export * from "./bibliography.entity";
|
|
22
|
+
export * from "./event.entity";
|
|
23
|
+
export * from "./programmes-participation.entity";
|
|
24
|
+
export * from "./date.entity";
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./object.entity"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./extra-num-pattern.entity"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./contractor.entity"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./purchase-method.entity"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./origin-period.entity"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./place-exposure.entity"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./department.entity"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./owner.entity"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./description-rights.entity"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./author.entity"), exports);
|
|
14
|
+
tslib_1.__exportStar(require("./iconclasse.entity"), exports);
|
|
15
|
+
tslib_1.__exportStar(require("./other-title.entity"), exports);
|
|
16
|
+
tslib_1.__exportStar(require("./place.entity"), exports);
|
|
17
|
+
tslib_1.__exportStar(require("./technique.entity"), exports);
|
|
18
|
+
tslib_1.__exportStar(require("./size.entity"), exports);
|
|
19
|
+
tslib_1.__exportStar(require("./type.entity"), exports);
|
|
20
|
+
tslib_1.__exportStar(require("./material.entity"), exports);
|
|
21
|
+
tslib_1.__exportStar(require("./tag.entity"), exports);
|
|
22
|
+
tslib_1.__exportStar(require("./redactor.entity"), exports);
|
|
23
|
+
tslib_1.__exportStar(require("./copyrights.entity"), exports);
|
|
24
|
+
tslib_1.__exportStar(require("./bibliography.entity"), exports);
|
|
25
|
+
tslib_1.__exportStar(require("./event.entity"), exports);
|
|
26
|
+
tslib_1.__exportStar(require("./programmes-participation.entity"), exports);
|
|
27
|
+
tslib_1.__exportStar(require("./date.entity"), exports);
|
|
28
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../libs/objects/domain/src/lib/entities/index.ts"],"names":[],"mappings":";;;AAAA,0DAAgC;AAChC,qEAA2C;AAC3C,8DAAoC;AACpC,mEAAyC;AACzC,iEAAuC;AACvC,kEAAwC;AACxC,8DAAoC;AACpC,yDAA+B;AAC/B,sEAA4C;AAC5C,0DAAgC;AAChC,8DAAoC;AACpC,+DAAqC;AACrC,yDAA+B;AAC/B,6DAAmC;AACnC,wDAA8B;AAC9B,wDAA8B;AAC9B,4DAAkC;AAClC,uDAA6B;AAC7B,4DAAkC;AAClC,8DAAoC;AACpC,gEAAsC;AACtC,yDAA+B;AAC/B,4EAAkD;AAClD,wDAA8B"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MsObjectMaterial = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const models_1 = require("@smartsoft001/models");
|
|
6
|
+
let MsObjectMaterial = class MsObjectMaterial {
|
|
7
|
+
constructor() {
|
|
8
|
+
this.id = 0;
|
|
9
|
+
}
|
|
10
|
+
};
|
|
11
|
+
tslib_1.__decorate([
|
|
12
|
+
(0, models_1.Field)(),
|
|
13
|
+
tslib_1.__metadata("design:type", String)
|
|
14
|
+
], MsObjectMaterial.prototype, "name", void 0);
|
|
15
|
+
tslib_1.__decorate([
|
|
16
|
+
(0, models_1.Field)(),
|
|
17
|
+
tslib_1.__metadata("design:type", String)
|
|
18
|
+
], MsObjectMaterial.prototype, "comment", void 0);
|
|
19
|
+
MsObjectMaterial = tslib_1.__decorate([
|
|
20
|
+
(0, models_1.Model)()
|
|
21
|
+
], MsObjectMaterial);
|
|
22
|
+
exports.MsObjectMaterial = MsObjectMaterial;
|
|
23
|
+
//# sourceMappingURL=material.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"material.entity.js","sourceRoot":"","sources":["../../../../../../../libs/objects/domain/src/lib/entities/material.entity.ts"],"names":[],"mappings":";;;;AAAA,iDAAkD;AAI3C,IAAM,gBAAgB,GAAtB,MAAM,gBAAgB;IAAtB;QACH,OAAE,GAAG,CAAC,CAAC;IAOX,CAAC;CAAA,CAAA;AALG;IAAC,IAAA,cAAK,GAAE;;8CACM;AAEd;IAAC,IAAA,cAAK,GAAE;;iDACS;AAPR,gBAAgB;IAD5B,IAAA,cAAK,GAAE;GACK,gBAAgB,CAQ5B;AARY,4CAAgB"}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { IEntity } from "@smartsoft001/domain-core";
|
|
2
|
+
import { MsFile } from "@smartsoft001-mobilems/models";
|
|
3
|
+
import { Article } from "@smartsoft001-mobilems/articles-domain";
|
|
4
|
+
import { MsObjectTypeFeature } from "../enums/object-type-feature.enum";
|
|
5
|
+
import { MsObjectExtraNumPattern } from "./extra-num-pattern.entity";
|
|
6
|
+
import { MsObjectContractor } from "./contractor.entity";
|
|
7
|
+
import { MsObjectPurchaseMethod } from "./purchase-method.entity";
|
|
8
|
+
import { MsObjectOriginPeriod } from "./origin-period.entity";
|
|
9
|
+
import { MsObjectPlaceExposure } from "./place-exposure.entity";
|
|
10
|
+
import { MsObjectDepartment } from "./department.entity";
|
|
11
|
+
import { MsObjectOwner } from "./owner.entity";
|
|
12
|
+
import { MsObjectDescriptionRights } from "./description-rights.entity";
|
|
13
|
+
import { MsObjectAuthor } from "./author.entity";
|
|
14
|
+
import { MsObjectIconclasse } from "./iconclasse.entity";
|
|
15
|
+
import { MsObjectOtherTitle } from "./other-title.entity";
|
|
16
|
+
import { MsObjectPlace } from "./place.entity";
|
|
17
|
+
import { MsObjectTechnique } from "./technique.entity";
|
|
18
|
+
import { MsObjectSize } from "./size.entity";
|
|
19
|
+
import { MsObjectType } from "./type.entity";
|
|
20
|
+
import { MsObjectMaterial } from "./material.entity";
|
|
21
|
+
import { MsObjectTag } from "./tag.entity";
|
|
22
|
+
import { MsObjectRedactor } from "./redactor.entity";
|
|
23
|
+
import { MsObjectCopyrights } from "./copyrights.entity";
|
|
24
|
+
import { MsObjectPublicDescription } from "../value-objects/public-description.value-object";
|
|
25
|
+
import { MsObjectBibliography } from "./bibliography.entity";
|
|
26
|
+
import { MsObjectEvent } from "./event.entity";
|
|
27
|
+
import { MsObjectProgrammesParticipation } from "./programmes-participation.entity";
|
|
28
|
+
import { MsObjectDate } from "./date.entity";
|
|
29
|
+
export declare class MsObject implements IEntity<string> {
|
|
30
|
+
id: string;
|
|
31
|
+
constructor();
|
|
32
|
+
likes?: number;
|
|
33
|
+
articles?: Array<Article>;
|
|
34
|
+
visited?: number;
|
|
35
|
+
objectTypeFeature?: MsObjectTypeFeature;
|
|
36
|
+
collected?: boolean;
|
|
37
|
+
liked?: boolean;
|
|
38
|
+
masterpieces?: boolean;
|
|
39
|
+
signed?: boolean;
|
|
40
|
+
title?: string;
|
|
41
|
+
description?: string;
|
|
42
|
+
noEvidence?: string;
|
|
43
|
+
extraNumPatterns?: Array<MsObjectExtraNumPattern>;
|
|
44
|
+
technologicalDescription?: string;
|
|
45
|
+
originText?: string;
|
|
46
|
+
originContractors?: Array<MsObjectContractor>;
|
|
47
|
+
purchaseMethod?: Array<MsObjectPurchaseMethod>;
|
|
48
|
+
originPeriod?: Array<MsObjectOriginPeriod>;
|
|
49
|
+
signatureSigns?: string;
|
|
50
|
+
inscriptions?: string;
|
|
51
|
+
curatorScientificNote?: string;
|
|
52
|
+
analogies?: string;
|
|
53
|
+
placeExposure?: MsObjectPlaceExposure;
|
|
54
|
+
department?: MsObjectDepartment;
|
|
55
|
+
owner?: MsObjectOwner;
|
|
56
|
+
descriptionRights?: MsObjectDescriptionRights;
|
|
57
|
+
image?: MsFile;
|
|
58
|
+
additionalImages?: Array<MsFile>;
|
|
59
|
+
authors?: Array<MsObjectAuthor>;
|
|
60
|
+
iconclasses?: Array<MsObjectIconclasse>;
|
|
61
|
+
otherTitles?: Array<MsObjectOtherTitle>;
|
|
62
|
+
createPlaces?: Array<MsObjectPlace>;
|
|
63
|
+
createDates?: Array<MsObjectDate>;
|
|
64
|
+
techniques?: Array<MsObjectTechnique>;
|
|
65
|
+
dimensionText?: string;
|
|
66
|
+
sizes?: Array<MsObjectSize>;
|
|
67
|
+
types?: Array<MsObjectType>;
|
|
68
|
+
materials?: Array<MsObjectMaterial>;
|
|
69
|
+
tags?: Array<MsObjectTag>;
|
|
70
|
+
redactors?: Array<MsObjectRedactor>;
|
|
71
|
+
copyrights?: Array<MsObjectCopyrights>;
|
|
72
|
+
publicDescriptions?: Array<MsObjectPublicDescription>;
|
|
73
|
+
bibliography?: Array<MsObjectBibliography>;
|
|
74
|
+
bibliographyMNK?: Array<MsObjectBibliography>;
|
|
75
|
+
participationEvents?: Array<MsObjectEvent>;
|
|
76
|
+
connections?: Array<IMsObjectConnection>;
|
|
77
|
+
creditLine?: string;
|
|
78
|
+
wwwDescriptionSimplified?: string;
|
|
79
|
+
wwwDescriptionAutism?: string;
|
|
80
|
+
wwwDescriptionAd?: string;
|
|
81
|
+
wwwDescriptionDeaf?: string;
|
|
82
|
+
programmesParticipation?: Array<MsObjectProgrammesParticipation>;
|
|
83
|
+
}
|
|
84
|
+
export interface IMsObjectConnection {
|
|
85
|
+
id: string;
|
|
86
|
+
object?: MsObject;
|
|
87
|
+
type?: {
|
|
88
|
+
id?: number;
|
|
89
|
+
name?: string;
|
|
90
|
+
comment?: string;
|
|
91
|
+
};
|
|
92
|
+
}
|