@smartsoft001-mobilems/articles-domain 2.36.0 → 2.38.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/package.json +1 -1
- package/src/index.d.ts +0 -1
- package/src/index.js +0 -1
- package/src/index.js.map +1 -1
- package/src/lib/entities/article.entity.d.ts +2 -4
- package/src/lib/entities/article.entity.js.map +1 -1
- package/src/lib/entities/author.entity.d.ts +2 -2
- package/src/lib/entities/author.entity.js.map +1 -1
- package/src/lib/entities/copyrights.entity.d.ts +2 -2
- package/src/lib/entities/copyrights.entity.js.map +1 -1
- package/src/lib/entities/creator.entity.d.ts +2 -2
- package/src/lib/entities/creator.entity.js.map +1 -1
- package/src/lib/entities/cycle.entity.d.ts +2 -2
- package/src/lib/entities/cycle.entity.js.map +1 -1
- package/src/lib/entities/keyword.entity.d.ts +2 -2
- package/src/lib/entities/keyword.entity.js.map +1 -1
- package/src/lib/value-objects/index.d.ts +0 -1
- package/src/lib/value-objects/index.js +0 -5
- package/src/lib/value-objects/index.js.map +0 -1
- package/src/lib/value-objects/widget.value-object.d.ts +0 -6
- package/src/lib/value-objects/widget.value-object.js +0 -12
- package/src/lib/value-objects/widget.value-object.js.map +0 -1
package/package.json
CHANGED
package/src/index.d.ts
CHANGED
package/src/index.js
CHANGED
package/src/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../packages/articles/domain/src/index.ts"],"names":[],"mappings":";;;AAAA,yDAA+B
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../packages/articles/domain/src/index.ts"],"names":[],"mappings":";;;AAAA,yDAA+B"}
|
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { MsFile } from '@smartsoft001-mobilems/models';
|
|
1
|
+
import { ArticleWidget, IArticle, MsFile } from '@smartsoft001-mobilems/models';
|
|
3
2
|
import { ArticleAuthor } from './author.entity';
|
|
4
3
|
import { ArticleCopyrights } from './copyrights.entity';
|
|
5
4
|
import { ArticleCreator } from './creator.entity';
|
|
6
5
|
import { ArticleCycle } from './cycle.entity';
|
|
7
6
|
import { ArticleKeyword } from './keyword.entity';
|
|
8
|
-
|
|
9
|
-
export declare class Article implements IEntity<string> {
|
|
7
|
+
export declare class Article implements IArticle {
|
|
10
8
|
id: string;
|
|
11
9
|
title?: string;
|
|
12
10
|
subTitle?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"article.entity.js","sourceRoot":"","sources":["../../../../../../../packages/articles/domain/src/lib/entities/article.entity.ts"],"names":[],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"article.entity.js","sourceRoot":"","sources":["../../../../../../../packages/articles/domain/src/lib/entities/article.entity.ts"],"names":[],"mappings":";;;;AAAA,iDAAoD;AAEpD,0DAAgF;AAGhF,2DAAwD;AAMjD,IAAM,OAAO,GAAb,MAAM,OAAO;IAAb;QACL,OAAE,GAAG,EAAE,CAAC;IAyEV,CAAC;CAAA,CAAA;AA1EY,0BAAO;AAIlB;IADC,IAAA,cAAK,GAAE;;sCACO;AAGf;IADC,IAAA,cAAK,GAAE;;yCACU;AAGlB;IADC,IAAA,cAAK,GAAE;sCACE,KAAK;wCAAgB;AAG/B;IADC,IAAA,cAAK,GAAE;sCACG,KAAK;yCAAiB;AAGjC;IADC,IAAA,cAAK,GAAE;;sCACO;AAGf;IADC,IAAA,cAAK,GAAE;;6CACe;AAGvB;IADC,IAAA,cAAK,GAAE;;iDACkB;AAG1B;IADC,IAAA,cAAK,GAAE;;gDACiB;AAGzB;IADC,IAAA,cAAK,GAAE;;yCACU;AAGlB;IADC,IAAA,cAAK,GAAE;;6CACc;AAGtB;IADC,IAAA,cAAK,GAAE;;sCACO;AAGf;IADC,IAAA,cAAK,GAAE;;2CACY;AAGpB;IADC,IAAA,cAAK,GAAE;sCACA,eAAM;sCAAC;AAGf;IADC,IAAA,cAAK,GAAE;;wCACS;AAGjB;IADC,IAAA,cAAK,GAAE;sCACG,KAAK;yCAAiB;AAGjC;IADC,IAAA,cAAK,GAAE;sCACC,KAAK;uCAAe;AAG7B;IADC,IAAA,cAAK,GAAE;sCACK,qCAAiB;2CAAC;AAG/B;IADC,IAAA,cAAK,GAAE;sCACM,KAAK;4CAAgB;AAGnC;IADC,IAAA,cAAK,GAAE;sCACO,KAAK;6CAAgB;AAGpC;IADC,IAAA,cAAK,GAAE;sCACQ,KAAK;8CAAgB;AAGrC;IADC,IAAA,cAAK,GAAE;;yCACU;AAGlB;IADC,IAAA,cAAK,GAAE;sCACO,eAAM;6CAAC;AAGtB;IADC,IAAA,cAAK,GAAE;sCACM,eAAM;4CAAC;AAGrB;IADC,IAAA,cAAK,GAAE;sCACM,eAAM;4CAAC;kBAzEV,OAAO;IADnB,IAAA,cAAK,EAAC,EAAE,CAAC;GACG,OAAO,CA0EnB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare class ArticleAuthor implements
|
|
1
|
+
import { IAuthor } from '@smartsoft001-mobilems/models';
|
|
2
|
+
export declare class ArticleAuthor implements IAuthor {
|
|
3
3
|
id: number;
|
|
4
4
|
name?: string;
|
|
5
5
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"author.entity.js","sourceRoot":"","sources":["../../../../../../../packages/articles/domain/src/lib/entities/author.entity.ts"],"names":[],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"author.entity.js","sourceRoot":"","sources":["../../../../../../../packages/articles/domain/src/lib/entities/author.entity.ts"],"names":[],"mappings":";;;;AAAA,iDAAoD;AAK7C,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"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare class ArticleCopyrights implements
|
|
1
|
+
import { ICopyrights } from '@smartsoft001-mobilems/models';
|
|
2
|
+
export declare class ArticleCopyrights implements ICopyrights {
|
|
3
3
|
id: number;
|
|
4
4
|
name?: string;
|
|
5
5
|
image?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"copyrights.entity.js","sourceRoot":"","sources":["../../../../../../../packages/articles/domain/src/lib/entities/copyrights.entity.ts"],"names":[],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"copyrights.entity.js","sourceRoot":"","sources":["../../../../../../../packages/articles/domain/src/lib/entities/copyrights.entity.ts"],"names":[],"mappings":";;;;AAAA,iDAAoD;AAK7C,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"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare class ArticleCreator implements
|
|
1
|
+
import { ICreator } from '@smartsoft001-mobilems/models';
|
|
2
|
+
export declare class ArticleCreator implements ICreator {
|
|
3
3
|
id: number;
|
|
4
4
|
name?: string;
|
|
5
5
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"creator.entity.js","sourceRoot":"","sources":["../../../../../../../packages/articles/domain/src/lib/entities/creator.entity.ts"],"names":[],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"creator.entity.js","sourceRoot":"","sources":["../../../../../../../packages/articles/domain/src/lib/entities/creator.entity.ts"],"names":[],"mappings":";;;;AAAA,iDAAoD;AAK7C,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
|
-
{"version":3,"file":"cycle.entity.js","sourceRoot":"","sources":["../../../../../../../packages/articles/domain/src/lib/entities/cycle.entity.ts"],"names":[],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"cycle.entity.js","sourceRoot":"","sources":["../../../../../../../packages/articles/domain/src/lib/entities/cycle.entity.ts"],"names":[],"mappings":";;;;AAAA,iDAAoD;AAK7C,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,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare class ArticleKeyword implements
|
|
1
|
+
import { IKeyword } from '@smartsoft001-mobilems/models';
|
|
2
|
+
export declare class ArticleKeyword implements IKeyword {
|
|
3
3
|
id: number;
|
|
4
4
|
name?: string;
|
|
5
5
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keyword.entity.js","sourceRoot":"","sources":["../../../../../../../packages/articles/domain/src/lib/entities/keyword.entity.ts"],"names":[],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"keyword.entity.js","sourceRoot":"","sources":["../../../../../../../packages/articles/domain/src/lib/entities/keyword.entity.ts"],"names":[],"mappings":";;;;AAAA,iDAAoD;AAK7C,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 +0,0 @@
|
|
|
1
|
-
export * from './widget.value-object';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../packages/articles/domain/src/lib/value-objects/index.ts"],"names":[],"mappings":";;;AAAA,gEAAsC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ArticleWidget = void 0;
|
|
4
|
-
class ArticleWidget {
|
|
5
|
-
constructor(position, text, type) {
|
|
6
|
-
this.position = position;
|
|
7
|
-
this.text = text;
|
|
8
|
-
this.type = type;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
exports.ArticleWidget = ArticleWidget;
|
|
12
|
-
//# sourceMappingURL=widget.value-object.js.map
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|