@anthor/ddd
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -1,2 +0,2 @@ | ||
import { Newable } from '@anthorteam/toolbox'; | ||
import { Newable } from '@anthor/toolbox'; | ||
import { UniqueId } from '../../value-objects/unique-id'; | ||
@@ -3,0 +3,0 @@ import { Entity } from './entity'; |
@@ -5,3 +5,3 @@ "use strict"; | ||
const lodash_1 = require("lodash"); | ||
const toolbox_1 = require("@anthorteam/toolbox"); | ||
const toolbox_1 = require("@anthor/toolbox"); | ||
const validable_1 = require("../validable/validable"); | ||
@@ -8,0 +8,0 @@ const validation_error_1 = require("../../errors/validation.error"); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const toolbox_1 = require("@anthorteam/toolbox"); | ||
const toolbox_1 = require("@anthor/toolbox"); | ||
const presenter_1 = require("./presenter"); | ||
@@ -5,0 +5,0 @@ const validation_error_1 = require("../../errors/validation.error"); |
@@ -13,3 +13,3 @@ "use strict"; | ||
exports.InMemoryRepository = void 0; | ||
const toolbox_1 = require("@anthorteam/toolbox"); | ||
const toolbox_1 = require("@anthor/toolbox"); | ||
class InMemoryRepository { | ||
@@ -16,0 +16,0 @@ constructor() { |
@@ -12,3 +12,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const toolbox_1 = require("@anthorteam/toolbox"); | ||
const toolbox_1 = require("@anthor/toolbox"); | ||
const entity_1 = require("../entity"); | ||
@@ -15,0 +15,0 @@ const unique_id_test_factory_1 = require("../../value-objects/unique-id.test-factory"); |
@@ -1,4 +0,4 @@ | ||
import { CorrelationContext } from '@anthorteam/toolbox'; | ||
import { CorrelationContext } from '@anthor/toolbox'; | ||
export interface UseCase<I = any, O = any> { | ||
execute(input: I, context: CorrelationContext, ...args: any[]): Promise<O>; | ||
} |
@@ -1,2 +0,2 @@ | ||
import { Newable } from '@anthorteam/toolbox'; | ||
import { Newable } from '@anthor/toolbox'; | ||
import { ManyNotificationsArray, ManyNotificationsObject } from '../notification'; | ||
@@ -3,0 +3,0 @@ import { Validable } from './validable'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.ValueObject = void 0; | ||
const toolbox_1 = require("@anthorteam/toolbox"); | ||
const toolbox_1 = require("@anthor/toolbox"); | ||
const validable_1 = require("../validable"); | ||
@@ -6,0 +6,0 @@ class ValueObject extends validable_1.Validable { |
@@ -5,3 +5,3 @@ "use strict"; | ||
const lodash_1 = require("lodash"); | ||
const toolbox_1 = require("@anthorteam/toolbox"); | ||
const toolbox_1 = require("@anthor/toolbox"); | ||
class ValidationError extends Error { | ||
@@ -8,0 +8,0 @@ constructor(message, metadata) { |
@@ -1,2 +0,2 @@ | ||
import { Newable } from '@anthorteam/toolbox'; | ||
import { Newable } from '@anthor/toolbox'; | ||
import { IdInput } from '../base/types'; | ||
@@ -3,0 +3,0 @@ import { UniqueId } from './unique-id'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.executeUniqueIdTest = exports.StubUniqueId = exports.generateId = void 0; | ||
const toolbox_1 = require("@anthorteam/toolbox"); | ||
const toolbox_1 = require("@anthor/toolbox"); | ||
const validation_error_1 = require("../errors/validation.error"); | ||
@@ -6,0 +6,0 @@ const unique_id_1 = require("./unique-id"); |
{ | ||
"name": "@anthor/ddd", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "Domain Driven Design Framework", | ||
@@ -42,3 +42,3 @@ "author": "Danny França <danny@anthor.com>", | ||
"dependencies": { | ||
"@anthorteam/toolbox": "0.3.1", | ||
"@anthor/toolbox": "0.3.2", | ||
"bson-objectid": "^2.0.3", | ||
@@ -45,0 +45,0 @@ "lodash": "^4.17.21" |
@@ -10,3 +10,3 @@ # 🧑🚀 Anthor Domain Driven Design | ||
``` | ||
yarn add @anthorteam/ddd | ||
yarn add @anthor/ddd | ||
``` | ||
@@ -17,3 +17,3 @@ | ||
```typescript | ||
import { ValueObject } from '@anthorteam/ddd' | ||
import { ValueObject } from '@anthor/ddd' | ||
@@ -20,0 +20,0 @@ export class StubValueObject extends ValueObject<any> { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
143579
+ Added@anthor/toolbox@0.3.2
+ Added@anthor/toolbox@0.3.2(transitive)
+ Added@colors/colors@1.6.0(transitive)
+ Added@dabh/diagnostics@2.0.3(transitive)
+ Added@datalust/winston-seq@1.0.2(transitive)
+ Added@types/triple-beam@1.3.5(transitive)
+ Addedasync@3.2.6(transitive)
+ Addedchance@1.1.8(transitive)
+ Addedcolor@3.2.1(transitive)
+ Addedcolor-convert@1.9.3(transitive)
+ Addedcolor-name@1.1.3(transitive)
+ Addedcolor-string@1.9.1(transitive)
+ Addedcolorspace@1.1.4(transitive)
+ Addedenabled@2.0.0(transitive)
+ Addedfecha@4.2.3(transitive)
+ Addedfn.name@1.1.0(transitive)
+ Addedinherits@2.0.4(transitive)
+ Addedis-arrayish@0.3.2(transitive)
+ Addedis-stream@2.0.1(transitive)
+ Addedkuler@2.0.0(transitive)
+ Addedlogform@2.7.0(transitive)
+ Addedms@2.1.3(transitive)
+ Addedone-time@1.0.0(transitive)
+ Addedreadable-stream@3.6.2(transitive)
+ Addedsafe-buffer@5.2.1(transitive)
+ Addedsafe-stable-stringify@2.5.0(transitive)
+ Addedseq-logging@1.1.2(transitive)
+ Addedsimple-swizzle@0.2.2(transitive)
+ Addedstack-trace@0.0.10(transitive)
+ Addedstring_decoder@1.3.0(transitive)
+ Addedtext-hex@1.0.0(transitive)
+ Addedtriple-beam@1.4.1(transitive)
+ Addedutil-deprecate@1.0.2(transitive)
+ Addeduuid@8.3.2(transitive)
+ Addedwinston@3.8.1(transitive)
+ Addedwinston-transport@4.9.0(transitive)
- Removed@anthorteam/toolbox@0.3.1