@smartsoft001/domain-core 1.0.755 → 1.0.756

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,31 +1,13 @@
1
1
  {
2
2
  "name": "@smartsoft001/domain-core",
3
- "version": "1.0.755",
4
- "module": "fesm2015/smartsoft001-domain-core.mjs",
5
- "es2020": "fesm2020/smartsoft001-domain-core.mjs",
6
- "esm2020": "esm2020/smartsoft001-domain-core.mjs",
7
- "fesm2020": "fesm2020/smartsoft001-domain-core.mjs",
8
- "fesm2015": "fesm2015/smartsoft001-domain-core.mjs",
9
- "typings": "smartsoft001-domain-core.d.ts",
10
- "exports": {
11
- "./package.json": {
12
- "default": "./package.json"
13
- },
14
- ".": {
15
- "types": "./smartsoft001-domain-core.d.ts",
16
- "esm2020": "./esm2020/smartsoft001-domain-core.mjs",
17
- "es2020": "./fesm2020/smartsoft001-domain-core.mjs",
18
- "es2015": "./fesm2015/smartsoft001-domain-core.mjs",
19
- "node": "./fesm2015/smartsoft001-domain-core.mjs",
20
- "default": "./fesm2020/smartsoft001-domain-core.mjs"
21
- }
22
- },
23
- "sideEffects": false,
24
- "dependencies": {
25
- "tslib": "^2.3.0",
26
- "@smartsoft001/models": "1.0.782",
3
+ "version": "1.0.756",
4
+ "main": "./src/index.js",
5
+ "typings": "./src/index.d.ts",
6
+ "dependencies": {},
7
+ "peerDependencies": {
8
+ "@smartsoft001/models": "1.0.783",
27
9
  "reflect-metadata": "0.1.13",
28
- "@smartsoft001/utils": "1.0.817",
10
+ "@smartsoft001/utils": "1.0.818",
29
11
  "@angular/common": "13.2.7",
30
12
  "@angular/core": "13.2.7",
31
13
  "lodash": "^4.17.20",
@@ -34,7 +16,6 @@
34
16
  "md5": "2.3.0",
35
17
  "rxjs": "^7.0.0",
36
18
  "@angular/platform-browser-dynamic": "13.2.7",
37
- "@smartsoft001/users": "1.0.774"
38
- },
39
- "peerDependencies": {}
19
+ "@smartsoft001/users": "1.0.775"
20
+ }
40
21
  }
