@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 SemVer_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 SemVer_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 SemVer_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 SemVer extends SemVer_base {
@@ -5,7 +5,7 @@ import { Primitive } from './primitive';
5
5
  declare const Shape_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
  version: string;
10
10
  conditions: import("zod").ZodObject<Readonly<{
11
11
  [k: string]: import("zod/v4/core").$ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
@@ -25,7 +25,7 @@ declare const Shape_base: ((abstract new (...args: any[]) => {
25
25
  rules<Implemented extends /*elided*/ any & {
26
26
  new (...args: any[]): {
27
27
  readonly props: Readonly<Props>;
28
- equals<Implemented_1 extends import("../../value-object").ValueObjectBase<Props, Primitive, {
28
+ equals<Implemented_1 extends import("../..").ValueObjectBase<Props, Primitive, {
29
29
  version: string;
30
30
  conditions: import("zod").ZodObject<Readonly<{
31
31
  [k: string]: import("zod/v4/core").$ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
@@ -44,7 +44,7 @@ declare const Shape_base: ((abstract new (...args: any[]) => {
44
44
  } & Props;
45
45
  prototype: {
46
46
  readonly props: Readonly<Props>;
47
- equals<Implemented_1 extends import("../../value-object").ValueObjectBase<Props, Primitive, {
47
+ equals<Implemented_1 extends import("../..").ValueObjectBase<Props, Primitive, {
48
48
  version: string;
49
49
  conditions: import("zod").ZodObject<Readonly<{
50
50
  [k: string]: import("zod/v4/core").$ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
@@ -63,7 +63,7 @@ declare const Shape_base: ((abstract new (...args: any[]) => {
63
63
  } & Props;
64
64
  } & ((abstract new (...args: any[]) => {
65
65
  readonly props: Readonly<Props>;
66
- equals<Implemented_1 extends import("../../value-object").ValueObjectBase<Props, Primitive, {
66
+ equals<Implemented_1 extends import("../..").ValueObjectBase<Props, Primitive, {
67
67
  version: string;
68
68
  conditions: import("zod").ZodObject<Readonly<{
69
69
  [k: string]: import("zod/v4/core").$ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
@@ -81,7 +81,7 @@ declare const Shape_base: ((abstract new (...args: any[]) => {
81
81
  };
82
82
  }) & {
83
83
  conditions: import("zod").ZodType;
84
- builder?(value: Props): import("../../value-object").ValueObjectBase<Props, Primitive, {
84
+ builder?(value: Props): import("../..").ValueObjectBase<Props, Primitive, {
85
85
  version: string;
86
86
  conditions: import("zod").ZodObject<Readonly<{
87
87
  [k: string]: import("zod/v4/core").$ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
@@ -105,7 +105,7 @@ declare const Shape_base: ((abstract new (...args: any[]) => {
105
105
  of<Implemented extends /*elided*/ any & {
106
106
  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
  version: string;
110
110
  conditions: import("zod").ZodObject<Readonly<{
111
111
  [k: string]: import("zod/v4/core").$ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
@@ -124,7 +124,7 @@ declare const Shape_base: ((abstract new (...args: any[]) => {
124
124
  } & Props;
125
125
  prototype: {
126
126
  readonly props: Readonly<Props>;
127
- equals<Implemented_1 extends import("../../value-object").ValueObjectBase<Props, Primitive, {
127
+ equals<Implemented_1 extends import("../..").ValueObjectBase<Props, Primitive, {
128
128
  version: string;
129
129
  conditions: import("zod").ZodObject<Readonly<{
130
130
  [k: string]: import("zod/v4/core").$ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
@@ -143,7 +143,7 @@ declare const Shape_base: ((abstract new (...args: any[]) => {
143
143
  } & Props;
144
144
  } & ((abstract new (...args: any[]) => {
145
145
  readonly props: Readonly<Props>;
146
- equals<Implemented_1 extends import("../../value-object").ValueObjectBase<Props, Primitive, {
146
+ equals<Implemented_1 extends import("../..").ValueObjectBase<Props, Primitive, {
147
147
  version: string;
148
148
  conditions: import("zod").ZodObject<Readonly<{
149
149
  [k: string]: import("zod/v4/core").$ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
@@ -161,7 +161,7 @@ declare const Shape_base: ((abstract new (...args: any[]) => {
161
161
  };
162
162
  }) & {
163
163
  conditions: import("zod").ZodType;
164
- builder?(value: Props): import("../../value-object").ValueObjectBase<Props, Primitive, {
164
+ builder?(value: Props): import("../..").ValueObjectBase<Props, Primitive, {
165
165
  version: string;
166
166
  conditions: import("zod").ZodObject<Readonly<{
167
167
  [k: string]: import("zod/v4/core").$ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
@@ -179,7 +179,7 @@ declare const Shape_base: ((abstract new (...args: any[]) => {
179
179
  builder(props: Props): {
180
180
  clone(changes: Partial<Props>): /*elided*/ any;
181
181
  readonly props: Readonly<Props>;
182
- equals<Implemented extends import("../../value-object").ValueObjectBase<Props, Primitive, {
182
+ equals<Implemented extends import("../..").ValueObjectBase<Props, Primitive, {
183
183
  version: string;
184
184
  conditions: import("zod").ZodObject<Readonly<{
185
185
  [k: string]: import("zod/v4/core").$ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
@@ -200,7 +200,7 @@ declare const Shape_base: ((abstract new (...args: any[]) => {
200
200
  }) & {
201
201
  new (...args: any[]): {
202
202
  readonly props: Readonly<Props>;
203
- equals<Implemented extends import("../../value-object").ValueObjectBase<Props, Primitive, {
203
+ equals<Implemented extends import("../..").ValueObjectBase<Props, Primitive, {
204
204
  version: string;
205
205
  conditions: import("zod").ZodObject<Readonly<{
206
206
  [k: string]: import("zod/v4/core").$ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
@@ -219,7 +219,7 @@ declare const Shape_base: ((abstract new (...args: any[]) => {
219
219
  } & Props;
220
220
  prototype: {
221
221
  readonly props: Readonly<Props>;
222
- equals<Implemented extends import("../../value-object").ValueObjectBase<Props, Primitive, {
222
+ equals<Implemented extends import("../..").ValueObjectBase<Props, Primitive, {
223
223
  version: string;
224
224
  conditions: import("zod").ZodObject<Readonly<{
225
225
  [k: string]: import("zod/v4/core").$ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
@@ -238,7 +238,7 @@ declare const Shape_base: ((abstract new (...args: any[]) => {
238
238
  } & Props;
239
239
  } & ((abstract new (...args: any[]) => {
240
240
  readonly props: Readonly<Props>;
241
- equals<Implemented extends import("../../value-object").ValueObjectBase<Props, Primitive, {
241
+ equals<Implemented extends import("../..").ValueObjectBase<Props, Primitive, {
242
242
  version: string;
243
243
  conditions: import("zod").ZodObject<Readonly<{
244
244
  [k: string]: import("zod/v4/core").$ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
@@ -256,7 +256,7 @@ declare const Shape_base: ((abstract new (...args: any[]) => {
256
256
  };
257
257
  }) & {
258
258
  conditions: import("zod").ZodType;
259
- builder?(value: Props): import("../../value-object").ValueObjectBase<Props, Primitive, {
259
+ builder?(value: Props): import("../..").ValueObjectBase<Props, Primitive, {
260
260
  version: string;
261
261
  conditions: import("zod").ZodObject<Readonly<{
262
262
  [k: string]: import("zod/v4/core").$ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
@@ -5,7 +5,7 @@ import { Primitive } from './primitive';
5
5
  declare const ShapeEvolution_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
  evolution: {
10
10
  shape: {
11
11
  version: string;
@@ -49,7 +49,7 @@ declare const ShapeEvolution_base: ((abstract new (...args: any[]) => {
49
49
  rules<Implemented extends /*elided*/ any & {
50
50
  new (...args: any[]): {
51
51
  readonly props: Readonly<Props>;
52
- equals<Implemented_1 extends import("../../value-object").ValueObjectBase<Props, Primitive, {
52
+ equals<Implemented_1 extends import("../..").ValueObjectBase<Props, Primitive, {
53
53
  evolution: {
54
54
  shape: {
55
55
  version: string;
@@ -92,7 +92,7 @@ declare const ShapeEvolution_base: ((abstract new (...args: any[]) => {
92
92
  } & Props;
93
93
  prototype: {
94
94
  readonly props: Readonly<Props>;
95
- equals<Implemented_1 extends import("../../value-object").ValueObjectBase<Props, Primitive, {
95
+ equals<Implemented_1 extends import("../..").ValueObjectBase<Props, Primitive, {
96
96
  evolution: {
97
97
  shape: {
98
98
  version: string;
@@ -135,7 +135,7 @@ declare const ShapeEvolution_base: ((abstract new (...args: any[]) => {
135
135
  } & Props;
136
136
  } & ((abstract new (...args: any[]) => {
137
137
  readonly props: Readonly<Props>;
138
- equals<Implemented_1 extends import("../../value-object").ValueObjectBase<Props, Primitive, {
138
+ equals<Implemented_1 extends import("../..").ValueObjectBase<Props, Primitive, {
139
139
  evolution: {
140
140
  shape: {
141
141
  version: string;
@@ -177,7 +177,7 @@ declare const ShapeEvolution_base: ((abstract new (...args: any[]) => {
177
177
  };
178
178
  }) & {
179
179
  conditions: import("zod").ZodType;
180
- builder?(value: Props): import("../../value-object").ValueObjectBase<Props, Primitive, {
180
+ builder?(value: Props): import("../..").ValueObjectBase<Props, Primitive, {
181
181
  evolution: {
182
182
  shape: {
183
183
  version: string;
@@ -237,7 +237,7 @@ declare const ShapeEvolution_base: ((abstract new (...args: any[]) => {
237
237
  of<Implemented extends /*elided*/ any & {
238
238
  new (...args: any[]): {
239
239
  readonly props: Readonly<Props>;
240
- equals<Implemented_1 extends import("../../value-object").ValueObjectBase<Props, Primitive, {
240
+ equals<Implemented_1 extends import("../..").ValueObjectBase<Props, Primitive, {
241
241
  evolution: {
242
242
  shape: {
243
243
  version: string;
@@ -280,7 +280,7 @@ declare const ShapeEvolution_base: ((abstract new (...args: any[]) => {
280
280
  } & Props;
281
281
  prototype: {
282
282
  readonly props: Readonly<Props>;
283
- equals<Implemented_1 extends import("../../value-object").ValueObjectBase<Props, Primitive, {
283
+ equals<Implemented_1 extends import("../..").ValueObjectBase<Props, Primitive, {
284
284
  evolution: {
285
285
  shape: {
286
286
  version: string;
@@ -323,7 +323,7 @@ declare const ShapeEvolution_base: ((abstract new (...args: any[]) => {
323
323
  } & Props;
324
324
  } & ((abstract new (...args: any[]) => {
325
325
  readonly props: Readonly<Props>;
326
- equals<Implemented_1 extends import("../../value-object").ValueObjectBase<Props, Primitive, {
326
+ equals<Implemented_1 extends import("../..").ValueObjectBase<Props, Primitive, {
327
327
  evolution: {
328
328
  shape: {
329
329
  version: string;
@@ -365,7 +365,7 @@ declare const ShapeEvolution_base: ((abstract new (...args: any[]) => {
365
365
  };
366
366
  }) & {
367
367
  conditions: import("zod").ZodType;
368
- builder?(value: Props): import("../../value-object").ValueObjectBase<Props, Primitive, {
368
+ builder?(value: Props): import("../..").ValueObjectBase<Props, Primitive, {
369
369
  evolution: {
370
370
  shape: {
371
371
  version: string;
@@ -407,7 +407,7 @@ declare const ShapeEvolution_base: ((abstract new (...args: any[]) => {
407
407
  builder(props: Props): {
408
408
  clone(changes: Partial<Props>): /*elided*/ any;
409
409
  readonly props: Readonly<Props>;
410
- equals<Implemented extends import("../../value-object").ValueObjectBase<Props, Primitive, {
410
+ equals<Implemented extends import("../..").ValueObjectBase<Props, Primitive, {
411
411
  evolution: {
412
412
  shape: {
413
413
  version: string;
@@ -452,7 +452,7 @@ declare const ShapeEvolution_base: ((abstract new (...args: any[]) => {
452
452
  }) & {
453
453
  new (...args: any[]): {
454
454
  readonly props: Readonly<Props>;
455
- equals<Implemented extends import("../../value-object").ValueObjectBase<Props, Primitive, {
455
+ equals<Implemented extends import("../..").ValueObjectBase<Props, Primitive, {
456
456
  evolution: {
457
457
  shape: {
458
458
  version: string;
@@ -495,7 +495,7 @@ declare const ShapeEvolution_base: ((abstract new (...args: any[]) => {
495
495
  } & Props;
496
496
  prototype: {
497
497
  readonly props: Readonly<Props>;
498
- equals<Implemented extends import("../../value-object").ValueObjectBase<Props, Primitive, {
498
+ equals<Implemented extends import("../..").ValueObjectBase<Props, Primitive, {
499
499
  evolution: {
500
500
  shape: {
501
501
  version: string;
@@ -538,7 +538,7 @@ declare const ShapeEvolution_base: ((abstract new (...args: any[]) => {
538
538
  } & Props;
539
539
  } & ((abstract new (...args: any[]) => {
540
540
  readonly props: Readonly<Props>;
541
- equals<Implemented extends import("../../value-object").ValueObjectBase<Props, Primitive, {
541
+ equals<Implemented extends import("../..").ValueObjectBase<Props, Primitive, {
542
542
  evolution: {
543
543
  shape: {
544
544
  version: string;
@@ -580,7 +580,7 @@ declare const ShapeEvolution_base: ((abstract new (...args: any[]) => {
580
580
  };
581
581
  }) & {
582
582
  conditions: import("zod").ZodType;
583
- builder?(value: Props): import("../../value-object").ValueObjectBase<Props, Primitive, {
583
+ builder?(value: Props): import("../..").ValueObjectBase<Props, Primitive, {
584
584
  evolution: {
585
585
  shape: {
586
586
  version: string;
@@ -73,7 +73,7 @@ declare class Definition extends AggregateRootBase<Uuid, Props, Primitive, Snaps
73
73
  }
74
74
  declare const User_base: ((abstract new (...args: any[]) => {
75
75
  clone(changes: Partial<Props>): /*elided*/ any;
76
- takeMemento(): Validation<import("../../../../aggregate-root").MementoErrors, Memento>;
76
+ takeMemento(): Validation<import("../../../..").MementoErrors, Memento>;
77
77
  readonly _id: Uuid;
78
78
  props: Readonly<Props>;
79
79
  getSnapshot(): Snapshot;
@@ -82,7 +82,7 @@ declare const User_base: ((abstract new (...args: any[]) => {
82
82
  get id(): Uuid;
83
83
  }) & {
84
84
  factoryUsed: boolean;
85
- "__#private@#SECURITY_TOKEN": string;
85
+ SECURITY_TOKEN_INTERNAL: string;
86
86
  rulesBuild<Implemented extends /*elided*/ any & {
87
87
  new (...args: any[]): {
88
88
  readonly _id: Uuid;
@@ -296,11 +296,11 @@ declare const User_base: ((abstract new (...args: any[]) => {
296
296
  SECURITY_TOKEN: string;
297
297
  PROPS_VERSION: number;
298
298
  NAME: string;
299
- }) & typeof Definition>(this: Implemented, memento: import("../../../../aggregate-root").MementoValidationsPayload): Validation<Errors, InstanceType<Implemented>>;
299
+ }) & typeof Definition>(this: Implemented, memento: import("../../../..").MementoValidationsPayload): Validation<Errors, InstanceType<Implemented>>;
300
300
  migrate(memento: Memento): Snapshot;
301
301
  builder(props: Props): {
302
302
  clone(changes: Partial<Props>): /*elided*/ any;
303
- takeMemento(): Validation<import("../../../../aggregate-root").MementoErrors, Memento>;
303
+ takeMemento(): Validation<import("../../../..").MementoErrors, Memento>;
304
304
  readonly _id: Uuid;
305
305
  props: Readonly<Props>;
306
306
  getSnapshot(): Snapshot;
@@ -310,7 +310,7 @@ declare const User_base: ((abstract new (...args: any[]) => {
310
310
  };
311
311
  rebuilder(props: Props): {
312
312
  clone(changes: Partial<Props>): /*elided*/ any;
313
- takeMemento(): Validation<import("../../../../aggregate-root").MementoErrors, Memento>;
313
+ takeMemento(): Validation<import("../../../..").MementoErrors, Memento>;
314
314
  readonly _id: Uuid;
315
315
  props: Readonly<Props>;
316
316
  getSnapshot(): Snapshot;
@@ -73,7 +73,7 @@ declare class Definition extends AggregateRootBase<Uuid, Props, Primitive, Snaps
73
73
  }
74
74
  declare const User_base: ((abstract new (...args: any[]) => {
75
75
  clone(changes: Partial<Props>): /*elided*/ any;
76
- takeMemento(): Validation<import("../../../aggregate-root").MementoErrors, Memento>;
76
+ takeMemento(): Validation<import("../../..").MementoErrors, Memento>;
77
77
  readonly _id: Uuid;
78
78
  props: Readonly<Props>;
79
79
  getSnapshot(): Snapshot;
@@ -82,7 +82,7 @@ declare const User_base: ((abstract new (...args: any[]) => {
82
82
  get id(): Uuid;
83
83
  }) & {
84
84
  factoryUsed: boolean;
85
- "__#private@#SECURITY_TOKEN": string;
85
+ SECURITY_TOKEN_INTERNAL: string;
86
86
  rulesBuild<Implemented extends /*elided*/ any & {
87
87
  new (...args: any[]): {
88
88
  readonly _id: Uuid;
@@ -296,11 +296,11 @@ declare const User_base: ((abstract new (...args: any[]) => {
296
296
  SECURITY_TOKEN: string;
297
297
  PROPS_VERSION: number;
298
298
  NAME: string;
299
- }) & typeof Definition>(this: Implemented, memento: import("../../../aggregate-root").MementoValidationsPayload): Validation<Errors, InstanceType<Implemented>>;
299
+ }) & typeof Definition>(this: Implemented, memento: import("../../..").MementoValidationsPayload): Validation<Errors, InstanceType<Implemented>>;
300
300
  migrate(memento: Memento): Snapshot;
301
301
  builder(props: Props): {
302
302
  clone(changes: Partial<Props>): /*elided*/ any;
303
- takeMemento(): Validation<import("../../../aggregate-root").MementoErrors, Memento>;
303
+ takeMemento(): Validation<import("../../..").MementoErrors, Memento>;
304
304
  readonly _id: Uuid;
305
305
  props: Readonly<Props>;
306
306
  getSnapshot(): Snapshot;
@@ -310,7 +310,7 @@ declare const User_base: ((abstract new (...args: any[]) => {
310
310
  };
311
311
  rebuilder(props: Props): {
312
312
  clone(changes: Partial<Props>): /*elided*/ any;
313
- takeMemento(): Validation<import("../../../aggregate-root").MementoErrors, Memento>;
313
+ takeMemento(): Validation<import("../../..").MementoErrors, Memento>;
314
314
  readonly _id: Uuid;
315
315
  props: Readonly<Props>;
316
316
  getSnapshot(): Snapshot;
@@ -19,7 +19,7 @@ export declare const AggregateWithPublicApi: <IdType extends EntityId, Props ext
19
19
  get id(): IdType;
20
20
  }) & {
21
21
  factoryUsed: boolean;
22
- "__#private@#SECURITY_TOKEN": string;
22
+ SECURITY_TOKEN_INTERNAL: string;
23
23
  rulesBuild<Implemented extends /*elided*/ any & {
24
24
  new (...args: any[]): {
25
25
  readonly _id: IdType;
@@ -275,7 +275,7 @@ export declare const AggregateWithProtection: <IdType extends EntityId, Props ex
275
275
  get id(): IdType;
276
276
  }) & {
277
277
  factoryUsed: boolean;
278
- "__#private@#SECURITY_TOKEN": string;
278
+ SECURITY_TOKEN_INTERNAL: string;
279
279
  rulesBuild<Implemented extends /*elided*/ any & {
280
280
  new (...args: any[]): {
281
281
  readonly _id: IdType;
@@ -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
- "__#private@#SECURITY_TOKEN": string;
58
+ SECURITY_TOKEN_INTERNAL: string;
59
59
  /**
60
60
  * Reglas para construir y reconstruir el agregado
61
61
  * Se utiliza las conditions en la definition
@@ -1,9 +1,4 @@
1
1
  "use strict";
2
- var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
3
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
4
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
5
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
6
- };
7
2
  Object.defineProperty(exports, "__esModule", { value: true });
8
3
  exports.AggregateWithStaticMembers = void 0;
9
4
  /* eslint-disable @typescript-eslint/no-unused-vars */
@@ -40,7 +35,6 @@ const assertFactoryUsed = (factoryUsed) => {
40
35
  * @returns Clase con todos los métodos estáticos y de instancia que ofrece el agregado
41
36
  */
42
37
  const AggregateWithStaticMembers = (Source) => {
43
- var _a, _TunedClass_SECURITY_TOKEN;
44
38
  /**
45
39
  * Validamos que el NAME contenga sólo minúsculas o guiones
46
40
  */
@@ -107,11 +101,11 @@ const AggregateWithStaticMembers = (Source) => {
107
101
  /**
108
102
  * Verificamos que la bandera esté en true
109
103
  */
110
- assertFactoryUsed(_a.factoryUsed);
104
+ assertFactoryUsed(TunedClass.factoryUsed);
111
105
  /**
112
106
  * Colocamos la bandera en falso para la próxima ejecución
113
107
  */
114
- _a.factoryUsed = false;
108
+ TunedClass.factoryUsed = false;
115
109
  /**
116
110
  * Ejecutamos el constructor de la base
117
111
  */
@@ -157,7 +151,7 @@ const AggregateWithStaticMembers = (Source) => {
157
151
  * Establecemos la variable estática para que se ejecute
158
152
  * cada vez que se parsee las rules()
159
153
  */
160
- _a.factoryUsed = true;
154
+ TunedClass.factoryUsed = true;
161
155
  /**
162
156
  * Aseguramos que la función esté bindeada a la clase implementada
163
157
  */
@@ -203,7 +197,7 @@ const AggregateWithStaticMembers = (Source) => {
203
197
  * Establecemos la variable estática para que se ejecute
204
198
  * cada vez que se parsee las rules()
205
199
  */
206
- _a.factoryUsed = true;
200
+ TunedClass.factoryUsed = true;
207
201
  /**
208
202
  * Aseguramos que la función esté bindeada a la clase implementada
209
203
  */
@@ -217,10 +211,10 @@ const AggregateWithStaticMembers = (Source) => {
217
211
  /**
218
212
  * Procesamos el memento con el security token
219
213
  */
220
- return memento_1.Memento.reload(__classPrivateFieldGet(_a, _a, "f", _TunedClass_SECURITY_TOKEN))
214
+ return memento_1.Memento.reload(TunedClass.SECURITY_TOKEN_INTERNAL)
221
215
  .transform(updateSnapshot)
222
216
  // TODO: no me gusta esta solucion. Buscar una mejor manera
223
- .pipe(_a.conditions.rebuild)
217
+ .pipe(TunedClass.conditions.rebuild)
224
218
  .transform(zodTransformer);
225
219
  }
226
220
  ;
@@ -270,7 +264,7 @@ const AggregateWithStaticMembers = (Source) => {
270
264
  * @returns Objeto nuevo creado
271
265
  */
272
266
  clone(changes) {
273
- _a.factoryUsed = true;
267
+ TunedClass.factoryUsed = true;
274
268
  return super.clone(changes);
275
269
  }
276
270
  /**
@@ -282,20 +276,19 @@ const AggregateWithStaticMembers = (Source) => {
282
276
  */
283
277
  takeMemento() {
284
278
  const body = {
285
- aggregate: _a.NAME,
286
- modelVersion: _a.PROPS_VERSION,
279
+ aggregate: TunedClass.NAME,
280
+ modelVersion: TunedClass.PROPS_VERSION,
287
281
  /**
288
282
  * Utilizamos el valor real del Security_token
289
283
  * que no se puede accesar desde fuera
290
284
  */
291
- securityToken: __classPrivateFieldGet(_a, _a, "f", _TunedClass_SECURITY_TOKEN),
285
+ securityToken: TunedClass.SECURITY_TOKEN_INTERNAL,
292
286
  dataVersion: this.props.version,
293
287
  state: this.getSnapshot(),
294
288
  };
295
289
  return memento_1.Memento.of(body);
296
290
  }
297
291
  }
298
- _a = TunedClass;
299
292
  /**
300
293
  * Variable estático para simular el constructor privado,
301
294
  * Cuándo intenté usar el constructor privado directamente,
@@ -312,7 +305,7 @@ const AggregateWithStaticMembers = (Source) => {
312
305
  * En la clase final dejamos SECURITY_TOKEN como propiedad estática
313
306
  * pública pero cambiamos el valor mostrado
314
307
  */
315
- _TunedClass_SECURITY_TOKEN = { value: Source.SECURITY_TOKEN };
308
+ TunedClass.SECURITY_TOKEN_INTERNAL = Source.SECURITY_TOKEN;
316
309
  TunedClass.SECURITY_TOKEN = '*'.repeat(10);
317
310
  return TunedClass;
318
311
  };
@@ -1 +1 @@
1
- {"version":3,"file":"aggregate-with-static-members.mixin.js","sourceRoot":"","sources":["../../src/aggregate-root/aggregate-with-static-members.mixin.ts"],"names":[],"mappings":";;;;;;;;AAAA,sDAAsD;AACtD,uDAAuD;AACvD,iDAA8E;AAE9E,oFAA6E;AAK7E,uCAImB;AAEnB,qCAIkB;AAElB;;;;;;;;;GASG;AACH,MAAM,iBAAiB,GAAG,CAAC,WAAoB,EAAE,EAAE;IACjD,IAAI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AAK,CAAC,OAAuB;YAClC,EAAU,CAAC,WAAW,GAAG,IAAI,CAAC;YAC9B,OAAO,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,CAAA;QAC7B,CAAC;QACD;;;;;;WAMG;QACI,WAAW;YAChB,MAAM,IAAI,GAAG;gBACX,SAAS,EAAE,EAAU,CAAC,IAAI;gBAC1B,YAAY,EAAE,EAAU,CAAC,aAAa;gBACtC;;;mBAGG;gBACH,aAAa,EAAE,uBAAA,EAAU,sCAAgB;gBACzC,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,OAAO;gBAC/B,KAAK,EAAE,IAAI,CAAC,WAAW,EAAE;aAC1B,CAAA;YACD,OAAO,iBAAO,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC;QAC1B,CAAC;;;IA9OD;;;;;;;OAOG;IACW,sBAAW,GAAG,KAAK,AAAR,CAAS;IAClC;;;;;;OAMG;IACI,sCAAkB,MAAM,CAAC,cAAc,EAAxB,CAAyB;IA+LjC,yBAAc,GAAG,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC,AAAjB,CAAkB;IAiChD,OAAO,UAAU,CAAC;AACpB,CAAC,CAAC;AAlTW,QAAA,0BAA0B,8BAkTrC"}
1
+ {"version":3,"file":"aggregate-with-static-members.mixin.js","sourceRoot":"","sources":["../../src/aggregate-root/aggregate-with-static-members.mixin.ts"],"names":[],"mappings":";;;AAAA,sDAAsD;AACtD,uDAAuD;AACvD,iDAA8E;AAE9E,oFAA6E;AAK7E,uCAImB;AAEnB,qCAIkB;AAElB;;;;;;;;;GASG;AACH,MAAM,iBAAiB,GAAG,CAAC,WAAoB,EAAE,EAAE;IACjD,IAAI,CAAC,WAAW,EAAE,CAAC;QACjB,MAAM,IAAI,2CAAkC,CAAC,aAAa,CAAC,CAAC;IAC9D,CAAC;AACH,CAAC,CAAA;AAGD;;;;;;;;;;;GAWG;AACI,MAAM,0BAA0B,GAAG,CASxC,MAAkB,EAAE,EAAE;IACtB;;OAEG;IACH,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