@gimli01/ca-core
Advanced tools
Comparing version 1.0.0-alpha.10 to 1.0.0-alpha.11
@@ -6,2 +6,13 @@ # Change Log | ||
# [1.0.0-alpha.11](https://github.com-gimli01/gimli01/clean-architecture/compare/@gimli01/ca-core@1.0.0-alpha.10...@gimli01/ca-core@1.0.0-alpha.11) (2020-11-15) | ||
### Features | ||
* make uuid public ([c8d987b](https://github.com-gimli01/gimli01/clean-architecture/commit/c8d987bdad6de3048f0a5e36fbb865b575c1761c)) | ||
# [1.0.0-alpha.10](https://github.com-gimli01/gimli01/clean-architecture/compare/@gimli01/ca-core@1.0.0-alpha.9...@gimli01/ca-core@1.0.0-alpha.10) (2020-11-15) | ||
@@ -8,0 +19,0 @@ |
import { UniqueEntityId } from "./UniqueEntityId"; | ||
export declare abstract class Entity<T> { | ||
protected readonly uuid: UniqueEntityId; | ||
readonly uuid: UniqueEntityId; | ||
readonly props: T; | ||
get uuidValue(): string; | ||
constructor(props: T, uuid?: UniqueEntityId); | ||
equals(candidate?: Entity<T>): boolean; | ||
} |
@@ -13,5 +13,2 @@ "use strict"; | ||
} | ||
get uuidValue() { | ||
return this.uuid.value; | ||
} | ||
equals(candidate) { | ||
@@ -31,2 +28,2 @@ if (candidate == null || candidate == undefined) { | ||
exports.Entity = Entity; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRW50aXR5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL2RvbWFpbi9FbnRpdHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEscURBQWtEO0FBRWxELE1BQU0sUUFBUSxHQUFHLENBQUMsQ0FBYyxFQUFvQixFQUFFO0lBQ3BELE9BQU8sQ0FBQyxZQUFZLE1BQU0sQ0FBQztBQUM3QixDQUFDLENBQUM7QUFFRixNQUFzQixNQUFNO0lBUTFCLFlBQVksS0FBUSxFQUFFLElBQXFCO1FBQ3pDLElBQUksQ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FBQyxJQUFJLEdBQUcsSUFBSSxDQUFDLENBQUMsQ0FBQyxJQUFJLENBQUMsQ0FBQyxDQUFDLElBQUksK0JBQWMsRUFBRSxDQUFDO1FBQy9DLElBQUksQ0FBQyxLQUFLLEdBQUcsS0FBSyxDQUFDO0lBQ3JCLENBQUM7SUFFTSxNQUFNLENBQUMsU0FBcUI7UUFDakMsSUFBSSxTQUFTLElBQUksSUFBSSxJQUFJLFNBQVMsSUFBSSxTQUFTLEVBQUU7WUFDL0MsT0FBTyxLQUFLLENBQUM7U0FDZDtRQUVELElBQUksSUFBSSxLQUFLLFNBQVMsRUFBRTtZQUN0QixPQUFPLElBQUksQ0FBQztTQUNiO1FBRUQsSUFBSSxDQUFDLFFBQVEsQ0FBQyxTQUFTLENBQUMsRUFBRTtZQUN4QixPQUFPLEtBQUssQ0FBQztTQUNkO1FBRUQsT0FBTyxJQUFJLENBQUMsSUFBSSxDQUFDLE1BQU0sQ0FBQyxTQUFTLENBQUMsSUFBSSxDQUFDLENBQUM7SUFDMUMsQ0FBQztDQUNGO0FBeEJELHdCQXdCQyJ9 |
{ | ||
"name": "@gimli01/ca-core", | ||
"version": "1.0.0-alpha.10", | ||
"version": "1.0.0-alpha.11", | ||
"description": "", | ||
@@ -48,3 +48,3 @@ "author": "Daniel Park <daniel.park@endevors.io>", | ||
}, | ||
"gitHead": "938a238af92f0155a7ad3e6f0db9ad2ff9ecce02" | ||
"gitHead": "b90f4826236f97c95ffe5ea0126608456e9e8507" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
33188
470