@my-devkit/core 1.0.98 → 1.0.100
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/dist/aggregate.d.ts +1 -1
- package/dist/aggregate.js +19 -24
- package/dist/aggregate.js.map +1 -1
- package/dist/command.d.ts +1 -1
- package/dist/command.js +8 -9
- package/dist/command.js.map +1 -1
- package/dist/date-helper.js +27 -33
- package/dist/date-helper.js.map +1 -1
- package/dist/decorators/cacheable.decorator.js +32 -95
- package/dist/decorators/cacheable.decorator.js.map +1 -1
- package/dist/decorators/index.js +5 -1
- package/dist/decorators/index.js.map +1 -1
- package/dist/decorators/retryable.decorator.js +6 -45
- package/dist/decorators/retryable.decorator.js.map +1 -1
- package/dist/enum-helper.js +13 -31
- package/dist/enum-helper.js.map +1 -1
- package/dist/errors/bad-request-error.js +6 -24
- package/dist/errors/bad-request-error.js.map +1 -1
- package/dist/errors/domain-error.js +6 -24
- package/dist/errors/domain-error.js.map +1 -1
- package/dist/errors/forbidden-error.js +6 -24
- package/dist/errors/forbidden-error.js.map +1 -1
- package/dist/errors/index.js +5 -1
- package/dist/errors/index.js.map +1 -1
- package/dist/errors/not-found-error.js +6 -24
- package/dist/errors/not-found-error.js.map +1 -1
- package/dist/errors/not-implemented-error.js +6 -24
- package/dist/errors/not-implemented-error.js.map +1 -1
- package/dist/errors/unauthorized-error.js +6 -24
- package/dist/errors/unauthorized-error.js.map +1 -1
- package/dist/event.d.ts +7 -7
- package/dist/event.js +44 -53
- package/dist/event.js.map +1 -1
- package/dist/guid/index.js +1 -1
- package/dist/guid/index.js.map +1 -1
- package/dist/index.js +18 -2
- package/dist/index.js.map +1 -1
- package/dist/json-helper.d.ts +1 -0
- package/dist/json-helper.js +18 -12
- package/dist/json-helper.js.map +1 -1
- package/dist/logger.js +35 -57
- package/dist/logger.js.map +1 -1
- package/dist/maintenance-model.js +16 -34
- package/dist/maintenance-model.js.map +1 -1
- package/dist/model.d.ts +1 -1
- package/dist/model.js +11 -16
- package/dist/model.js.map +1 -1
- package/dist/passwords.js +1 -1
- package/dist/passwords.js.map +1 -1
- package/dist/promise-helper.js +25 -67
- package/dist/promise-helper.js.map +1 -1
- package/dist/release-model.js +16 -34
- package/dist/release-model.js.map +1 -1
- package/dist/retry.js +24 -76
- package/dist/retry.js.map +1 -1
- package/dist/sanity-check-warm-up-dto.js +11 -12
- package/dist/sanity-check-warm-up-dto.js.map +1 -1
- package/dist/serialize/deserialize.js +2 -2
- package/dist/serialize/deserialize.js.map +1 -1
- package/dist/serialize/index.d.ts +2 -1
- package/dist/serialize/index.js +7 -2
- package/dist/serialize/index.js.map +1 -1
- package/dist/serialize/serializable.d.ts +1 -1
- package/dist/serialize/serializable.js +5 -5
- package/dist/serialize/serializable.js.map +1 -1
- package/dist/serialize/serialize-helper.d.ts +5 -0
- package/dist/serialize/serialize-helper.js +38 -0
- package/dist/serialize/serialize-helper.js.map +1 -0
- package/dist/serialize/serialize.js +1 -1
- package/dist/serialize/serialize.js.map +1 -1
- package/dist/serialize/type-helper.js +62 -73
- package/dist/serialize/type-helper.js.map +1 -1
- package/dist/sleep.js +5 -34
- package/dist/sleep.js.map +1 -1
- package/dist/validators/custom-validators/camel-case.js +2 -2
- package/dist/validators/custom-validators/camel-case.js.map +1 -1
- package/dist/validators/custom-validators/equals-to.js +5 -5
- package/dist/validators/custom-validators/equals-to.js.map +1 -1
- package/dist/validators/custom-validators/greater-or-equal-than.js +5 -5
- package/dist/validators/custom-validators/greater-or-equal-than.js.map +1 -1
- package/dist/validators/custom-validators/greater-than-date.js +6 -6
- package/dist/validators/custom-validators/greater-than-date.js.map +1 -1
- package/dist/validators/custom-validators/index.js +5 -1
- package/dist/validators/custom-validators/index.js.map +1 -1
- package/dist/validators/custom-validators/is-empty-if.js +6 -6
- package/dist/validators/custom-validators/is-empty-if.js.map +1 -1
- package/dist/validators/custom-validators/is-not-empty-if.js +5 -5
- package/dist/validators/custom-validators/is-not-empty-if.js.map +1 -1
- package/dist/validators/custom-validators/is-not-in-relative-to.js +5 -6
- package/dist/validators/custom-validators/is-not-in-relative-to.js.map +1 -1
- package/dist/validators/custom-validators/is-optional-if.d.ts +4 -1
- package/dist/validators/custom-validators/is-optional-if.js +9 -17
- package/dist/validators/custom-validators/is-optional-if.js.map +1 -1
- package/dist/validators/custom-validators/pascal-case.js +2 -2
- package/dist/validators/custom-validators/pascal-case.js.map +1 -1
- package/dist/validators/index.js +5 -1
- package/dist/validators/index.js.map +1 -1
- package/dist/validators/validate.d.ts +2 -1
- package/dist/validators/validate.js +28 -41
- package/dist/validators/validate.js.map +1 -1
- package/dist/validators/validation-error.js +5 -6
- package/dist/validators/validation-error.js.map +1 -1
- package/dist/vendors/index.js +5 -1
- package/dist/vendors/index.js.map +1 -1
- package/dist/vendors/lodash.d.ts +1 -1
- package/dist/vendors/lodash.js +2 -1
- package/dist/vendors/lodash.js.map +1 -1
- package/package.json +11 -11
- package/src/aggregate.ts +1 -1
- package/src/command.ts +1 -1
- package/src/event.ts +8 -8
- package/src/json-helper.ts +9 -0
- package/src/model.ts +1 -1
- package/src/serialize/index.ts +2 -1
- package/src/serialize/serializable.ts +1 -1
- package/src/serialize/serialize-helper.ts +43 -0
- package/src/validators/custom-validators/is-not-in-relative-to.ts +3 -5
- package/src/validators/custom-validators/is-optional-if.ts +9 -18
- package/src/validators/validate.ts +38 -35
- package/src/vendors/lodash.ts +1 -0
- package/tsconfig.json +7 -10
|
@@ -1,30 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
3
|
exports.DomainError = void 0;
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
_this.name = 'DomainError';
|
|
25
|
-
return _this;
|
|
4
|
+
class DomainError extends Error {
|
|
5
|
+
constructor(message) {
|
|
6
|
+
super(message);
|
|
7
|
+
this.message = message;
|
|
8
|
+
this.name = 'DomainError';
|
|
26
9
|
}
|
|
27
|
-
|
|
28
|
-
}(Error));
|
|
10
|
+
}
|
|
29
11
|
exports.DomainError = DomainError;
|
|
30
12
|
//# sourceMappingURL=domain-error.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"domain-error.js","sourceRoot":"","sources":["../../src/errors/domain-error.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"domain-error.js","sourceRoot":"","sources":["../../src/errors/domain-error.ts"],"names":[],"mappings":";;;AAEA,MAAa,WAAY,SAAQ,KAAK;IAClC,YAAmB,OAAe;QAC9B,KAAK,CAAC,OAAO,CAAC,CAAC;QADA,YAAO,GAAP,OAAO,CAAQ;QAE9B,IAAI,CAAC,IAAI,GAAG,aAAa,CAAC;IAC9B,CAAC;CACJ;AALD,kCAKC"}
|
|
@@ -1,30 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
3
|
exports.ForbiddenError = void 0;
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
_this.name = 'ForbiddenError';
|
|
25
|
-
return _this;
|
|
4
|
+
class ForbiddenError extends Error {
|
|
5
|
+
constructor(message) {
|
|
6
|
+
super(message);
|
|
7
|
+
this.message = message;
|
|
8
|
+
this.name = 'ForbiddenError';
|
|
26
9
|
}
|
|
27
|
-
|
|
28
|
-
}(Error));
|
|
10
|
+
}
|
|
29
11
|
exports.ForbiddenError = ForbiddenError;
|
|
30
12
|
//# sourceMappingURL=forbidden-error.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"forbidden-error.js","sourceRoot":"","sources":["../../src/errors/forbidden-error.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"forbidden-error.js","sourceRoot":"","sources":["../../src/errors/forbidden-error.ts"],"names":[],"mappings":";;;AAEA,MAAa,cAAe,SAAQ,KAAK;IACrC,YAAmB,OAAe;QAC9B,KAAK,CAAC,OAAO,CAAC,CAAC;QADA,YAAO,GAAP,OAAO,CAAQ;QAE9B,IAAI,CAAC,IAAI,GAAG,gBAAgB,CAAC;IACjC,CAAC;CACJ;AALD,wCAKC"}
|
package/dist/errors/index.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
package/dist/errors/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/errors/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/errors/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAE7B,sDAAoC;AACpC,oDAAkC;AAClC,oDAAkC;AAClC,0DAAwC;AACxC,uDAAqC;AACrC,iDAA+B"}
|
|
@@ -1,30 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
3
|
exports.NotFoundError = void 0;
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
_this.name = 'NotFoundError';
|
|
25
|
-
return _this;
|
|
4
|
+
class NotFoundError extends Error {
|
|
5
|
+
constructor(message) {
|
|
6
|
+
super(message);
|
|
7
|
+
this.message = message;
|
|
8
|
+
this.name = 'NotFoundError';
|
|
26
9
|
}
|
|
27
|
-
|
|
28
|
-
}(Error));
|
|
10
|
+
}
|
|
29
11
|
exports.NotFoundError = NotFoundError;
|
|
30
12
|
//# sourceMappingURL=not-found-error.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"not-found-error.js","sourceRoot":"","sources":["../../src/errors/not-found-error.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"not-found-error.js","sourceRoot":"","sources":["../../src/errors/not-found-error.ts"],"names":[],"mappings":";;;AAEA,MAAa,aAAc,SAAQ,KAAK;IACpC,YAAmB,OAAe;QAC9B,KAAK,CAAC,OAAO,CAAC,CAAC;QADA,YAAO,GAAP,OAAO,CAAQ;QAE9B,IAAI,CAAC,IAAI,GAAG,eAAe,CAAC;IAChC,CAAC;CACJ;AALD,sCAKC"}
|
|
@@ -1,30 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
3
|
exports.NotImplementedError = void 0;
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
_this.name = 'NotImplementedError';
|
|
25
|
-
return _this;
|
|
4
|
+
class NotImplementedError extends Error {
|
|
5
|
+
constructor(message) {
|
|
6
|
+
super(message);
|
|
7
|
+
this.message = message;
|
|
8
|
+
this.name = 'NotImplementedError';
|
|
26
9
|
}
|
|
27
|
-
|
|
28
|
-
}(Error));
|
|
10
|
+
}
|
|
29
11
|
exports.NotImplementedError = NotImplementedError;
|
|
30
12
|
//# sourceMappingURL=not-implemented-error.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"not-implemented-error.js","sourceRoot":"","sources":["../../src/errors/not-implemented-error.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"not-implemented-error.js","sourceRoot":"","sources":["../../src/errors/not-implemented-error.ts"],"names":[],"mappings":";;;AAEA,MAAa,mBAAoB,SAAQ,KAAK;IAC1C,YAAmB,OAAe;QAC9B,KAAK,CAAC,OAAO,CAAC,CAAC;QADA,YAAO,GAAP,OAAO,CAAQ;QAE9B,IAAI,CAAC,IAAI,GAAG,qBAAqB,CAAC;IACtC,CAAC;CACJ;AALD,kDAKC"}
|
|
@@ -1,30 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
3
|
exports.UnauthorizedError = void 0;
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
_this.name = 'UnauthorizedError';
|
|
25
|
-
return _this;
|
|
4
|
+
class UnauthorizedError extends Error {
|
|
5
|
+
constructor(message) {
|
|
6
|
+
super(message);
|
|
7
|
+
this.message = message;
|
|
8
|
+
this.name = 'UnauthorizedError';
|
|
26
9
|
}
|
|
27
|
-
|
|
28
|
-
}(Error));
|
|
10
|
+
}
|
|
29
11
|
exports.UnauthorizedError = UnauthorizedError;
|
|
30
12
|
//# sourceMappingURL=unauthorized-error.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unauthorized-error.js","sourceRoot":"","sources":["../../src/errors/unauthorized-error.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"unauthorized-error.js","sourceRoot":"","sources":["../../src/errors/unauthorized-error.ts"],"names":[],"mappings":";;;AAEA,MAAa,iBAAkB,SAAQ,KAAK;IACxC,YAAmB,OAAe;QAC9B,KAAK,CAAC,OAAO,CAAC,CAAC;QADA,YAAO,GAAP,OAAO,CAAQ;QAE9B,IAAI,CAAC,IAAI,GAAG,mBAAmB,CAAC;IACpC,CAAC;CACJ;AALD,8CAKC"}
|
package/dist/event.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { Document } from './document';
|
|
2
2
|
export declare abstract class Event implements Document {
|
|
3
3
|
static counter: number;
|
|
4
|
-
id
|
|
5
|
-
_type
|
|
6
|
-
_correlationId
|
|
7
|
-
_aggregateType
|
|
8
|
-
_aggregateId
|
|
9
|
-
_publishedBy
|
|
10
|
-
private _publishedAt
|
|
4
|
+
id?: string;
|
|
5
|
+
_type?: string;
|
|
6
|
+
_correlationId?: string;
|
|
7
|
+
_aggregateType?: string;
|
|
8
|
+
_aggregateId?: string;
|
|
9
|
+
_publishedBy?: string;
|
|
10
|
+
private _publishedAt?;
|
|
11
11
|
constructor();
|
|
12
12
|
get _path(): string;
|
|
13
13
|
get publishedAt(): Date;
|
package/dist/event.js
CHANGED
|
@@ -10,10 +10,10 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.Event = void 0;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
const guid_1 = require("./guid");
|
|
14
|
+
const serialize_1 = require("./serialize");
|
|
15
|
+
class Event {
|
|
16
|
+
constructor() {
|
|
17
17
|
this.id = null;
|
|
18
18
|
this._type = null;
|
|
19
19
|
this._correlationId = null;
|
|
@@ -24,54 +24,45 @@ var Event = /** @class */ (function () {
|
|
|
24
24
|
this.id = (0, guid_1.guid)();
|
|
25
25
|
this._type = this.constructor.name;
|
|
26
26
|
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
set: function (date) {
|
|
39
|
-
Event.counter++;
|
|
40
|
-
this._publishedAt = date.toISOString().replace('Z', '.' + (('0'.repeat(9) + Event.counter).slice(-9))) + 'Z';
|
|
41
|
-
},
|
|
42
|
-
enumerable: false,
|
|
43
|
-
configurable: true
|
|
44
|
-
});
|
|
45
|
-
Event.counter = 0;
|
|
46
|
-
__decorate([
|
|
47
|
-
(0, serialize_1.autoserializeAs)(String),
|
|
48
|
-
__metadata("design:type", String)
|
|
49
|
-
], Event.prototype, "id", void 0);
|
|
50
|
-
__decorate([
|
|
51
|
-
(0, serialize_1.autoserializeAs)(String),
|
|
52
|
-
__metadata("design:type", String)
|
|
53
|
-
], Event.prototype, "_type", void 0);
|
|
54
|
-
__decorate([
|
|
55
|
-
(0, serialize_1.autoserializeAs)(String),
|
|
56
|
-
__metadata("design:type", String)
|
|
57
|
-
], Event.prototype, "_correlationId", void 0);
|
|
58
|
-
__decorate([
|
|
59
|
-
(0, serialize_1.autoserializeAs)(String),
|
|
60
|
-
__metadata("design:type", String)
|
|
61
|
-
], Event.prototype, "_aggregateType", void 0);
|
|
62
|
-
__decorate([
|
|
63
|
-
(0, serialize_1.autoserializeAs)(String),
|
|
64
|
-
__metadata("design:type", String)
|
|
65
|
-
], Event.prototype, "_aggregateId", void 0);
|
|
66
|
-
__decorate([
|
|
67
|
-
(0, serialize_1.autoserializeAs)(String),
|
|
68
|
-
__metadata("design:type", String)
|
|
69
|
-
], Event.prototype, "_publishedBy", void 0);
|
|
70
|
-
__decorate([
|
|
71
|
-
(0, serialize_1.autoserializeAs)(String),
|
|
72
|
-
__metadata("design:type", String)
|
|
73
|
-
], Event.prototype, "_publishedAt", void 0);
|
|
74
|
-
return Event;
|
|
75
|
-
}());
|
|
27
|
+
get _path() {
|
|
28
|
+
return `/events/${this.id}`;
|
|
29
|
+
}
|
|
30
|
+
get publishedAt() {
|
|
31
|
+
return new Date(this._publishedAt.substring(0, 23) + 'Z');
|
|
32
|
+
}
|
|
33
|
+
set publishedAt(date) {
|
|
34
|
+
Event.counter++;
|
|
35
|
+
this._publishedAt = date.toISOString().replace('Z', '.' + (('0'.repeat(9) + Event.counter).slice(-9))) + 'Z';
|
|
36
|
+
}
|
|
37
|
+
}
|
|
76
38
|
exports.Event = Event;
|
|
39
|
+
Event.counter = 0;
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, serialize_1.autoserializeAs)(String),
|
|
42
|
+
__metadata("design:type", String)
|
|
43
|
+
], Event.prototype, "id", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, serialize_1.autoserializeAs)(String),
|
|
46
|
+
__metadata("design:type", String)
|
|
47
|
+
], Event.prototype, "_type", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, serialize_1.autoserializeAs)(String),
|
|
50
|
+
__metadata("design:type", String)
|
|
51
|
+
], Event.prototype, "_correlationId", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, serialize_1.autoserializeAs)(String),
|
|
54
|
+
__metadata("design:type", String)
|
|
55
|
+
], Event.prototype, "_aggregateType", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, serialize_1.autoserializeAs)(String),
|
|
58
|
+
__metadata("design:type", String)
|
|
59
|
+
], Event.prototype, "_aggregateId", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, serialize_1.autoserializeAs)(String),
|
|
62
|
+
__metadata("design:type", String)
|
|
63
|
+
], Event.prototype, "_publishedBy", void 0);
|
|
64
|
+
__decorate([
|
|
65
|
+
(0, serialize_1.autoserializeAs)(String),
|
|
66
|
+
__metadata("design:type", String)
|
|
67
|
+
], Event.prototype, "_publishedAt", void 0);
|
|
77
68
|
//# sourceMappingURL=event.js.map
|
package/dist/event.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event.js","sourceRoot":"","sources":["../src/event.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA
|
|
1
|
+
{"version":3,"file":"event.js","sourceRoot":"","sources":["../src/event.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,iCAA8B;AAC9B,2CAA8C;AAE9C,MAAsB,KAAK;IAUvB;QARgC,OAAE,GAAY,IAAI,CAAC;QACnB,UAAK,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AqC;AAC5B;IAAhC,IAAA,2BAAe,EAAC,MAAM,CAAC;;2CAAsC"}
|
package/dist/guid/index.js
CHANGED
package/dist/guid/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/guid/index.ts"],"names":[],"mappings":";;;AAAA
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/guid/index.ts"],"names":[],"mappings":";;;AAAA,+BAA0B;AAEb,QAAA,IAAI,GAAG,SAAE,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,17 +1,33 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
8
12
|
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
9
25
|
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
26
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
27
|
};
|
|
12
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
29
|
exports.Validators = exports.ValidationError = void 0;
|
|
14
|
-
|
|
30
|
+
const validators = __importStar(require("./validators"));
|
|
15
31
|
__exportStar(require("./aggregate"), exports);
|
|
16
32
|
__exportStar(require("./command"), exports);
|
|
17
33
|
__exportStar(require("./date-helper"), exports);
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yDAA2C;AAE3C,8CAA4B;AAC5B,4CAA0B;AAC1B,gDAA8B;AAC9B,+CAA6B;AAC7B,6CAA2B;AAC3B,gDAA8B;AAC9B,2CAAyB;AACzB,0CAAwB;AACxB,yCAAuB;AACvB,gDAA8B;AAC9B,2CAAyB;AACzB,sDAAoC;AACpC,0CAAwB;AACxB,8CAA4B;AAC5B,mDAAiC;AACjC,kDAAgC;AAChC,0CAAwB;AACxB,6DAA2C;AAC3C,8CAA4B;AAC5B,0CAAwB;AACxB,kEAAgE;AAAvD,mHAAA,eAAe,OAAA;AACxB,4CAA0B;AAEb,QAAA,UAAU,GAAG,UAAU,CAAC"}
|
package/dist/json-helper.d.ts
CHANGED
package/dist/json-helper.js
CHANGED
|
@@ -1,25 +1,31 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.JsonHelper = void 0;
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
class JsonHelper {
|
|
5
|
+
static isJson(body) {
|
|
6
|
+
try {
|
|
7
|
+
JSON.parse(body);
|
|
8
|
+
return true;
|
|
9
|
+
}
|
|
10
|
+
catch (_a) {
|
|
11
|
+
return false;
|
|
12
|
+
}
|
|
6
13
|
}
|
|
7
|
-
|
|
14
|
+
static parse(body) {
|
|
8
15
|
return JSON.parse(body, JsonHelper.dateParser.bind(this));
|
|
9
|
-
}
|
|
10
|
-
|
|
16
|
+
}
|
|
17
|
+
static stringify(value) {
|
|
11
18
|
return JSON.stringify(value);
|
|
12
|
-
}
|
|
13
|
-
|
|
19
|
+
}
|
|
20
|
+
static dateParser(_key, value) {
|
|
14
21
|
if (typeof value === 'string' && JsonHelper.isISODateString(value)) {
|
|
15
22
|
return new Date(value);
|
|
16
23
|
}
|
|
17
24
|
return value;
|
|
18
|
-
}
|
|
19
|
-
|
|
25
|
+
}
|
|
26
|
+
static isISODateString(date) {
|
|
20
27
|
return /^(?:\d{4})-(?:\d{2})-(?:\d{2})T(?:\d{2}):(?:\d{2}):(?:\d{2}(?:\.\d*)?)(?:(?:-(?:\d{2}):(?:\d{2})|Z)?)$/.test(date);
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
}());
|
|
28
|
+
}
|
|
29
|
+
}
|
|
24
30
|
exports.JsonHelper = JsonHelper;
|
|
25
31
|
//# sourceMappingURL=json-helper.js.map
|
package/dist/json-helper.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"json-helper.js","sourceRoot":"","sources":["../src/json-helper.ts"],"names":[],"mappings":";;;AAAA;
|
|
1
|
+
{"version":3,"file":"json-helper.js","sourceRoot":"","sources":["../src/json-helper.ts"],"names":[],"mappings":";;;AAAA,MAAa,UAAU;IACZ,MAAM,CAAC,MAAM,CAAC,IAAY;QAC7B,IAAI;YACA,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;YACjB,OAAO,IAAI,CAAC;SACf;QAAC,WAAM;YACJ,OAAO,KAAK,CAAC;SAChB;IACL,CAAC;IAEM,MAAM,CAAC,KAAK,CAAI,IAAY;QAC/B,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,UAAU,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;IAC9D,CAAC;IAEM,MAAM,CAAC,SAAS,CAAI,KAAQ;QAC/B,OAAO,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;IACjC,CAAC;IAEO,MAAM,CAAC,UAAU,CAAC,IAAY,EAAE,KAAU;QAC9C,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,UAAU,CAAC,eAAe,CAAC,KAAK,CAAC,EAAE;YAChE,OAAO,IAAI,IAAI,CAAC,KAAK,CAAC,CAAC;SAC1B;QACD,OAAO,KAAK,CAAC;IACjB,CAAC;IAEO,MAAM,CAAC,eAAe,CAAC,IAAY;QACvC,OAAO,wGAAwG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC/H,CAAC;CACJ;AA5BD,gCA4BC"}
|
package/dist/logger.js
CHANGED
|
@@ -1,74 +1,52 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
|
3
|
-
__assign = Object.assign || function(t) {
|
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
-
s = arguments[i];
|
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
-
t[p] = s[p];
|
|
8
|
-
}
|
|
9
|
-
return t;
|
|
10
|
-
};
|
|
11
|
-
return __assign.apply(this, arguments);
|
|
12
|
-
};
|
|
13
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
3
|
exports.Logger = void 0;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
19
|
-
Logger.registerLogger = function (logger) {
|
|
4
|
+
const date_helper_1 = require("./date-helper");
|
|
5
|
+
class Logger {
|
|
6
|
+
static registerLogger(logger) {
|
|
20
7
|
this.implementations.push(logger);
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
for (
|
|
24
|
-
var implementation = _a[_i];
|
|
8
|
+
}
|
|
9
|
+
static debug(message, meta) {
|
|
10
|
+
for (const implementation of this.implementations) {
|
|
25
11
|
implementation.debug(message, meta);
|
|
26
12
|
}
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
for (
|
|
30
|
-
var implementation = _a[_i];
|
|
13
|
+
}
|
|
14
|
+
static info(message, meta) {
|
|
15
|
+
for (const implementation of this.implementations) {
|
|
31
16
|
implementation.info(message, meta);
|
|
32
17
|
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
this.info(message,
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
for (
|
|
39
|
-
var implementation = _a[_i];
|
|
18
|
+
}
|
|
19
|
+
static infoWithElapesedTime(message, startDate, meta) {
|
|
20
|
+
this.info(message, Object.assign(Object.assign({}, meta), { elpasedTime: { ms: date_helper_1.DateHelper.getElapsedTime(startDate), readable: date_helper_1.DateHelper.getReadableElapsedTime(startDate) } }));
|
|
21
|
+
}
|
|
22
|
+
static warn(message, meta) {
|
|
23
|
+
for (const implementation of this.implementations) {
|
|
40
24
|
implementation.warn(message, meta);
|
|
41
25
|
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
for (
|
|
45
|
-
var implementation = _a[_i];
|
|
26
|
+
}
|
|
27
|
+
static error(message, meta) {
|
|
28
|
+
for (const implementation of this.implementations) {
|
|
46
29
|
implementation.error(message, meta);
|
|
47
30
|
}
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
return Logger;
|
|
51
|
-
}());
|
|
31
|
+
}
|
|
32
|
+
}
|
|
52
33
|
exports.Logger = Logger;
|
|
34
|
+
Logger.implementations = [];
|
|
53
35
|
(function (Logger) {
|
|
54
|
-
|
|
55
|
-
|
|
36
|
+
class ConsoleImplementation {
|
|
37
|
+
debug(message) {
|
|
38
|
+
console.debug(`debug: ${message}`);
|
|
39
|
+
}
|
|
40
|
+
info(message) {
|
|
41
|
+
console.info(`info: ${message}`);
|
|
42
|
+
}
|
|
43
|
+
warn(message) {
|
|
44
|
+
console.warn(`warn: ${message}`);
|
|
56
45
|
}
|
|
57
|
-
|
|
58
|
-
console.
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
console.info("info: ".concat(message));
|
|
62
|
-
};
|
|
63
|
-
ConsoleImplementation.prototype.warn = function (message) {
|
|
64
|
-
console.warn("warn: ".concat(message));
|
|
65
|
-
};
|
|
66
|
-
ConsoleImplementation.prototype.error = function (message) {
|
|
67
|
-
console.error("error: ".concat(message));
|
|
68
|
-
};
|
|
69
|
-
return ConsoleImplementation;
|
|
70
|
-
}());
|
|
46
|
+
error(message) {
|
|
47
|
+
console.error(`error: ${message}`);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
71
50
|
Logger.ConsoleImplementation = ConsoleImplementation;
|
|
72
|
-
})(Logger
|
|
73
|
-
exports.Logger = Logger;
|
|
51
|
+
})(Logger || (exports.Logger = Logger = {}));
|
|
74
52
|
//# sourceMappingURL=logger.js.map
|
package/dist/logger.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logger.js","sourceRoot":"","sources":["../src/logger.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"logger.js","sourceRoot":"","sources":["../src/logger.ts"],"names":[],"mappings":";;;AAAA,+CAA2C;AAE3C,MAAa,MAAM;IAGR,MAAM,CAAC,cAAc,CAAC,MAA6B;QACtD,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IACtC,CAAC;IAEM,MAAM,CAAC,KAAK,CAAC,OAAe,EAAE,IAAyB;QAC1D,KAAK,MAAM,cAAc,IAAI,IAAI,CAAC,eAAe,EAAE;YAC/C,cAAc,CAAC,KAAK,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;SACvC;IACL,CAAC;IAEM,MAAM,CAAC,IAAI,CAAC,OAAe,EAAE,IAAyB;QACzD,KAAK,MAAM,cA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