@smartsoft001-mobilems/articles-domain 2.37.0 → 2.39.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartsoft001-mobilems/articles-domain",
3
- "version": "2.37.0",
3
+ "version": "2.39.0",
4
4
  "types": "./src/index.d.ts",
5
5
  "main": "./src/index.js",
6
6
  "type": "commonjs"
package/src/index.d.ts CHANGED
@@ -1,2 +1 @@
1
1
  export * from './lib/entities';
2
- export * from './lib/value-objects';
package/src/index.js CHANGED
@@ -2,5 +2,4 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./lib/entities"), exports);
5
- tslib_1.__exportStar(require("./lib/value-objects"), exports);
6
5
  //# sourceMappingURL=index.js.map
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;AAC/B,8DAAoC"}
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 { IEntity } from '@smartsoft001/domain-core';
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
- import { ArticleWidget } from '../value-objects';
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":";;;;AACA,iDAAoD;AAEpD,0DAAuD;AAGvD,2DAAwD;AAOjD,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
+ {"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 { IEntity } from '@smartsoft001/domain-core';
2
- export declare class ArticleAuthor implements IEntity<number> {
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":";;;;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"}
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 { IEntity } from '@smartsoft001/domain-core';
2
- export declare class ArticleCopyrights implements IEntity<number> {
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":";;;;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"}
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 { IEntity } from '@smartsoft001/domain-core';
2
- export declare class ArticleCreator implements IEntity<number> {
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":";;;;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
+ {"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,5 +1,5 @@
1
- import { IEntity } from '@smartsoft001/domain-core';
2
- export declare class ArticleCycle implements IEntity<number> {
1
+ import { ICycle } from '@smartsoft001-mobilems/models';
2
+ export declare class ArticleCycle implements ICycle {
3
3
  id: number;
4
4
  name?: string;
5
5
  }
@@ -1 +1 @@
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
+ {"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 { IEntity } from '@smartsoft001/domain-core';
2
- export declare class ArticleKeyword implements IEntity<number> {
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":";;;;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
+ {"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,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./widget.value-object"), exports);
5
- //# sourceMappingURL=index.js.map
@@ -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,6 +0,0 @@
1
- export declare class ArticleWidget {
2
- readonly position: number;
3
- readonly text: string;
4
- readonly type: any;
5
- constructor(position: number, text: string, type: any);
6
- }
@@ -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"}