@imolko/ultra-ddd 1.0.19 → 1.0.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-browser/aggregate-root/aggregate-with-props.mixin.d.ts +2 -2
- package/dist-browser/aggregate-root/aggregate-with-public-api.mixin.d.ts +32 -32
- package/dist-browser/aggregate-root/aggregate-with-static-members.mixin.d.ts +1 -1
- package/dist-browser/aggregate-root/memento/value-object.d.ts +5 -5
- package/dist-browser/entity/entity-with-props.mixin.d.ts +1 -1
- package/dist-browser/entity/entity-with-public-api.mixin.d.ts +10 -10
- package/dist-browser/entity/identity/humanid/value-object.d.ts +5 -5
- package/dist-browser/entity/identity/uuid/value-object.d.ts +5 -5
- package/dist-browser/event/aggregate-id/value-object.d.ts +5 -5
- package/dist-browser/event/aggregate-name/value-object.d.ts +5 -5
- package/dist-browser/event/cloud-event-ddd/value-object.d.ts +5 -5
- package/dist-browser/event/emitter-app/value-object.d.ts +5 -5
- package/dist-browser/event/emitter-domain/value-object.d.ts +5 -5
- package/dist-browser/event/event-data-content-type/value-object.d.ts +5 -5
- package/dist-browser/event/event-date/value-object.d.ts +5 -5
- package/dist-browser/event/event-name/value-object.d.ts +5 -5
- package/dist-browser/event/event-subject/value-object.d.ts +5 -5
- package/dist-browser/event/event-type/value-object.d.ts +5 -5
- package/dist-browser/event/event-type-owner/value-object.d.ts +5 -5
- package/dist-browser/event/instance/value-object.d.ts +5 -5
- package/dist-browser/event/registry-domain/value-object.d.ts +5 -5
- package/dist-browser/event/schema-location/value-object.d.ts +5 -5
- package/dist-browser/event/sem-ver/value-object.d.ts +5 -5
- package/dist-browser/event/shape/value-object.d.ts +32 -32
- package/dist-browser/event/shape-evolution/value-object.d.ts +59 -59
- package/dist-browser/value-object/value-object-with-props.mixin.d.ts +1 -1
- package/dist-browser/value-object/value-object-with-public-api.mixin.d.ts +10 -10
- package/dist-node/aggregate-root/aggregate-with-props.mixin.d.ts +2 -2
- package/dist-node/aggregate-root/aggregate-with-public-api.mixin.d.ts +32 -32
- package/dist-node/aggregate-root/aggregate-with-static-members.mixin.d.ts +1 -1
- package/dist-node/aggregate-root/memento/value-object.d.ts +5 -5
- package/dist-node/entity/entity-with-props.mixin.d.ts +1 -1
- package/dist-node/entity/entity-with-public-api.mixin.d.ts +10 -10
- package/dist-node/entity/identity/humanid/value-object.d.ts +5 -5
- package/dist-node/entity/identity/uuid/value-object.d.ts +5 -5
- package/dist-node/event/aggregate-id/value-object.d.ts +5 -5
- package/dist-node/event/aggregate-name/value-object.d.ts +5 -5
- package/dist-node/event/cloud-event-ddd/value-object.d.ts +5 -5
- package/dist-node/event/emitter-app/value-object.d.ts +5 -5
- package/dist-node/event/emitter-domain/value-object.d.ts +5 -5
- package/dist-node/event/event-data-content-type/value-object.d.ts +5 -5
- package/dist-node/event/event-date/value-object.d.ts +5 -5
- package/dist-node/event/event-name/value-object.d.ts +5 -5
- package/dist-node/event/event-subject/value-object.d.ts +5 -5
- package/dist-node/event/event-type/value-object.d.ts +5 -5
- package/dist-node/event/event-type-owner/value-object.d.ts +5 -5
- package/dist-node/event/instance/value-object.d.ts +5 -5
- package/dist-node/event/registry-domain/value-object.d.ts +5 -5
- package/dist-node/event/schema-location/value-object.d.ts +5 -5
- package/dist-node/event/sem-ver/value-object.d.ts +5 -5
- package/dist-node/event/shape/value-object.d.ts +32 -32
- package/dist-node/event/shape-evolution/value-object.d.ts +59 -59
- package/dist-node/value-object/value-object-with-props.mixin.d.ts +1 -1
- package/dist-node/value-object/value-object-with-public-api.mixin.d.ts +10 -10
- package/package.json +4 -4
|
@@ -46,8 +46,8 @@ export declare const AggregateWithProps: <IdType extends EntityId, Props extends
|
|
|
46
46
|
clone(changes: Partial<Props>): any;
|
|
47
47
|
}) & {
|
|
48
48
|
conditions: {
|
|
49
|
-
build: import("
|
|
50
|
-
rebuild: import("
|
|
49
|
+
build: import("zod").ZodType<Props, import("zod").ZodTypeDef, Payload>;
|
|
50
|
+
rebuild: import("zod").ZodType<Props, import("zod").ZodTypeDef, Snapshot>;
|
|
51
51
|
};
|
|
52
52
|
builder?(value: Props): import("./aggregate-root.class").AggregateRootBase<IdType, Props, Primitive, Snapshot>;
|
|
53
53
|
rebuilder?(value: Props): import("./aggregate-root.class").AggregateRootBase<IdType, Props, Primitive, Snapshot>;
|
|
@@ -19,7 +19,7 @@ export declare const AggregateWithPublicApi: <IdType extends EntityId, Props ext
|
|
|
19
19
|
readonly id: IdType;
|
|
20
20
|
}) & {
|
|
21
21
|
factoryUsed: boolean;
|
|
22
|
-
"__#
|
|
22
|
+
"__#3@#SECURITY_TOKEN": string;
|
|
23
23
|
rulesBuild<Implemented_1 extends any & {
|
|
24
24
|
new (...args: any[]): {
|
|
25
25
|
readonly _id: IdType;
|
|
@@ -49,8 +49,8 @@ export declare const AggregateWithPublicApi: <IdType extends EntityId, Props ext
|
|
|
49
49
|
clone(changes: Partial<Props>): any;
|
|
50
50
|
}) & {
|
|
51
51
|
conditions: {
|
|
52
|
-
build: import("
|
|
53
|
-
rebuild: import("
|
|
52
|
+
build: import("zod").ZodType<Props, import("zod").ZodTypeDef, Payload>;
|
|
53
|
+
rebuild: import("zod").ZodType<Props, import("zod").ZodTypeDef, Snapshot>;
|
|
54
54
|
};
|
|
55
55
|
builder?(value: Props): import("./aggregate-root.class").AggregateRootBase<IdType, Props, Primitive, Snapshot>;
|
|
56
56
|
rebuilder?(value: Props): import("./aggregate-root.class").AggregateRootBase<IdType, Props, Primitive, Snapshot>;
|
|
@@ -58,7 +58,7 @@ export declare const AggregateWithPublicApi: <IdType extends EntityId, Props ext
|
|
|
58
58
|
SECURITY_TOKEN: string;
|
|
59
59
|
PROPS_VERSION: number;
|
|
60
60
|
NAME: string;
|
|
61
|
-
}) & StaticSide>(this: Implemented_1): import("
|
|
61
|
+
}) & StaticSide>(this: Implemented_1): import("zod").ZodType<InstanceType<Implemented_1>, import("zod").ZodTypeDef, Payload>;
|
|
62
62
|
rulesRebuild<Implemented_2 extends any & {
|
|
63
63
|
new (...args: any[]): {
|
|
64
64
|
readonly _id: IdType;
|
|
@@ -88,8 +88,8 @@ export declare const AggregateWithPublicApi: <IdType extends EntityId, Props ext
|
|
|
88
88
|
clone(changes: Partial<Props>): any;
|
|
89
89
|
}) & {
|
|
90
90
|
conditions: {
|
|
91
|
-
build: import("
|
|
92
|
-
rebuild: import("
|
|
91
|
+
build: import("zod").ZodType<Props, import("zod").ZodTypeDef, Payload>;
|
|
92
|
+
rebuild: import("zod").ZodType<Props, import("zod").ZodTypeDef, Snapshot>;
|
|
93
93
|
};
|
|
94
94
|
builder?(value: Props): import("./aggregate-root.class").AggregateRootBase<IdType, Props, Primitive, Snapshot>;
|
|
95
95
|
rebuilder?(value: Props): import("./aggregate-root.class").AggregateRootBase<IdType, Props, Primitive, Snapshot>;
|
|
@@ -97,7 +97,7 @@ export declare const AggregateWithPublicApi: <IdType extends EntityId, Props ext
|
|
|
97
97
|
SECURITY_TOKEN: string;
|
|
98
98
|
PROPS_VERSION: number;
|
|
99
99
|
NAME: string;
|
|
100
|
-
}) & StaticSide>(this: Implemented_2): import("
|
|
100
|
+
}) & StaticSide>(this: Implemented_2): import("zod").ZodEffects<import("zod").ZodPipeline<import("zod").ZodEffects<import("zod").ZodType<import("./memento").Memento, import("zod").ZodTypeDef, {
|
|
101
101
|
aggregate: string;
|
|
102
102
|
modelVersion: number;
|
|
103
103
|
dataVersion: number;
|
|
@@ -111,7 +111,7 @@ export declare const AggregateWithPublicApi: <IdType extends EntityId, Props ext
|
|
|
111
111
|
state: Record<string, any>;
|
|
112
112
|
date: string;
|
|
113
113
|
hash: string;
|
|
114
|
-
}>, import("
|
|
114
|
+
}>, import("zod").ZodType<Props, import("zod").ZodTypeDef, Snapshot>>, InstanceType<Implemented_2>, {
|
|
115
115
|
aggregate: string;
|
|
116
116
|
modelVersion: number;
|
|
117
117
|
dataVersion: number;
|
|
@@ -148,8 +148,8 @@ export declare const AggregateWithPublicApi: <IdType extends EntityId, Props ext
|
|
|
148
148
|
clone(changes: Partial<Props>): any;
|
|
149
149
|
}) & {
|
|
150
150
|
conditions: {
|
|
151
|
-
build: import("
|
|
152
|
-
rebuild: import("
|
|
151
|
+
build: import("zod").ZodType<Props, import("zod").ZodTypeDef, Payload>;
|
|
152
|
+
rebuild: import("zod").ZodType<Props, import("zod").ZodTypeDef, Snapshot>;
|
|
153
153
|
};
|
|
154
154
|
builder?(value: Props): import("./aggregate-root.class").AggregateRootBase<IdType, Props, Primitive, Snapshot>;
|
|
155
155
|
rebuilder?(value: Props): import("./aggregate-root.class").AggregateRootBase<IdType, Props, Primitive, Snapshot>;
|
|
@@ -187,8 +187,8 @@ export declare const AggregateWithPublicApi: <IdType extends EntityId, Props ext
|
|
|
187
187
|
clone(changes: Partial<Props>): any;
|
|
188
188
|
}) & {
|
|
189
189
|
conditions: {
|
|
190
|
-
build: import("
|
|
191
|
-
rebuild: import("
|
|
190
|
+
build: import("zod").ZodType<Props, import("zod").ZodTypeDef, Payload>;
|
|
191
|
+
rebuild: import("zod").ZodType<Props, import("zod").ZodTypeDef, Snapshot>;
|
|
192
192
|
};
|
|
193
193
|
builder?(value: Props): import("./aggregate-root.class").AggregateRootBase<IdType, Props, Primitive, Snapshot>;
|
|
194
194
|
rebuilder?(value: Props): import("./aggregate-root.class").AggregateRootBase<IdType, Props, Primitive, Snapshot>;
|
|
@@ -227,8 +227,8 @@ export declare const AggregateWithPublicApi: <IdType extends EntityId, Props ext
|
|
|
227
227
|
};
|
|
228
228
|
SECURITY_TOKEN: string;
|
|
229
229
|
conditions: {
|
|
230
|
-
build: import("
|
|
231
|
-
rebuild: import("
|
|
230
|
+
build: import("zod").ZodType<Props, import("zod").ZodTypeDef, Payload>;
|
|
231
|
+
rebuild: import("zod").ZodType<Props, import("zod").ZodTypeDef, Snapshot>;
|
|
232
232
|
};
|
|
233
233
|
PROPS_VERSION: number;
|
|
234
234
|
NAME: string;
|
|
@@ -261,8 +261,8 @@ export declare const AggregateWithPublicApi: <IdType extends EntityId, Props ext
|
|
|
261
261
|
clone(changes: Partial<Props>): any;
|
|
262
262
|
}) & {
|
|
263
263
|
conditions: {
|
|
264
|
-
build: import("
|
|
265
|
-
rebuild: import("
|
|
264
|
+
build: import("zod").ZodType<Props, import("zod").ZodTypeDef, Payload>;
|
|
265
|
+
rebuild: import("zod").ZodType<Props, import("zod").ZodTypeDef, Snapshot>;
|
|
266
266
|
};
|
|
267
267
|
builder?(value: Props): import("./aggregate-root.class").AggregateRootBase<IdType, Props, Primitive, Snapshot>;
|
|
268
268
|
rebuilder?(value: Props): import("./aggregate-root.class").AggregateRootBase<IdType, Props, Primitive, Snapshot>;
|
|
@@ -289,7 +289,7 @@ export declare const AggregateWithProtection: <IdType extends EntityId, Props ex
|
|
|
289
289
|
readonly id: IdType;
|
|
290
290
|
}) & {
|
|
291
291
|
factoryUsed: boolean;
|
|
292
|
-
"__#
|
|
292
|
+
"__#3@#SECURITY_TOKEN": string;
|
|
293
293
|
rulesBuild<Implemented_1 extends any & {
|
|
294
294
|
new (...args: any[]): {
|
|
295
295
|
readonly _id: IdType;
|
|
@@ -319,8 +319,8 @@ export declare const AggregateWithProtection: <IdType extends EntityId, Props ex
|
|
|
319
319
|
clone(changes: Partial<Props>): any;
|
|
320
320
|
}) & {
|
|
321
321
|
conditions: {
|
|
322
|
-
build: import("
|
|
323
|
-
rebuild: import("
|
|
322
|
+
build: import("zod").ZodType<Props, import("zod").ZodTypeDef, Payload>;
|
|
323
|
+
rebuild: import("zod").ZodType<Props, import("zod").ZodTypeDef, Snapshot>;
|
|
324
324
|
};
|
|
325
325
|
builder?(value: Props): import("./aggregate-root.class").AggregateRootBase<IdType, Props, Primitive, Snapshot>;
|
|
326
326
|
rebuilder?(value: Props): import("./aggregate-root.class").AggregateRootBase<IdType, Props, Primitive, Snapshot>;
|
|
@@ -328,7 +328,7 @@ export declare const AggregateWithProtection: <IdType extends EntityId, Props ex
|
|
|
328
328
|
SECURITY_TOKEN: string;
|
|
329
329
|
PROPS_VERSION: number;
|
|
330
330
|
NAME: string;
|
|
331
|
-
}) & StaticSide>(this: Implemented_1): import("
|
|
331
|
+
}) & StaticSide>(this: Implemented_1): import("zod").ZodType<InstanceType<Implemented_1>, import("zod").ZodTypeDef, Payload>;
|
|
332
332
|
rulesRebuild<Implemented_2 extends any & {
|
|
333
333
|
new (...args: any[]): {
|
|
334
334
|
readonly _id: IdType;
|
|
@@ -358,8 +358,8 @@ export declare const AggregateWithProtection: <IdType extends EntityId, Props ex
|
|
|
358
358
|
clone(changes: Partial<Props>): any;
|
|
359
359
|
}) & {
|
|
360
360
|
conditions: {
|
|
361
|
-
build: import("
|
|
362
|
-
rebuild: import("
|
|
361
|
+
build: import("zod").ZodType<Props, import("zod").ZodTypeDef, Payload>;
|
|
362
|
+
rebuild: import("zod").ZodType<Props, import("zod").ZodTypeDef, Snapshot>;
|
|
363
363
|
};
|
|
364
364
|
builder?(value: Props): import("./aggregate-root.class").AggregateRootBase<IdType, Props, Primitive, Snapshot>;
|
|
365
365
|
rebuilder?(value: Props): import("./aggregate-root.class").AggregateRootBase<IdType, Props, Primitive, Snapshot>;
|
|
@@ -367,7 +367,7 @@ export declare const AggregateWithProtection: <IdType extends EntityId, Props ex
|
|
|
367
367
|
SECURITY_TOKEN: string;
|
|
368
368
|
PROPS_VERSION: number;
|
|
369
369
|
NAME: string;
|
|
370
|
-
}) & StaticSide>(this: Implemented_2): import("
|
|
370
|
+
}) & StaticSide>(this: Implemented_2): import("zod").ZodEffects<import("zod").ZodPipeline<import("zod").ZodEffects<import("zod").ZodType<import("./memento").Memento, import("zod").ZodTypeDef, {
|
|
371
371
|
aggregate: string;
|
|
372
372
|
modelVersion: number;
|
|
373
373
|
dataVersion: number;
|
|
@@ -381,7 +381,7 @@ export declare const AggregateWithProtection: <IdType extends EntityId, Props ex
|
|
|
381
381
|
state: Record<string, any>;
|
|
382
382
|
date: string;
|
|
383
383
|
hash: string;
|
|
384
|
-
}>, import("
|
|
384
|
+
}>, import("zod").ZodType<Props, import("zod").ZodTypeDef, Snapshot>>, InstanceType<Implemented_2>, {
|
|
385
385
|
aggregate: string;
|
|
386
386
|
modelVersion: number;
|
|
387
387
|
dataVersion: number;
|
|
@@ -418,8 +418,8 @@ export declare const AggregateWithProtection: <IdType extends EntityId, Props ex
|
|
|
418
418
|
clone(changes: Partial<Props>): any;
|
|
419
419
|
}) & {
|
|
420
420
|
conditions: {
|
|
421
|
-
build: import("
|
|
422
|
-
rebuild: import("
|
|
421
|
+
build: import("zod").ZodType<Props, import("zod").ZodTypeDef, Payload>;
|
|
422
|
+
rebuild: import("zod").ZodType<Props, import("zod").ZodTypeDef, Snapshot>;
|
|
423
423
|
};
|
|
424
424
|
builder?(value: Props): import("./aggregate-root.class").AggregateRootBase<IdType, Props, Primitive, Snapshot>;
|
|
425
425
|
rebuilder?(value: Props): import("./aggregate-root.class").AggregateRootBase<IdType, Props, Primitive, Snapshot>;
|
|
@@ -457,8 +457,8 @@ export declare const AggregateWithProtection: <IdType extends EntityId, Props ex
|
|
|
457
457
|
clone(changes: Partial<Props>): any;
|
|
458
458
|
}) & {
|
|
459
459
|
conditions: {
|
|
460
|
-
build: import("
|
|
461
|
-
rebuild: import("
|
|
460
|
+
build: import("zod").ZodType<Props, import("zod").ZodTypeDef, Payload>;
|
|
461
|
+
rebuild: import("zod").ZodType<Props, import("zod").ZodTypeDef, Snapshot>;
|
|
462
462
|
};
|
|
463
463
|
builder?(value: Props): import("./aggregate-root.class").AggregateRootBase<IdType, Props, Primitive, Snapshot>;
|
|
464
464
|
rebuilder?(value: Props): import("./aggregate-root.class").AggregateRootBase<IdType, Props, Primitive, Snapshot>;
|
|
@@ -497,8 +497,8 @@ export declare const AggregateWithProtection: <IdType extends EntityId, Props ex
|
|
|
497
497
|
};
|
|
498
498
|
SECURITY_TOKEN: string;
|
|
499
499
|
conditions: {
|
|
500
|
-
build: import("
|
|
501
|
-
rebuild: import("
|
|
500
|
+
build: import("zod").ZodType<Props, import("zod").ZodTypeDef, Payload>;
|
|
501
|
+
rebuild: import("zod").ZodType<Props, import("zod").ZodTypeDef, Snapshot>;
|
|
502
502
|
};
|
|
503
503
|
PROPS_VERSION: number;
|
|
504
504
|
NAME: string;
|
|
@@ -531,8 +531,8 @@ export declare const AggregateWithProtection: <IdType extends EntityId, Props ex
|
|
|
531
531
|
clone(changes: Partial<Props>): any;
|
|
532
532
|
}) & {
|
|
533
533
|
conditions: {
|
|
534
|
-
build: import("
|
|
535
|
-
rebuild: import("
|
|
534
|
+
build: import("zod").ZodType<Props, import("zod").ZodTypeDef, Payload>;
|
|
535
|
+
rebuild: import("zod").ZodType<Props, import("zod").ZodTypeDef, Snapshot>;
|
|
536
536
|
};
|
|
537
537
|
builder?(value: Props): import("./aggregate-root.class").AggregateRootBase<IdType, Props, Primitive, Snapshot>;
|
|
538
538
|
rebuilder?(value: Props): import("./aggregate-root.class").AggregateRootBase<IdType, Props, Primitive, Snapshot>;
|
|
@@ -55,7 +55,7 @@ export declare const AggregateWithStaticMembers: <IdType extends EntityId, Props
|
|
|
55
55
|
* En la clase final dejamos SECURITY_TOKEN como propiedad estática
|
|
56
56
|
* pública pero cambiamos el valor mostrado
|
|
57
57
|
*/
|
|
58
|
-
"__#
|
|
58
|
+
"__#3@#SECURITY_TOKEN": string;
|
|
59
59
|
/**
|
|
60
60
|
* Reglas para construir y reconstruir el agregado
|
|
61
61
|
* Se utiliza las conditions en la definition
|
|
@@ -79,7 +79,7 @@ declare const Memento_base: ((abstract new (...args: any[]) => {
|
|
|
79
79
|
securityToken: string;
|
|
80
80
|
};
|
|
81
81
|
}) & {
|
|
82
|
-
conditions: import("
|
|
82
|
+
conditions: import("zod").ZodType<any, import("zod").ZodTypeDef, any>;
|
|
83
83
|
builder?(value: Props): import("../../value-object").ValueObjectBase<Props, Primitive, {
|
|
84
84
|
aggregate: string;
|
|
85
85
|
modelVersion: number;
|
|
@@ -88,7 +88,7 @@ declare const Memento_base: ((abstract new (...args: any[]) => {
|
|
|
88
88
|
securityToken: string;
|
|
89
89
|
}>;
|
|
90
90
|
NAME: string;
|
|
91
|
-
}) & typeof Definition>(this: Implemented_1): import("
|
|
91
|
+
}) & typeof Definition>(this: Implemented_1): import("zod").ZodType<InstanceType<Implemented_1>, import("zod").ZodTypeDef, {
|
|
92
92
|
aggregate: string;
|
|
93
93
|
modelVersion: number;
|
|
94
94
|
dataVersion: number;
|
|
@@ -153,7 +153,7 @@ declare const Memento_base: ((abstract new (...args: any[]) => {
|
|
|
153
153
|
securityToken: string;
|
|
154
154
|
};
|
|
155
155
|
}) & {
|
|
156
|
-
conditions: import("
|
|
156
|
+
conditions: import("zod").ZodType<any, import("zod").ZodTypeDef, any>;
|
|
157
157
|
builder?(value: Props): import("../../value-object").ValueObjectBase<Props, Primitive, {
|
|
158
158
|
aggregate: string;
|
|
159
159
|
modelVersion: number;
|
|
@@ -188,7 +188,7 @@ declare const Memento_base: ((abstract new (...args: any[]) => {
|
|
|
188
188
|
securityToken: string;
|
|
189
189
|
};
|
|
190
190
|
};
|
|
191
|
-
conditions: import("
|
|
191
|
+
conditions: import("zod").ZodType<any, import("zod").ZodTypeDef, any>;
|
|
192
192
|
NAME: string;
|
|
193
193
|
}) & {
|
|
194
194
|
new (...args: any[]): {
|
|
@@ -248,7 +248,7 @@ declare const Memento_base: ((abstract new (...args: any[]) => {
|
|
|
248
248
|
securityToken: string;
|
|
249
249
|
};
|
|
250
250
|
}) & {
|
|
251
|
-
conditions: import("
|
|
251
|
+
conditions: import("zod").ZodType<any, import("zod").ZodTypeDef, any>;
|
|
252
252
|
builder?(value: Props): import("../../value-object").ValueObjectBase<Props, Primitive, {
|
|
253
253
|
aggregate: string;
|
|
254
254
|
modelVersion: number;
|
|
@@ -31,7 +31,7 @@ export declare const EntityWithProps: <IdType extends EntityId, Props extends En
|
|
|
31
31
|
readonly id: IdType;
|
|
32
32
|
clone(changes: Partial<Props>): any;
|
|
33
33
|
}) & {
|
|
34
|
-
conditions: import("
|
|
34
|
+
conditions: import("zod").ZodType<Props, import("zod").ZodTypeDef, Payload>;
|
|
35
35
|
builder?(value: Props): import("./entity-base").EntityBase<IdType, Props, Primitive, Payload>;
|
|
36
36
|
PROPS_VERSION: number;
|
|
37
37
|
NAME: string;
|
|
@@ -46,11 +46,11 @@ export declare const EntityWithPublicApi: <IdType extends EntityId, Props extend
|
|
|
46
46
|
readonly id: IdType;
|
|
47
47
|
clone(changes: Partial<Props>): any;
|
|
48
48
|
}) & {
|
|
49
|
-
conditions: import("
|
|
49
|
+
conditions: import("zod").ZodType<Props, import("zod").ZodTypeDef, Payload>;
|
|
50
50
|
builder?(value: Props): import("./entity-base").EntityBase<IdType, Props, Primitive, Payload>;
|
|
51
51
|
PROPS_VERSION: number;
|
|
52
52
|
NAME: string;
|
|
53
|
-
}) & StaticSide>(this: Implemented_1): import("
|
|
53
|
+
}) & StaticSide>(this: Implemented_1): import("zod").ZodType<InstanceType<Implemented_1>, import("zod").ZodTypeDef, Payload>;
|
|
54
54
|
create<Implemented_2 extends any & {
|
|
55
55
|
new (...args: any[]): {
|
|
56
56
|
readonly _id: IdType;
|
|
@@ -79,7 +79,7 @@ export declare const EntityWithPublicApi: <IdType extends EntityId, Props extend
|
|
|
79
79
|
readonly id: IdType;
|
|
80
80
|
clone(changes: Partial<Props>): any;
|
|
81
81
|
}) & {
|
|
82
|
-
conditions: import("
|
|
82
|
+
conditions: import("zod").ZodType<Props, import("zod").ZodTypeDef, Payload>;
|
|
83
83
|
builder?(value: Props): import("./entity-base").EntityBase<IdType, Props, Primitive, Payload>;
|
|
84
84
|
PROPS_VERSION: number;
|
|
85
85
|
NAME: string;
|
|
@@ -93,7 +93,7 @@ export declare const EntityWithPublicApi: <IdType extends EntityId, Props extend
|
|
|
93
93
|
equals<Implemented extends import("./entity-base").EntityBase<IdType, Props, Primitive, Payload>>(this: Implemented, object?: Implemented | undefined): boolean;
|
|
94
94
|
readonly id: IdType;
|
|
95
95
|
};
|
|
96
|
-
conditions: import("
|
|
96
|
+
conditions: import("zod").ZodType<Props, import("zod").ZodTypeDef, Payload>;
|
|
97
97
|
PROPS_VERSION: number;
|
|
98
98
|
NAME: string;
|
|
99
99
|
}) & {
|
|
@@ -124,7 +124,7 @@ export declare const EntityWithPublicApi: <IdType extends EntityId, Props extend
|
|
|
124
124
|
readonly id: IdType;
|
|
125
125
|
clone(changes: Partial<Props>): any;
|
|
126
126
|
}) & {
|
|
127
|
-
conditions: import("
|
|
127
|
+
conditions: import("zod").ZodType<Props, import("zod").ZodTypeDef, Payload>;
|
|
128
128
|
builder?(value: Props): import("./entity-base").EntityBase<IdType, Props, Primitive, Payload>;
|
|
129
129
|
PROPS_VERSION: number;
|
|
130
130
|
NAME: string;
|
|
@@ -174,11 +174,11 @@ export declare const EntityWithProtection: <IdType extends EntityId, Props exten
|
|
|
174
174
|
readonly id: IdType;
|
|
175
175
|
clone(changes: Partial<Props>): any;
|
|
176
176
|
}) & {
|
|
177
|
-
conditions: import("
|
|
177
|
+
conditions: import("zod").ZodType<Props, import("zod").ZodTypeDef, Payload>;
|
|
178
178
|
builder?(value: Props): import("./entity-base").EntityBase<IdType, Props, Primitive, Payload>;
|
|
179
179
|
PROPS_VERSION: number;
|
|
180
180
|
NAME: string;
|
|
181
|
-
}) & StaticSide>(this: Implemented_1): import("
|
|
181
|
+
}) & StaticSide>(this: Implemented_1): import("zod").ZodType<InstanceType<Implemented_1>, import("zod").ZodTypeDef, Payload>;
|
|
182
182
|
create<Implemented_2 extends any & {
|
|
183
183
|
new (...args: any[]): {
|
|
184
184
|
readonly _id: IdType;
|
|
@@ -207,7 +207,7 @@ export declare const EntityWithProtection: <IdType extends EntityId, Props exten
|
|
|
207
207
|
readonly id: IdType;
|
|
208
208
|
clone(changes: Partial<Props>): any;
|
|
209
209
|
}) & {
|
|
210
|
-
conditions: import("
|
|
210
|
+
conditions: import("zod").ZodType<Props, import("zod").ZodTypeDef, Payload>;
|
|
211
211
|
builder?(value: Props): import("./entity-base").EntityBase<IdType, Props, Primitive, Payload>;
|
|
212
212
|
PROPS_VERSION: number;
|
|
213
213
|
NAME: string;
|
|
@@ -221,7 +221,7 @@ export declare const EntityWithProtection: <IdType extends EntityId, Props exten
|
|
|
221
221
|
equals<Implemented extends import("./entity-base").EntityBase<IdType, Props, Primitive, Payload>>(this: Implemented, object?: Implemented | undefined): boolean;
|
|
222
222
|
readonly id: IdType;
|
|
223
223
|
};
|
|
224
|
-
conditions: import("
|
|
224
|
+
conditions: import("zod").ZodType<Props, import("zod").ZodTypeDef, Payload>;
|
|
225
225
|
PROPS_VERSION: number;
|
|
226
226
|
NAME: string;
|
|
227
227
|
}) & {
|
|
@@ -252,7 +252,7 @@ export declare const EntityWithProtection: <IdType extends EntityId, Props exten
|
|
|
252
252
|
readonly id: IdType;
|
|
253
253
|
clone(changes: Partial<Props>): any;
|
|
254
254
|
}) & {
|
|
255
|
-
conditions: import("
|
|
255
|
+
conditions: import("zod").ZodType<Props, import("zod").ZodTypeDef, Payload>;
|
|
256
256
|
builder?(value: Props): import("./entity-base").EntityBase<IdType, Props, Primitive, Payload>;
|
|
257
257
|
PROPS_VERSION: number;
|
|
258
258
|
NAME: string;
|
|
@@ -30,10 +30,10 @@ declare const Humanid_base: ((abstract new (...args: any[]) => {
|
|
|
30
30
|
getPrimitive(): string;
|
|
31
31
|
getPayload(): string;
|
|
32
32
|
}) & {
|
|
33
|
-
conditions: import("
|
|
33
|
+
conditions: import("zod").ZodType<any, import("zod").ZodTypeDef, any>;
|
|
34
34
|
builder?(value: Props): import("../../../value-object").ValueObjectBase<Props, string, string>;
|
|
35
35
|
NAME: string;
|
|
36
|
-
}) & typeof Definition>(this: Implemented_1): import("
|
|
36
|
+
}) & typeof Definition>(this: Implemented_1): import("zod").ZodType<InstanceType<Implemented_1>, import("zod").ZodTypeDef, string>;
|
|
37
37
|
of<Implemented_2 extends any & {
|
|
38
38
|
new (...args: any[]): {
|
|
39
39
|
readonly props: Readonly<Props>;
|
|
@@ -56,7 +56,7 @@ declare const Humanid_base: ((abstract new (...args: any[]) => {
|
|
|
56
56
|
getPrimitive(): string;
|
|
57
57
|
getPayload(): string;
|
|
58
58
|
}) & {
|
|
59
|
-
conditions: import("
|
|
59
|
+
conditions: import("zod").ZodType<any, import("zod").ZodTypeDef, any>;
|
|
60
60
|
builder?(value: Props): import("../../../value-object").ValueObjectBase<Props, string, string>;
|
|
61
61
|
NAME: string;
|
|
62
62
|
}) & typeof Definition>(this: Implemented_2, payload: string): import("@imolko/ultra-result").Validation<import("@imolko/ultra-v8n").InvalidStringError, InstanceType<Implemented_2>>;
|
|
@@ -67,7 +67,7 @@ declare const Humanid_base: ((abstract new (...args: any[]) => {
|
|
|
67
67
|
getPrimitive(): string;
|
|
68
68
|
getPayload(): string;
|
|
69
69
|
};
|
|
70
|
-
conditions: import("
|
|
70
|
+
conditions: import("zod").ZodType<any, import("zod").ZodTypeDef, any>;
|
|
71
71
|
NAME: string;
|
|
72
72
|
}) & {
|
|
73
73
|
new (...args: any[]): {
|
|
@@ -91,7 +91,7 @@ declare const Humanid_base: ((abstract new (...args: any[]) => {
|
|
|
91
91
|
getPrimitive(): string;
|
|
92
92
|
getPayload(): string;
|
|
93
93
|
}) & {
|
|
94
|
-
conditions: import("
|
|
94
|
+
conditions: import("zod").ZodType<any, import("zod").ZodTypeDef, any>;
|
|
95
95
|
builder?(value: Props): import("../../../value-object").ValueObjectBase<Props, string, string>;
|
|
96
96
|
NAME: string;
|
|
97
97
|
}) & typeof Definition;
|
|
@@ -30,10 +30,10 @@ declare const Uuid_base: ((abstract new (...args: any[]) => {
|
|
|
30
30
|
getPrimitive(): string;
|
|
31
31
|
getPayload(): string;
|
|
32
32
|
}) & {
|
|
33
|
-
conditions: import("
|
|
33
|
+
conditions: import("zod").ZodType<any, import("zod").ZodTypeDef, any>;
|
|
34
34
|
builder?(value: Props): import("../../../value-object").ValueObjectBase<Props, string, string>;
|
|
35
35
|
NAME: string;
|
|
36
|
-
}) & typeof Definition>(this: Implemented_1): import("
|
|
36
|
+
}) & typeof Definition>(this: Implemented_1): import("zod").ZodType<InstanceType<Implemented_1>, import("zod").ZodTypeDef, string>;
|
|
37
37
|
of<Implemented_2 extends any & {
|
|
38
38
|
new (...args: any[]): {
|
|
39
39
|
readonly props: Readonly<Props>;
|
|
@@ -56,7 +56,7 @@ declare const Uuid_base: ((abstract new (...args: any[]) => {
|
|
|
56
56
|
getPrimitive(): string;
|
|
57
57
|
getPayload(): string;
|
|
58
58
|
}) & {
|
|
59
|
-
conditions: import("
|
|
59
|
+
conditions: import("zod").ZodType<any, import("zod").ZodTypeDef, any>;
|
|
60
60
|
builder?(value: Props): import("../../../value-object").ValueObjectBase<Props, string, string>;
|
|
61
61
|
NAME: string;
|
|
62
62
|
}) & typeof Definition>(this: Implemented_2, payload: string): import("@imolko/ultra-result").Validation<import("@imolko/ultra-v8n").InvalidStringError, InstanceType<Implemented_2>>;
|
|
@@ -67,7 +67,7 @@ declare const Uuid_base: ((abstract new (...args: any[]) => {
|
|
|
67
67
|
getPrimitive(): string;
|
|
68
68
|
getPayload(): string;
|
|
69
69
|
};
|
|
70
|
-
conditions: import("
|
|
70
|
+
conditions: import("zod").ZodType<any, import("zod").ZodTypeDef, any>;
|
|
71
71
|
NAME: string;
|
|
72
72
|
}) & {
|
|
73
73
|
new (...args: any[]): {
|
|
@@ -91,7 +91,7 @@ declare const Uuid_base: ((abstract new (...args: any[]) => {
|
|
|
91
91
|
getPrimitive(): string;
|
|
92
92
|
getPayload(): string;
|
|
93
93
|
}) & {
|
|
94
|
-
conditions: import("
|
|
94
|
+
conditions: import("zod").ZodType<any, import("zod").ZodTypeDef, any>;
|
|
95
95
|
builder?(value: Props): import("../../../value-object").ValueObjectBase<Props, string, string>;
|
|
96
96
|
NAME: string;
|
|
97
97
|
}) & typeof Definition;
|
|
@@ -31,10 +31,10 @@ declare const AggregateId_base: ((abstract new (...args: any[]) => {
|
|
|
31
31
|
getPrimitive(): string;
|
|
32
32
|
getPayload(): string;
|
|
33
33
|
}) & {
|
|
34
|
-
conditions: import("
|
|
34
|
+
conditions: import("zod").ZodType<any, import("zod").ZodTypeDef, any>;
|
|
35
35
|
builder?(value: Props): import("../../value-object").ValueObjectBase<Props, string, string>;
|
|
36
36
|
NAME: string;
|
|
37
|
-
}) & typeof Definition>(this: Implemented_1): import("
|
|
37
|
+
}) & typeof Definition>(this: Implemented_1): import("zod").ZodType<InstanceType<Implemented_1>, import("zod").ZodTypeDef, string>;
|
|
38
38
|
of<Implemented_2 extends any & {
|
|
39
39
|
new (...args: any[]): {
|
|
40
40
|
readonly props: Readonly<Props>;
|
|
@@ -57,7 +57,7 @@ declare const AggregateId_base: ((abstract new (...args: any[]) => {
|
|
|
57
57
|
getPrimitive(): string;
|
|
58
58
|
getPayload(): string;
|
|
59
59
|
}) & {
|
|
60
|
-
conditions: import("
|
|
60
|
+
conditions: import("zod").ZodType<any, import("zod").ZodTypeDef, any>;
|
|
61
61
|
builder?(value: Props): import("../../value-object").ValueObjectBase<Props, string, string>;
|
|
62
62
|
NAME: string;
|
|
63
63
|
}) & typeof Definition>(this: Implemented_2, payload: string): import("@imolko/ultra-result").Validation<Errors, InstanceType<Implemented_2>>;
|
|
@@ -68,7 +68,7 @@ declare const AggregateId_base: ((abstract new (...args: any[]) => {
|
|
|
68
68
|
getPrimitive(): string;
|
|
69
69
|
getPayload(): string;
|
|
70
70
|
};
|
|
71
|
-
conditions: import("
|
|
71
|
+
conditions: import("zod").ZodType<any, import("zod").ZodTypeDef, any>;
|
|
72
72
|
NAME: string;
|
|
73
73
|
}) & {
|
|
74
74
|
new (...args: any[]): {
|
|
@@ -92,7 +92,7 @@ declare const AggregateId_base: ((abstract new (...args: any[]) => {
|
|
|
92
92
|
getPrimitive(): string;
|
|
93
93
|
getPayload(): string;
|
|
94
94
|
}) & {
|
|
95
|
-
conditions: import("
|
|
95
|
+
conditions: import("zod").ZodType<any, import("zod").ZodTypeDef, any>;
|
|
96
96
|
builder?(value: Props): import("../../value-object").ValueObjectBase<Props, string, string>;
|
|
97
97
|
NAME: string;
|
|
98
98
|
}) & typeof Definition;
|
|
@@ -31,10 +31,10 @@ declare const AggregateName_base: ((abstract new (...args: any[]) => {
|
|
|
31
31
|
getPrimitive(): string;
|
|
32
32
|
getPayload(): string;
|
|
33
33
|
}) & {
|
|
34
|
-
conditions: import("
|
|
34
|
+
conditions: import("zod").ZodType<any, import("zod").ZodTypeDef, any>;
|
|
35
35
|
builder?(value: Props): import("../../value-object").ValueObjectBase<Props, string, string>;
|
|
36
36
|
NAME: string;
|
|
37
|
-
}) & typeof Definition>(this: Implemented_1): import("
|
|
37
|
+
}) & typeof Definition>(this: Implemented_1): import("zod").ZodType<InstanceType<Implemented_1>, import("zod").ZodTypeDef, string>;
|
|
38
38
|
of<Implemented_2 extends any & {
|
|
39
39
|
new (...args: any[]): {
|
|
40
40
|
readonly props: Readonly<Props>;
|
|
@@ -57,7 +57,7 @@ declare const AggregateName_base: ((abstract new (...args: any[]) => {
|
|
|
57
57
|
getPrimitive(): string;
|
|
58
58
|
getPayload(): string;
|
|
59
59
|
}) & {
|
|
60
|
-
conditions: import("
|
|
60
|
+
conditions: import("zod").ZodType<any, import("zod").ZodTypeDef, any>;
|
|
61
61
|
builder?(value: Props): import("../../value-object").ValueObjectBase<Props, string, string>;
|
|
62
62
|
NAME: string;
|
|
63
63
|
}) & typeof Definition>(this: Implemented_2, payload: string): import("@imolko/ultra-result").Validation<Errors, InstanceType<Implemented_2>>;
|
|
@@ -68,7 +68,7 @@ declare const AggregateName_base: ((abstract new (...args: any[]) => {
|
|
|
68
68
|
getPrimitive(): string;
|
|
69
69
|
getPayload(): string;
|
|
70
70
|
};
|
|
71
|
-
conditions: import("
|
|
71
|
+
conditions: import("zod").ZodType<any, import("zod").ZodTypeDef, any>;
|
|
72
72
|
NAME: string;
|
|
73
73
|
}) & {
|
|
74
74
|
new (...args: any[]): {
|
|
@@ -92,7 +92,7 @@ declare const AggregateName_base: ((abstract new (...args: any[]) => {
|
|
|
92
92
|
getPrimitive(): string;
|
|
93
93
|
getPayload(): string;
|
|
94
94
|
}) & {
|
|
95
|
-
conditions: import("
|
|
95
|
+
conditions: import("zod").ZodType<any, import("zod").ZodTypeDef, any>;
|
|
96
96
|
builder?(value: Props): import("../../value-object").ValueObjectBase<Props, string, string>;
|
|
97
97
|
NAME: string;
|
|
98
98
|
}) & typeof Definition;
|
|
@@ -136,7 +136,7 @@ declare const CloudEventDdd_base: ((abstract new (...args: any[]) => {
|
|
|
136
136
|
data?: Record<string, any> | undefined;
|
|
137
137
|
};
|
|
138
138
|
}) & {
|
|
139
|
-
conditions: import("
|
|
139
|
+
conditions: import("zod").ZodType<any, import("zod").ZodTypeDef, any>;
|
|
140
140
|
builder?(value: Props): import("../../value-object").ValueObjectBase<Props, Primitive, {
|
|
141
141
|
type: string;
|
|
142
142
|
time: string;
|
|
@@ -152,7 +152,7 @@ declare const CloudEventDdd_base: ((abstract new (...args: any[]) => {
|
|
|
152
152
|
data?: Record<string, any> | undefined;
|
|
153
153
|
}>;
|
|
154
154
|
NAME: string;
|
|
155
|
-
}) & typeof Definition>(this: Implemented_1): import("
|
|
155
|
+
}) & typeof Definition>(this: Implemented_1): import("zod").ZodType<InstanceType<Implemented_1>, import("zod").ZodTypeDef, {
|
|
156
156
|
type: string;
|
|
157
157
|
time: string;
|
|
158
158
|
instance: string;
|
|
@@ -266,7 +266,7 @@ declare const CloudEventDdd_base: ((abstract new (...args: any[]) => {
|
|
|
266
266
|
data?: Record<string, any> | undefined;
|
|
267
267
|
};
|
|
268
268
|
}) & {
|
|
269
|
-
conditions: import("
|
|
269
|
+
conditions: import("zod").ZodType<any, import("zod").ZodTypeDef, any>;
|
|
270
270
|
builder?(value: Props): import("../../value-object").ValueObjectBase<Props, Primitive, {
|
|
271
271
|
type: string;
|
|
272
272
|
time: string;
|
|
@@ -329,7 +329,7 @@ declare const CloudEventDdd_base: ((abstract new (...args: any[]) => {
|
|
|
329
329
|
data?: Record<string, any> | undefined;
|
|
330
330
|
};
|
|
331
331
|
};
|
|
332
|
-
conditions: import("
|
|
332
|
+
conditions: import("zod").ZodType<any, import("zod").ZodTypeDef, any>;
|
|
333
333
|
NAME: string;
|
|
334
334
|
}) & {
|
|
335
335
|
new (...args: any[]): {
|
|
@@ -431,7 +431,7 @@ declare const CloudEventDdd_base: ((abstract new (...args: any[]) => {
|
|
|
431
431
|
data?: Record<string, any> | undefined;
|
|
432
432
|
};
|
|
433
433
|
}) & {
|
|
434
|
-
conditions: import("
|
|
434
|
+
conditions: import("zod").ZodType<any, import("zod").ZodTypeDef, any>;
|
|
435
435
|
builder?(value: Props): import("../../value-object").ValueObjectBase<Props, Primitive, {
|
|
436
436
|
type: string;
|
|
437
437
|
time: string;
|
|
@@ -31,10 +31,10 @@ declare const EmitterApp_base: ((abstract new (...args: any[]) => {
|
|
|
31
31
|
getPrimitive(): string;
|
|
32
32
|
getPayload(): string;
|
|
33
33
|
}) & {
|
|
34
|
-
conditions: import("
|
|
34
|
+
conditions: import("zod").ZodType<any, import("zod").ZodTypeDef, any>;
|
|
35
35
|
builder?(value: Props): import("../../value-object").ValueObjectBase<Props, string, string>;
|
|
36
36
|
NAME: string;
|
|
37
|
-
}) & typeof Definition>(this: Implemented_1): import("
|
|
37
|
+
}) & typeof Definition>(this: Implemented_1): import("zod").ZodType<InstanceType<Implemented_1>, import("zod").ZodTypeDef, string>;
|
|
38
38
|
of<Implemented_2 extends any & {
|
|
39
39
|
new (...args: any[]): {
|
|
40
40
|
readonly props: Readonly<Props>;
|
|
@@ -57,7 +57,7 @@ declare const EmitterApp_base: ((abstract new (...args: any[]) => {
|
|
|
57
57
|
getPrimitive(): string;
|
|
58
58
|
getPayload(): string;
|
|
59
59
|
}) & {
|
|
60
|
-
conditions: import("
|
|
60
|
+
conditions: import("zod").ZodType<any, import("zod").ZodTypeDef, any>;
|
|
61
61
|
builder?(value: Props): import("../../value-object").ValueObjectBase<Props, string, string>;
|
|
62
62
|
NAME: string;
|
|
63
63
|
}) & typeof Definition>(this: Implemented_2, payload: string): import("@imolko/ultra-result").Validation<Errors, InstanceType<Implemented_2>>;
|
|
@@ -68,7 +68,7 @@ declare const EmitterApp_base: ((abstract new (...args: any[]) => {
|
|
|
68
68
|
getPrimitive(): string;
|
|
69
69
|
getPayload(): string;
|
|
70
70
|
};
|
|
71
|
-
conditions: import("
|
|
71
|
+
conditions: import("zod").ZodType<any, import("zod").ZodTypeDef, any>;
|
|
72
72
|
NAME: string;
|
|
73
73
|
}) & {
|
|
74
74
|
new (...args: any[]): {
|
|
@@ -92,7 +92,7 @@ declare const EmitterApp_base: ((abstract new (...args: any[]) => {
|
|
|
92
92
|
getPrimitive(): string;
|
|
93
93
|
getPayload(): string;
|
|
94
94
|
}) & {
|
|
95
|
-
conditions: import("
|
|
95
|
+
conditions: import("zod").ZodType<any, import("zod").ZodTypeDef, any>;
|
|
96
96
|
builder?(value: Props): import("../../value-object").ValueObjectBase<Props, string, string>;
|
|
97
97
|
NAME: string;
|
|
98
98
|
}) & typeof Definition;
|