@imolko/ultra-ddd 1.0.36 → 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
@@ -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, {
@@ -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, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@imolko/ultra-ddd",
3
- "version": "1.0.36",
3
+ "version": "1.0.37-beta",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "results",
@@ -67,19 +67,19 @@
67
67
  "devDependencies": {
68
68
  "@types/jest": "^29.5.14",
69
69
  "jest": "^29.7.0",
70
- "ts-jest": "^29.4.0",
70
+ "ts-jest": "^29.4.5",
71
71
  "tslib": "^2.8.1",
72
- "typescript": "^5.8.3"
72
+ "typescript": "^5.9.3"
73
73
  },
74
74
  "peerDependencies": {
75
- "@imolko/ultra-result": "^2.0.10",
75
+ "@imolko/ultra-result": "^2.0.11",
76
76
  "@imolko/ultra-tsconfig": "^1.0.3",
77
- "@imolko/ultra-v8n": "^1.0.15"
77
+ "@imolko/ultra-v8n": "^1.0.16"
78
78
  },
79
79
  "dependencies": {
80
80
  "ajv": "~8.17.1",
81
81
  "ajv-formats": "~3.0.1",
82
82
  "uuid": "11.1.0",
83
- "zod-to-json-schema": "^3.24.5"
83
+ "zod-to-json-schema": "^3.24.6"
84
84
  }
85
85
  }