ddd-node 2.0.3 → 3.0.0
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/dist/base/aggregate.d.ts +20 -12
- package/dist/base/aggregate.js +48 -36
- package/dist/base/command.d.ts +3 -2
- package/dist/base/command.js +2 -2
- package/dist/base/entity.d.ts +3 -2
- package/dist/base/entity.js +3 -3
- package/dist/base/event.d.ts +4 -3
- package/dist/base/event.js +2 -2
- package/dist/base/id.d.ts +7 -0
- package/dist/base/id.js +20 -0
- package/dist/base/index.d.ts +3 -2
- package/dist/base/index.js +3 -2
- package/dist/base/repository.d.ts +2 -0
- package/package.json +1 -1
package/dist/base/aggregate.d.ts
CHANGED
|
@@ -3,46 +3,54 @@ import { ClassStatic } from "../types/class-static";
|
|
|
3
3
|
import { AnyCommand } from "./command";
|
|
4
4
|
import { Entity, IEntityMetadata } from "./entity";
|
|
5
5
|
import { AnyEvent, EventClass, IEventAggregate, NewEventMetadataOptions } from "./event";
|
|
6
|
+
import { Id } from "./id";
|
|
6
7
|
import { PropsOf } from "./props-envelope";
|
|
7
8
|
export interface IAggregateMetadata extends IEntityMetadata {
|
|
8
9
|
readonly version: number;
|
|
9
10
|
}
|
|
10
11
|
export type NewAggregateMetadataOptions = Partial<Omit<IAggregateMetadata, "version">>;
|
|
11
12
|
export declare class Aggregate<P extends object> extends Entity<P> implements IAggregateMetadata {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
private pastEvents;
|
|
15
|
-
private events;
|
|
13
|
+
protected readonly _version: number;
|
|
14
|
+
protected events: AnyEvent[];
|
|
16
15
|
constructor(metadata: IAggregateMetadata, props?: P);
|
|
17
16
|
static agggregateType(): string;
|
|
18
17
|
static newAggregate<T extends AnyAggregate>(this: AggregateClass<T>, props?: PropsOf<T>, metadata?: NewAggregateMetadataOptions): T;
|
|
19
|
-
static loadAggregate<T extends AnyAggregate>(this: AggregateClass<T>, id:
|
|
18
|
+
static loadAggregate<T extends AnyAggregate>(this: AggregateClass<T>, id: Id, version: number, props: PropsOf<T>): T;
|
|
20
19
|
get version(): number;
|
|
21
20
|
aggregateType(): string;
|
|
22
|
-
getHandledCommands(): AnyCommand[];
|
|
23
|
-
getPastEvents(): AnyEvent[];
|
|
24
21
|
getEvents(): AnyEvent[];
|
|
25
22
|
hasEvents(): boolean;
|
|
23
|
+
nextVersion(): number;
|
|
24
|
+
nextEventAggregate(): IEventAggregate;
|
|
25
|
+
protected newEvent<E extends AnyEvent>(eventClass: EventClass<E>, props: PropsOf<E>, metadata?: NewEventMetadataOptions): E;
|
|
26
|
+
protected addEvent<E extends AnyEvent>(event: E): void;
|
|
27
|
+
}
|
|
28
|
+
export declare class AggregateES<P extends object> extends Aggregate<P> {
|
|
29
|
+
protected handledCommands: AnyCommand[];
|
|
30
|
+
protected pastEvents: AnyEvent[];
|
|
31
|
+
static loadAggregate<T extends AnyAggregateES>(this: AggregateESClass<T>, id: Id, version: number, props: PropsOf<T>, pastEvents?: AnyEvent[]): T;
|
|
32
|
+
getHandledCommands(): AnyCommand[];
|
|
33
|
+
getPastEvents(): AnyEvent[];
|
|
26
34
|
lastEvent(): AnyEvent | undefined;
|
|
27
35
|
lastEventVersion(): number;
|
|
28
36
|
nextEventVersion(): number;
|
|
29
37
|
nextEventAggregate(): IEventAggregate;
|
|
30
|
-
|
|
31
|
-
protected addEvent<E extends AnyEvent>(event: E): void;
|
|
32
|
-
protected addPastEvent<E extends AnyEvent>(event: E): void;
|
|
33
|
-
getEventApplier(eventType: string): AggregateEventApplier<AnyEvent> | null;
|
|
38
|
+
private addPastEvent;
|
|
34
39
|
private validateEventBeforeApply;
|
|
40
|
+
getEventApplier(eventType: string): AggregateEventApplier<AnyEvent> | null;
|
|
35
41
|
applyEvent<E extends AnyEvent>(event: E, fromHistory?: boolean): void;
|
|
36
42
|
applyEvents(events: AnyEvent[], fromHistory?: boolean): void;
|
|
37
43
|
getCommandHandler(commandType: string): AggregateCommandHandler<AnyCommand> | null;
|
|
38
44
|
processCommand<C extends AnyCommand>(command: C): AnyEvent[];
|
|
39
|
-
processCommands(commands: AnyCommand[]): Record<string, AnyEvent[]>;
|
|
40
45
|
}
|
|
41
46
|
export type AnyAggregate = Aggregate<any>;
|
|
47
|
+
export type AnyAggregateES = AggregateES<any>;
|
|
42
48
|
export type AggregateEventApplier<E extends AnyEvent> = (event: E) => void;
|
|
43
49
|
export type AggregateCommandHandler<C extends AnyCommand, E extends AnyEvent = AnyEvent> = (command: C) => E | E[];
|
|
44
50
|
export type AggregateConstructorParamsWithProps<P extends object> = ConstructorParameters<typeof Aggregate<P>>;
|
|
45
51
|
export type AggregateClassWithProps<P extends object> = Class<Aggregate<P>, AggregateConstructorParamsWithProps<P>> & ClassStatic<typeof Aggregate<P>>;
|
|
52
|
+
export type AggregateESClassWithProps<P extends object> = Class<AggregateES<P>, AggregateConstructorParamsWithProps<P>> & ClassStatic<typeof AggregateES<P>>;
|
|
46
53
|
export type AggregateConstructorParams<T extends AnyAggregate> = AggregateConstructorParamsWithProps<PropsOf<T>>;
|
|
47
54
|
export type AggregateClass<T extends AnyAggregate> = Class<T, AggregateConstructorParams<T>> & ClassStatic<typeof Aggregate<PropsOf<T>>>;
|
|
55
|
+
export type AggregateESClass<T extends AnyAggregateES> = Class<T, AggregateConstructorParams<T>> & ClassStatic<typeof AggregateES<PropsOf<T>>>;
|
|
48
56
|
export type AnyAggregateClass = AggregateClass<AnyAggregate>;
|
package/dist/base/aggregate.js
CHANGED
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Aggregate = void 0;
|
|
3
|
+
exports.AggregateES = exports.Aggregate = void 0;
|
|
4
4
|
const aggregate_1 = require("../metadata/aggregate");
|
|
5
|
-
const uuid_1 = require("uuid");
|
|
6
5
|
const to_array_1 = require("../utils/to-array");
|
|
7
6
|
const entity_1 = require("./entity");
|
|
8
7
|
const aggregate_error_1 = require("./errors/aggregate.error");
|
|
8
|
+
const id_1 = require("./id");
|
|
9
9
|
class Aggregate extends entity_1.Entity {
|
|
10
10
|
constructor(metadata, props) {
|
|
11
11
|
super({ id: metadata.id }, props);
|
|
12
|
-
this.handledCommands = [];
|
|
13
|
-
this.pastEvents = [];
|
|
14
12
|
this.events = [];
|
|
15
13
|
this._version = metadata.version;
|
|
16
14
|
}
|
|
@@ -18,12 +16,10 @@ class Aggregate extends entity_1.Entity {
|
|
|
18
16
|
return (0, aggregate_1.getAggregateType)(this.prototype);
|
|
19
17
|
}
|
|
20
18
|
static newAggregate(props, metadata) {
|
|
21
|
-
return new this(Object.assign({ id:
|
|
19
|
+
return new this(Object.assign({ id: id_1.Id.unique(), version: 0 }, metadata), props);
|
|
22
20
|
}
|
|
23
|
-
static loadAggregate(id, version, props
|
|
21
|
+
static loadAggregate(id, version, props) {
|
|
24
22
|
const aggregate = new this({ id, version }, props);
|
|
25
|
-
if (pastEvents)
|
|
26
|
-
aggregate.applyEvents(pastEvents, true);
|
|
27
23
|
return aggregate;
|
|
28
24
|
}
|
|
29
25
|
get version() {
|
|
@@ -33,18 +29,48 @@ class Aggregate extends entity_1.Entity {
|
|
|
33
29
|
const prototype = Object.getPrototypeOf(this);
|
|
34
30
|
return (0, aggregate_1.getAggregateType)(prototype);
|
|
35
31
|
}
|
|
36
|
-
getHandledCommands() {
|
|
37
|
-
return this.handledCommands;
|
|
38
|
-
}
|
|
39
|
-
getPastEvents() {
|
|
40
|
-
return this.pastEvents;
|
|
41
|
-
}
|
|
42
32
|
getEvents() {
|
|
43
33
|
return this.events;
|
|
44
34
|
}
|
|
45
35
|
hasEvents() {
|
|
46
36
|
return Boolean(this.events.length);
|
|
47
37
|
}
|
|
38
|
+
nextVersion() {
|
|
39
|
+
return this.version + 1;
|
|
40
|
+
}
|
|
41
|
+
nextEventAggregate() {
|
|
42
|
+
return {
|
|
43
|
+
type: this.aggregateType(),
|
|
44
|
+
id: this.id,
|
|
45
|
+
version: this.nextVersion(),
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
newEvent(eventClass, props, metadata) {
|
|
49
|
+
return eventClass.newEvent(this.nextEventAggregate(), props, metadata);
|
|
50
|
+
}
|
|
51
|
+
addEvent(event) {
|
|
52
|
+
this.events.push(event);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
exports.Aggregate = Aggregate;
|
|
56
|
+
class AggregateES extends Aggregate {
|
|
57
|
+
constructor() {
|
|
58
|
+
super(...arguments);
|
|
59
|
+
this.handledCommands = [];
|
|
60
|
+
this.pastEvents = [];
|
|
61
|
+
}
|
|
62
|
+
static loadAggregate(id, version, props, pastEvents) {
|
|
63
|
+
const aggregate = new this({ id, version }, props);
|
|
64
|
+
if (pastEvents)
|
|
65
|
+
aggregate.applyEvents(pastEvents, true);
|
|
66
|
+
return aggregate;
|
|
67
|
+
}
|
|
68
|
+
getHandledCommands() {
|
|
69
|
+
return this.handledCommands;
|
|
70
|
+
}
|
|
71
|
+
getPastEvents() {
|
|
72
|
+
return this.pastEvents;
|
|
73
|
+
}
|
|
48
74
|
lastEvent() {
|
|
49
75
|
return this.hasEvents() ? this.events.at(-1) : this.pastEvents.at(-1);
|
|
50
76
|
}
|
|
@@ -64,24 +90,11 @@ class Aggregate extends entity_1.Entity {
|
|
|
64
90
|
version: this.nextEventVersion(),
|
|
65
91
|
};
|
|
66
92
|
}
|
|
67
|
-
newEvent(eventClass, props, metadata) {
|
|
68
|
-
return eventClass.newEvent(this.nextEventAggregate(), props, metadata);
|
|
69
|
-
}
|
|
70
|
-
addEvent(event) {
|
|
71
|
-
this.events.push(event);
|
|
72
|
-
}
|
|
73
93
|
addPastEvent(event) {
|
|
74
94
|
if (this.hasEvents())
|
|
75
95
|
throw new aggregate_error_1.PastEventCannotBeAddedError();
|
|
76
96
|
this.pastEvents.push(event);
|
|
77
97
|
}
|
|
78
|
-
getEventApplier(eventType) {
|
|
79
|
-
const prototype = Object.getPrototypeOf(this);
|
|
80
|
-
const eventApplier = (0, aggregate_1.getAggregateEventApplier)(prototype, eventType);
|
|
81
|
-
if (eventApplier)
|
|
82
|
-
return eventApplier.bind(this);
|
|
83
|
-
return null;
|
|
84
|
-
}
|
|
85
98
|
validateEventBeforeApply(event) {
|
|
86
99
|
const { type, id, version } = event.aggregate;
|
|
87
100
|
if (type !== this.aggregateType())
|
|
@@ -91,6 +104,13 @@ class Aggregate extends entity_1.Entity {
|
|
|
91
104
|
if (version !== this.nextEventVersion())
|
|
92
105
|
throw new aggregate_error_1.InvalidEventAggregateVersionError();
|
|
93
106
|
}
|
|
107
|
+
getEventApplier(eventType) {
|
|
108
|
+
const prototype = Object.getPrototypeOf(this);
|
|
109
|
+
const eventApplier = (0, aggregate_1.getAggregateEventApplier)(prototype, eventType);
|
|
110
|
+
if (eventApplier)
|
|
111
|
+
return eventApplier.bind(this);
|
|
112
|
+
return null;
|
|
113
|
+
}
|
|
94
114
|
applyEvent(event, fromHistory = false) {
|
|
95
115
|
const eventType = event.eventType();
|
|
96
116
|
const applier = this.getEventApplier(eventType);
|
|
@@ -132,13 +152,5 @@ class Aggregate extends entity_1.Entity {
|
|
|
132
152
|
this.handledCommands.push(command);
|
|
133
153
|
return events;
|
|
134
154
|
}
|
|
135
|
-
processCommands(commands) {
|
|
136
|
-
const result = {};
|
|
137
|
-
commands.forEach((command) => {
|
|
138
|
-
const events = this.processCommand(command);
|
|
139
|
-
result[command.id] = events;
|
|
140
|
-
});
|
|
141
|
-
return result;
|
|
142
|
-
}
|
|
143
155
|
}
|
|
144
|
-
exports.
|
|
156
|
+
exports.AggregateES = AggregateES;
|
package/dist/base/command.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { Class } from "../types/class";
|
|
2
2
|
import { ClassStatic } from "../types/class-static";
|
|
3
|
+
import { Id } from "./id";
|
|
3
4
|
import { PropsEnvelope, PropsOf } from "./props-envelope";
|
|
4
5
|
export interface ICommandMetadata {
|
|
5
|
-
readonly id:
|
|
6
|
+
readonly id: Id;
|
|
6
7
|
readonly timestamp: number;
|
|
7
8
|
correlationId?: string;
|
|
8
9
|
causationId?: string;
|
|
@@ -16,7 +17,7 @@ export declare class Command<P extends object> extends PropsEnvelope<P> implemen
|
|
|
16
17
|
constructor(metadata: ICommandMetadata, props: P);
|
|
17
18
|
static commandType(): string;
|
|
18
19
|
static newCommand<T extends AnyCommand>(this: CommandClass<T>, props: PropsOf<T>, metadata?: NewCommandMetadataOptions): T;
|
|
19
|
-
get id():
|
|
20
|
+
get id(): Id;
|
|
20
21
|
get timestamp(): number;
|
|
21
22
|
get correlationId(): string | undefined;
|
|
22
23
|
get causationId(): string | undefined;
|
package/dist/base/command.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Command = void 0;
|
|
4
4
|
const command_1 = require("../metadata/command");
|
|
5
|
-
const
|
|
5
|
+
const id_1 = require("./id");
|
|
6
6
|
const props_envelope_1 = require("./props-envelope");
|
|
7
7
|
class Command extends props_envelope_1.PropsEnvelope {
|
|
8
8
|
constructor(metadata, props) {
|
|
@@ -16,7 +16,7 @@ class Command extends props_envelope_1.PropsEnvelope {
|
|
|
16
16
|
return (0, command_1.getCommandType)(this.prototype);
|
|
17
17
|
}
|
|
18
18
|
static newCommand(props, metadata) {
|
|
19
|
-
return new this(Object.assign({ id:
|
|
19
|
+
return new this(Object.assign({ id: id_1.Id.unique(), timestamp: Date.now() }, metadata), props);
|
|
20
20
|
}
|
|
21
21
|
get id() {
|
|
22
22
|
return this._id;
|
package/dist/base/entity.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { Class } from "../types/class";
|
|
2
2
|
import { ClassStatic } from "../types/class-static";
|
|
3
|
+
import { Id } from "./id";
|
|
3
4
|
import { PropsEnvelope, PropsOf } from "./props-envelope";
|
|
4
5
|
export interface IEntityMetadata {
|
|
5
|
-
readonly id:
|
|
6
|
+
readonly id: Id;
|
|
6
7
|
}
|
|
7
8
|
export type NewEntityMetadataOptions = Partial<IEntityMetadata>;
|
|
8
9
|
export declare class Entity<P extends object> extends PropsEnvelope<P> implements IEntityMetadata {
|
|
@@ -10,7 +11,7 @@ export declare class Entity<P extends object> extends PropsEnvelope<P> implement
|
|
|
10
11
|
constructor(metadata: IEntityMetadata, props?: P);
|
|
11
12
|
static entityType(): string;
|
|
12
13
|
static newEntity<T extends AnyEntity>(this: EntityClass<T>, props?: PropsOf<T>, metadata?: NewEntityMetadataOptions): T;
|
|
13
|
-
get id():
|
|
14
|
+
get id(): Id;
|
|
14
15
|
entityType(): string;
|
|
15
16
|
equals<E extends AnyEntity>(entity: E): boolean;
|
|
16
17
|
}
|
package/dist/base/entity.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Entity = void 0;
|
|
4
4
|
const entity_1 = require("../metadata/entity");
|
|
5
|
-
const
|
|
5
|
+
const id_1 = require("./id");
|
|
6
6
|
const props_envelope_1 = require("./props-envelope");
|
|
7
7
|
class Entity extends props_envelope_1.PropsEnvelope {
|
|
8
8
|
constructor(metadata, props) {
|
|
@@ -13,7 +13,7 @@ class Entity extends props_envelope_1.PropsEnvelope {
|
|
|
13
13
|
return (0, entity_1.getEntityType)(this.prototype);
|
|
14
14
|
}
|
|
15
15
|
static newEntity(props, metadata) {
|
|
16
|
-
return new this(Object.assign({ id:
|
|
16
|
+
return new this(Object.assign({ id: id_1.Id.unique() }, metadata), props);
|
|
17
17
|
}
|
|
18
18
|
get id() {
|
|
19
19
|
return this._id;
|
|
@@ -24,7 +24,7 @@ class Entity extends props_envelope_1.PropsEnvelope {
|
|
|
24
24
|
}
|
|
25
25
|
equals(entity) {
|
|
26
26
|
const equalsType = entity instanceof this.constructor;
|
|
27
|
-
const equalsId = entity.id
|
|
27
|
+
const equalsId = entity.id.equals(entity.id);
|
|
28
28
|
return equalsType && equalsId;
|
|
29
29
|
}
|
|
30
30
|
}
|
package/dist/base/event.d.ts
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { Class } from "../types/class";
|
|
2
2
|
import { ClassStatic } from "../types/class-static";
|
|
3
|
+
import { Id } from "./id";
|
|
3
4
|
import { PropsEnvelope, PropsOf } from "./props-envelope";
|
|
4
5
|
export interface IEventAggregate {
|
|
6
|
+
readonly id: Id;
|
|
5
7
|
readonly type: string;
|
|
6
|
-
readonly id: string;
|
|
7
8
|
readonly version: number;
|
|
8
9
|
}
|
|
9
10
|
export interface IEventMetadata {
|
|
10
|
-
readonly id:
|
|
11
|
+
readonly id: Id;
|
|
11
12
|
readonly timestamp: number;
|
|
12
13
|
readonly aggregate: IEventAggregate;
|
|
13
14
|
correlationId?: string;
|
|
@@ -23,7 +24,7 @@ export declare class Event<P extends object> extends PropsEnvelope<P> implements
|
|
|
23
24
|
constructor(metadata: IEventMetadata, props: P);
|
|
24
25
|
static eventType(): string;
|
|
25
26
|
static newEvent<T extends AnyEvent>(this: EventClass<T>, aggregate: IEventAggregate, props: PropsOf<T>, metadata?: NewEventMetadataOptions): T;
|
|
26
|
-
get id():
|
|
27
|
+
get id(): Id;
|
|
27
28
|
get timestamp(): number;
|
|
28
29
|
get aggregate(): IEventAggregate;
|
|
29
30
|
get correlationId(): string | undefined;
|
package/dist/base/event.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Event = void 0;
|
|
4
4
|
const event_1 = require("../metadata/event");
|
|
5
|
-
const
|
|
5
|
+
const id_1 = require("./id");
|
|
6
6
|
const props_envelope_1 = require("./props-envelope");
|
|
7
7
|
class Event extends props_envelope_1.PropsEnvelope {
|
|
8
8
|
constructor(metadata, props) {
|
|
@@ -17,7 +17,7 @@ class Event extends props_envelope_1.PropsEnvelope {
|
|
|
17
17
|
return (0, event_1.getEventType)(this.prototype);
|
|
18
18
|
}
|
|
19
19
|
static newEvent(aggregate, props, metadata) {
|
|
20
|
-
return new this(Object.assign({ id:
|
|
20
|
+
return new this(Object.assign({ id: id_1.Id.unique(), timestamp: Date.now(), aggregate }, metadata), props);
|
|
21
21
|
}
|
|
22
22
|
get id() {
|
|
23
23
|
return this._id;
|
package/dist/base/id.js
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Id = void 0;
|
|
4
|
+
const uuid_1 = require("uuid");
|
|
5
|
+
class Id {
|
|
6
|
+
constructor(value) {
|
|
7
|
+
this._value = value;
|
|
8
|
+
}
|
|
9
|
+
static unique() {
|
|
10
|
+
const value = (0, uuid_1.v4)();
|
|
11
|
+
return new Id(value);
|
|
12
|
+
}
|
|
13
|
+
get value() {
|
|
14
|
+
return this._value;
|
|
15
|
+
}
|
|
16
|
+
equals(id) {
|
|
17
|
+
return this._value === id._value;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
exports.Id = Id;
|
package/dist/base/index.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
export * from "./aggregate";
|
|
2
|
-
export * from "./entity";
|
|
3
2
|
export * from "./command";
|
|
3
|
+
export * from "./entity";
|
|
4
4
|
export * from "./event";
|
|
5
|
+
export * from "./id";
|
|
5
6
|
export * from "./props-envelope";
|
|
6
|
-
export * from "./value-object";
|
|
7
7
|
export * from "./repository";
|
|
8
|
+
export * from "./value-object";
|
package/dist/base/index.js
CHANGED
|
@@ -15,9 +15,10 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./aggregate"), exports);
|
|
18
|
-
__exportStar(require("./entity"), exports);
|
|
19
18
|
__exportStar(require("./command"), exports);
|
|
19
|
+
__exportStar(require("./entity"), exports);
|
|
20
20
|
__exportStar(require("./event"), exports);
|
|
21
|
+
__exportStar(require("./id"), exports);
|
|
21
22
|
__exportStar(require("./props-envelope"), exports);
|
|
22
|
-
__exportStar(require("./value-object"), exports);
|
|
23
23
|
__exportStar(require("./repository"), exports);
|
|
24
|
+
__exportStar(require("./value-object"), exports);
|