@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.
Files changed (25) hide show
  1. package/dist-browser/aggregate-root/aggregate-with-props.mixin.d.ts +2 -2
  2. package/dist-browser/aggregate-root/aggregate-with-public-api.mixin.d.ts +38 -38
  3. package/dist-browser/aggregate-root/aggregate-with-static-members.mixin.d.ts +4 -4
  4. package/dist-browser/aggregate-root/use-examples/product-woo/aggregate.d.ts +19 -19
  5. package/dist-browser/entity/entity-with-props.mixin.d.ts +2 -2
  6. package/dist-browser/entity/entity-with-public-api.mixin.d.ts +22 -22
  7. package/dist-browser/entity/entity-with-static-members.mixin.d.ts +2 -2
  8. package/dist-browser/entity/use-examples/product-woo/entity.d.ts +11 -11
  9. package/dist-browser/event/use-samples/validated-artifact/artifacts/aggregate.d.ts +19 -19
  10. package/dist-browser/event/use-samples/validated-artifact/artifacts/entity.d.ts +11 -11
  11. package/dist-browser/test/execute-sequentially/artifacts/aggregate.d.ts +19 -19
  12. package/dist-browser/test/execute-sequentially/artifacts/entity.d.ts +11 -11
  13. package/dist-node/aggregate-root/aggregate-with-props.mixin.d.ts +2 -2
  14. package/dist-node/aggregate-root/aggregate-with-public-api.mixin.d.ts +38 -38
  15. package/dist-node/aggregate-root/aggregate-with-static-members.mixin.d.ts +4 -4
  16. package/dist-node/aggregate-root/use-examples/product-woo/aggregate.d.ts +19 -19
  17. package/dist-node/entity/entity-with-props.mixin.d.ts +2 -2
  18. package/dist-node/entity/entity-with-public-api.mixin.d.ts +22 -22
  19. package/dist-node/entity/entity-with-static-members.mixin.d.ts +2 -2
  20. package/dist-node/entity/use-examples/product-woo/entity.d.ts +11 -11
  21. package/dist-node/event/use-samples/validated-artifact/artifacts/aggregate.d.ts +19 -19
  22. package/dist-node/event/use-samples/validated-artifact/artifacts/entity.d.ts +11 -11
  23. package/dist-node/test/execute-sequentially/artifacts/aggregate.d.ts +19 -19
  24. package/dist-node/test/execute-sequentially/artifacts/entity.d.ts +11 -11
  25. package/package.json +6 -6
