@imolko/ultra-ddd 2.0.3-beta → 2.0.4-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 (59) hide show
  1. package/dist-browser/aggregate-root/aggregate-with-public-api.mixin.d.ts +2 -2
  2. package/dist-browser/aggregate-root/aggregate-with-static-members.mixin.d.ts +1 -1
  3. package/dist-browser/aggregate-root/aggregate-with-static-members.mixin.js +11 -18
  4. package/dist-browser/aggregate-root/aggregate-with-static-members.mixin.js.map +1 -1
  5. package/dist-browser/aggregate-root/memento/value-object.d.ts +14 -14
  6. package/dist-browser/aggregate-root/use-examples/product-woo/aggregate.d.ts +1 -1
  7. package/dist-browser/entity/identity/humanid/value-object.d.ts +14 -14
  8. package/dist-browser/entity/identity/numericid/value-object.d.ts +14 -14
  9. package/dist-browser/entity/identity/uuid/value-object.d.ts +14 -14
  10. package/dist-browser/event/aggregate-id/value-object.d.ts +14 -14
  11. package/dist-browser/event/aggregate-name/value-object.d.ts +14 -14
  12. package/dist-browser/event/cloud-event-ddd/value-object.d.ts +14 -14
  13. package/dist-browser/event/domain-event/domain-event-base.class.d.ts +32 -32
  14. package/dist-browser/event/emitter-app/value-object.d.ts +14 -14
  15. package/dist-browser/event/emitter-domain/value-object.d.ts +14 -14
  16. package/dist-browser/event/event-data-content-type/value-object.d.ts +14 -14
  17. package/dist-browser/event/event-date/value-object.d.ts +14 -14
  18. package/dist-browser/event/event-name/value-object.d.ts +14 -14
  19. package/dist-browser/event/event-subject/value-object.d.ts +14 -14
  20. package/dist-browser/event/event-type/value-object.d.ts +14 -14
  21. package/dist-browser/event/event-type-owner/value-object.d.ts +14 -14
  22. package/dist-browser/event/instance/value-object.d.ts +14 -14
  23. package/dist-browser/event/registry-domain/value-object.d.ts +14 -14
  24. package/dist-browser/event/schema-location/value-object.d.ts +14 -14
  25. package/dist-browser/event/sem-ver/value-object.d.ts +14 -14
  26. package/dist-browser/event/shape/value-object.d.ts +14 -14
  27. package/dist-browser/event/shape-evolution/value-object.d.ts +14 -14
  28. package/dist-browser/event/use-samples/validated-artifact/artifacts/aggregate.d.ts +5 -5
  29. package/dist-browser/test/execute-sequentially/artifacts/aggregate.d.ts +5 -5
  30. package/dist-node/aggregate-root/aggregate-with-public-api.mixin.d.ts +2 -2
  31. package/dist-node/aggregate-root/aggregate-with-static-members.mixin.d.ts +1 -1
  32. package/dist-node/aggregate-root/aggregate-with-static-members.mixin.js +11 -18
  33. package/dist-node/aggregate-root/aggregate-with-static-members.mixin.js.map +1 -1
  34. package/dist-node/aggregate-root/memento/value-object.d.ts +14 -14
  35. package/dist-node/aggregate-root/use-examples/product-woo/aggregate.d.ts +1 -1
  36. package/dist-node/entity/identity/humanid/value-object.d.ts +14 -14
  37. package/dist-node/entity/identity/numericid/value-object.d.ts +14 -14
  38. package/dist-node/entity/identity/uuid/value-object.d.ts +14 -14
  39. package/dist-node/event/aggregate-id/value-object.d.ts +14 -14
  40. package/dist-node/event/aggregate-name/value-object.d.ts +14 -14
  41. package/dist-node/event/cloud-event-ddd/value-object.d.ts +14 -14
  42. package/dist-node/event/domain-event/domain-event-base.class.d.ts +32 -32
  43. package/dist-node/event/emitter-app/value-object.d.ts +14 -14
  44. package/dist-node/event/emitter-domain/value-object.d.ts +14 -14
  45. package/dist-node/event/event-data-content-type/value-object.d.ts +14 -14
  46. package/dist-node/event/event-date/value-object.d.ts +14 -14
  47. package/dist-node/event/event-name/value-object.d.ts +14 -14
  48. package/dist-node/event/event-subject/value-object.d.ts +14 -14
  49. package/dist-node/event/event-type/value-object.d.ts +14 -14
  50. package/dist-node/event/event-type-owner/value-object.d.ts +14 -14
  51. package/dist-node/event/instance/value-object.d.ts +14 -14
  52. package/dist-node/event/registry-domain/value-object.d.ts +14 -14
  53. package/dist-node/event/schema-location/value-object.d.ts +14 -14
  54. package/dist-node/event/sem-ver/value-object.d.ts +14 -14
  55. package/dist-node/event/shape/value-object.d.ts +14 -14
  56. package/dist-node/event/shape-evolution/value-object.d.ts +14 -14
  57. package/dist-node/event/use-samples/validated-artifact/artifacts/aggregate.d.ts +5 -5
  58. package/dist-node/test/execute-sequentially/artifacts/aggregate.d.ts +5 -5
  59. package/package.json +12 -12
