@carbonbox/domain 0.0.4 → 0.0.6
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/build/main/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.User = exports.AggregateRoot = exports.DomainError = exports.HttpStatus = exports.Either = void 0;
|
|
3
|
+
exports.User = exports.InvalidValueObjectConfigurationError = exports.NotIntegerError = exports.NullValueError = exports.UndefinedValueError = exports.MinimumValueViolationError = exports.InvalidStringArrayError = exports.InvalidPropertyTypeError = exports.InvalidNationalNumberError = exports.InvalidMinutesDurationError = exports.InvalidGenderError = exports.InvalidFullInternationalNumberError = exports.InvalidDomainIdError = exports.InvalidDateFormatError = exports.InvalidCountryCodeError = exports.InvalidCoordinatesError = exports.CreateMethodNotImplementedError = exports.RootError = exports.AggregateRoot = exports.DomainError = exports.HttpStatus = exports.Either = void 0;
|
|
4
4
|
// Shared
|
|
5
5
|
var Either_1 = require("../carbonbox/shared/domain/either/Either");
|
|
6
6
|
Object.defineProperty(exports, "Either", { enumerable: true, get: function () { return Either_1.Either; } });
|
|
@@ -10,6 +10,40 @@ var DomainError_1 = require("../carbonbox/shared/domain/DomainError");
|
|
|
10
10
|
Object.defineProperty(exports, "DomainError", { enumerable: true, get: function () { return DomainError_1.DomainError; } });
|
|
11
11
|
var AggregateRoot_1 = require("../carbonbox/shared/domain/AggregateRoot");
|
|
12
12
|
Object.defineProperty(exports, "AggregateRoot", { enumerable: true, get: function () { return AggregateRoot_1.AggregateRoot; } });
|
|
13
|
+
var RootError_1 = require("../carbonbox/shared/domain/exceptions/RootError");
|
|
14
|
+
Object.defineProperty(exports, "RootError", { enumerable: true, get: function () { return RootError_1.RootError; } });
|
|
15
|
+
var CreateMethodNotImplementedError_1 = require("../carbonbox/shared/domain/exceptions/CreateMethodNotImplementedError");
|
|
16
|
+
Object.defineProperty(exports, "CreateMethodNotImplementedError", { enumerable: true, get: function () { return CreateMethodNotImplementedError_1.CreateMethodNotImplementedError; } });
|
|
17
|
+
var InvalidCoordinatesError_1 = require("../carbonbox/shared/domain/exceptions/InvalidCoordinatesError");
|
|
18
|
+
Object.defineProperty(exports, "InvalidCoordinatesError", { enumerable: true, get: function () { return InvalidCoordinatesError_1.InvalidCoordinatesError; } });
|
|
19
|
+
var InvalidCountryCodeError_1 = require("../carbonbox/shared/domain/exceptions/InvalidCountryCodeError");
|
|
20
|
+
Object.defineProperty(exports, "InvalidCountryCodeError", { enumerable: true, get: function () { return InvalidCountryCodeError_1.InvalidCountryCodeError; } });
|
|
21
|
+
var InvalidDateFormatError_1 = require("../carbonbox/shared/domain/exceptions/InvalidDateFormatError");
|
|
22
|
+
Object.defineProperty(exports, "InvalidDateFormatError", { enumerable: true, get: function () { return InvalidDateFormatError_1.InvalidDateFormatError; } });
|
|
23
|
+
var InvalidDomainIdError_1 = require("../carbonbox/shared/domain/exceptions/InvalidDomainIdError");
|
|
24
|
+
Object.defineProperty(exports, "InvalidDomainIdError", { enumerable: true, get: function () { return InvalidDomainIdError_1.InvalidDomainIdError; } });
|
|
25
|
+
var InvalidFullInternationalNumberError_1 = require("../carbonbox/shared/domain/exceptions/InvalidFullInternationalNumberError");
|
|
26
|
+
Object.defineProperty(exports, "InvalidFullInternationalNumberError", { enumerable: true, get: function () { return InvalidFullInternationalNumberError_1.InvalidFullInternationalNumberError; } });
|
|
27
|
+
var InvalidGenderError_1 = require("../carbonbox/shared/domain/exceptions/InvalidGenderError");
|
|
28
|
+
Object.defineProperty(exports, "InvalidGenderError", { enumerable: true, get: function () { return InvalidGenderError_1.InvalidGenderError; } });
|
|
29
|
+
var InvalidMinutesDurationError_1 = require("../carbonbox/shared/domain/exceptions/InvalidMinutesDurationError");
|
|
30
|
+
Object.defineProperty(exports, "InvalidMinutesDurationError", { enumerable: true, get: function () { return InvalidMinutesDurationError_1.InvalidMinutesDurationError; } });
|
|
31
|
+
var InvalidNationalNumberError_1 = require("../carbonbox/shared/domain/exceptions/InvalidNationalNumberError");
|
|
32
|
+
Object.defineProperty(exports, "InvalidNationalNumberError", { enumerable: true, get: function () { return InvalidNationalNumberError_1.InvalidNationalNumberError; } });
|
|
33
|
+
var InvalidPropertyTypeError_1 = require("../carbonbox/shared/domain/exceptions/InvalidPropertyTypeError");
|
|
34
|
+
Object.defineProperty(exports, "InvalidPropertyTypeError", { enumerable: true, get: function () { return InvalidPropertyTypeError_1.InvalidPropertyTypeError; } });
|
|
35
|
+
var InvalidStringArrayError_1 = require("../carbonbox/shared/domain/exceptions/InvalidStringArrayError");
|
|
36
|
+
Object.defineProperty(exports, "InvalidStringArrayError", { enumerable: true, get: function () { return InvalidStringArrayError_1.InvalidStringArrayError; } });
|
|
37
|
+
var MinimumValueViolationError_1 = require("../carbonbox/shared/domain/exceptions/MinimumValueViolationError");
|
|
38
|
+
Object.defineProperty(exports, "MinimumValueViolationError", { enumerable: true, get: function () { return MinimumValueViolationError_1.MinimumValueViolationError; } });
|
|
39
|
+
var UndefinedValueError_1 = require("../carbonbox/shared/domain/exceptions/UndefinedValueError");
|
|
40
|
+
Object.defineProperty(exports, "UndefinedValueError", { enumerable: true, get: function () { return UndefinedValueError_1.UndefinedValueError; } });
|
|
41
|
+
var NullValueError_1 = require("../carbonbox/shared/domain/exceptions/NullValueError");
|
|
42
|
+
Object.defineProperty(exports, "NullValueError", { enumerable: true, get: function () { return NullValueError_1.NullValueError; } });
|
|
43
|
+
var NotIntegerError_1 = require("../carbonbox/shared/domain/exceptions/NotIntegerError");
|
|
44
|
+
Object.defineProperty(exports, "NotIntegerError", { enumerable: true, get: function () { return NotIntegerError_1.NotIntegerError; } });
|
|
45
|
+
var InvalidValueObjectConfigurationError_1 = require("../carbonbox/shared/domain/exceptions/InvalidValueObjectConfigurationError");
|
|
46
|
+
Object.defineProperty(exports, "InvalidValueObjectConfigurationError", { enumerable: true, get: function () { return InvalidValueObjectConfigurationError_1.InvalidValueObjectConfigurationError; } });
|
|
13
47
|
// Users Shared
|
|
14
48
|
var User_1 = require("../carbonbox/users/shared/domain/User");
|
|
15
49
|
Object.defineProperty(exports, "User", { enumerable: true, get: function () { return User_1.User; } });
|
|
@@ -7,6 +7,23 @@ export { DomainError } from '../carbonbox/shared/domain/DomainError';
|
|
|
7
7
|
export { IDomainErrorPrimitives } from '../carbonbox/shared/domain/IDomainErrorPrimitives';
|
|
8
8
|
export { AggregateRoot } from '../carbonbox/shared/domain/AggregateRoot';
|
|
9
9
|
export { IAggregateRootPrimitives } from '../carbonbox/shared/domain/IAggregateRootPrimitives';
|
|
10
|
+
export { RootError } from '../carbonbox/shared/domain/exceptions/RootError';
|
|
11
|
+
export { CreateMethodNotImplementedError } from '../carbonbox/shared/domain/exceptions/CreateMethodNotImplementedError';
|
|
12
|
+
export { InvalidCoordinatesError } from '../carbonbox/shared/domain/exceptions/InvalidCoordinatesError';
|
|
13
|
+
export { InvalidCountryCodeError } from '../carbonbox/shared/domain/exceptions/InvalidCountryCodeError';
|
|
14
|
+
export { InvalidDateFormatError } from '../carbonbox/shared/domain/exceptions/InvalidDateFormatError';
|
|
15
|
+
export { InvalidDomainIdError } from '../carbonbox/shared/domain/exceptions/InvalidDomainIdError';
|
|
16
|
+
export { InvalidFullInternationalNumberError } from '../carbonbox/shared/domain/exceptions/InvalidFullInternationalNumberError';
|
|
17
|
+
export { InvalidGenderError } from '../carbonbox/shared/domain/exceptions/InvalidGenderError';
|
|
18
|
+
export { InvalidMinutesDurationError } from '../carbonbox/shared/domain/exceptions/InvalidMinutesDurationError';
|
|
19
|
+
export { InvalidNationalNumberError } from '../carbonbox/shared/domain/exceptions/InvalidNationalNumberError';
|
|
20
|
+
export { InvalidPropertyTypeError } from '../carbonbox/shared/domain/exceptions/InvalidPropertyTypeError';
|
|
21
|
+
export { InvalidStringArrayError } from '../carbonbox/shared/domain/exceptions/InvalidStringArrayError';
|
|
22
|
+
export { MinimumValueViolationError } from '../carbonbox/shared/domain/exceptions/MinimumValueViolationError';
|
|
23
|
+
export { UndefinedValueError } from '../carbonbox/shared/domain/exceptions/UndefinedValueError';
|
|
24
|
+
export { NullValueError } from '../carbonbox/shared/domain/exceptions/NullValueError';
|
|
25
|
+
export { NotIntegerError } from '../carbonbox/shared/domain/exceptions/NotIntegerError';
|
|
26
|
+
export { InvalidValueObjectConfigurationError } from '../carbonbox/shared/domain/exceptions/InvalidValueObjectConfigurationError';
|
|
10
27
|
export { User, IUserProps } from '../carbonbox/users/shared/domain/User';
|
|
11
28
|
export { IUserPrimitives } from '../carbonbox/users/shared/domain/IUserPrimitives';
|
|
12
29
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/main/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,0CAA0C,CAAC;AAClE,OAAO,EAAE,MAAM,EAAE,MAAM,0CAA0C,CAAC;AAClE,OAAO,EAAE,UAAU,EAAE,MAAM,4CAA4C,CAAC;AACxE,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,+CAA+C,CAAC;AACtG,OAAO,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAC/D,OAAO,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAC;AACrE,OAAO,EAAE,sBAAsB,EAAE,MAAM,mDAAmD,CAAC;AAC3F,OAAO,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AACzE,OAAO,EAAE,wBAAwB,EAAE,MAAM,qDAAqD,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/main/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,0CAA0C,CAAC;AAClE,OAAO,EAAE,MAAM,EAAE,MAAM,0CAA0C,CAAC;AAClE,OAAO,EAAE,UAAU,EAAE,MAAM,4CAA4C,CAA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