@gimli01/ca-core
Advanced tools
Comparing version 1.0.0-alpha.4 to 1.0.0-alpha.5
@@ -6,2 +6,13 @@ # Change Log | ||
# [1.0.0-alpha.5](https://github.com-gimli01/gimli01/clean-architecture/compare/@gimli01/ca-core@1.0.0-alpha.4...@gimli01/ca-core@1.0.0-alpha.5) (2020-10-26) | ||
### Features | ||
* restructure lib ([f21343f](https://github.com-gimli01/gimli01/clean-architecture/commit/f21343f537373e87f1718719490c4d90d47d88cb)) | ||
# [1.0.0-alpha.4](https://github.com-gimli01/gimli01/clean-architecture/compare/@gimli01/ca-core@1.0.0-alpha.3...@gimli01/ca-core@1.0.0-alpha.4) (2020-10-26) | ||
@@ -8,0 +19,0 @@ |
@@ -1,5 +0,6 @@ | ||
export { Entity } from "./Entity"; | ||
export { Identifier } from "./Identifier"; | ||
export { UniqueEntityId } from "./UniqueEntityId"; | ||
export { ValueObj } from "./ValueObj"; | ||
export { WatchedList } from "./WatchedList"; | ||
import { Entity } from "./Entity"; | ||
import { Identifier } from "./Identifier"; | ||
import { UniqueEntityId } from "./UniqueEntityId"; | ||
import { ValueObj } from "./ValueObj"; | ||
import { WatchedList } from "./WatchedList"; | ||
export { Entity, Identifier, UniqueEntityId, ValueObj, WatchedList }; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.WatchedList = exports.ValueObj = exports.UniqueEntityId = exports.Identifier = exports.Entity = void 0; | ||
var Entity_1 = require("./Entity"); | ||
const Entity_1 = require("./Entity"); | ||
Object.defineProperty(exports, "Entity", { enumerable: true, get: function () { return Entity_1.Entity; } }); | ||
var Identifier_1 = require("./Identifier"); | ||
const Identifier_1 = require("./Identifier"); | ||
Object.defineProperty(exports, "Identifier", { enumerable: true, get: function () { return Identifier_1.Identifier; } }); | ||
var UniqueEntityId_1 = require("./UniqueEntityId"); | ||
const UniqueEntityId_1 = require("./UniqueEntityId"); | ||
Object.defineProperty(exports, "UniqueEntityId", { enumerable: true, get: function () { return UniqueEntityId_1.UniqueEntityId; } }); | ||
var ValueObj_1 = require("./ValueObj"); | ||
const ValueObj_1 = require("./ValueObj"); | ||
Object.defineProperty(exports, "ValueObj", { enumerable: true, get: function () { return ValueObj_1.ValueObj; } }); | ||
var WatchedList_1 = require("./WatchedList"); | ||
const WatchedList_1 = require("./WatchedList"); | ||
Object.defineProperty(exports, "WatchedList", { enumerable: true, get: function () { return WatchedList_1.WatchedList; } }); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvZG9tYWluL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLG1DQUFrQztBQUF6QixnR0FBQSxNQUFNLE9BQUE7QUFDZiwyQ0FBMEM7QUFBakMsd0dBQUEsVUFBVSxPQUFBO0FBQ25CLG1EQUFrRDtBQUF6QyxnSEFBQSxjQUFjLE9BQUE7QUFDdkIsdUNBQXNDO0FBQTdCLG9HQUFBLFFBQVEsT0FBQTtBQUNqQiw2Q0FBNEM7QUFBbkMsMEdBQUEsV0FBVyxPQUFBIn0= | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvZG9tYWluL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLHFDQUFrQztBQU16Qix1RkFOQSxlQUFNLE9BTUE7QUFMZiw2Q0FBMEM7QUFLekIsMkZBTFIsdUJBQVUsT0FLUTtBQUozQixxREFBa0Q7QUFJckIsK0ZBSnBCLCtCQUFjLE9BSW9CO0FBSDNDLHlDQUFzQztBQUdPLHlGQUhwQyxtQkFBUSxPQUdvQztBQUZyRCwrQ0FBNEM7QUFFVyw0RkFGOUMseUJBQVcsT0FFOEMifQ== |
@@ -1,5 +0,31 @@ | ||
export * as App from "./app"; | ||
export * as Domain from "./domain"; | ||
export * as Infra from "./infra"; | ||
export * as Interfaces from "./interfaces"; | ||
export * from "./util/shallowEqual"; | ||
import { UseCase } from "./@types/UseCase"; | ||
import { Entity, Identifier, UniqueEntityId, ValueObj, WatchedList } from "./domain"; | ||
import { BaseRepo } from "./infra/BaseRepo"; | ||
import { Mapper } from "./infra/Mapper"; | ||
import { BaseController } from "./interfaces/BaseController"; | ||
import { AppError } from "./logic/AppError"; | ||
import { Result } from "./logic/Result"; | ||
import { UseCaseError } from "./logic/UseCaseError"; | ||
import { shallowEqualArrays, shallowEqualObjects } from "./util/shallowEqual"; | ||
/** | ||
* Export `@types`, `logic`, `util` | ||
*/ | ||
export { UseCase, AppError, Result, UseCaseError, shallowEqualObjects, shallowEqualArrays, }; | ||
/** | ||
* Export `Domain`, `Infra`, `Interfaces` | ||
*/ | ||
declare const Domain: { | ||
Entity: typeof Entity; | ||
Identifier: typeof Identifier; | ||
UniqueEntityId: typeof UniqueEntityId; | ||
ValueObj: typeof ValueObj; | ||
WatchedList: typeof WatchedList; | ||
}; | ||
declare const Infra: { | ||
BaseRepo: typeof BaseRepo; | ||
Mapper: typeof Mapper; | ||
}; | ||
declare const Interfaces: { | ||
BaseController: typeof BaseController; | ||
}; | ||
export { Domain, Infra, Interfaces }; |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { | ||
Object.defineProperty(o, "default", { enumerable: true, value: v }); | ||
}) : function(o, v) { | ||
o["default"] = v; | ||
}); | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
return result; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Interfaces = exports.Infra = exports.Domain = exports.shallowEqualArrays = exports.shallowEqualObjects = exports.UseCaseError = exports.Result = exports.AppError = void 0; | ||
const domain_1 = require("./domain"); | ||
const BaseRepo_1 = require("./infra/BaseRepo"); | ||
const Mapper_1 = require("./infra/Mapper"); | ||
const BaseController_1 = require("./interfaces/BaseController"); | ||
const AppError_1 = require("./logic/AppError"); | ||
Object.defineProperty(exports, "AppError", { enumerable: true, get: function () { return AppError_1.AppError; } }); | ||
const Result_1 = require("./logic/Result"); | ||
Object.defineProperty(exports, "Result", { enumerable: true, get: function () { return Result_1.Result; } }); | ||
const UseCaseError_1 = require("./logic/UseCaseError"); | ||
Object.defineProperty(exports, "UseCaseError", { enumerable: true, get: function () { return UseCaseError_1.UseCaseError; } }); | ||
const shallowEqual_1 = require("./util/shallowEqual"); | ||
Object.defineProperty(exports, "shallowEqualArrays", { enumerable: true, get: function () { return shallowEqual_1.shallowEqualArrays; } }); | ||
Object.defineProperty(exports, "shallowEqualObjects", { enumerable: true, get: function () { return shallowEqual_1.shallowEqualObjects; } }); | ||
/** | ||
* Export `Domain`, `Infra`, `Interfaces` | ||
*/ | ||
const Domain = { | ||
Entity: domain_1.Entity, | ||
Identifier: domain_1.Identifier, | ||
UniqueEntityId: domain_1.UniqueEntityId, | ||
ValueObj: domain_1.ValueObj, | ||
WatchedList: domain_1.WatchedList, | ||
}; | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
exports.Domain = Domain; | ||
const Infra = { | ||
BaseRepo: BaseRepo_1.BaseRepo, | ||
Mapper: Mapper_1.Mapper, | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Interfaces = exports.Infra = exports.Domain = exports.App = void 0; | ||
exports.App = __importStar(require("./app")); | ||
exports.Domain = __importStar(require("./domain")); | ||
exports.Infra = __importStar(require("./infra")); | ||
exports.Interfaces = __importStar(require("./interfaces")); | ||
__exportStar(require("./util/shallowEqual"), exports); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLDZDQUE2QjtBQUM3QixtREFBbUM7QUFDbkMsaURBQWlDO0FBQ2pDLDJEQUEyQztBQUUzQyxzREFBb0MifQ== | ||
exports.Infra = Infra; | ||
const Interfaces = { | ||
BaseController: BaseController_1.BaseController, | ||
}; | ||
exports.Interfaces = Interfaces; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQ0EscUNBTWtCO0FBQ2xCLCtDQUE0QztBQUM1QywyQ0FBd0M7QUFDeEMsZ0VBQTZEO0FBQzdELCtDQUE0QztBQVUxQyx5RkFWTyxtQkFBUSxPQVVQO0FBVFYsMkNBQXdDO0FBVXRDLHVGQVZPLGVBQU0sT0FVUDtBQVRSLHVEQUFvRDtBQVVsRCw2RkFWTywyQkFBWSxPQVVQO0FBVGQsc0RBQThFO0FBVzVFLG1HQVhPLGlDQUFrQixPQVdQO0FBRGxCLG9HQVYyQixrQ0FBbUIsT0FVM0I7QUFJckI7O0dBRUc7QUFDSCxNQUFNLE1BQU0sR0FBRztJQUNiLE1BQU0sRUFBTixlQUFNO0lBQ04sVUFBVSxFQUFWLG1CQUFVO0lBQ1YsY0FBYyxFQUFkLHVCQUFjO0lBQ2QsUUFBUSxFQUFSLGlCQUFRO0lBQ1IsV0FBVyxFQUFYLG9CQUFXO0NBQ1osQ0FBQztBQVdPLHdCQUFNO0FBVGYsTUFBTSxLQUFLLEdBQUc7SUFDWixRQUFRLEVBQVIsbUJBQVE7SUFDUixNQUFNLEVBQU4sZUFBTTtDQUNQLENBQUM7QUFNZSxzQkFBSztBQUp0QixNQUFNLFVBQVUsR0FBRztJQUNqQixjQUFjLEVBQWQsK0JBQWM7Q0FDZixDQUFDO0FBRXNCLGdDQUFVIn0= |
{ | ||
"name": "@gimli01/ca-core", | ||
"version": "1.0.0-alpha.4", | ||
"version": "1.0.0-alpha.5", | ||
"description": "", | ||
@@ -9,2 +9,3 @@ "author": "Daniel Park <daniel.park@endevors.io>", | ||
"main": "lib/index.js", | ||
"types": "lib/index.d.ts", | ||
"directories": { | ||
@@ -48,3 +49,3 @@ "lib": "lib", | ||
}, | ||
"gitHead": "8519ed7a314c8ba5e30d2c99323d53c7455fb246" | ||
"gitHead": "4a47aeeee1f819ebb321e2e6d528362db211553e" | ||
} |
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
506
33169
33