@gimli01/ca-core
Advanced tools
Comparing version 1.0.0-alpha.6 to 1.0.0-alpha.7
@@ -6,2 +6,13 @@ # Change Log | ||
# [1.0.0-alpha.7](https://github.com-gimli01/gimli01/clean-architecture/compare/@gimli01/ca-core@1.0.0-alpha.6...@gimli01/ca-core@1.0.0-alpha.7) (2020-11-09) | ||
### Features | ||
* update base mapper ([5a64a16](https://github.com-gimli01/gimli01/clean-architecture/commit/5a64a16e970b15e9ab6366e7b61016ab69e30b4f)) | ||
# [1.0.0-alpha.6](https://github.com-gimli01/gimli01/clean-architecture/compare/@gimli01/ca-core@1.0.0-alpha.5...@gimli01/ca-core@1.0.0-alpha.6) (2020-11-09) | ||
@@ -8,0 +19,0 @@ |
export declare abstract class BaseMapper<DomainEntity, DatabaseModel = any> { | ||
protected abstract toDb(entity: DomainEntity): Promise<DatabaseModel>; | ||
protected abstract toDomain(model: DatabaseModel): Promise<DomainEntity>; | ||
protected abstract toDb(entity: DomainEntity): DatabaseModel; | ||
protected abstract toDomain(model: DatabaseModel): DomainEntity; | ||
} |
{ | ||
"name": "@gimli01/ca-core", | ||
"version": "1.0.0-alpha.6", | ||
"version": "1.0.0-alpha.7", | ||
"description": "", | ||
@@ -48,3 +48,3 @@ "author": "Daniel Park <daniel.park@endevors.io>", | ||
}, | ||
"gitHead": "8c6bf5744bb56a78343e635a359ab1ee3d1aaae8" | ||
"gitHead": "16510fc705b53664d750471ee5e51f59fbbfda3d" | ||
} |
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
33848