@@ -98,10 +98,10 @@ declare const User_base: ((abstract new (...args: any[]) => {
98
98
  getSnapshot(): Snapshot;
99
99
  getPrimitive(): Primitive;
100
100
  equals<Implemented extends AggregateRootBase<Uuid, Props, Primitive, Snapshot>>(this: Implemented, object?: Implemented | undefined): boolean;
101
- readonly id: Uuid;
101
+ get id(): Uuid;
102
102
  }) & {
103
103
  factoryUsed: boolean;
104
- "__#1@#SECURITY_TOKEN": string;
104
+ "__#private@#SECURITY_TOKEN": string;
105
105
  rulesBuild<Implemented extends /*elided*/ any & {
106
106
  new (...args: any[]): {
107
107
  readonly _id: Uuid;
@@ -109,7 +109,7 @@ declare const User_base: ((abstract new (...args: any[]) => {
109
109
  getSnapshot(): Snapshot;
110
110
  getPrimitive(): Primitive;
111
111
  equals<Implemented_1 extends AggregateRootBase<Uuid, Props, Primitive, Snapshot>>(this: Implemented_1, object?: Implemented_1 | undefined): boolean;
112
- readonly id: Uuid;
112
+ get id(): Uuid;
113
113
  clone(changes: Partial<Props>): /*elided*/ any;
114
114
  } & Props;
115
115
  prototype: {
@@ -118,7 +118,7 @@ declare const User_base: ((abstract new (...args: any[]) => {
118
118
  getSnapshot(): Snapshot;
119
119
  getPrimitive(): Primitive;
120
120
  equals<Implemented_1 extends AggregateRootBase<Uuid, Props, Primitive, Snapshot>>(this: Implemented_1, object?: Implemented_1 | undefined): boolean;
121
- readonly id: Uuid;
121
+ get id(): Uuid;
122
122
  clone(changes: Partial<Props>): /*elided*/ any;
123
123
  } & Props;
124
124
  } & ((abstract new (...args: any[]) => {
@@ -127,7 +127,7 @@ declare const User_base: ((abstract new (...args: any[]) => {
127
127
  getSnapshot(): Snapshot;
128
128
  getPrimitive(): Primitive;
129
129
  equals<Implemented_1 extends AggregateRootBase<Uuid, Props, Primitive, Snapshot>>(this: Implemented_1, object?: Implemented_1 | undefined): boolean;
130
- readonly id: Uuid;
130
+ get id(): Uuid;
131
131
  clone(changes: Partial<Props>): /*elided*/ any;
132
132
  }) & {
133
133
  conditions: {
@@ -156,7 +156,7 @@ declare const User_base: ((abstract new (...args: any[]) => {
156
156
  getSnapshot(): Snapshot;
157
157
  getPrimitive(): Primitive;
158
158
  equals<Implemented_1 extends AggregateRootBase<Uuid, Props, Primitive, Snapshot>>(this: Implemented_1, object?: Implemented_1 | undefined): boolean;
159
- readonly id: Uuid;
159
+ get id(): Uuid;
160
160
  clone(changes: Partial<Props>): /*elided*/ any;
161
161
  } & Props;
162
162
  prototype: {
@@ -165,7 +165,7 @@ declare const User_base: ((abstract new (...args: any[]) => {
165
165
  getSnapshot(): Snapshot;
166
166
  getPrimitive(): Primitive;
167
167
  equals<Implemented_1 extends AggregateRootBase<Uuid, Props, Primitive, Snapshot>>(this: Implemented_1, object?: Implemented_1 | undefined): boolean;
168
- readonly id: Uuid;
168
+ get id(): Uuid;
169
169
  clone(changes: Partial<Props>): /*elided*/ any;
170
170
  } & Props;
171
171
  } & ((abstract new (...args: any[]) => {
@@ -174,7 +174,7 @@ declare const User_base: ((abstract new (...args: any[]) => {
174
174
  getSnapshot(): Snapshot;
175
175
  getPrimitive(): Primitive;
176
176
  equals<Implemented_1 extends AggregateRootBase<Uuid, Props, Primitive, Snapshot>>(this: Implemented_1, object?: Implemented_1 | undefined): boolean;
177
- readonly id: Uuid;
177
+ get id(): Uuid;
178
178
  clone(changes: Partial<Props>): /*elided*/ any;
179
179
  }) & {
180
180
  conditions: {
@@ -220,7 +220,7 @@ declare const User_base: ((abstract new (...args: any[]) => {
220
220
  getSnapshot(): Snapshot;
221
221
  getPrimitive(): Primitive;
222
222
  equals<Implemented_1 extends AggregateRootBase<Uuid, Props, Primitive, Snapshot>>(this: Implemented_1, object?: Implemented_1 | undefined): boolean;
223
- readonly id: Uuid;
223
+ get id(): Uuid;
224
224
  clone(changes: Partial<Props>): /*elided*/ any;
225
225
  } & Props;
226
226
  prototype: {
@@ -229,7 +229,7 @@ declare const User_base: ((abstract new (...args: any[]) => {
229
229
  getSnapshot(): Snapshot;
230
230
  getPrimitive(): Primitive;
231
231
  equals<Implemented_1 extends AggregateRootBase<Uuid, Props, Primitive, Snapshot>>(this: Implemented_1, object?: Implemented_1 | undefined): boolean;
232
- readonly id: Uuid;
232
+ get id(): Uuid;
233
233
  clone(changes: Partial<Props>): /*elided*/ any;
234
234
  } & Props;
235
235
  } & ((abstract new (...args: any[]) => {
@@ -238,7 +238,7 @@ declare const User_base: ((abstract new (...args: any[]) => {
238
238
  getSnapshot(): Snapshot;
239
239
  getPrimitive(): Primitive;
240
240
  equals<Implemented_1 extends AggregateRootBase<Uuid, Props, Primitive, Snapshot>>(this: Implemented_1, object?: Implemented_1 | undefined): boolean;
241
- readonly id: Uuid;
241
+ get id(): Uuid;
242
242
  clone(changes: Partial<Props>): /*elided*/ any;
243
243
  }) & {
244
244
  conditions: {
@@ -267,7 +267,7 @@ declare const User_base: ((abstract new (...args: any[]) => {
267
267
  getSnapshot(): Snapshot;
268
268
  getPrimitive(): Primitive;
269
269
  equals<Implemented_1 extends AggregateRootBase<Uuid, Props, Primitive, Snapshot>>(this: Implemented_1, object?: Implemented_1 | undefined): boolean;
270
- readonly id: Uuid;
270
+ get id(): Uuid;
271
271
  clone(changes: Partial<Props>): /*elided*/ any;
272
272
  } & Props;
273
273
  prototype: {
@@ -276,7 +276,7 @@ declare const User_base: ((abstract new (...args: any[]) => {
276
276
  getSnapshot(): Snapshot;
277
277
  getPrimitive(): Primitive;
278
278
  equals<Implemented_1 extends AggregateRootBase<Uuid, Props, Primitive, Snapshot>>(this: Implemented_1, object?: Implemented_1 | undefined): boolean;
279
- readonly id: Uuid;
279
+ get id(): Uuid;
280
280
  clone(changes: Partial<Props>): /*elided*/ any;
281
281
  } & Props;
282
282
  } & ((abstract new (...args: any[]) => {
@@ -285,7 +285,7 @@ declare const User_base: ((abstract new (...args: any[]) => {
285
285
  getSnapshot(): Snapshot;
286
286
  getPrimitive(): Primitive;
287
287
  equals<Implemented_1 extends AggregateRootBase<Uuid, Props, Primitive, Snapshot>>(this: Implemented_1, object?: Implemented_1 | undefined): boolean;
288
- readonly id: Uuid;
288
+ get id(): Uuid;
289
289
  clone(changes: Partial<Props>): /*elided*/ any;
290
290
  }) & {
291
291
  conditions: {
@@ -312,7 +312,7 @@ declare const User_base: ((abstract new (...args: any[]) => {
312
312
  getSnapshot(): Snapshot;
313
313
  getPrimitive(): Primitive;
314
314
  equals<Implemented extends AggregateRootBase<Uuid, Props, Primitive, Snapshot>>(this: Implemented, object?: Implemented | undefined): boolean;
315
- readonly id: Uuid;
315
+ get id(): Uuid;
316
316
  };
317
317
  rebuilder(props: Props): {
318
318
  clone(changes: Partial<Props>): /*elided*/ any;
@@ -322,7 +322,7 @@ declare const User_base: ((abstract new (...args: any[]) => {
322
322
  getSnapshot(): Snapshot;
323
323
  getPrimitive(): Primitive;
324
324
  equals<Implemented extends AggregateRootBase<Uuid, Props, Primitive, Snapshot>>(this: Implemented, object?: Implemented | undefined): boolean;
325
- readonly id: Uuid;
325
+ get id(): Uuid;
326
326
  };
327
327
  SECURITY_TOKEN: string;
328
328
  conditions: {
@@ -342,7 +342,7 @@ declare const User_base: ((abstract new (...args: any[]) => {
342
342
  getSnapshot(): Snapshot;
343
343
  getPrimitive(): Primitive;
344
344
  equals<Implemented extends AggregateRootBase<Uuid, Props, Primitive, Snapshot>>(this: Implemented, object?: Implemented | undefined): boolean;
345
- readonly id: Uuid;
345
+ get id(): Uuid;
346
346
  clone(changes: Partial<Props>): /*elided*/ any;
347
347
  } & Props;
348
348
  prototype: {
@@ -351,7 +351,7 @@ declare const User_base: ((abstract new (...args: any[]) => {
351
351
  getSnapshot(): Snapshot;
352
352
  getPrimitive(): Primitive;
353
353
  equals<Implemented extends AggregateRootBase<Uuid, Props, Primitive, Snapshot>>(this: Implemented, object?: Implemented | undefined): boolean;
354
- readonly id: Uuid;
354
+ get id(): Uuid;
355
355
  clone(changes: Partial<Props>): /*elided*/ any;
356
356
  } & Props;
357
357
  } & ((abstract new (...args: any[]) => {
@@ -360,7 +360,7 @@ declare const User_base: ((abstract new (...args: any[]) => {
360
360
  getSnapshot(): Snapshot;
361
361
  getPrimitive(): Primitive;
362
362
  equals<Implemented extends AggregateRootBase<Uuid, Props, Primitive, Snapshot>>(this: Implemented, object?: Implemented | undefined): boolean;
363
- readonly id: Uuid;
363
+ get id(): Uuid;
364
364
  clone(changes: Partial<Props>): /*elided*/ any;
365
365
  }) & {
366
366
  conditions: {
@@ -71,7 +71,7 @@ declare const Invoice_base: ((abstract new (...args: any[]) => {
71
71
  name: string;
72
72
  age: number;
73
73
  }>>(this: Implemented, object?: Implemented | undefined): boolean;
74
- readonly id: Uuid;
74
+ get id(): Uuid;
75
75
  }) & {
76
76
  factoryUsed: boolean;
77
77
  rules<Implemented extends /*elided*/ any & {
@@ -89,7 +89,7 @@ declare const Invoice_base: ((abstract new (...args: any[]) => {
89
89
  name: string;
90
90
  age: number;
91
91
  }>>(this: Implemented_1, object?: Implemented_1 | undefined): boolean;
92
- readonly id: Uuid;
92
+ get id(): Uuid;
93
93
  clone(changes: Partial<Props>): /*elided*/ any;
94
94
  } & Props;
95
95
  prototype: {
@@ -106,7 +106,7 @@ declare const Invoice_base: ((abstract new (...args: any[]) => {
106
106
  name: string;
107
107
  age: number;
108
108
  }>>(this: Implemented_1, object?: Implemented_1 | undefined): boolean;
109
- readonly id: Uuid;
109
+ get id(): Uuid;
110
110
  clone(changes: Partial<Props>): /*elided*/ any;
111
111
  } & Props;
112
112
  } & ((abstract new (...args: any[]) => {
@@ -123,7 +123,7 @@ declare const Invoice_base: ((abstract new (...args: any[]) => {
123
123
  name: string;
124
124
  age: number;
125
125
  }>>(this: Implemented_1, object?: Implemented_1 | undefined): boolean;
126
- readonly id: Uuid;
126
+ get id(): Uuid;
127
127
  clone(changes: Partial<Props>): /*elided*/ any;
128
128
  }) & {
129
129
  conditions: z.ZodType<Props, z.ZodTypeDef, {
@@ -158,7 +158,7 @@ declare const Invoice_base: ((abstract new (...args: any[]) => {
158
158
  name: string;
159
159
  age: number;
160
160
  }>>(this: Implemented_1, object?: Implemented_1 | undefined): boolean;
161
- readonly id: Uuid;
161
+ get id(): Uuid;
162
162
  clone(changes: Partial<Props>): /*elided*/ any;
163
163
  } & Props;
164
164
  prototype: {
@@ -175,7 +175,7 @@ declare const Invoice_base: ((abstract new (...args: any[]) => {
175
175
  name: string;
176
176
  age: number;
177
177
  }>>(this: Implemented_1, object?: Implemented_1 | undefined): boolean;
178
- readonly id: Uuid;
178
+ get id(): Uuid;
179
179
  clone(changes: Partial<Props>): /*elided*/ any;
180
180
  } & Props;
181
181
  } & ((abstract new (...args: any[]) => {
@@ -192,7 +192,7 @@ declare const Invoice_base: ((abstract new (...args: any[]) => {
192
192
  name: string;
193
193
  age: number;
194
194
  }>>(this: Implemented_1, object?: Implemented_1 | undefined): boolean;
195
- readonly id: Uuid;
195
+ get id(): Uuid;
196
196
  clone(changes: Partial<Props>): /*elided*/ any;
197
197
  }) & {
198
198
  conditions: z.ZodType<Props, z.ZodTypeDef, {
@@ -227,7 +227,7 @@ declare const Invoice_base: ((abstract new (...args: any[]) => {
227
227
  name: string;
228
228
  age: number;
229
229
  }>>(this: Implemented, object?: Implemented | undefined): boolean;
230
- readonly id: Uuid;
230
+ get id(): Uuid;
231
231
  };
232
232
  conditions: z.ZodType<Props, z.ZodTypeDef, {
233
233
  id: string;
@@ -251,7 +251,7 @@ declare const Invoice_base: ((abstract new (...args: any[]) => {
251
251
  name: string;
252
252
  age: number;
253
253
  }>>(this: Implemented, object?: Implemented | undefined): boolean;
254
- readonly id: Uuid;
254
+ get id(): Uuid;
255
255
  clone(changes: Partial<Props>): /*elided*/ any;
256
256
  } & Props;
257
257
  prototype: {
@@ -268,7 +268,7 @@ declare const Invoice_base: ((abstract new (...args: any[]) => {
268
268
  name: string;
269
269
  age: number;
270
270
  }>>(this: Implemented, object?: Implemented | undefined): boolean;
271
- readonly id: Uuid;
271
+ get id(): Uuid;
272
272
  clone(changes: Partial<Props>): /*elided*/ any;
273
273
  } & Props;
274
274
  } & ((abstract new (...args: any[]) => {
@@ -285,7 +285,7 @@ declare const Invoice_base: ((abstract new (...args: any[]) => {
285
285
  name: string;
286
286
  age: number;
287
287
  }>>(this: Implemented, object?: Implemented | undefined): boolean;
288
- readonly id: Uuid;
288
+ get id(): Uuid;
289
289
  clone(changes: Partial<Props>): /*elided*/ any;
290
290
  }) & {
291
291
  conditions: z.ZodType<Props, z.ZodTypeDef, {
@@ -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
- readonly id: IdType;
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
- readonly id: IdType;
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
- readonly id: IdType;
19
+ get id(): IdType;
20
20
  }) & {
21
21
  factoryUsed: boolean;
22
- "__#1@#SECURITY_TOKEN": string;
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
- readonly id: IdType;
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
- readonly id: IdType;
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
- readonly id: IdType;
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
- readonly id: IdType;
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
- readonly id: IdType;
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
- readonly id: IdType;
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
- readonly id: IdType;
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
- readonly id: IdType;
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
- readonly id: IdType;
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
- readonly id: IdType;
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
- readonly id: IdType;
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
- readonly id: IdType;
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
- readonly id: IdType;
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
- readonly id: IdType;
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
- readonly id: IdType;
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
- readonly id: IdType;
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
- readonly id: IdType;
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
- readonly id: IdType;
282
+ get id(): IdType;
283
283
  }) & {
284
284
  factoryUsed: boolean;
285
- "__#1@#SECURITY_TOKEN": string;
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
- readonly id: IdType;
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
- readonly id: IdType;
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
- readonly id: IdType;
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
- readonly id: IdType;
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
- readonly id: IdType;
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
- readonly id: IdType;
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
- readonly id: IdType;
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
- readonly id: IdType;
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
- readonly id: IdType;
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
- readonly id: IdType;
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
- readonly id: IdType;
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
- readonly id: IdType;
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
- readonly id: IdType;
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
- readonly id: IdType;
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
- readonly id: IdType;
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
- readonly id: IdType;
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
- readonly id: IdType;
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
- readonly id: IdType;
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
- "__#1@#SECURITY_TOKEN": string;
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
- readonly id: IdType;
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
- readonly id: IdType;
158
+ get id(): IdType;
159
159
  };
160
160
  SECURITY_TOKEN: string;
161
161
  conditions: {