File without changes
package/src/index.js ADDED
@@ -0,0 +1,5 @@
1
+ export * from './lib/interfaces';
2
+ export * from './lib/errors';
3
+ export * from './lib/repositories';
4
+ export * from './lib/specifications';
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../libs/shared/domain-core/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC","sourcesContent":["export * from './lib/interfaces';\nexport * from './lib/errors';\nexport * from './lib/repositories';\nexport * from './lib/specifications';\n"]}
File without changes
@@ -0,0 +1,13 @@
1
+ export class DomainValidationError extends Error {
2
+ constructor(msg) {
3
+ super(msg);
4
+ this.type = DomainValidationError;
5
+ }
6
+ }
7
+ export class DomainForbiddenError extends Error {
8
+ constructor(msg) {
9
+ super(msg);
10
+ this.type = DomainForbiddenError;
11
+ }
12
+ }
13
+ //# sourceMappingURL=errors.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"errors.js","sourceRoot":"","sources":["../../../../../../libs/shared/domain-core/src/lib/errors.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,qBAAsB,SAAQ,KAAK;IAG5C,YAAY,GAAG;QACX,KAAK,CAAC,GAAG,CAAC,CAAC;QAHf,SAAI,GAAG,qBAAqB,CAAC;IAI7B,CAAC;CACJ;AAED,MAAM,OAAO,oBAAqB,SAAQ,KAAK;IAG3C,YAAY,GAAG;QACX,KAAK,CAAC,GAAG,CAAC,CAAC;QAHf,SAAI,GAAG,oBAAoB,CAAC;IAI5B,CAAC;CACJ","sourcesContent":["export class DomainValidationError extends Error {\n type = DomainValidationError;\n\n constructor(msg) {\n super(msg);\n }\n}\n\nexport class DomainForbiddenError extends Error {\n type = DomainForbiddenError;\n\n constructor(msg) {\n super(msg);\n }\n}\n"]}
File without changes
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=interfaces.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../../../../libs/shared/domain-core/src/lib/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["export interface IEntity<T> {\n id: T;\n}\n\nexport interface IAddress {\n city: string;\n street: string;\n buildingNumber: string;\n flatNumber?: string;\n zipCode: string;\n}\n\nexport interface IDateRange {\n /*\n * YYYY-MM-DD\n */\n start: string;\n /*\n * YYYY-MM-DD\n */\n end: string;\n}\n\nexport interface IFactory<T, TConfig> {\n create(config: NonNullable<TConfig>): Promise<T>;\n}\n\nexport { ISpecification } from \"@smartsoft001/models\";\n"]}
File without changes
@@ -0,0 +1,8 @@
1
+ ;
2
+ export class IUnitOfWork {
3
+ }
4
+ export class IItemRepository {
5
+ }
6
+ export class IAttachmentRepository {
7
+ }
8
+ //# sourceMappingURL=repositories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"repositories.js","sourceRoot":"","sources":["../../../../../../libs/shared/domain-core/src/lib/repositories.ts"],"names":[],"mappings":"AASC,CAAC;AAEF,MAAM,OAAgB,WAAW;CAEhC;AAOD,MAAM,OAAgB,eAAe;CA8CpC;AAED,MAAM,OAAgB,qBAAqB;CAW1C","sourcesContent":["import { Observable } from \"rxjs\";\n\nimport { IUser } from \"@smartsoft001/users\";\n//import {ItemChangedData} from \"@smartsoft001/crud-shell-dtos\";\n\nimport { IEntity, ISpecification } from \"./interfaces\";\n\nexport interface ITransaction {\n connection: any;\n};\n\nexport abstract class IUnitOfWork {\n abstract scope(definition: (transaction: ITransaction) => Promise<void>): Promise<void>;\n}\n\nexport interface IItemRepositoryOptions {\n transaction: ITransaction;\n}\n\n\nexport abstract class IItemRepository<T extends IEntity<string>> {\n abstract create(item: T, user: IUser, options?: IItemRepositoryOptions): Promise<void>;\n\n abstract createMany(list: T[], user: IUser, options?: IItemRepositoryOptions): Promise<void>;\n\n abstract update(item: T, user: IUser, options?: IItemRepositoryOptions): Promise<void>;\n\n abstract updatePartial(\n item: Partial<T> & { id: string },\n user: IUser\n , options?: IItemRepositoryOptions\n ): Promise<void>;\n\n abstract updatePartialManyByCriteria(\n criteria: any,\n set: Partial<T>,\n user: IUser, options?: IItemRepositoryOptions\n ): Promise<void>;\n\n abstract updatePartialManyBySpecification(\n spec: ISpecification,\n set: Partial<T>,\n user: IUser, options?: IItemRepositoryOptions\n ): Promise<void>;\n\n abstract delete(id: string, user: IUser, options?: IItemRepositoryOptions): Promise<void>;\n\n abstract getById(id: string, repoOptions?: IItemRepositoryOptions): Promise<T>;\n\n abstract getByCriteria(\n criteria: any,\n options?: any\n ): Promise<{ data: T[]; totalCount: number }>;\n\n abstract getBySpecification(\n spec: ISpecification,\n options?: any\n ): Promise<{ data: T[]; totalCount: number }>;\n\n abstract countByCriteria(criteria: any): Promise<number>;\n\n abstract countBySpecification(spec: ISpecification): Promise<number>;\n\n abstract clear(user: IUser | IItemRepositoryOptions): Promise<void>;\n\n abstract changesByCriteria(criteria: { id?: string }): Observable<any>;\n}\n\nexport abstract class IAttachmentRepository<T extends IEntity<string>> {\n abstract upload(\n data: { id: string, fileName: string; stream: any; mimeType: string; encoding: string },\n options?: { streamCallback?: (r) => void }\n ): Promise<void>;\n\n abstract getInfo(id: string): Promise<{ fileName: string, contentType: string, length: number }>;\n\n abstract getStream(id: string, options?: { start: number; end: number }): Promise<any>;\n\n abstract delete(id: string): Promise<void>;\n}\n"]}
File without changes
@@ -0,0 +1,23 @@
1
+ export class MergeSpecification {
2
+ constructor(...spec) {
3
+ this.criteria = {};
4
+ spec.forEach(s => {
5
+ this.criteria = Object.assign(Object.assign({}, this.criteria), s.criteria);
6
+ });
7
+ }
8
+ }
9
+ export class OrSpecification {
10
+ constructor(...spec) {
11
+ this.criteria = {
12
+ $or: spec.map(c => c.criteria)
13
+ };
14
+ }
15
+ }
16
+ export class AndSpecification {
17
+ constructor(...spec) {
18
+ this.criteria = {
19
+ $and: spec.map(c => c.criteria)
20
+ };
21
+ }
22
+ }
23
+ //# sourceMappingURL=specifications.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"specifications.js","sourceRoot":"","sources":["../../../../../../libs/shared/domain-core/src/lib/specifications.ts"],"names":[],"mappings":"AAEA,MAAM,OAAO,kBAAkB;IAG3B,YAAY,GAAG,IAA2B;QACtC,IAAI,CAAC,QAAQ,GAAG,EAAE,CAAC;QAEnB,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE;YACd,IAAI,CAAC,QAAQ,mCACN,IAAI,CAAC,QAAQ,GACb,CAAC,CAAC,QAAQ,CAChB,CAAA;QACJ,CAAC,CAAC,CAAC;IACP,CAAC;CACJ;AAED,MAAM,OAAO,eAAe;IAGxB,YAAY,GAAG,IAA2B;QACtC,IAAI,CAAC,QAAQ,GAAG;YACZ,GAAG,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC;SACjC,CAAC;IACN,CAAC;CACJ;AAED,MAAM,OAAO,gBAAgB;IAGzB,YAAY,GAAG,IAA2B;QACtC,IAAI,CAAC,QAAQ,GAAG;YACZ,IAAI,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC;SAClC,CAAC;IACN,CAAC;CACJ","sourcesContent":["import {ISpecification} from \"./interfaces\";\n\nexport class MergeSpecification implements ISpecification {\n criteria: any;\n\n constructor(...spec: Array<ISpecification>) {\n this.criteria = {};\n\n spec.forEach(s => {\n this.criteria = {\n ...this.criteria,\n ...s.criteria\n }\n });\n }\n}\n\nexport class OrSpecification implements ISpecification {\n criteria: any;\n\n constructor(...spec: Array<ISpecification>) {\n this.criteria = {\n $or: spec.map(c => c.criteria)\n };\n }\n}\n\nexport class AndSpecification implements ISpecification {\n criteria: any;\n\n constructor(...spec: Array<ISpecification>) {\n this.criteria = {\n $and: spec.map(c => c.criteria)\n };\n }\n}\n"]}
File without changes
package/test-setup.js ADDED
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=test-setup.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"test-setup.js","sourceRoot":"","sources":["../../../../libs/shared/domain-core/test-setup.ts"],"names":[],"mappings":"","sourcesContent":["\n"]}
package/esm2020/index.mjs DELETED
@@ -1,5 +0,0 @@
1
- export * from './lib/interfaces';
2
- export * from './lib/errors';
3
- export * from './lib/repositories';
4
- export * from './lib/specifications';
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL3NoYXJlZC9kb21haW4tY29yZS9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxrQkFBa0IsQ0FBQztBQUNqQyxjQUFjLGNBQWMsQ0FBQztBQUM3QixjQUFjLG9CQUFvQixDQUFDO0FBQ25DLGNBQWMsc0JBQXNCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2xpYi9pbnRlcmZhY2VzJztcbmV4cG9ydCAqIGZyb20gJy4vbGliL2Vycm9ycyc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9yZXBvc2l0b3JpZXMnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvc3BlY2lmaWNhdGlvbnMnO1xuIl19
@@ -1,13 +0,0 @@
1
- export class DomainValidationError extends Error {
2
- constructor(msg) {
3
- super(msg);
4
- this.type = DomainValidationError;
5
- }
6
- }
7
- export class DomainForbiddenError extends Error {
8
- constructor(msg) {
9
- super(msg);
10
- this.type = DomainForbiddenError;
11
- }
12
- }
13
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXJyb3JzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsi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WNlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGludGVyZmFjZSBJRW50aXR5PFQ+IHtcbiAgICBpZDogVDtcbn1cblxuZXhwb3J0IGludGVyZmFjZSBJQWRkcmVzcyB7XG4gICAgY2l0eTogc3RyaW5nO1xuICAgIHN0cmVldDogc3RyaW5nO1xuICAgIGJ1aWxkaW5nTnVtYmVyOiBzdHJpbmc7XG4gICAgZmxhdE51bWJlcj86IHN0cmluZztcbiAgICB6aXBDb2RlOiBzdHJpbmc7XG59XG5cbmV4cG9ydCBpbnRlcmZhY2UgSURhdGVSYW5nZSB7XG4gICAgLypcbiAgICAgKiBZWVlZLU1NLUREXG4gICAgICovXG4gICAgc3RhcnQ6IHN0cmluZztcbiAgICAvKlxuICAgICAqIFlZWVktTU0tRERcbiAgICAgKi9cbiAgICBlbmQ6IHN0cmluZztcbn1cblxuZXhwb3J0IGludGVyZmFjZSBJRmFjdG9yeTxULCBUQ29uZmlnPiB7XG4gICAgY3JlYXRlKGNvbmZpZzogTm9uTnVsbGFibGU8VENvbmZpZz4pOiBQcm9taXNlPFQ+O1xufVxuXG5leHBvcnQgeyBJU3BlY2lmaWNhdGlvbiB9IGZyb20gXCJAc21hcnRzb2Z0MDAxL21vZGVsc1wiO1xuIl19
@@ -1,8 +0,0 @@
1
- ;
2
- export class IUnitOfWork {
3
- }
4
- export class IItemRepository {
5
- }
6
- export class IAttachmentRepository {
7
- }
8
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVwb3NpdG9yaWVzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9zaGFyZWQvZG9tYWluLWNvcmUvc3JjL2xpYi9yZXBvc2l0b3JpZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBU0MsQ0FBQztBQUVGLE1BQU0s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bWlzZTx7IGZpbGVOYW1lOiBzdHJpbmcsIGNvbnRlbnRUeXBlOiBzdHJpbmcsIGxlbmd0aDogbnVtYmVyIH0+O1xuXG4gIGFic3RyYWN0IGdldFN0cmVhbShpZDogc3RyaW5nLCBvcHRpb25zPzogeyBzdGFydDogbnVtYmVyOyBlbmQ6IG51bWJlciB9KTogUHJvbWlzZTxhbnk+O1xuXG4gIGFic3RyYWN0IGRlbGV0ZShpZDogc3RyaW5nKTogUHJvbWlzZTx2b2lkPjtcbn1cbiJdfQ==
@@ -1,26 +0,0 @@
1
- export class MergeSpecification {
2
- constructor(...spec) {
3
- this.criteria = {};
4
- spec.forEach(s => {
5
- this.criteria = {
6
- ...this.criteria,
7
- ...s.criteria
8
- };
9
- });
10
- }
11
- }
12
- export class OrSpecification {
13
- constructor(...spec) {
14
- this.criteria = {
15
- $or: spec.map(c => c.criteria)
16
- };
17
- }
18
- }
19
- export class AndSpecification {
20
- constructor(...spec) {
21
- this.criteria = {
22
- $and: spec.map(c => c.criteria)
23
- };
24
- }
25
- }
26
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3BlY2lmaWNhdGlvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL3NoYXJlZC9kb21haW4tY29yZS9zcmMvbGliL3NwZWNpZmljYXRpb25zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBLE1BQU0sT0FBTyxrQkFBa0I7SUFHM0IsWUFBWSxHQUFHLElBQTJCO1FBQ3RDLElBQUksQ0FBQyxRQUFRLEdBQUcsRUFBRSxDQUFDO1FBRW5CLElBQUksQ0FBQyxPQUFPLENBQUMsQ0FBQyxDQUFDLEVBQUU7WUFDZCxJQUFJLENBQUMsUUFBUSxHQUFHO2dCQUNaLEdBQUcsSUFBSSxDQUFDLFFBQVE7Z0JBQ2hCLEdBQUcsQ0FBQyxDQUFDL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NhdGlvbiBpbXBsZW1lbnRzIElTcGVjaWZpY2F0aW9uIHtcbiAgICBjcml0ZXJpYTogYW55O1xuXG4gICAgY29uc3RydWN0b3IoLi4uc3BlYzogQXJyYXk8SVNwZWNpZmljYXRpb24+KSB7XG4gICAgICAgIHRoaXMuY3JpdGVyaWEgPSB7XG4gICAgICAgICAgICAkb3I6IHNwZWMubWFwKGMgPT4gYy5jcml0ZXJpYSlcbiAgICAgICAgfTtcbiAgICB9XG59XG5cbmV4cG9ydCBjbGFzcyBBbmRTcGVjaWZpY2F0aW9uIGltcGxlbWVudHMgSVNwZWNpZmljYXRpb24ge1xuICAgIGNyaXRlcmlhOiBhbnk7XG5cbiAgICBjb25zdHJ1Y3RvciguLi5zcGVjOiBBcnJheTxJU3BlY2lmaWNhdGlvbj4pIHtcbiAgICAgICAgdGhpcy5jcml0ZXJpYSA9IHtcbiAgICAgICAgICAgICRhbmQ6IHNwZWMubWFwKGMgPT4gYy5jcml0ZXJpYSlcbiAgICAgICAgfTtcbiAgICB9XG59XG4iXX0=
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- export * from './index';
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic21hcnRzb2Z0MDAxLWRvbWFpbi1jb3JlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vbGlicy9zaGFyZWQvZG9tYWluLWNvcmUvc3JjL3NtYXJ0c29mdDAwMS1kb21haW4tY29yZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
@@ -1,50 +0,0 @@
1
- class DomainValidationError extends Error {
2
- constructor(msg) {
3
- super(msg);
4
- this.type = DomainValidationError;
5
- }
6
- }
7
- class DomainForbiddenError extends Error {
8
- constructor(msg) {
9
- super(msg);
10
- this.type = DomainForbiddenError;
11
- }
12
- }
13
-
14
- ;
15
- class IUnitOfWork {
16
- }
17
- class IItemRepository {
18
- }
19
- class IAttachmentRepository {
20
- }
21
-
22
- class MergeSpecification {
23
- constructor(...spec) {
24
- this.criteria = {};
25
- spec.forEach(s => {
26
- this.criteria = Object.assign(Object.assign({}, this.criteria), s.criteria);
27
- });
28
- }
29
- }
30
- class OrSpecification {
31
- constructor(...spec) {
32
- this.criteria = {
33
- $or: spec.map(c => c.criteria)
34
- };
35
- }
36
- }
37
- class AndSpecification {
38
- constructor(...spec) {
39
- this.criteria = {
40
- $and: spec.map(c => c.criteria)
41
- };
42
- }
43
- }
44
-
45
- /**
46
- * Generated bundle index. Do not edit.
47
- */
48
-
49
- export { AndSpecification, DomainForbiddenError, DomainValidationError, IAttachmentRepository, IItemRepository, IUnitOfWork, MergeSpecification, OrSpecification };
50
- //# sourceMappingURL=smartsoft001-domain-core.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"smartsoft001-domain-core.mjs","sources":["../../../../../libs/shared/domain-core/src/lib/errors.ts","../../../../../libs/shared/domain-core/src/lib/repositories.ts","../../../../../libs/shared/domain-core/src/lib/specifications.ts","../../../../../libs/shared/domain-core/src/smartsoft001-domain-core.ts"],"sourcesContent":["export class DomainValidationError extends Error {\n type = DomainValidationError;\n\n constructor(msg) {\n super(msg);\n }\n}\n\nexport class DomainForbiddenError extends Error {\n type = DomainForbiddenError;\n\n constructor(msg) {\n super(msg);\n }\n}\n","import { Observable } from \"rxjs\";\n\nimport { IUser } from \"@smartsoft001/users\";\n//import {ItemChangedData} from \"@smartsoft001/crud-shell-dtos\";\n\nimport { IEntity, ISpecification } from \"./interfaces\";\n\nexport interface ITransaction {\n connection: any;\n};\n\nexport abstract class IUnitOfWork {\n abstract scope(definition: (transaction: ITransaction) => Promise<void>): Promise<void>;\n}\n\nexport interface IItemRepositoryOptions {\n transaction: ITransaction;\n}\n\n\nexport abstract class IItemRepository<T extends IEntity<string>> {\n abstract create(item: T, user: IUser, options?: IItemRepositoryOptions): Promise<void>;\n\n abstract createMany(list: T[], user: IUser, options?: IItemRepositoryOptions): Promise<void>;\n\n abstract update(item: T, user: IUser, options?: IItemRepositoryOptions): Promise<void>;\n\n abstract updatePartial(\n item: Partial<T> & { id: string },\n user: IUser\n , options?: IItemRepositoryOptions\n ): Promise<void>;\n\n abstract updatePartialManyByCriteria(\n criteria: any,\n set: Partial<T>,\n user: IUser, options?: IItemRepositoryOptions\n ): Promise<void>;\n\n abstract updatePartialManyBySpecification(\n spec: ISpecification,\n set: Partial<T>,\n user: IUser, options?: IItemRepositoryOptions\n ): Promise<void>;\n\n abstract delete(id: string, user: IUser, options?: IItemRepositoryOptions): Promise<void>;\n\n abstract getById(id: string, repoOptions?: IItemRepositoryOptions): Promise<T>;\n\n abstract getByCriteria(\n criteria: any,\n options?: any\n ): Promise<{ data: T[]; totalCount: number }>;\n\n abstract getBySpecification(\n spec: ISpecification,\n options?: any\n ): Promise<{ data: T[]; totalCount: number }>;\n\n abstract countByCriteria(criteria: any): Promise<number>;\n\n abstract countBySpecification(spec: ISpecification): Promise<number>;\n\n abstract clear(user: IUser | IItemRepositoryOptions): Promise<void>;\n\n abstract changesByCriteria(criteria: { id?: string }): Observable<any>;\n}\n\nexport abstract class IAttachmentRepository<T extends IEntity<string>> {\n abstract upload(\n data: { id: string, fileName: string; stream: any; mimeType: string; encoding: string },\n options?: { streamCallback?: (r) => void }\n ): Promise<void>;\n\n abstract getInfo(id: string): Promise<{ fileName: string, contentType: string, length: number }>;\n\n abstract getStream(id: string, options?: { start: number; end: number }): Promise<any>;\n\n abstract delete(id: string): Promise<void>;\n}\n","import {ISpecification} from \"./interfaces\";\n\nexport class MergeSpecification implements ISpecification {\n criteria: any;\n\n constructor(...spec: Array<ISpecification>) {\n this.criteria = {};\n\n spec.forEach(s => {\n this.criteria = {\n ...this.criteria,\n ...s.criteria\n }\n });\n }\n}\n\nexport class OrSpecification implements ISpecification {\n criteria: any;\n\n constructor(...spec: Array<ISpecification>) {\n this.criteria = {\n $or: spec.map(c => c.criteria)\n };\n }\n}\n\nexport class AndSpecification implements ISpecification {\n criteria: any;\n\n constructor(...spec: Array<ISpecification>) {\n this.criteria = {\n $and: spec.map(c => c.criteria)\n };\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAAM,MAAO,qBAAsB,SAAQ,KAAK,CAAA;AAG5C,IAAA,WAAA,CAAY,GAAG,EAAA;QACX,KAAK,CAAC,GAAG,CAAC,CAAC;AAHf,QAAA,IAAI,CAAA,IAAA,GAAG,qBAAqB,CAAC;KAI5B;AACJ,CAAA;AAEK,MAAO,oBAAqB,SAAQ,KAAK,CAAA;AAG3C,IAAA,WAAA,CAAY,GAAG,EAAA;QACX,KAAK,CAAC,GAAG,CAAC,CAAC;AAHf,QAAA,IAAI,CAAA,IAAA,GAAG,oBAAoB,CAAC;KAI3B;AACJ;;ACLA,CAAC;MAEoB,WAAW,CAAA;AAEhC,CAAA;MAOqB,eAAe,CAAA;AA8CpC,CAAA;MAEqB,qBAAqB,CAAA;AAW1C;;MC7EY,kBAAkB,CAAA;AAG3B,IAAA,WAAA,CAAY,GAAG,IAA2B,EAAA;AACtC,QAAA,IAAI,CAAC,QAAQ,GAAG,EAAE,CAAC;AAEnB,QAAA,IAAI,CAAC,OAAO,CAAC,CAAC,IAAG;YACd,IAAI,CAAC,QAAQ,GAAA,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,EAAA,EACN,IAAI,CAAC,QAAQ,CAAA,EACb,CAAC,CAAC,QAAQ,CAChB,CAAA;AACJ,SAAC,CAAC,CAAC;KACN;AACJ,CAAA;MAEY,eAAe,CAAA;AAGxB,IAAA,WAAA,CAAY,GAAG,IAA2B,EAAA;QACtC,IAAI,CAAC,QAAQ,GAAG;AACZ,YAAA,GAAG,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC;SACjC,CAAC;KACL;AACJ,CAAA;MAEY,gBAAgB,CAAA;AAGzB,IAAA,WAAA,CAAY,GAAG,IAA2B,EAAA;QACtC,IAAI,CAAC,QAAQ,GAAG;AACZ,YAAA,IAAI,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC;SAClC,CAAC;KACL;AACJ;;ACnCD;;AAEG;;;;"}
@@ -1,53 +0,0 @@
1
- class DomainValidationError extends Error {
2
- constructor(msg) {
3
- super(msg);
4
- this.type = DomainValidationError;
5
- }
6
- }
7
- class DomainForbiddenError extends Error {
8
- constructor(msg) {
9
- super(msg);
10
- this.type = DomainForbiddenError;
11
- }
12
- }
13
-
14
- ;
15
- class IUnitOfWork {
16
- }
17
- class IItemRepository {
18
- }
19
- class IAttachmentRepository {
20
- }
21
-
22
- class MergeSpecification {
23
- constructor(...spec) {
24
- this.criteria = {};
25
- spec.forEach(s => {
26
- this.criteria = {
27
- ...this.criteria,
28
- ...s.criteria
29
- };
30
- });
31
- }
32
- }
33
- class OrSpecification {
34
- constructor(...spec) {
35
- this.criteria = {
36
- $or: spec.map(c => c.criteria)
37
- };
38
- }
39
- }
40
- class AndSpecification {
41
- constructor(...spec) {
42
- this.criteria = {
43
- $and: spec.map(c => c.criteria)
44
- };
45
- }
46
- }
47
-
48
- /**
49
- * Generated bundle index. Do not edit.
50
- */
51
-
52
- export { AndSpecification, DomainForbiddenError, DomainValidationError, IAttachmentRepository, IItemRepository, IUnitOfWork, MergeSpecification, OrSpecification };
53
- //# sourceMappingURL=smartsoft001-domain-core.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"smartsoft001-domain-core.mjs","sources":["../../../../../libs/shared/domain-core/src/lib/errors.ts","../../../../../libs/shared/domain-core/src/lib/repositories.ts","../../../../../libs/shared/domain-core/src/lib/specifications.ts","../../../../../libs/shared/domain-core/src/smartsoft001-domain-core.ts"],"sourcesContent":["export class DomainValidationError extends Error {\n type = DomainValidationError;\n\n constructor(msg) {\n super(msg);\n }\n}\n\nexport class DomainForbiddenError extends Error {\n type = DomainForbiddenError;\n\n constructor(msg) {\n super(msg);\n }\n}\n","import { Observable } from \"rxjs\";\n\nimport { IUser } from \"@smartsoft001/users\";\n//import {ItemChangedData} from \"@smartsoft001/crud-shell-dtos\";\n\nimport { IEntity, ISpecification } from \"./interfaces\";\n\nexport interface ITransaction {\n connection: any;\n};\n\nexport abstract class IUnitOfWork {\n abstract scope(definition: (transaction: ITransaction) => Promise<void>): Promise<void>;\n}\n\nexport interface IItemRepositoryOptions {\n transaction: ITransaction;\n}\n\n\nexport abstract class IItemRepository<T extends IEntity<string>> {\n abstract create(item: T, user: IUser, options?: IItemRepositoryOptions): Promise<void>;\n\n abstract createMany(list: T[], user: IUser, options?: IItemRepositoryOptions): Promise<void>;\n\n abstract update(item: T, user: IUser, options?: IItemRepositoryOptions): Promise<void>;\n\n abstract updatePartial(\n item: Partial<T> & { id: string },\n user: IUser\n , options?: IItemRepositoryOptions\n ): Promise<void>;\n\n abstract updatePartialManyByCriteria(\n criteria: any,\n set: Partial<T>,\n user: IUser, options?: IItemRepositoryOptions\n ): Promise<void>;\n\n abstract updatePartialManyBySpecification(\n spec: ISpecification,\n set: Partial<T>,\n user: IUser, options?: IItemRepositoryOptions\n ): Promise<void>;\n\n abstract delete(id: string, user: IUser, options?: IItemRepositoryOptions): Promise<void>;\n\n abstract getById(id: string, repoOptions?: IItemRepositoryOptions): Promise<T>;\n\n abstract getByCriteria(\n criteria: any,\n options?: any\n ): Promise<{ data: T[]; totalCount: number }>;\n\n abstract getBySpecification(\n spec: ISpecification,\n options?: any\n ): Promise<{ data: T[]; totalCount: number }>;\n\n abstract countByCriteria(criteria: any): Promise<number>;\n\n abstract countBySpecification(spec: ISpecification): Promise<number>;\n\n abstract clear(user: IUser | IItemRepositoryOptions): Promise<void>;\n\n abstract changesByCriteria(criteria: { id?: string }): Observable<any>;\n}\n\nexport abstract class IAttachmentRepository<T extends IEntity<string>> {\n abstract upload(\n data: { id: string, fileName: string; stream: any; mimeType: string; encoding: string },\n options?: { streamCallback?: (r) => void }\n ): Promise<void>;\n\n abstract getInfo(id: string): Promise<{ fileName: string, contentType: string, length: number }>;\n\n abstract getStream(id: string, options?: { start: number; end: number }): Promise<any>;\n\n abstract delete(id: string): Promise<void>;\n}\n","import {ISpecification} from \"./interfaces\";\n\nexport class MergeSpecification implements ISpecification {\n criteria: any;\n\n constructor(...spec: Array<ISpecification>) {\n this.criteria = {};\n\n spec.forEach(s => {\n this.criteria = {\n ...this.criteria,\n ...s.criteria\n }\n });\n }\n}\n\nexport class OrSpecification implements ISpecification {\n criteria: any;\n\n constructor(...spec: Array<ISpecification>) {\n this.criteria = {\n $or: spec.map(c => c.criteria)\n };\n }\n}\n\nexport class AndSpecification implements ISpecification {\n criteria: any;\n\n constructor(...spec: Array<ISpecification>) {\n this.criteria = {\n $and: spec.map(c => c.criteria)\n };\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAAM,MAAO,qBAAsB,SAAQ,KAAK,CAAA;AAG5C,IAAA,WAAA,CAAY,GAAG,EAAA;QACX,KAAK,CAAC,GAAG,CAAC,CAAC;QAHf,IAAI,CAAA,IAAA,GAAG,qBAAqB,CAAC;KAI5B;AACJ,CAAA;AAEK,MAAO,oBAAqB,SAAQ,KAAK,CAAA;AAG3C,IAAA,WAAA,CAAY,GAAG,EAAA;QACX,KAAK,CAAC,GAAG,CAAC,CAAC;QAHf,IAAI,CAAA,IAAA,GAAG,oBAAoB,CAAC;KAI3B;AACJ;;ACLA,CAAC;MAEoB,WAAW,CAAA;AAEhC,CAAA;MAOqB,eAAe,CAAA;AA8CpC,CAAA;MAEqB,qBAAqB,CAAA;AAW1C;;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