@@ -4,7 +4,7 @@ import { Definition } from './definition';
4
4
  declare const AggregateName_base: ((abstract new (...args: any[]) => {
5
5
  clone(changes: Partial<Props>): /*elided*/ any;
6
6
  readonly props: Readonly<Props>;
7
- equals<Implemented extends import("../../value-object").ValueObjectBase<Props, string, string>>(this: Implemented, other?: Implemented | undefined): boolean;
7
+ equals<Implemented extends import("../..").ValueObjectBase<Props, string, string>>(this: Implemented, other?: Implemented | undefined): boolean;
8
8
  getPrimitive(): string;
9
9
  getPayload(): string;
10
10
  }) & {
@@ -12,59 +12,59 @@ declare const AggregateName_base: ((abstract new (...args: any[]) => {
12
12
  rules<Implemented extends /*elided*/ any & {
13
13
  new (...args: any[]): {
14
14
  readonly props: Readonly<Props>;
15
- equals<Implemented_1 extends import("../../value-object").ValueObjectBase<Props, string, string>>(this: Implemented_1, other?: Implemented_1 | undefined): boolean;
15
+ equals<Implemented_1 extends import("../..").ValueObjectBase<Props, string, string>>(this: Implemented_1, other?: Implemented_1 | undefined): boolean;
16
16
  clone(changes: Partial<Props>): /*elided*/ any;
17
17
  getPrimitive(): string;
18
18
  getPayload(): string;
19
19
  } & Props;
20
20
  prototype: {
21
21
  readonly props: Readonly<Props>;
22
- equals<Implemented_1 extends import("../../value-object").ValueObjectBase<Props, string, string>>(this: Implemented_1, other?: Implemented_1 | undefined): boolean;
22
+ equals<Implemented_1 extends import("../..").ValueObjectBase<Props, string, string>>(this: Implemented_1, other?: Implemented_1 | undefined): boolean;
23
23
  clone(changes: Partial<Props>): /*elided*/ any;
24
24
  getPrimitive(): string;
25
25
  getPayload(): string;
26
26
  } & Props;
27
27
  } & ((abstract new (...args: any[]) => {
28
28
  readonly props: Readonly<Props>;
29
- equals<Implemented_1 extends import("../../value-object").ValueObjectBase<Props, string, string>>(this: Implemented_1, other?: Implemented_1 | undefined): boolean;
29
+ equals<Implemented_1 extends import("../..").ValueObjectBase<Props, string, string>>(this: Implemented_1, other?: Implemented_1 | undefined): boolean;
30
30
  clone(changes: Partial<Props>): /*elided*/ any;
31
31
  getPrimitive(): string;
32
32
  getPayload(): string;
33
33
  }) & {
34
34
  conditions: import("zod").ZodType;
35
- builder?(value: Props): import("../../value-object").ValueObjectBase<Props, string, string>;
35
+ builder?(value: Props): import("../..").ValueObjectBase<Props, string, string>;
36
36
  NAME: string;
37
37
  }) & typeof Definition>(this: Implemented): import("zod").ZodType<InstanceType<Implemented>, string, import("zod/v4/core").$ZodTypeInternals<InstanceType<Implemented>, string>>;
38
38
  of<Implemented extends /*elided*/ any & {
39
39
  new (...args: any[]): {
40
40
  readonly props: Readonly<Props>;
41
- equals<Implemented_1 extends import("../../value-object").ValueObjectBase<Props, string, string>>(this: Implemented_1, other?: Implemented_1 | undefined): boolean;
41
+ equals<Implemented_1 extends import("../..").ValueObjectBase<Props, string, string>>(this: Implemented_1, other?: Implemented_1 | undefined): boolean;
42
42
  clone(changes: Partial<Props>): /*elided*/ any;
43
43
  getPrimitive(): string;
44
44
  getPayload(): string;
45
45
  } & Props;
46
46
  prototype: {
47
47
  readonly props: Readonly<Props>;
48
- equals<Implemented_1 extends import("../../value-object").ValueObjectBase<Props, string, string>>(this: Implemented_1, other?: Implemented_1 | undefined): boolean;
48
+ equals<Implemented_1 extends import("../..").ValueObjectBase<Props, string, string>>(this: Implemented_1, other?: Implemented_1 | undefined): boolean;
49
49
  clone(changes: Partial<Props>): /*elided*/ any;
50
50
  getPrimitive(): string;
51
51
  getPayload(): string;
52
52
  } & Props;
53
53
  } & ((abstract new (...args: any[]) => {
54
54
  readonly props: Readonly<Props>;
55
- equals<Implemented_1 extends import("../../value-object").ValueObjectBase<Props, string, string>>(this: Implemented_1, other?: Implemented_1 | undefined): boolean;
55
+ equals<Implemented_1 extends import("../..").ValueObjectBase<Props, string, string>>(this: Implemented_1, other?: Implemented_1 | undefined): boolean;
56
56
  clone(changes: Partial<Props>): /*elided*/ any;
57
57
  getPrimitive(): string;
58
58
  getPayload(): string;
59
59
  }) & {
60
60
  conditions: import("zod").ZodType;
61
- builder?(value: Props): import("../../value-object").ValueObjectBase<Props, string, string>;
61
+ builder?(value: Props): import("../..").ValueObjectBase<Props, string, string>;
62
62
  NAME: string;
63
63
  }) & typeof Definition>(this: Implemented, payload: string): import("@imolko/ultra-result").Validation<Errors, InstanceType<Implemented>>;
64
64
  builder(props: Props): {
65
65
  clone(changes: Partial<Props>): /*elided*/ any;
66
66
  readonly props: Readonly<Props>;
67
- equals<Implemented extends import("../../value-object").ValueObjectBase<Props, string, string>>(this: Implemented, other?: Implemented | undefined): boolean;
67
+ equals<Implemented extends import("../..").ValueObjectBase<Props, string, string>>(this: Implemented, other?: Implemented | undefined): boolean;
68
68
  getPrimitive(): string;
69
69
  getPayload(): string;
70
70
  };
@@ -73,27 +73,27 @@ declare const AggregateName_base: ((abstract new (...args: any[]) => {
73
73
  }) & {
74
74
  new (...args: any[]): {
75
75
  readonly props: Readonly<Props>;
76
- equals<Implemented extends import("../../value-object").ValueObjectBase<Props, string, string>>(this: Implemented, other?: Implemented | undefined): boolean;
76
+ equals<Implemented extends import("../..").ValueObjectBase<Props, string, string>>(this: Implemented, other?: Implemented | undefined): boolean;
77
77
  clone(changes: Partial<Props>): /*elided*/ any;
78
78
  getPrimitive(): string;
79
79
  getPayload(): string;
80
80
  } & Props;
81
81
  prototype: {
82
82
  readonly props: Readonly<Props>;
83
- equals<Implemented extends import("../../value-object").ValueObjectBase<Props, string, string>>(this: Implemented, other?: Implemented | undefined): boolean;
83
+ equals<Implemented extends import("../..").ValueObjectBase<Props, string, string>>(this: Implemented, other?: Implemented | undefined): boolean;
84
84
  clone(changes: Partial<Props>): /*elided*/ any;
85
85
  getPrimitive(): string;
86
86
  getPayload(): string;
87
87
  } & Props;
88
88
  } & ((abstract new (...args: any[]) => {
89
89
  readonly props: Readonly<Props>;
90
- equals<Implemented extends import("../../value-object").ValueObjectBase<Props, string, string>>(this: Implemented, other?: Implemented | undefined): boolean;
90
+ equals<Implemented extends import("../..").ValueObjectBase<Props, string, string>>(this: Implemented, other?: Implemented | undefined): boolean;
91
91
  clone(changes: Partial<Props>): /*elided*/ any;
92
92
  getPrimitive(): string;
93
93
  getPayload(): string;
94
94
  }) & {
95
95
  conditions: import("zod").ZodType;
96
- builder?(value: Props): import("../../value-object").ValueObjectBase<Props, string, string>;
96
+ builder?(value: Props): import("../..").ValueObjectBase<Props, string, string>;
97
97
  NAME: string;
98
98
  }) & typeof Definition;
99
99
  export declare class AggregateName extends AggregateName_base {
@@ -5,7 +5,7 @@ import { Primitive } from './primitive';
5
5
  declare const CloudEventDdd_base: ((abstract new (...args: any[]) => {
6
6
  clone(changes: Partial<Props>): /*elided*/ any;
7
7
  readonly props: Readonly<Props>;
8
- equals<Implemented extends import("../../value-object").ValueObjectBase<Props, Primitive, {
8
+ equals<Implemented extends import("../..").ValueObjectBase<Props, Primitive, {
9
9
  id: string;
10
10
  source: string;
11
11
  instance: string;
@@ -39,7 +39,7 @@ declare const CloudEventDdd_base: ((abstract new (...args: any[]) => {
39
39
  rules<Implemented extends /*elided*/ any & {
40
40
  new (...args: any[]): {
41
41
  readonly props: Readonly<Props>;
42
- equals<Implemented_1 extends import("../../value-object").ValueObjectBase<Props, Primitive, {
42
+ equals<Implemented_1 extends import("../..").ValueObjectBase<Props, Primitive, {
43
43
  id: string;
44
44
  source: string;
45
45
  instance: string;
@@ -72,7 +72,7 @@ declare const CloudEventDdd_base: ((abstract new (...args: any[]) => {
72
72
  } & Props;
73
73
  prototype: {
74
74
  readonly props: Readonly<Props>;
75
- equals<Implemented_1 extends import("../../value-object").ValueObjectBase<Props, Primitive, {
75
+ equals<Implemented_1 extends import("../..").ValueObjectBase<Props, Primitive, {
76
76
  id: string;
77
77
  source: string;
78
78
  instance: string;
@@ -105,7 +105,7 @@ declare const CloudEventDdd_base: ((abstract new (...args: any[]) => {
105
105
  } & Props;
106
106
  } & ((abstract new (...args: any[]) => {
107
107
  readonly props: Readonly<Props>;
108
- equals<Implemented_1 extends import("../../value-object").ValueObjectBase<Props, Primitive, {
108
+ equals<Implemented_1 extends import("../..").ValueObjectBase<Props, Primitive, {
109
109
  id: string;
110
110
  source: string;
111
111
  instance: string;
@@ -137,7 +137,7 @@ declare const CloudEventDdd_base: ((abstract new (...args: any[]) => {
137
137
  };
138
138
  }) & {
139
139
  conditions: import("zod").ZodType;
140
- builder?(value: Props): import("../../value-object").ValueObjectBase<Props, Primitive, {
140
+ builder?(value: Props): import("../..").ValueObjectBase<Props, Primitive, {
141
141
  id: string;
142
142
  source: string;
143
143
  instance: string;
@@ -182,7 +182,7 @@ declare const CloudEventDdd_base: ((abstract new (...args: any[]) => {
182
182
  of<Implemented extends /*elided*/ any & {
183
183
  new (...args: any[]): {
184
184
  readonly props: Readonly<Props>;
185
- equals<Implemented_1 extends import("../../value-object").ValueObjectBase<Props, Primitive, {
185
+ equals<Implemented_1 extends import("../..").ValueObjectBase<Props, Primitive, {
186
186
  id: string;
187
187
  source: string;
188
188
  instance: string;
@@ -215,7 +215,7 @@ declare const CloudEventDdd_base: ((abstract new (...args: any[]) => {
215
215
  } & Props;
216
216
  prototype: {
217
217
  readonly props: Readonly<Props>;
218
- equals<Implemented_1 extends import("../../value-object").ValueObjectBase<Props, Primitive, {
218
+ equals<Implemented_1 extends import("../..").ValueObjectBase<Props, Primitive, {
219
219
  id: string;
220
220
  source: string;
221
221
  instance: string;
@@ -248,7 +248,7 @@ declare const CloudEventDdd_base: ((abstract new (...args: any[]) => {
248
248
  } & Props;
249
249
  } & ((abstract new (...args: any[]) => {
250
250
  readonly props: Readonly<Props>;
251
- equals<Implemented_1 extends import("../../value-object").ValueObjectBase<Props, Primitive, {
251
+ equals<Implemented_1 extends import("../..").ValueObjectBase<Props, Primitive, {
252
252
  id: string;
253
253
  source: string;
254
254
  instance: string;
@@ -280,7 +280,7 @@ declare const CloudEventDdd_base: ((abstract new (...args: any[]) => {
280
280
  };
281
281
  }) & {
282
282
  conditions: import("zod").ZodType;
283
- builder?(value: Props): import("../../value-object").ValueObjectBase<Props, Primitive, {
283
+ builder?(value: Props): import("../..").ValueObjectBase<Props, Primitive, {
284
284
  id: string;
285
285
  source: string;
286
286
  instance: string;
@@ -312,7 +312,7 @@ declare const CloudEventDdd_base: ((abstract new (...args: any[]) => {
312
312
  builder(props: Props): {
313
313
  clone(changes: Partial<Props>): /*elided*/ any;
314
314
  readonly props: Readonly<Props>;
315
- equals<Implemented extends import("../../value-object").ValueObjectBase<Props, Primitive, {
315
+ equals<Implemented extends import("../..").ValueObjectBase<Props, Primitive, {
316
316
  id: string;
317
317
  source: string;
318
318
  instance: string;
@@ -347,7 +347,7 @@ declare const CloudEventDdd_base: ((abstract new (...args: any[]) => {
347
347
  }) & {
348
348
  new (...args: any[]): {
349
349
  readonly props: Readonly<Props>;
350
- equals<Implemented extends import("../../value-object").ValueObjectBase<Props, Primitive, {
350
+ equals<Implemented extends import("../..").ValueObjectBase<Props, Primitive, {
351
351
  id: string;
352
352
  source: string;
353
353
  instance: string;
@@ -380,7 +380,7 @@ declare const CloudEventDdd_base: ((abstract new (...args: any[]) => {
380
380
  } & Props;
381
381
  prototype: {
382
382
  readonly props: Readonly<Props>;
383
- equals<Implemented extends import("../../value-object").ValueObjectBase<Props, Primitive, {
383
+ equals<Implemented extends import("../..").ValueObjectBase<Props, Primitive, {
384
384
  id: string;
385
385
  source: string;
386
386
  instance: string;
@@ -413,7 +413,7 @@ declare const CloudEventDdd_base: ((abstract new (...args: any[]) => {
413
413
  } & Props;
414
414
  } & ((abstract new (...args: any[]) => {
415
415
  readonly props: Readonly<Props>;
416
- equals<Implemented extends import("../../value-object").ValueObjectBase<Props, Primitive, {
416
+ equals<Implemented extends import("../..").ValueObjectBase<Props, Primitive, {
417
417
  id: string;
418
418
  source: string;
419
419
  instance: string;
@@ -445,7 +445,7 @@ declare const CloudEventDdd_base: ((abstract new (...args: any[]) => {
445
445
  };
446
446
  }) & {
447
447
  conditions: import("zod").ZodType;
448
- builder?(value: Props): import("../../value-object").ValueObjectBase<Props, Primitive, {
448
+ builder?(value: Props): import("../..").ValueObjectBase<Props, Primitive, {
449
449
  id: string;
450
450
  source: string;
451
451
  instance: string;
@@ -91,22 +91,22 @@ export declare abstract class DomainEventBase implements DomainEventInterface {
91
91
  * @param this Instancia implementada de la clase
92
92
  * @returns el objeto creado
93
93
  */
94
- static rules<Implemented extends typeof DomainEventBase>(this: Implemented): import("@imolko/ultra-v8n").ZodPipe<import("@imolko/ultra-v8n").ZodPipe<import("@imolko/ultra-v8n").ZodObject<{
95
- context: import("@imolko/ultra-v8n").ZodObject<{
96
- instance: import("@imolko/ultra-v8n").ZodType<import("..").Instance, string, import("zod/v4/core").$ZodTypeInternals<import("..").Instance, string>>;
97
- tenantId: import("@imolko/ultra-v8n").ZodType<import("../..").Uuid, string, import("zod/v4/core").$ZodTypeInternals<import("../..").Uuid, string>>;
98
- schemaRegistryUrl: import("@imolko/ultra-v8n").ZodType<import("..").RegistryDomain, string, import("zod/v4/core").$ZodTypeInternals<import("..").RegistryDomain, string>>;
99
- emitterDomain: import("@imolko/ultra-v8n").ZodType<import("..").EmitterDomain, string, import("zod/v4/core").$ZodTypeInternals<import("..").EmitterDomain, string>>;
94
+ static rules<Implemented extends typeof DomainEventBase>(this: Implemented): import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodObject<{
95
+ context: import("zod").ZodObject<{
96
+ instance: import("zod").ZodType<import("..").Instance, string, import("zod/v4/core").$ZodTypeInternals<import("..").Instance, string>>;
97
+ tenantId: import("zod").ZodType<import("../..").Uuid, string, import("zod/v4/core").$ZodTypeInternals<import("../..").Uuid, string>>;
98
+ schemaRegistryUrl: import("zod").ZodType<import("..").RegistryDomain, string, import("zod/v4/core").$ZodTypeInternals<import("..").RegistryDomain, string>>;
99
+ emitterDomain: import("zod").ZodType<import("..").EmitterDomain, string, import("zod/v4/core").$ZodTypeInternals<import("..").EmitterDomain, string>>;
100
100
  }, import("zod/v4/core").$strip>;
101
- ocurrence: import("@imolko/ultra-v8n").ZodObject<{
102
- id: import("@imolko/ultra-v8n").ZodType<import("../..").Uuid, string, import("zod/v4/core").$ZodTypeInternals<import("../..").Uuid, string>>;
103
- ocurredAt: import("@imolko/ultra-v8n").ZodType<import("..").EventDate, string, import("zod/v4/core").$ZodTypeInternals<import("..").EventDate, string>>;
104
- publishedAt: import("@imolko/ultra-v8n").ZodType<import("..").EventDate, string, import("zod/v4/core").$ZodTypeInternals<import("..").EventDate, string>>;
105
- aggregateId: import("@imolko/ultra-v8n").ZodType<import("..").AggregateId, string, import("zod/v4/core").$ZodTypeInternals<import("..").AggregateId, string>>;
106
- dataSchemaVersion: import("@imolko/ultra-v8n").ZodType<SemVer, string, import("zod/v4/core").$ZodTypeInternals<SemVer, string>>;
107
- data: import("@imolko/ultra-v8n").ZodRecord<import("@imolko/ultra-v8n").ZodString, import("@imolko/ultra-v8n").ZodUnknown>;
101
+ ocurrence: import("zod").ZodObject<{
102
+ id: import("zod").ZodType<import("../..").Uuid, string, import("zod/v4/core").$ZodTypeInternals<import("../..").Uuid, string>>;
103
+ ocurredAt: import("zod").ZodType<import("..").EventDate, string, import("zod/v4/core").$ZodTypeInternals<import("..").EventDate, string>>;
104
+ publishedAt: import("zod").ZodType<import("..").EventDate, string, import("zod/v4/core").$ZodTypeInternals<import("..").EventDate, string>>;
105
+ aggregateId: import("zod").ZodType<import("..").AggregateId, string, import("zod/v4/core").$ZodTypeInternals<import("..").AggregateId, string>>;
106
+ dataSchemaVersion: import("zod").ZodType<SemVer, string, import("zod/v4/core").$ZodTypeInternals<SemVer, string>>;
107
+ data: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>;
108
108
  }, import("zod/v4/core").$strip>;
109
- }, import("zod/v4/core").$strip>, import("@imolko/ultra-v8n").ZodTransform<Props, {
109
+ }, import("zod/v4/core").$strip>, import("zod").ZodTransform<Props, {
110
110
  context: {
111
111
  instance: import("..").Instance;
112
112
  tenantId: import("../..").Uuid;
@@ -121,7 +121,7 @@ export declare abstract class DomainEventBase implements DomainEventInterface {
121
121
  dataSchemaVersion: SemVer;
122
122
  data: Record<string, unknown>;
123
123
  };
124
- }>>, import("@imolko/ultra-v8n").ZodTransform<Awaited<InstanceType<Implemented>>, Props>>;
124
+ }>>, import("zod").ZodTransform<Awaited<InstanceType<Implemented>>, Props>>;
125
125
  /**
126
126
  * Rules para hidratar una ocurrencia del Evento,
127
127
  * a partir de un cloud event serializado.
@@ -129,7 +129,7 @@ export declare abstract class DomainEventBase implements DomainEventInterface {
129
129
  * @param this Instancia implementada de la clase
130
130
  * @returns el objeto creado
131
131
  */
132
- static rulesHydrate<Implemented extends typeof DomainEventBase>(this: Implemented): import("@imolko/ultra-v8n").ZodPipe<import("@imolko/ultra-v8n").ZodPipe<import("@imolko/ultra-v8n").ZodPipe<import("@imolko/ultra-v8n").ZodPipe<import("@imolko/ultra-v8n").ZodType<CloudEventDdd, {
132
+ static rulesHydrate<Implemented extends typeof DomainEventBase>(this: Implemented): import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodPipe<import("zod").ZodType<CloudEventDdd, {
133
133
  id: string;
134
134
  source: string;
135
135
  specversion: string;
@@ -157,7 +157,7 @@ export declare abstract class DomainEventBase implements DomainEventInterface {
157
157
  comimolkohash: string;
158
158
  comimolkoinstance: string;
159
159
  data?: Record<any, any> | undefined;
160
- }>>, import("@imolko/ultra-v8n").ZodTransform<{
160
+ }>>, import("zod").ZodTransform<{
161
161
  context: {
162
162
  instance: string;
163
163
  tenantId: string;
@@ -172,22 +172,22 @@ export declare abstract class DomainEventBase implements DomainEventInterface {
172
172
  dataSchemaVersion: string;
173
173
  data: Record<string, unknown>;
174
174
  };
175
- }, CloudEventDdd>>, import("@imolko/ultra-v8n").ZodObject<{
176
- context: import("@imolko/ultra-v8n").ZodObject<{
177
- instance: import("@imolko/ultra-v8n").ZodType<import("..").Instance, string, import("zod/v4/core").$ZodTypeInternals<import("..").Instance, string>>;
178
- tenantId: import("@imolko/ultra-v8n").ZodType<import("../..").Uuid, string, import("zod/v4/core").$ZodTypeInternals<import("../..").Uuid, string>>;
179
- schemaRegistryUrl: import("@imolko/ultra-v8n").ZodType<import("..").RegistryDomain, string, import("zod/v4/core").$ZodTypeInternals<import("..").RegistryDomain, string>>;
180
- emitterDomain: import("@imolko/ultra-v8n").ZodType<import("..").EmitterDomain, string, import("zod/v4/core").$ZodTypeInternals<import("..").EmitterDomain, string>>;
175
+ }, CloudEventDdd>>, import("zod").ZodObject<{
176
+ context: import("zod").ZodObject<{
177
+ instance: import("zod").ZodType<import("..").Instance, string, import("zod/v4/core").$ZodTypeInternals<import("..").Instance, string>>;
178
+ tenantId: import("zod").ZodType<import("../..").Uuid, string, import("zod/v4/core").$ZodTypeInternals<import("../..").Uuid, string>>;
179
+ schemaRegistryUrl: import("zod").ZodType<import("..").RegistryDomain, string, import("zod/v4/core").$ZodTypeInternals<import("..").RegistryDomain, string>>;
180
+ emitterDomain: import("zod").ZodType<import("..").EmitterDomain, string, import("zod/v4/core").$ZodTypeInternals<import("..").EmitterDomain, string>>;
181
181
  }, import("zod/v4/core").$strip>;
182
- ocurrence: import("@imolko/ultra-v8n").ZodObject<{
183
- id: import("@imolko/ultra-v8n").ZodType<import("../..").Uuid, string, import("zod/v4/core").$ZodTypeInternals<import("../..").Uuid, string>>;
184
- ocurredAt: import("@imolko/ultra-v8n").ZodType<import("..").EventDate, string, import("zod/v4/core").$ZodTypeInternals<import("..").EventDate, string>>;
185
- publishedAt: import("@imolko/ultra-v8n").ZodType<import("..").EventDate, string, import("zod/v4/core").$ZodTypeInternals<import("..").EventDate, string>>;
186
- aggregateId: import("@imolko/ultra-v8n").ZodType<import("..").AggregateId, string, import("zod/v4/core").$ZodTypeInternals<import("..").AggregateId, string>>;
187
- dataSchemaVersion: import("@imolko/ultra-v8n").ZodType<SemVer, string, import("zod/v4/core").$ZodTypeInternals<SemVer, string>>;
188
- data: import("@imolko/ultra-v8n").ZodRecord<import("@imolko/ultra-v8n").ZodString, import("@imolko/ultra-v8n").ZodUnknown>;
182
+ ocurrence: import("zod").ZodObject<{
183
+ id: import("zod").ZodType<import("../..").Uuid, string, import("zod/v4/core").$ZodTypeInternals<import("../..").Uuid, string>>;
184
+ ocurredAt: import("zod").ZodType<import("..").EventDate, string, import("zod/v4/core").$ZodTypeInternals<import("..").EventDate, string>>;
185
+ publishedAt: import("zod").ZodType<import("..").EventDate, string, import("zod/v4/core").$ZodTypeInternals<import("..").EventDate, string>>;
186
+ aggregateId: import("zod").ZodType<import("..").AggregateId, string, import("zod/v4/core").$ZodTypeInternals<import("..").AggregateId, string>>;
187
+ dataSchemaVersion: import("zod").ZodType<SemVer, string, import("zod/v4/core").$ZodTypeInternals<SemVer, string>>;
188
+ data: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>;
189
189
  }, import("zod/v4/core").$strip>;
190
- }, import("zod/v4/core").$strip>>, import("@imolko/ultra-v8n").ZodTransform<Props, {
190
+ }, import("zod/v4/core").$strip>>, import("zod").ZodTransform<Props, {
191
191
  context: {
192
192
  instance: import("..").Instance;
193
193
  tenantId: import("../..").Uuid;
@@ -202,7 +202,7 @@ export declare abstract class DomainEventBase implements DomainEventInterface {
202
202
  dataSchemaVersion: SemVer;
203
203
  data: Record<string, unknown>;
204
204
  };
205
- }>>, import("@imolko/ultra-v8n").ZodTransform<Awaited<InstanceType<Implemented>>, Props>>;
205
+ }>>, import("zod").ZodTransform<Awaited<InstanceType<Implemented>>, Props>>;
206
206
  /**
207
207
  * Método público para "producir" una ocurrencia del evento.
208
208
  *
@@ -4,7 +4,7 @@ import { Definition } from './definition';
4
4
  declare const EmitterApp_base: ((abstract new (...args: any[]) => {
5
5
  clone(changes: Partial<Props>): /*elided*/ any;
6
6
  readonly props: Readonly<Props>;
7
- equals<Implemented extends import("../../value-object").ValueObjectBase<Props, string, string>>(this: Implemented, other?: Implemented | undefined): boolean;
7
+ equals<Implemented extends import("../..").ValueObjectBase<Props, string, string>>(this: Implemented, other?: Implemented | undefined): boolean;
8
8
  getPrimitive(): string;
9
9
  getPayload(): string;
10
10
  }) & {
@@ -12,59 +12,59 @@ declare const EmitterApp_base: ((abstract new (...args: any[]) => {
12
12
  rules<Implemented extends /*elided*/ any & {
13
13
  new (...args: any[]): {
14
14
  readonly props: Readonly<Props>;
15
- equals<Implemented_1 extends import("../../value-object").ValueObjectBase<Props, string, string>>(this: Implemented_1, other?: Implemented_1 | undefined): boolean;
15
+ equals<Implemented_1 extends import("../..").ValueObjectBase<Props, string, string>>(this: Implemented_1, other?: Implemented_1 | undefined): boolean;
16
16
  clone(changes: Partial<Props>): /*elided*/ any;
17
17
  getPrimitive(): string;
18
18
  getPayload(): string;
19
19
  } & Props;
20
20
  prototype: {
21
21
  readonly props: Readonly<Props>;
22
- equals<Implemented_1 extends import("../../value-object").ValueObjectBase<Props, string, string>>(this: Implemented_1, other?: Implemented_1 | undefined): boolean;
22
+ equals<Implemented_1 extends import("../..").ValueObjectBase<Props, string, string>>(this: Implemented_1, other?: Implemented_1 | undefined): boolean;
23
23
  clone(changes: Partial<Props>): /*elided*/ any;
24
24
  getPrimitive(): string;
25
25
  getPayload(): string;
26
26
  } & Props;
27
27
  } & ((abstract new (...args: any[]) => {
28
28
  readonly props: Readonly<Props>;
29
- equals<Implemented_1 extends import("../../value-object").ValueObjectBase<Props, string, string>>(this: Implemented_1, other?: Implemented_1 | undefined): boolean;
29
+ equals<Implemented_1 extends import("../..").ValueObjectBase<Props, string, string>>(this: Implemented_1, other?: Implemented_1 | undefined): boolean;
30
30
  clone(changes: Partial<Props>): /*elided*/ any;
31
31
  getPrimitive(): string;
32
32
  getPayload(): string;
33
33
  }) & {
34
34
  conditions: import("zod").ZodType;
35
- builder?(value: Props): import("../../value-object").ValueObjectBase<Props, string, string>;
35
+ builder?(value: Props): import("../..").ValueObjectBase<Props, string, string>;
36
36
  NAME: string;
37
37
  }) & typeof Definition>(this: Implemented): import("zod").ZodType<InstanceType<Implemented>, string, import("zod/v4/core").$ZodTypeInternals<InstanceType<Implemented>, string>>;
38
38
  of<Implemented extends /*elided*/ any & {
39
39
  new (...args: any[]): {
40
40
  readonly props: Readonly<Props>;
41
- equals<Implemented_1 extends import("../../value-object").ValueObjectBase<Props, string, string>>(this: Implemented_1, other?: Implemented_1 | undefined): boolean;
41
+ equals<Implemented_1 extends import("../..").ValueObjectBase<Props, string, string>>(this: Implemented_1, other?: Implemented_1 | undefined): boolean;
42
42
  clone(changes: Partial<Props>): /*elided*/ any;
43
43
  getPrimitive(): string;
44
44
  getPayload(): string;
45
45
  } & Props;
46
46
  prototype: {
47
47
  readonly props: Readonly<Props>;
48
- equals<Implemented_1 extends import("../../value-object").ValueObjectBase<Props, string, string>>(this: Implemented_1, other?: Implemented_1 | undefined): boolean;
48
+ equals<Implemented_1 extends import("../..").ValueObjectBase<Props, string, string>>(this: Implemented_1, other?: Implemented_1 | undefined): boolean;
49
49
  clone(changes: Partial<Props>): /*elided*/ any;
50
50
  getPrimitive(): string;
51
51
  getPayload(): string;
52
52
  } & Props;
53
53
  } & ((abstract new (...args: any[]) => {
54
54
  readonly props: Readonly<Props>;
55
- equals<Implemented_1 extends import("../../value-object").ValueObjectBase<Props, string, string>>(this: Implemented_1, other?: Implemented_1 | undefined): boolean;
55
+ equals<Implemented_1 extends import("../..").ValueObjectBase<Props, string, string>>(this: Implemented_1, other?: Implemented_1 | undefined): boolean;
56
56
  clone(changes: Partial<Props>): /*elided*/ any;
57
57
  getPrimitive(): string;
58
58
  getPayload(): string;
59
59
  }) & {
60
60
  conditions: import("zod").ZodType;
61
- builder?(value: Props): import("../../value-object").ValueObjectBase<Props, string, string>;
61
+ builder?(value: Props): import("../..").ValueObjectBase<Props, string, string>;
62
62
  NAME: string;
63
63
  }) & typeof Definition>(this: Implemented, payload: string): import("@imolko/ultra-result").Validation<Errors, InstanceType<Implemented>>;
64
64
  builder(props: Props): {
65
65
  clone(changes: Partial<Props>): /*elided*/ any;
66
66
  readonly props: Readonly<Props>;
67
- equals<Implemented extends import("../../value-object").ValueObjectBase<Props, string, string>>(this: Implemented, other?: Implemented | undefined): boolean;
67
+ equals<Implemented extends import("../..").ValueObjectBase<Props, string, string>>(this: Implemented, other?: Implemented | undefined): boolean;
68
68
  getPrimitive(): string;
69
69
  getPayload(): string;
70
70
  };
@@ -73,27 +73,27 @@ declare const EmitterApp_base: ((abstract new (...args: any[]) => {
73
73
  }) & {
74
74
  new (...args: any[]): {
75
75
  readonly props: Readonly<Props>;
76
- equals<Implemented extends import("../../value-object").ValueObjectBase<Props, string, string>>(this: Implemented, other?: Implemented | undefined): boolean;
76
+ equals<Implemented extends import("../..").ValueObjectBase<Props, string, string>>(this: Implemented, other?: Implemented | undefined): boolean;
77
77
  clone(changes: Partial<Props>): /*elided*/ any;
78
78
  getPrimitive(): string;
79
79
  getPayload(): string;
80
80
  } & Props;
81
81
  prototype: {
82
82
  readonly props: Readonly<Props>;
83
- equals<Implemented extends import("../../value-object").ValueObjectBase<Props, string, string>>(this: Implemented, other?: Implemented | undefined): boolean;
83
+ equals<Implemented extends import("../..").ValueObjectBase<Props, string, string>>(this: Implemented, other?: Implemented | undefined): boolean;
84
84
  clone(changes: Partial<Props>): /*elided*/ any;
85
85
  getPrimitive(): string;
86
86
  getPayload(): string;
87
87
  } & Props;
88
88
  } & ((abstract new (...args: any[]) => {
89
89
  readonly props: Readonly<Props>;
90
- equals<Implemented extends import("../../value-object").ValueObjectBase<Props, string, string>>(this: Implemented, other?: Implemented | undefined): boolean;
90
+ equals<Implemented extends import("../..").ValueObjectBase<Props, string, string>>(this: Implemented, other?: Implemented | undefined): boolean;
91
91
  clone(changes: Partial<Props>): /*elided*/ any;
92
92
  getPrimitive(): string;
93
93
  getPayload(): string;
94
94
  }) & {
95
95
  conditions: import("zod").ZodType;
96
- builder?(value: Props): import("../../value-object").ValueObjectBase<Props, string, string>;
96
+ builder?(value: Props): import("../..").ValueObjectBase<Props, string, string>;
97
97
  NAME: string;
98
98
  }) & typeof Definition;
99
99
  export declare class EmitterApp extends EmitterApp_base {
@@ -4,7 +4,7 @@ import { Definition } from './definition';
4
4
  declare const EmitterDomain_base: ((abstract new (...args: any[]) => {
5
5
  clone(changes: Partial<Props>): /*elided*/ any;
6
6
  readonly props: Readonly<Props>;
7
- equals<Implemented extends import("../../value-object").ValueObjectBase<Props, string, string>>(this: Implemented, other?: Implemented | undefined): boolean;
7
+ equals<Implemented extends import("../..").ValueObjectBase<Props, string, string>>(this: Implemented, other?: Implemented | undefined): boolean;
8
8
  getPrimitive(): string;
9
9
  getPayload(): string;
10
10
  }) & {
@@ -12,59 +12,59 @@ declare const EmitterDomain_base: ((abstract new (...args: any[]) => {
12
12
  rules<Implemented extends /*elided*/ any & {
13
13
  new (...args: any[]): {
14
14
  readonly props: Readonly<Props>;
15
- equals<Implemented_1 extends import("../../value-object").ValueObjectBase<Props, string, string>>(this: Implemented_1, other?: Implemented_1 | undefined): boolean;
15
+ equals<Implemented_1 extends import("../..").ValueObjectBase<Props, string, string>>(this: Implemented_1, other?: Implemented_1 | undefined): boolean;
16
16
  clone(changes: Partial<Props>): /*elided*/ any;
17
17
  getPrimitive(): string;
18
18
  getPayload(): string;
19
19
  } & Props;
20
20
  prototype: {
21
21
  readonly props: Readonly<Props>;
22
- equals<Implemented_1 extends import("../../value-object").ValueObjectBase<Props, string, string>>(this: Implemented_1, other?: Implemented_1 | undefined): boolean;
22
+ equals<Implemented_1 extends import("../..").ValueObjectBase<Props, string, string>>(this: Implemented_1, other?: Implemented_1 | undefined): boolean;
23
23
  clone(changes: Partial<Props>): /*elided*/ any;
24
24
  getPrimitive(): string;
25
25
  getPayload(): string;
26
26
  } & Props;
27
27
  } & ((abstract new (...args: any[]) => {
28
28
  readonly props: Readonly<Props>;
29
- equals<Implemented_1 extends import("../../value-object").ValueObjectBase<Props, string, string>>(this: Implemented_1, other?: Implemented_1 | undefined): boolean;
29
+ equals<Implemented_1 extends import("../..").ValueObjectBase<Props, string, string>>(this: Implemented_1, other?: Implemented_1 | undefined): boolean;
30
30
  clone(changes: Partial<Props>): /*elided*/ any;
31
31
  getPrimitive(): string;
32
32
  getPayload(): string;
33
33
  }) & {
34
34
  conditions: import("zod").ZodType;
35
- builder?(value: Props): import("../../value-object").ValueObjectBase<Props, string, string>;
35
+ builder?(value: Props): import("../..").ValueObjectBase<Props, string, string>;
36
36
  NAME: string;
37
37
  }) & typeof Definition>(this: Implemented): import("zod").ZodType<InstanceType<Implemented>, string, import("zod/v4/core").$ZodTypeInternals<InstanceType<Implemented>, string>>;
38
38
  of<Implemented extends /*elided*/ any & {
39
39
  new (...args: any[]): {
40
40
  readonly props: Readonly<Props>;
41
- equals<Implemented_1 extends import("../../value-object").ValueObjectBase<Props, string, string>>(this: Implemented_1, other?: Implemented_1 | undefined): boolean;
41
+ equals<Implemented_1 extends import("../..").ValueObjectBase<Props, string, string>>(this: Implemented_1, other?: Implemented_1 | undefined): boolean;
42
42
  clone(changes: Partial<Props>): /*elided*/ any;
43
43
  getPrimitive(): string;
44
44
  getPayload(): string;
45
45
  } & Props;
46
46
  prototype: {
47
47
  readonly props: Readonly<Props>;
48
- equals<Implemented_1 extends import("../../value-object").ValueObjectBase<Props, string, string>>(this: Implemented_1, other?: Implemented_1 | undefined): boolean;
48
+ equals<Implemented_1 extends import("../..").ValueObjectBase<Props, string, string>>(this: Implemented_1, other?: Implemented_1 | undefined): boolean;
49
49
  clone(changes: Partial<Props>): /*elided*/ any;
50
50
  getPrimitive(): string;
51
51
  getPayload(): string;
52
52
  } & Props;
53
53
  } & ((abstract new (...args: any[]) => {
54
54
  readonly props: Readonly<Props>;
55
- equals<Implemented_1 extends import("../../value-object").ValueObjectBase<Props, string, string>>(this: Implemented_1, other?: Implemented_1 | undefined): boolean;
55
+ equals<Implemented_1 extends import("../..").ValueObjectBase<Props, string, string>>(this: Implemented_1, other?: Implemented_1 | undefined): boolean;
56
56
  clone(changes: Partial<Props>): /*elided*/ any;
57
57
  getPrimitive(): string;
58
58
  getPayload(): string;
59
59
  }) & {
60
60
  conditions: import("zod").ZodType;
61
- builder?(value: Props): import("../../value-object").ValueObjectBase<Props, string, string>;
61
+ builder?(value: Props): import("../..").ValueObjectBase<Props, string, string>;
62
62
  NAME: string;
63
63
  }) & typeof Definition>(this: Implemented, payload: string): import("@imolko/ultra-result").Validation<Errors, InstanceType<Implemented>>;
64
64
  builder(props: Props): {
65
65
  clone(changes: Partial<Props>): /*elided*/ any;
66
66
  readonly props: Readonly<Props>;
67
- equals<Implemented extends import("../../value-object").ValueObjectBase<Props, string, string>>(this: Implemented, other?: Implemented | undefined): boolean;
67
+ equals<Implemented extends import("../..").ValueObjectBase<Props, string, string>>(this: Implemented, other?: Implemented | undefined): boolean;
68
68
  getPrimitive(): string;
69
69
  getPayload(): string;
70
70
  };
@@ -73,27 +73,27 @@ declare const EmitterDomain_base: ((abstract new (...args: any[]) => {
73
73
  }) & {
74
74
  new (...args: any[]): {
75
75
  readonly props: Readonly<Props>;
76
- equals<Implemented extends import("../../value-object").ValueObjectBase<Props, string, string>>(this: Implemented, other?: Implemented | undefined): boolean;
76
+ equals<Implemented extends import("../..").ValueObjectBase<Props, string, string>>(this: Implemented, other?: Implemented | undefined): boolean;
77
77
  clone(changes: Partial<Props>): /*elided*/ any;
78
78
  getPrimitive(): string;
79
79
  getPayload(): string;
80
80
  } & Props;
81
81
  prototype: {
82
82
  readonly props: Readonly<Props>;
83
- equals<Implemented extends import("../../value-object").ValueObjectBase<Props, string, string>>(this: Implemented, other?: Implemented | undefined): boolean;
83
+ equals<Implemented extends import("../..").ValueObjectBase<Props, string, string>>(this: Implemented, other?: Implemented | undefined): boolean;
84
84
  clone(changes: Partial<Props>): /*elided*/ any;
85
85
  getPrimitive(): string;
86
86
  getPayload(): string;
87
87
  } & Props;
88
88
  } & ((abstract new (...args: any[]) => {
89
89
  readonly props: Readonly<Props>;
90
- equals<Implemented extends import("../../value-object").ValueObjectBase<Props, string, string>>(this: Implemented, other?: Implemented | undefined): boolean;
90
+ equals<Implemented extends import("../..").ValueObjectBase<Props, string, string>>(this: Implemented, other?: Implemented | undefined): boolean;
91
91
  clone(changes: Partial<Props>): /*elided*/ any;
92
92
  getPrimitive(): string;
93
93
  getPayload(): string;
94
94
  }) & {
95
95
  conditions: import("zod").ZodType;
96
- builder?(value: Props): import("../../value-object").ValueObjectBase<Props, string, string>;
96
+ builder?(value: Props): import("../..").ValueObjectBase<Props, string, string>;
97
97
  NAME: string;
98
98
  }) & typeof Definition;
99
99
  export declare class EmitterDomain extends EmitterDomain_base {