@imolko/ultra-ddd 1.0.36-beta → 1.0.37-beta
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-browser/aggregate-root/aggregate-with-props.mixin.d.ts +2 -2
- package/dist-browser/aggregate-root/aggregate-with-public-api.mixin.d.ts +38 -38
- package/dist-browser/aggregate-root/aggregate-with-static-members.mixin.d.ts +4 -4
- package/dist-browser/aggregate-root/use-examples/product-woo/aggregate.d.ts +19 -19
- package/dist-browser/entity/entity-with-props.mixin.d.ts +2 -2
- package/dist-browser/entity/entity-with-public-api.mixin.d.ts +22 -22
- package/dist-browser/entity/entity-with-static-members.mixin.d.ts +2 -2
- package/dist-browser/entity/use-examples/product-woo/entity.d.ts +11 -11
- package/dist-browser/event/use-samples/validated-artifact/artifacts/aggregate.d.ts +19 -19
- package/dist-browser/event/use-samples/validated-artifact/artifacts/entity.d.ts +11 -11
- package/dist-browser/test/execute-sequentially/artifacts/aggregate.d.ts +19 -19
- package/dist-browser/test/execute-sequentially/artifacts/entity.d.ts +11 -11
- package/dist-node/aggregate-root/aggregate-with-props.mixin.d.ts +2 -2
- package/dist-node/aggregate-root/aggregate-with-public-api.mixin.d.ts +38 -38
- package/dist-node/aggregate-root/aggregate-with-static-members.mixin.d.ts +4 -4
- package/dist-node/aggregate-root/use-examples/product-woo/aggregate.d.ts +19 -19
- package/dist-node/entity/entity-with-props.mixin.d.ts +2 -2
- package/dist-node/entity/entity-with-public-api.mixin.d.ts +22 -22
- package/dist-node/entity/entity-with-static-members.mixin.d.ts +2 -2
- package/dist-node/entity/use-examples/product-woo/entity.d.ts +11 -11
- package/dist-node/event/use-samples/validated-artifact/artifacts/aggregate.d.ts +19 -19
- package/dist-node/event/use-samples/validated-artifact/artifacts/entity.d.ts +11 -11
- package/dist-node/test/execute-sequentially/artifacts/aggregate.d.ts +19 -19
- package/dist-node/test/execute-sequentially/artifacts/entity.d.ts +11 -11
- package/package.json +6 -6
|
@@ -34,7 +34,7 @@ export declare const AggregateWithProps: <IdType extends EntityId, Props extends
|
|
|
34
34
|
getSnapshot(): Snapshot;
|
|
35
35
|
getPrimitive(): Primitive;
|
|
36
36
|
equals<Implemented extends import("./aggregate-root.class").AggregateRootBase<IdType, Props, Primitive, Snapshot>>(this: Implemented, object?: Implemented | undefined): boolean;
|
|
37
|
-
|
|
37
|
+
get id(): IdType;
|
|
38
38
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
39
39
|
}, ((abstract new (...args: any[]) => {
|
|
40
40
|
readonly _id: IdType;
|
|
@@ -42,7 +42,7 @@ export declare const AggregateWithProps: <IdType extends EntityId, Props extends
|
|
|
42
42
|
getSnapshot(): Snapshot;
|
|
43
43
|
getPrimitive(): Primitive;
|
|
44
44
|
equals<Implemented extends import("./aggregate-root.class").AggregateRootBase<IdType, Props, Primitive, Snapshot>>(this: Implemented, object?: Implemented | undefined): boolean;
|
|
45
|
-
|
|
45
|
+
get id(): IdType;
|
|
46
46
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
47
47
|
}) & {
|
|
48
48
|
conditions: {
|
|
@@ -16,10 +16,10 @@ export declare const AggregateWithPublicApi: <IdType extends EntityId, Props ext
|
|
|
16
16
|
getSnapshot(): Snapshot;
|
|
17
17
|
getPrimitive(): Primitive;
|
|
18
18
|
equals<Implemented extends import("./aggregate-root.class").AggregateRootBase<IdType, Props, Primitive, Snapshot>>(this: Implemented, object?: Implemented | undefined): boolean;
|
|
19
|
-
|
|
19
|
+
get id(): IdType;
|
|
20
20
|
}) & {
|
|
21
21
|
factoryUsed: boolean;
|
|
22
|
-
"__#
|
|
22
|
+
"__#private@#SECURITY_TOKEN": string;
|
|
23
23
|
rulesBuild<Implemented extends /*elided*/ any & {
|
|
24
24
|
new (...args: any[]): {
|
|
25
25
|
readonly _id: IdType;
|
|
@@ -27,7 +27,7 @@ export declare const AggregateWithPublicApi: <IdType extends EntityId, Props ext
|
|
|
27
27
|
getSnapshot(): Snapshot;
|
|
28
28
|
getPrimitive(): Primitive;
|
|
29
29
|
equals<Implemented_1 extends import("./aggregate-root.class").AggregateRootBase<IdType, Props, Primitive, Snapshot>>(this: Implemented_1, object?: Implemented_1 | undefined): boolean;
|
|
30
|
-
|
|
30
|
+
get id(): IdType;
|
|
31
31
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
32
32
|
} & Props;
|
|
33
33
|
prototype: {
|
|
@@ -36,7 +36,7 @@ export declare const AggregateWithPublicApi: <IdType extends EntityId, Props ext
|
|
|
36
36
|
getSnapshot(): Snapshot;
|
|
37
37
|
getPrimitive(): Primitive;
|
|
38
38
|
equals<Implemented_1 extends import("./aggregate-root.class").AggregateRootBase<IdType, Props, Primitive, Snapshot>>(this: Implemented_1, object?: Implemented_1 | undefined): boolean;
|
|
39
|
-
|
|
39
|
+
get id(): IdType;
|
|
40
40
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
41
41
|
} & Props;
|
|
42
42
|
} & ((abstract new (...args: any[]) => {
|
|
@@ -45,7 +45,7 @@ export declare const AggregateWithPublicApi: <IdType extends EntityId, Props ext
|
|
|
45
45
|
getSnapshot(): Snapshot;
|
|
46
46
|
getPrimitive(): Primitive;
|
|
47
47
|
equals<Implemented_1 extends import("./aggregate-root.class").AggregateRootBase<IdType, Props, Primitive, Snapshot>>(this: Implemented_1, object?: Implemented_1 | undefined): boolean;
|
|
48
|
-
|
|
48
|
+
get id(): IdType;
|
|
49
49
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
50
50
|
}) & {
|
|
51
51
|
conditions: {
|
|
@@ -66,7 +66,7 @@ export declare const AggregateWithPublicApi: <IdType extends EntityId, Props ext
|
|
|
66
66
|
getSnapshot(): Snapshot;
|
|
67
67
|
getPrimitive(): Primitive;
|
|
68
68
|
equals<Implemented_1 extends import("./aggregate-root.class").AggregateRootBase<IdType, Props, Primitive, Snapshot>>(this: Implemented_1, object?: Implemented_1 | undefined): boolean;
|
|
69
|
-
|
|
69
|
+
get id(): IdType;
|
|
70
70
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
71
71
|
} & Props;
|
|
72
72
|
prototype: {
|
|
@@ -75,7 +75,7 @@ export declare const AggregateWithPublicApi: <IdType extends EntityId, Props ext
|
|
|
75
75
|
getSnapshot(): Snapshot;
|
|
76
76
|
getPrimitive(): Primitive;
|
|
77
77
|
equals<Implemented_1 extends import("./aggregate-root.class").AggregateRootBase<IdType, Props, Primitive, Snapshot>>(this: Implemented_1, object?: Implemented_1 | undefined): boolean;
|
|
78
|
-
|
|
78
|
+
get id(): IdType;
|
|
79
79
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
80
80
|
} & Props;
|
|
81
81
|
} & ((abstract new (...args: any[]) => {
|
|
@@ -84,7 +84,7 @@ export declare const AggregateWithPublicApi: <IdType extends EntityId, Props ext
|
|
|
84
84
|
getSnapshot(): Snapshot;
|
|
85
85
|
getPrimitive(): Primitive;
|
|
86
86
|
equals<Implemented_1 extends import("./aggregate-root.class").AggregateRootBase<IdType, Props, Primitive, Snapshot>>(this: Implemented_1, object?: Implemented_1 | undefined): boolean;
|
|
87
|
-
|
|
87
|
+
get id(): IdType;
|
|
88
88
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
89
89
|
}) & {
|
|
90
90
|
conditions: {
|
|
@@ -126,7 +126,7 @@ export declare const AggregateWithPublicApi: <IdType extends EntityId, Props ext
|
|
|
126
126
|
getSnapshot(): Snapshot;
|
|
127
127
|
getPrimitive(): Primitive;
|
|
128
128
|
equals<Implemented_1 extends import("./aggregate-root.class").AggregateRootBase<IdType, Props, Primitive, Snapshot>>(this: Implemented_1, object?: Implemented_1 | undefined): boolean;
|
|
129
|
-
|
|
129
|
+
get id(): IdType;
|
|
130
130
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
131
131
|
} & Props;
|
|
132
132
|
prototype: {
|
|
@@ -135,7 +135,7 @@ export declare const AggregateWithPublicApi: <IdType extends EntityId, Props ext
|
|
|
135
135
|
getSnapshot(): Snapshot;
|
|
136
136
|
getPrimitive(): Primitive;
|
|
137
137
|
equals<Implemented_1 extends import("./aggregate-root.class").AggregateRootBase<IdType, Props, Primitive, Snapshot>>(this: Implemented_1, object?: Implemented_1 | undefined): boolean;
|
|
138
|
-
|
|
138
|
+
get id(): IdType;
|
|
139
139
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
140
140
|
} & Props;
|
|
141
141
|
} & ((abstract new (...args: any[]) => {
|
|
@@ -144,7 +144,7 @@ export declare const AggregateWithPublicApi: <IdType extends EntityId, Props ext
|
|
|
144
144
|
getSnapshot(): Snapshot;
|
|
145
145
|
getPrimitive(): Primitive;
|
|
146
146
|
equals<Implemented_1 extends import("./aggregate-root.class").AggregateRootBase<IdType, Props, Primitive, Snapshot>>(this: Implemented_1, object?: Implemented_1 | undefined): boolean;
|
|
147
|
-
|
|
147
|
+
get id(): IdType;
|
|
148
148
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
149
149
|
}) & {
|
|
150
150
|
conditions: {
|
|
@@ -165,7 +165,7 @@ export declare const AggregateWithPublicApi: <IdType extends EntityId, Props ext
|
|
|
165
165
|
getSnapshot(): Snapshot;
|
|
166
166
|
getPrimitive(): Primitive;
|
|
167
167
|
equals<Implemented_1 extends import("./aggregate-root.class").AggregateRootBase<IdType, Props, Primitive, Snapshot>>(this: Implemented_1, object?: Implemented_1 | undefined): boolean;
|
|
168
|
-
|
|
168
|
+
get id(): IdType;
|
|
169
169
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
170
170
|
} & Props;
|
|
171
171
|
prototype: {
|
|
@@ -174,7 +174,7 @@ export declare const AggregateWithPublicApi: <IdType extends EntityId, Props ext
|
|
|
174
174
|
getSnapshot(): Snapshot;
|
|
175
175
|
getPrimitive(): Primitive;
|
|
176
176
|
equals<Implemented_1 extends import("./aggregate-root.class").AggregateRootBase<IdType, Props, Primitive, Snapshot>>(this: Implemented_1, object?: Implemented_1 | undefined): boolean;
|
|
177
|
-
|
|
177
|
+
get id(): IdType;
|
|
178
178
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
179
179
|
} & Props;
|
|
180
180
|
} & ((abstract new (...args: any[]) => {
|
|
@@ -183,7 +183,7 @@ export declare const AggregateWithPublicApi: <IdType extends EntityId, Props ext
|
|
|
183
183
|
getSnapshot(): Snapshot;
|
|
184
184
|
getPrimitive(): Primitive;
|
|
185
185
|
equals<Implemented_1 extends import("./aggregate-root.class").AggregateRootBase<IdType, Props, Primitive, Snapshot>>(this: Implemented_1, object?: Implemented_1 | undefined): boolean;
|
|
186
|
-
|
|
186
|
+
get id(): IdType;
|
|
187
187
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
188
188
|
}) & {
|
|
189
189
|
conditions: {
|
|
@@ -206,7 +206,7 @@ export declare const AggregateWithPublicApi: <IdType extends EntityId, Props ext
|
|
|
206
206
|
getSnapshot(): Snapshot;
|
|
207
207
|
getPrimitive(): Primitive;
|
|
208
208
|
equals<Implemented extends import("./aggregate-root.class").AggregateRootBase<IdType, Props, Primitive, Snapshot>>(this: Implemented, object?: Implemented | undefined): boolean;
|
|
209
|
-
|
|
209
|
+
get id(): IdType;
|
|
210
210
|
};
|
|
211
211
|
rebuilder(props: Props): {
|
|
212
212
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
@@ -216,7 +216,7 @@ export declare const AggregateWithPublicApi: <IdType extends EntityId, Props ext
|
|
|
216
216
|
getSnapshot(): Snapshot;
|
|
217
217
|
getPrimitive(): Primitive;
|
|
218
218
|
equals<Implemented extends import("./aggregate-root.class").AggregateRootBase<IdType, Props, Primitive, Snapshot>>(this: Implemented, object?: Implemented | undefined): boolean;
|
|
219
|
-
|
|
219
|
+
get id(): IdType;
|
|
220
220
|
};
|
|
221
221
|
SECURITY_TOKEN: string;
|
|
222
222
|
conditions: {
|
|
@@ -232,7 +232,7 @@ export declare const AggregateWithPublicApi: <IdType extends EntityId, Props ext
|
|
|
232
232
|
getSnapshot(): Snapshot;
|
|
233
233
|
getPrimitive(): Primitive;
|
|
234
234
|
equals<Implemented extends import("./aggregate-root.class").AggregateRootBase<IdType, Props, Primitive, Snapshot>>(this: Implemented, object?: Implemented | undefined): boolean;
|
|
235
|
-
|
|
235
|
+
get id(): IdType;
|
|
236
236
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
237
237
|
} & Props;
|
|
238
238
|
prototype: {
|
|
@@ -241,7 +241,7 @@ export declare const AggregateWithPublicApi: <IdType extends EntityId, Props ext
|
|
|
241
241
|
getSnapshot(): Snapshot;
|
|
242
242
|
getPrimitive(): Primitive;
|
|
243
243
|
equals<Implemented extends import("./aggregate-root.class").AggregateRootBase<IdType, Props, Primitive, Snapshot>>(this: Implemented, object?: Implemented | undefined): boolean;
|
|
244
|
-
|
|
244
|
+
get id(): IdType;
|
|
245
245
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
246
246
|
} & Props;
|
|
247
247
|
} & ((abstract new (...args: any[]) => {
|
|
@@ -250,7 +250,7 @@ export declare const AggregateWithPublicApi: <IdType extends EntityId, Props ext
|
|
|
250
250
|
getSnapshot(): Snapshot;
|
|
251
251
|
getPrimitive(): Primitive;
|
|
252
252
|
equals<Implemented extends import("./aggregate-root.class").AggregateRootBase<IdType, Props, Primitive, Snapshot>>(this: Implemented, object?: Implemented | undefined): boolean;
|
|
253
|
-
|
|
253
|
+
get id(): IdType;
|
|
254
254
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
255
255
|
}) & {
|
|
256
256
|
conditions: {
|
|
@@ -279,10 +279,10 @@ export declare const AggregateWithProtection: <IdType extends EntityId, Props ex
|
|
|
279
279
|
getSnapshot(): Snapshot;
|
|
280
280
|
getPrimitive(): Primitive;
|
|
281
281
|
equals<Implemented extends import("./aggregate-root.class").AggregateRootBase<IdType, Props, Primitive, Snapshot>>(this: Implemented, object?: Implemented | undefined): boolean;
|
|
282
|
-
|
|
282
|
+
get id(): IdType;
|
|
283
283
|
}) & {
|
|
284
284
|
factoryUsed: boolean;
|
|
285
|
-
"__#
|
|
285
|
+
"__#private@#SECURITY_TOKEN": string;
|
|
286
286
|
rulesBuild<Implemented extends /*elided*/ any & {
|
|
287
287
|
new (...args: any[]): {
|
|
288
288
|
readonly _id: IdType;
|
|
@@ -290,7 +290,7 @@ export declare const AggregateWithProtection: <IdType extends EntityId, Props ex
|
|
|
290
290
|
getSnapshot(): Snapshot;
|
|
291
291
|
getPrimitive(): Primitive;
|
|
292
292
|
equals<Implemented_1 extends import("./aggregate-root.class").AggregateRootBase<IdType, Props, Primitive, Snapshot>>(this: Implemented_1, object?: Implemented_1 | undefined): boolean;
|
|
293
|
-
|
|
293
|
+
get id(): IdType;
|
|
294
294
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
295
295
|
} & Props;
|
|
296
296
|
prototype: {
|
|
@@ -299,7 +299,7 @@ export declare const AggregateWithProtection: <IdType extends EntityId, Props ex
|
|
|
299
299
|
getSnapshot(): Snapshot;
|
|
300
300
|
getPrimitive(): Primitive;
|
|
301
301
|
equals<Implemented_1 extends import("./aggregate-root.class").AggregateRootBase<IdType, Props, Primitive, Snapshot>>(this: Implemented_1, object?: Implemented_1 | undefined): boolean;
|
|
302
|
-
|
|
302
|
+
get id(): IdType;
|
|
303
303
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
304
304
|
} & Props;
|
|
305
305
|
} & ((abstract new (...args: any[]) => {
|
|
@@ -308,7 +308,7 @@ export declare const AggregateWithProtection: <IdType extends EntityId, Props ex
|
|
|
308
308
|
getSnapshot(): Snapshot;
|
|
309
309
|
getPrimitive(): Primitive;
|
|
310
310
|
equals<Implemented_1 extends import("./aggregate-root.class").AggregateRootBase<IdType, Props, Primitive, Snapshot>>(this: Implemented_1, object?: Implemented_1 | undefined): boolean;
|
|
311
|
-
|
|
311
|
+
get id(): IdType;
|
|
312
312
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
313
313
|
}) & {
|
|
314
314
|
conditions: {
|
|
@@ -329,7 +329,7 @@ export declare const AggregateWithProtection: <IdType extends EntityId, Props ex
|
|
|
329
329
|
getSnapshot(): Snapshot;
|
|
330
330
|
getPrimitive(): Primitive;
|
|
331
331
|
equals<Implemented_1 extends import("./aggregate-root.class").AggregateRootBase<IdType, Props, Primitive, Snapshot>>(this: Implemented_1, object?: Implemented_1 | undefined): boolean;
|
|
332
|
-
|
|
332
|
+
get id(): IdType;
|
|
333
333
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
334
334
|
} & Props;
|
|
335
335
|
prototype: {
|
|
@@ -338,7 +338,7 @@ export declare const AggregateWithProtection: <IdType extends EntityId, Props ex
|
|
|
338
338
|
getSnapshot(): Snapshot;
|
|
339
339
|
getPrimitive(): Primitive;
|
|
340
340
|
equals<Implemented_1 extends import("./aggregate-root.class").AggregateRootBase<IdType, Props, Primitive, Snapshot>>(this: Implemented_1, object?: Implemented_1 | undefined): boolean;
|
|
341
|
-
|
|
341
|
+
get id(): IdType;
|
|
342
342
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
343
343
|
} & Props;
|
|
344
344
|
} & ((abstract new (...args: any[]) => {
|
|
@@ -347,7 +347,7 @@ export declare const AggregateWithProtection: <IdType extends EntityId, Props ex
|
|
|
347
347
|
getSnapshot(): Snapshot;
|
|
348
348
|
getPrimitive(): Primitive;
|
|
349
349
|
equals<Implemented_1 extends import("./aggregate-root.class").AggregateRootBase<IdType, Props, Primitive, Snapshot>>(this: Implemented_1, object?: Implemented_1 | undefined): boolean;
|
|
350
|
-
|
|
350
|
+
get id(): IdType;
|
|
351
351
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
352
352
|
}) & {
|
|
353
353
|
conditions: {
|
|
@@ -389,7 +389,7 @@ export declare const AggregateWithProtection: <IdType extends EntityId, Props ex
|
|
|
389
389
|
getSnapshot(): Snapshot;
|
|
390
390
|
getPrimitive(): Primitive;
|
|
391
391
|
equals<Implemented_1 extends import("./aggregate-root.class").AggregateRootBase<IdType, Props, Primitive, Snapshot>>(this: Implemented_1, object?: Implemented_1 | undefined): boolean;
|
|
392
|
-
|
|
392
|
+
get id(): IdType;
|
|
393
393
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
394
394
|
} & Props;
|
|
395
395
|
prototype: {
|
|
@@ -398,7 +398,7 @@ export declare const AggregateWithProtection: <IdType extends EntityId, Props ex
|
|
|
398
398
|
getSnapshot(): Snapshot;
|
|
399
399
|
getPrimitive(): Primitive;
|
|
400
400
|
equals<Implemented_1 extends import("./aggregate-root.class").AggregateRootBase<IdType, Props, Primitive, Snapshot>>(this: Implemented_1, object?: Implemented_1 | undefined): boolean;
|
|
401
|
-
|
|
401
|
+
get id(): IdType;
|
|
402
402
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
403
403
|
} & Props;
|
|
404
404
|
} & ((abstract new (...args: any[]) => {
|
|
@@ -407,7 +407,7 @@ export declare const AggregateWithProtection: <IdType extends EntityId, Props ex
|
|
|
407
407
|
getSnapshot(): Snapshot;
|
|
408
408
|
getPrimitive(): Primitive;
|
|
409
409
|
equals<Implemented_1 extends import("./aggregate-root.class").AggregateRootBase<IdType, Props, Primitive, Snapshot>>(this: Implemented_1, object?: Implemented_1 | undefined): boolean;
|
|
410
|
-
|
|
410
|
+
get id(): IdType;
|
|
411
411
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
412
412
|
}) & {
|
|
413
413
|
conditions: {
|
|
@@ -428,7 +428,7 @@ export declare const AggregateWithProtection: <IdType extends EntityId, Props ex
|
|
|
428
428
|
getSnapshot(): Snapshot;
|
|
429
429
|
getPrimitive(): Primitive;
|
|
430
430
|
equals<Implemented_1 extends import("./aggregate-root.class").AggregateRootBase<IdType, Props, Primitive, Snapshot>>(this: Implemented_1, object?: Implemented_1 | undefined): boolean;
|
|
431
|
-
|
|
431
|
+
get id(): IdType;
|
|
432
432
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
433
433
|
} & Props;
|
|
434
434
|
prototype: {
|
|
@@ -437,7 +437,7 @@ export declare const AggregateWithProtection: <IdType extends EntityId, Props ex
|
|
|
437
437
|
getSnapshot(): Snapshot;
|
|
438
438
|
getPrimitive(): Primitive;
|
|
439
439
|
equals<Implemented_1 extends import("./aggregate-root.class").AggregateRootBase<IdType, Props, Primitive, Snapshot>>(this: Implemented_1, object?: Implemented_1 | undefined): boolean;
|
|
440
|
-
|
|
440
|
+
get id(): IdType;
|
|
441
441
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
442
442
|
} & Props;
|
|
443
443
|
} & ((abstract new (...args: any[]) => {
|
|
@@ -446,7 +446,7 @@ export declare const AggregateWithProtection: <IdType extends EntityId, Props ex
|
|
|
446
446
|
getSnapshot(): Snapshot;
|
|
447
447
|
getPrimitive(): Primitive;
|
|
448
448
|
equals<Implemented_1 extends import("./aggregate-root.class").AggregateRootBase<IdType, Props, Primitive, Snapshot>>(this: Implemented_1, object?: Implemented_1 | undefined): boolean;
|
|
449
|
-
|
|
449
|
+
get id(): IdType;
|
|
450
450
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
451
451
|
}) & {
|
|
452
452
|
conditions: {
|
|
@@ -469,7 +469,7 @@ export declare const AggregateWithProtection: <IdType extends EntityId, Props ex
|
|
|
469
469
|
getSnapshot(): Snapshot;
|
|
470
470
|
getPrimitive(): Primitive;
|
|
471
471
|
equals<Implemented extends import("./aggregate-root.class").AggregateRootBase<IdType, Props, Primitive, Snapshot>>(this: Implemented, object?: Implemented | undefined): boolean;
|
|
472
|
-
|
|
472
|
+
get id(): IdType;
|
|
473
473
|
};
|
|
474
474
|
rebuilder(props: Props): {
|
|
475
475
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
@@ -479,7 +479,7 @@ export declare const AggregateWithProtection: <IdType extends EntityId, Props ex
|
|
|
479
479
|
getSnapshot(): Snapshot;
|
|
480
480
|
getPrimitive(): Primitive;
|
|
481
481
|
equals<Implemented extends import("./aggregate-root.class").AggregateRootBase<IdType, Props, Primitive, Snapshot>>(this: Implemented, object?: Implemented | undefined): boolean;
|
|
482
|
-
|
|
482
|
+
get id(): IdType;
|
|
483
483
|
};
|
|
484
484
|
SECURITY_TOKEN: string;
|
|
485
485
|
conditions: {
|
|
@@ -495,7 +495,7 @@ export declare const AggregateWithProtection: <IdType extends EntityId, Props ex
|
|
|
495
495
|
getSnapshot(): Snapshot;
|
|
496
496
|
getPrimitive(): Primitive;
|
|
497
497
|
equals<Implemented extends import("./aggregate-root.class").AggregateRootBase<IdType, Props, Primitive, Snapshot>>(this: Implemented, object?: Implemented | undefined): boolean;
|
|
498
|
-
|
|
498
|
+
get id(): IdType;
|
|
499
499
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
500
500
|
} & Props;
|
|
501
501
|
prototype: {
|
|
@@ -504,7 +504,7 @@ export declare const AggregateWithProtection: <IdType extends EntityId, Props ex
|
|
|
504
504
|
getSnapshot(): Snapshot;
|
|
505
505
|
getPrimitive(): Primitive;
|
|
506
506
|
equals<Implemented extends import("./aggregate-root.class").AggregateRootBase<IdType, Props, Primitive, Snapshot>>(this: Implemented, object?: Implemented | undefined): boolean;
|
|
507
|
-
|
|
507
|
+
get id(): IdType;
|
|
508
508
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
509
509
|
} & Props;
|
|
510
510
|
} & ((abstract new (...args: any[]) => {
|
|
@@ -513,7 +513,7 @@ export declare const AggregateWithProtection: <IdType extends EntityId, Props ex
|
|
|
513
513
|
getSnapshot(): Snapshot;
|
|
514
514
|
getPrimitive(): Primitive;
|
|
515
515
|
equals<Implemented extends import("./aggregate-root.class").AggregateRootBase<IdType, Props, Primitive, Snapshot>>(this: Implemented, object?: Implemented | undefined): boolean;
|
|
516
|
-
|
|
516
|
+
get id(): IdType;
|
|
517
517
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
518
518
|
}) & {
|
|
519
519
|
conditions: {
|
|
@@ -37,7 +37,7 @@ export declare const AggregateWithStaticMembers: <IdType extends EntityId, Props
|
|
|
37
37
|
getSnapshot(): Snapshot;
|
|
38
38
|
getPrimitive(): Primitive;
|
|
39
39
|
equals<Implemented extends import("./aggregate-root.class").AggregateRootBase<IdType, Props, Primitive, Snapshot>>(this: Implemented, object?: Implemented | undefined): boolean;
|
|
40
|
-
|
|
40
|
+
get id(): IdType;
|
|
41
41
|
}) & {
|
|
42
42
|
/**
|
|
43
43
|
* Variable estático para simular el constructor privado,
|
|
@@ -55,7 +55,7 @@ export declare const AggregateWithStaticMembers: <IdType extends EntityId, Props
|
|
|
55
55
|
* En la clase final dejamos SECURITY_TOKEN como propiedad estática
|
|
56
56
|
* pública pero cambiamos el valor mostrado
|
|
57
57
|
*/
|
|
58
|
-
"__#
|
|
58
|
+
"__#private@#SECURITY_TOKEN": string;
|
|
59
59
|
/**
|
|
60
60
|
* Reglas para construir y reconstruir el agregado
|
|
61
61
|
* Se utiliza las conditions en la definition
|
|
@@ -132,7 +132,7 @@ export declare const AggregateWithStaticMembers: <IdType extends EntityId, Props
|
|
|
132
132
|
getSnapshot(): Snapshot;
|
|
133
133
|
getPrimitive(): Primitive;
|
|
134
134
|
equals<Implemented extends import("./aggregate-root.class").AggregateRootBase<IdType, Props, Primitive, Snapshot>>(this: Implemented, object?: Implemented | undefined): boolean;
|
|
135
|
-
|
|
135
|
+
get id(): IdType;
|
|
136
136
|
};
|
|
137
137
|
rebuilder(props: Props): {
|
|
138
138
|
/**
|
|
@@ -155,7 +155,7 @@ export declare const AggregateWithStaticMembers: <IdType extends EntityId, Props
|
|
|
155
155
|
getSnapshot(): Snapshot;
|
|
156
156
|
getPrimitive(): Primitive;
|
|
157
157
|
equals<Implemented extends import("./aggregate-root.class").AggregateRootBase<IdType, Props, Primitive, Snapshot>>(this: Implemented, object?: Implemented | undefined): boolean;
|
|
158
|
-
|
|
158
|
+
get id(): IdType;
|
|
159
159
|
};
|
|
160
160
|
SECURITY_TOKEN: string;
|
|
161
161
|
conditions: {
|
|
@@ -12,10 +12,10 @@ declare const ProductWooAgg_base: ((abstract new (...args: any[]) => {
|
|
|
12
12
|
getSnapshot(): Snapshot;
|
|
13
13
|
getPrimitive(): Primitive;
|
|
14
14
|
equals<Implemented extends import("../..").AggregateRootBase<Numericid, Props, Primitive, Snapshot>>(this: Implemented, object?: Implemented | undefined): boolean;
|
|
15
|
-
|
|
15
|
+
get id(): Numericid;
|
|
16
16
|
}) & {
|
|
17
17
|
factoryUsed: boolean;
|
|
18
|
-
"__#
|
|
18
|
+
"__#private@#SECURITY_TOKEN": string;
|
|
19
19
|
rulesBuild<Implemented extends /*elided*/ any & {
|
|
20
20
|
new (...args: any[]): {
|
|
21
21
|
readonly _id: Numericid;
|
|
@@ -23,7 +23,7 @@ declare const ProductWooAgg_base: ((abstract new (...args: any[]) => {
|
|
|
23
23
|
getSnapshot(): Snapshot;
|
|
24
24
|
getPrimitive(): Primitive;
|
|
25
25
|
equals<Implemented_1 extends import("../..").AggregateRootBase<Numericid, Props, Primitive, Snapshot>>(this: Implemented_1, object?: Implemented_1 | undefined): boolean;
|
|
26
|
-
|
|
26
|
+
get id(): Numericid;
|
|
27
27
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
28
28
|
} & Props;
|
|
29
29
|
prototype: {
|
|
@@ -32,7 +32,7 @@ declare const ProductWooAgg_base: ((abstract new (...args: any[]) => {
|
|
|
32
32
|
getSnapshot(): Snapshot;
|
|
33
33
|
getPrimitive(): Primitive;
|
|
34
34
|
equals<Implemented_1 extends import("../..").AggregateRootBase<Numericid, Props, Primitive, Snapshot>>(this: Implemented_1, object?: Implemented_1 | undefined): boolean;
|
|
35
|
-
|
|
35
|
+
get id(): Numericid;
|
|
36
36
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
37
37
|
} & Props;
|
|
38
38
|
} & ((abstract new (...args: any[]) => {
|
|
@@ -41,7 +41,7 @@ declare const ProductWooAgg_base: ((abstract new (...args: any[]) => {
|
|
|
41
41
|
getSnapshot(): Snapshot;
|
|
42
42
|
getPrimitive(): Primitive;
|
|
43
43
|
equals<Implemented_1 extends import("../..").AggregateRootBase<Numericid, Props, Primitive, Snapshot>>(this: Implemented_1, object?: Implemented_1 | undefined): boolean;
|
|
44
|
-
|
|
44
|
+
get id(): Numericid;
|
|
45
45
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
46
46
|
}) & {
|
|
47
47
|
conditions: {
|
|
@@ -70,7 +70,7 @@ declare const ProductWooAgg_base: ((abstract new (...args: any[]) => {
|
|
|
70
70
|
getSnapshot(): Snapshot;
|
|
71
71
|
getPrimitive(): Primitive;
|
|
72
72
|
equals<Implemented_1 extends import("../..").AggregateRootBase<Numericid, Props, Primitive, Snapshot>>(this: Implemented_1, object?: Implemented_1 | undefined): boolean;
|
|
73
|
-
|
|
73
|
+
get id(): Numericid;
|
|
74
74
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
75
75
|
} & Props;
|
|
76
76
|
prototype: {
|
|
@@ -79,7 +79,7 @@ declare const ProductWooAgg_base: ((abstract new (...args: any[]) => {
|
|
|
79
79
|
getSnapshot(): Snapshot;
|
|
80
80
|
getPrimitive(): Primitive;
|
|
81
81
|
equals<Implemented_1 extends import("../..").AggregateRootBase<Numericid, Props, Primitive, Snapshot>>(this: Implemented_1, object?: Implemented_1 | undefined): boolean;
|
|
82
|
-
|
|
82
|
+
get id(): Numericid;
|
|
83
83
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
84
84
|
} & Props;
|
|
85
85
|
} & ((abstract new (...args: any[]) => {
|
|
@@ -88,7 +88,7 @@ declare const ProductWooAgg_base: ((abstract new (...args: any[]) => {
|
|
|
88
88
|
getSnapshot(): Snapshot;
|
|
89
89
|
getPrimitive(): Primitive;
|
|
90
90
|
equals<Implemented_1 extends import("../..").AggregateRootBase<Numericid, Props, Primitive, Snapshot>>(this: Implemented_1, object?: Implemented_1 | undefined): boolean;
|
|
91
|
-
|
|
91
|
+
get id(): Numericid;
|
|
92
92
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
93
93
|
}) & {
|
|
94
94
|
conditions: {
|
|
@@ -134,7 +134,7 @@ declare const ProductWooAgg_base: ((abstract new (...args: any[]) => {
|
|
|
134
134
|
getSnapshot(): Snapshot;
|
|
135
135
|
getPrimitive(): Primitive;
|
|
136
136
|
equals<Implemented_1 extends import("../..").AggregateRootBase<Numericid, Props, Primitive, Snapshot>>(this: Implemented_1, object?: Implemented_1 | undefined): boolean;
|
|
137
|
-
|
|
137
|
+
get id(): Numericid;
|
|
138
138
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
139
139
|
} & Props;
|
|
140
140
|
prototype: {
|
|
@@ -143,7 +143,7 @@ declare const ProductWooAgg_base: ((abstract new (...args: any[]) => {
|
|
|
143
143
|
getSnapshot(): Snapshot;
|
|
144
144
|
getPrimitive(): Primitive;
|
|
145
145
|
equals<Implemented_1 extends import("../..").AggregateRootBase<Numericid, Props, Primitive, Snapshot>>(this: Implemented_1, object?: Implemented_1 | undefined): boolean;
|
|
146
|
-
|
|
146
|
+
get id(): Numericid;
|
|
147
147
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
148
148
|
} & Props;
|
|
149
149
|
} & ((abstract new (...args: any[]) => {
|
|
@@ -152,7 +152,7 @@ declare const ProductWooAgg_base: ((abstract new (...args: any[]) => {
|
|
|
152
152
|
getSnapshot(): Snapshot;
|
|
153
153
|
getPrimitive(): Primitive;
|
|
154
154
|
equals<Implemented_1 extends import("../..").AggregateRootBase<Numericid, Props, Primitive, Snapshot>>(this: Implemented_1, object?: Implemented_1 | undefined): boolean;
|
|
155
|
-
|
|
155
|
+
get id(): Numericid;
|
|
156
156
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
157
157
|
}) & {
|
|
158
158
|
conditions: {
|
|
@@ -181,7 +181,7 @@ declare const ProductWooAgg_base: ((abstract new (...args: any[]) => {
|
|
|
181
181
|
getSnapshot(): Snapshot;
|
|
182
182
|
getPrimitive(): Primitive;
|
|
183
183
|
equals<Implemented_1 extends import("../..").AggregateRootBase<Numericid, Props, Primitive, Snapshot>>(this: Implemented_1, object?: Implemented_1 | undefined): boolean;
|
|
184
|
-
|
|
184
|
+
get id(): Numericid;
|
|
185
185
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
186
186
|
} & Props;
|
|
187
187
|
prototype: {
|
|
@@ -190,7 +190,7 @@ declare const ProductWooAgg_base: ((abstract new (...args: any[]) => {
|
|
|
190
190
|
getSnapshot(): Snapshot;
|
|
191
191
|
getPrimitive(): Primitive;
|
|
192
192
|
equals<Implemented_1 extends import("../..").AggregateRootBase<Numericid, Props, Primitive, Snapshot>>(this: Implemented_1, object?: Implemented_1 | undefined): boolean;
|
|
193
|
-
|
|
193
|
+
get id(): Numericid;
|
|
194
194
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
195
195
|
} & Props;
|
|
196
196
|
} & ((abstract new (...args: any[]) => {
|
|
@@ -199,7 +199,7 @@ declare const ProductWooAgg_base: ((abstract new (...args: any[]) => {
|
|
|
199
199
|
getSnapshot(): Snapshot;
|
|
200
200
|
getPrimitive(): Primitive;
|
|
201
201
|
equals<Implemented_1 extends import("../..").AggregateRootBase<Numericid, Props, Primitive, Snapshot>>(this: Implemented_1, object?: Implemented_1 | undefined): boolean;
|
|
202
|
-
|
|
202
|
+
get id(): Numericid;
|
|
203
203
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
204
204
|
}) & {
|
|
205
205
|
conditions: {
|
|
@@ -226,7 +226,7 @@ declare const ProductWooAgg_base: ((abstract new (...args: any[]) => {
|
|
|
226
226
|
getSnapshot(): Snapshot;
|
|
227
227
|
getPrimitive(): Primitive;
|
|
228
228
|
equals<Implemented extends import("../..").AggregateRootBase<Numericid, Props, Primitive, Snapshot>>(this: Implemented, object?: Implemented | undefined): boolean;
|
|
229
|
-
|
|
229
|
+
get id(): Numericid;
|
|
230
230
|
};
|
|
231
231
|
rebuilder(props: Props): {
|
|
232
232
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
@@ -236,7 +236,7 @@ declare const ProductWooAgg_base: ((abstract new (...args: any[]) => {
|
|
|
236
236
|
getSnapshot(): Snapshot;
|
|
237
237
|
getPrimitive(): Primitive;
|
|
238
238
|
equals<Implemented extends import("../..").AggregateRootBase<Numericid, Props, Primitive, Snapshot>>(this: Implemented, object?: Implemented | undefined): boolean;
|
|
239
|
-
|
|
239
|
+
get id(): Numericid;
|
|
240
240
|
};
|
|
241
241
|
SECURITY_TOKEN: string;
|
|
242
242
|
conditions: {
|
|
@@ -256,7 +256,7 @@ declare const ProductWooAgg_base: ((abstract new (...args: any[]) => {
|
|
|
256
256
|
getSnapshot(): Snapshot;
|
|
257
257
|
getPrimitive(): Primitive;
|
|
258
258
|
equals<Implemented extends import("../..").AggregateRootBase<Numericid, Props, Primitive, Snapshot>>(this: Implemented, object?: Implemented | undefined): boolean;
|
|
259
|
-
|
|
259
|
+
get id(): Numericid;
|
|
260
260
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
261
261
|
} & Props;
|
|
262
262
|
prototype: {
|
|
@@ -265,7 +265,7 @@ declare const ProductWooAgg_base: ((abstract new (...args: any[]) => {
|
|
|
265
265
|
getSnapshot(): Snapshot;
|
|
266
266
|
getPrimitive(): Primitive;
|
|
267
267
|
equals<Implemented extends import("../..").AggregateRootBase<Numericid, Props, Primitive, Snapshot>>(this: Implemented, object?: Implemented | undefined): boolean;
|
|
268
|
-
|
|
268
|
+
get id(): Numericid;
|
|
269
269
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
270
270
|
} & Props;
|
|
271
271
|
} & ((abstract new (...args: any[]) => {
|
|
@@ -274,7 +274,7 @@ declare const ProductWooAgg_base: ((abstract new (...args: any[]) => {
|
|
|
274
274
|
getSnapshot(): Snapshot;
|
|
275
275
|
getPrimitive(): Primitive;
|
|
276
276
|
equals<Implemented extends import("../..").AggregateRootBase<Numericid, Props, Primitive, Snapshot>>(this: Implemented, object?: Implemented | undefined): boolean;
|
|
277
|
-
|
|
277
|
+
get id(): Numericid;
|
|
278
278
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
279
279
|
}) & {
|
|
280
280
|
conditions: {
|
|
@@ -20,7 +20,7 @@ export declare const EntityWithProps: <IdType extends EntityId, Props extends En
|
|
|
20
20
|
getPrimitive(): Primitive;
|
|
21
21
|
getPayload(): Payload;
|
|
22
22
|
equals<Implemented extends import("./entity-base").EntityBase<IdType, Props, Primitive, Payload>>(this: Implemented, object?: Implemented | undefined): boolean;
|
|
23
|
-
|
|
23
|
+
get id(): IdType;
|
|
24
24
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
25
25
|
}, ((abstract new (...args: any[]) => {
|
|
26
26
|
readonly _id: IdType;
|
|
@@ -28,7 +28,7 @@ export declare const EntityWithProps: <IdType extends EntityId, Props extends En
|
|
|
28
28
|
getPrimitive(): Primitive;
|
|
29
29
|
getPayload(): Payload;
|
|
30
30
|
equals<Implemented extends import("./entity-base").EntityBase<IdType, Props, Primitive, Payload>>(this: Implemented, object?: Implemented | undefined): boolean;
|
|
31
|
-
|
|
31
|
+
get id(): IdType;
|
|
32
32
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
33
33
|
}) & {
|
|
34
34
|
conditions: import("zod").ZodType<Props, import("zod").ZodTypeDef, Payload>;
|