@smartsoft001-mobilems/articles-domain 1.0.62 → 2.7.0
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/SMART.md +7 -0
- package/package.json +4 -25
- package/src/index.d.ts +2 -2
- package/src/index.js.map +1 -1
- package/src/lib/entities/article.entity.d.ts +8 -8
- package/src/lib/entities/article.entity.js +2 -2
- package/src/lib/entities/article.entity.js.map +1 -1
- package/src/lib/entities/author.entity.d.ts +1 -1
- package/src/lib/entities/author.entity.js +2 -2
- package/src/lib/entities/author.entity.js.map +1 -1
- package/src/lib/entities/copyrights.entity.d.ts +1 -1
- package/src/lib/entities/copyrights.entity.js +2 -2
- package/src/lib/entities/copyrights.entity.js.map +1 -1
- package/src/lib/entities/creator.entity.d.ts +1 -1
- package/src/lib/entities/creator.entity.js +2 -2
- package/src/lib/entities/creator.entity.js.map +1 -1
- package/src/lib/entities/cycle.entity.d.ts +1 -1
- package/src/lib/entities/cycle.entity.js +2 -2
- package/src/lib/entities/cycle.entity.js.map +1 -1
- package/src/lib/entities/index.d.ts +6 -6
- package/src/lib/entities/index.js.map +1 -1
- package/src/lib/entities/keyword.entity.d.ts +1 -1
- package/src/lib/entities/keyword.entity.js +2 -2
- package/src/lib/entities/keyword.entity.js.map +1 -1
- package/src/lib/value-objects/index.d.ts +1 -1
- package/src/lib/value-objects/index.js.map +1 -1
- package/src/lib/value-objects/widget.value-object.js.map +1 -1
- package/src/test-setup.d.ts +1 -0
- package/src/test-setup.js +3 -0
- package/src/test-setup.js.map +1 -1
- package/src/features.d.ts +0 -1
- package/src/features.js +0 -5
- package/src/features.js.map +0 -1
package/SMART.md
ADDED
package/package.json
CHANGED
|
@@ -1,28 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smartsoft001-mobilems/articles-domain",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"@angular/animations": "15.1.1",
|
|
6
|
-
"@angular/common": "15.1.1",
|
|
7
|
-
"@angular/compiler": "15.1.1",
|
|
8
|
-
"@angular/core": "15.1.1",
|
|
9
|
-
"@angular/platform-browser": "15.1.1",
|
|
10
|
-
"@angular/platform-browser-dynamic": "15.1.1",
|
|
11
|
-
"@smartsoft001/domain-core": "1.1.55",
|
|
12
|
-
"@smartsoft001/models": "1.1.55",
|
|
13
|
-
"@smartsoft001/users": "1.1.55",
|
|
14
|
-
"@smartsoft001/utils": "1.1.55",
|
|
15
|
-
"rxjs": "7.5.6",
|
|
16
|
-
"tslib": "2.4.1",
|
|
17
|
-
"zone.js": "0.11.5"
|
|
18
|
-
},
|
|
19
|
-
"peerDependencies": {
|
|
20
|
-
"@angular-devkit/build-angular": "15.1.2",
|
|
21
|
-
"@angular/compiler-cli": "15.1.1",
|
|
22
|
-
"jest": "28.1.3",
|
|
23
|
-
"typescript": "4.8.4",
|
|
24
|
-
"@smartsoft001-mobilems/models": "1.0.62"
|
|
25
|
-
},
|
|
3
|
+
"version": "2.7.0",
|
|
4
|
+
"types": "./src/index.d.ts",
|
|
26
5
|
"main": "./src/index.js",
|
|
27
|
-
"
|
|
28
|
-
}
|
|
6
|
+
"type": "commonjs"
|
|
7
|
+
}
|
package/src/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
1
|
+
export * from './lib/entities';
|
|
2
|
+
export * from './lib/value-objects';
|
package/src/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../packages/articles/domain/src/index.ts"],"names":[],"mappings":";;;AAAA,yDAA+B;AAC/B,8DAAoC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { IEntity } from
|
|
2
|
-
import { MsFile } from
|
|
3
|
-
import { ArticleAuthor } from
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { ArticleCycle } from
|
|
7
|
-
import {
|
|
8
|
-
import { ArticleWidget } from
|
|
1
|
+
import { IEntity } from '@smartsoft001/domain-core';
|
|
2
|
+
import { MsFile } from '@smartsoft001-mobilems/models';
|
|
3
|
+
import { ArticleAuthor } from './author.entity';
|
|
4
|
+
import { ArticleCopyrights } from './copyrights.entity';
|
|
5
|
+
import { ArticleCreator } from './creator.entity';
|
|
6
|
+
import { ArticleCycle } from './cycle.entity';
|
|
7
|
+
import { ArticleKeyword } from './keyword.entity';
|
|
8
|
+
import { ArticleWidget } from '../value-objects';
|
|
9
9
|
export declare class Article implements IEntity<string> {
|
|
10
10
|
id: string;
|
|
11
11
|
title?: string;
|
|
@@ -10,6 +10,7 @@ let Article = class Article {
|
|
|
10
10
|
this.id = '';
|
|
11
11
|
}
|
|
12
12
|
};
|
|
13
|
+
exports.Article = Article;
|
|
13
14
|
tslib_1.__decorate([
|
|
14
15
|
(0, models_1.Field)(),
|
|
15
16
|
tslib_1.__metadata("design:type", String)
|
|
@@ -106,8 +107,7 @@ tslib_1.__decorate([
|
|
|
106
107
|
(0, models_1.Field)(),
|
|
107
108
|
tslib_1.__metadata("design:type", models_2.MsFile)
|
|
108
109
|
], Article.prototype, "imageMobile", void 0);
|
|
109
|
-
Article = tslib_1.__decorate([
|
|
110
|
+
exports.Article = Article = tslib_1.__decorate([
|
|
110
111
|
(0, models_1.Model)({})
|
|
111
112
|
], Article);
|
|
112
|
-
exports.Article = Article;
|
|
113
113
|
//# sourceMappingURL=article.entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"article.entity.js","sourceRoot":"","sources":["../../../../../../../
|
|
1
|
+
{"version":3,"file":"article.entity.js","sourceRoot":"","sources":["../../../../../../../packages/articles/domain/src/lib/entities/article.entity.ts"],"names":[],"mappings":";;;;AACA,iDAAoD;AAEpD,0DAAuD;AAGvD,2DAAwD;AAOjD,IAAM,OAAO,GAAb,MAAM,OAAO;IAAb;QACL,OAAE,GAAG,EA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
this.id = 0;
|
|
9
9
|
}
|
|
10
10
|
};
|
|
11
|
+
exports.ArticleAuthor = ArticleAuthor;
|
|
11
12
|
tslib_1.__decorate([
|
|
12
13
|
(0, models_1.Field)(),
|
|
13
14
|
tslib_1.__metadata("design:type", String)
|
|
14
15
|
], ArticleAuthor.prototype, "name", void 0);
|
|
15
|
-
ArticleAuthor = tslib_1.__decorate([
|
|
16
|
+
exports.ArticleAuthor = ArticleAuthor = tslib_1.__decorate([
|
|
16
17
|
(0, models_1.Model)()
|
|
17
18
|
], ArticleAuthor);
|
|
18
|
-
exports.ArticleAuthor = ArticleAuthor;
|
|
19
19
|
//# sourceMappingURL=author.entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"author.entity.js","sourceRoot":"","sources":["../../../../../../../
|
|
1
|
+
{"version":3,"file":"author.entity.js","sourceRoot":"","sources":["../../../../../../../packages/articles/domain/src/lib/entities/author.entity.ts"],"names":[],"mappings":";;;;AACA,iDAAoD;AAG7C,IAAM,aAAa,GAAnB,MAAM,aAAa;IAAnB;QACL,OAAE,GAAG,CAAC,CAAC;IAIT,CAAC;CAAA,CAAA;AALY,sCAAa;AAIxB;IADC,IAAA,cAAK,GAAE;;2CACM;wBAJH,aAAa;IADzB,IAAA,cAAK,GAAE;GACK,aAAa,CAKzB"}
|
|
@@ -8,6 +8,7 @@ let ArticleCopyrights = class ArticleCopyrights {
|
|
|
8
8
|
this.id = 0;
|
|
9
9
|
}
|
|
10
10
|
};
|
|
11
|
+
exports.ArticleCopyrights = ArticleCopyrights;
|
|
11
12
|
tslib_1.__decorate([
|
|
12
13
|
(0, models_1.Field)(),
|
|
13
14
|
tslib_1.__metadata("design:type", String)
|
|
@@ -28,8 +29,7 @@ tslib_1.__decorate([
|
|
|
28
29
|
(0, models_1.Field)(),
|
|
29
30
|
tslib_1.__metadata("design:type", String)
|
|
30
31
|
], ArticleCopyrights.prototype, "description", void 0);
|
|
31
|
-
ArticleCopyrights = tslib_1.__decorate([
|
|
32
|
+
exports.ArticleCopyrights = ArticleCopyrights = tslib_1.__decorate([
|
|
32
33
|
(0, models_1.Model)()
|
|
33
34
|
], ArticleCopyrights);
|
|
34
|
-
exports.ArticleCopyrights = ArticleCopyrights;
|
|
35
35
|
//# sourceMappingURL=copyrights.entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"copyrights.entity.js","sourceRoot":"","sources":["../../../../../../../
|
|
1
|
+
{"version":3,"file":"copyrights.entity.js","sourceRoot":"","sources":["../../../../../../../packages/articles/domain/src/lib/entities/copyrights.entity.ts"],"names":[],"mappings":";;;;AACA,iDAAoD;AAG7C,IAAM,iBAAiB,GAAvB,MAAM,iBAAiB;IAAvB;QACL,OAAE,GAAG,CAAC,CAAC;IAgBT,CAAC;CAAA,CAAA;AAjBY,8CAAiB;AAI5B;IADC,IAAA,cAAK,GAAE;;+CACM;AAGd;IADC,IAAA,cAAK,GAAE;;gDACO;AAGf;IADC,IAAA,cAAK,GAAE;;+CACM;AAGd;IADC,IAAA,cAAK,GAAE;;qDACa;AAGrB;IADC,IAAA,cAAK,GAAE;;sDACa;4BAhBV,iBAAiB;IAD7B,IAAA,cAAK,GAAE;GACK,iBAAiB,CAiB7B"}
|
|
@@ -8,12 +8,12 @@ let ArticleCreator = class ArticleCreator {
|
|
|
8
8
|
this.id = 0;
|
|
9
9
|
}
|
|
10
10
|
};
|
|
11
|
+
exports.ArticleCreator = ArticleCreator;
|
|
11
12
|
tslib_1.__decorate([
|
|
12
13
|
(0, models_1.Field)(),
|
|
13
14
|
tslib_1.__metadata("design:type", String)
|
|
14
15
|
], ArticleCreator.prototype, "name", void 0);
|
|
15
|
-
ArticleCreator = tslib_1.__decorate([
|
|
16
|
+
exports.ArticleCreator = ArticleCreator = tslib_1.__decorate([
|
|
16
17
|
(0, models_1.Model)()
|
|
17
18
|
], ArticleCreator);
|
|
18
|
-
exports.ArticleCreator = ArticleCreator;
|
|
19
19
|
//# sourceMappingURL=creator.entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"creator.entity.js","sourceRoot":"","sources":["../../../../../../../
|
|
1
|
+
{"version":3,"file":"creator.entity.js","sourceRoot":"","sources":["../../../../../../../packages/articles/domain/src/lib/entities/creator.entity.ts"],"names":[],"mappings":";;;;AACA,iDAAoD;AAG7C,IAAM,cAAc,GAApB,MAAM,cAAc;IAApB;QACL,OAAE,GAAG,CAAC,CAAC;IAIT,CAAC;CAAA,CAAA;AALY,wCAAc;AAIzB;IADC,IAAA,cAAK,GAAE;;4CACM;yBAJH,cAAc;IAD1B,IAAA,cAAK,GAAE;GACK,cAAc,CAK1B"}
|
|
@@ -8,12 +8,12 @@ let ArticleCycle = class ArticleCycle {
|
|
|
8
8
|
this.id = 0;
|
|
9
9
|
}
|
|
10
10
|
};
|
|
11
|
+
exports.ArticleCycle = ArticleCycle;
|
|
11
12
|
tslib_1.__decorate([
|
|
12
13
|
(0, models_1.Field)(),
|
|
13
14
|
tslib_1.__metadata("design:type", String)
|
|
14
15
|
], ArticleCycle.prototype, "name", void 0);
|
|
15
|
-
ArticleCycle = tslib_1.__decorate([
|
|
16
|
+
exports.ArticleCycle = ArticleCycle = tslib_1.__decorate([
|
|
16
17
|
(0, models_1.Model)()
|
|
17
18
|
], ArticleCycle);
|
|
18
|
-
exports.ArticleCycle = ArticleCycle;
|
|
19
19
|
//# sourceMappingURL=cycle.entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cycle.entity.js","sourceRoot":"","sources":["../../../../../../../
|
|
1
|
+
{"version":3,"file":"cycle.entity.js","sourceRoot":"","sources":["../../../../../../../packages/articles/domain/src/lib/entities/cycle.entity.ts"],"names":[],"mappings":";;;;AACA,iDAAoD;AAG7C,IAAM,YAAY,GAAlB,MAAM,YAAY;IAAlB;QACL,OAAE,GAAG,CAAC,CAAC;IAIT,CAAC;CAAA,CAAA;AALY,oCAAY;AAIvB;IADC,IAAA,cAAK,GAAE;;0CACM;uBAJH,YAAY;IADxB,IAAA,cAAK,GAAE;GACK,YAAY,CAKxB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
6
|
-
export * from
|
|
1
|
+
export * from './article.entity';
|
|
2
|
+
export * from './author.entity';
|
|
3
|
+
export * from './creator.entity';
|
|
4
|
+
export * from './keyword.entity';
|
|
5
|
+
export * from './cycle.entity';
|
|
6
|
+
export * from './copyrights.entity';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../packages/articles/domain/src/lib/entities/index.ts"],"names":[],"mappings":";;;AAAA,2DAAiC;AACjC,0DAAgC;AAChC,2DAAiC;AACjC,2DAAiC;AACjC,yDAA+B;AAC/B,8DAAoC"}
|
|
@@ -8,12 +8,12 @@ let ArticleKeyword = class ArticleKeyword {
|
|
|
8
8
|
this.id = 0;
|
|
9
9
|
}
|
|
10
10
|
};
|
|
11
|
+
exports.ArticleKeyword = ArticleKeyword;
|
|
11
12
|
tslib_1.__decorate([
|
|
12
13
|
(0, models_1.Field)(),
|
|
13
14
|
tslib_1.__metadata("design:type", String)
|
|
14
15
|
], ArticleKeyword.prototype, "name", void 0);
|
|
15
|
-
ArticleKeyword = tslib_1.__decorate([
|
|
16
|
+
exports.ArticleKeyword = ArticleKeyword = tslib_1.__decorate([
|
|
16
17
|
(0, models_1.Model)()
|
|
17
18
|
], ArticleKeyword);
|
|
18
|
-
exports.ArticleKeyword = ArticleKeyword;
|
|
19
19
|
//# sourceMappingURL=keyword.entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keyword.entity.js","sourceRoot":"","sources":["../../../../../../../
|
|
1
|
+
{"version":3,"file":"keyword.entity.js","sourceRoot":"","sources":["../../../../../../../packages/articles/domain/src/lib/entities/keyword.entity.ts"],"names":[],"mappings":";;;;AACA,iDAAoD;AAG7C,IAAM,cAAc,GAApB,MAAM,cAAc;IAApB;QACL,OAAE,GAAG,CAAC,CAAC;IAIT,CAAC;CAAA,CAAA;AALY,wCAAc;AAIzB;IADC,IAAA,cAAK,GAAE;;4CACM;yBAJH,cAAc;IAD1B,IAAA,cAAK,GAAE;GACK,cAAc,CAK1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from './widget.value-object';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../packages/articles/domain/src/lib/value-objects/index.ts"],"names":[],"mappings":";;;AAAA,gEAAsC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget.value-object.js","sourceRoot":"","sources":["../../../../../../../
|
|
1
|
+
{"version":3,"file":"widget.value-object.js","sourceRoot":"","sources":["../../../../../../../packages/articles/domain/src/lib/value-objects/widget.value-object.ts"],"names":[],"mappings":";;;AAAA,MAAa,aAAa;IACxB,YACkB,QAAgB,EAChB,IAAY,EACZ,IAAS;QAFT,aAAQ,GAAR,QAAQ,CAAQ;QAChB,SAAI,GAAJ,IAAI,CAAQ;QACZ,SAAI,GAAJ,IAAI,CAAK;IACxB,CAAC;CACL;AAND,sCAMC"}
|
package/src/test-setup.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import 'jest-preset-angular';
|
package/src/test-setup.js
CHANGED
package/src/test-setup.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test-setup.js","sourceRoot":"","sources":["../../../../../
|
|
1
|
+
{"version":3,"file":"test-setup.js","sourceRoot":"","sources":["../../../../../packages/articles/domain/src/test-setup.ts"],"names":[],"mappings":";;AAAA,+BAA6B"}
|
package/src/features.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const DOMAIN_SERVICES: any[];
|
package/src/features.js
DELETED
package/src/features.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"features.js","sourceRoot":"","sources":["../../../../../libs/articles/domain/src/features.ts"],"names":[],"mappings":";;;AAAa,QAAA,eAAe,GAAG,EAAE,CAAC"}
|