@imolko/ultra-ddd 2.0.3 → 2.1.0-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.
- package/dist-browser/aggregate-root/aggregate-with-public-api.mixin.d.ts +2 -2
- package/dist-browser/aggregate-root/aggregate-with-static-members.mixin.d.ts +1 -1
- package/dist-browser/aggregate-root/aggregate-with-static-members.mixin.js +11 -18
- package/dist-browser/aggregate-root/aggregate-with-static-members.mixin.js.map +1 -1
- package/dist-browser/aggregate-root/memento/value-object.d.ts +14 -14
- package/dist-browser/aggregate-root/use-examples/product-woo/aggregate.d.ts +1 -1
- package/dist-browser/entity/identity/humanid/value-object.d.ts +14 -14
- package/dist-browser/entity/identity/numericid/value-object.d.ts +14 -14
- package/dist-browser/entity/identity/uuid/value-object.d.ts +14 -14
- package/dist-browser/event/aggregate-id/value-object.d.ts +14 -14
- package/dist-browser/event/aggregate-name/value-object.d.ts +14 -14
- package/dist-browser/event/cloud-event-ddd/value-object.d.ts +14 -14
- package/dist-browser/event/domain-event/domain-event-base.class.d.ts +32 -32
- package/dist-browser/event/domain-event/index.d.ts +1 -0
- package/dist-browser/event/domain-event/index.d.ts.map +1 -1
- package/dist-browser/event/domain-event/index.js +1 -0
- package/dist-browser/event/domain-event/index.js.map +1 -1
- package/dist-browser/event/emitter-app/value-object.d.ts +14 -14
- package/dist-browser/event/emitter-domain/value-object.d.ts +14 -14
- package/dist-browser/event/event-data-content-type/value-object.d.ts +14 -14
- package/dist-browser/event/event-date/value-object.d.ts +14 -14
- package/dist-browser/event/event-name/value-object.d.ts +14 -14
- package/dist-browser/event/event-subject/value-object.d.ts +14 -14
- package/dist-browser/event/event-type/value-object.d.ts +14 -14
- package/dist-browser/event/event-type-owner/value-object.d.ts +14 -14
- package/dist-browser/event/instance/value-object.d.ts +14 -14
- package/dist-browser/event/registry-domain/value-object.d.ts +14 -14
- package/dist-browser/event/schema-location/value-object.d.ts +14 -14
- package/dist-browser/event/sem-ver/value-object.d.ts +14 -14
- package/dist-browser/event/shape/value-object.d.ts +14 -14
- package/dist-browser/event/shape-evolution/value-object.d.ts +14 -14
- package/dist-browser/event/use-samples/file-uploaded/event.d.ts +1 -1
- package/dist-browser/event/use-samples/nested-event/event.d.ts +1 -1
- package/dist-browser/event/use-samples/validated-artifact/artifacts/aggregate.d.ts +5 -5
- package/dist-browser/event/use-samples/validated-artifact/event.d.ts +1 -1
- package/dist-browser/test/execute-sequentially/artifacts/aggregate.d.ts +5 -5
- package/dist-node/aggregate-root/aggregate-with-public-api.mixin.d.ts +2 -2
- package/dist-node/aggregate-root/aggregate-with-static-members.mixin.d.ts +1 -1
- package/dist-node/aggregate-root/aggregate-with-static-members.mixin.js +11 -18
- package/dist-node/aggregate-root/aggregate-with-static-members.mixin.js.map +1 -1
- package/dist-node/aggregate-root/memento/value-object.d.ts +14 -14
- package/dist-node/aggregate-root/use-examples/product-woo/aggregate.d.ts +1 -1
- package/dist-node/entity/identity/humanid/value-object.d.ts +14 -14
- package/dist-node/entity/identity/numericid/value-object.d.ts +14 -14
- package/dist-node/entity/identity/uuid/value-object.d.ts +14 -14
- package/dist-node/event/aggregate-id/value-object.d.ts +14 -14
- package/dist-node/event/aggregate-name/value-object.d.ts +14 -14
- package/dist-node/event/cloud-event-ddd/value-object.d.ts +14 -14
- package/dist-node/event/domain-event/domain-event-base.class.d.ts +32 -32
- package/dist-node/event/domain-event/index.d.ts +1 -0
- package/dist-node/event/domain-event/index.d.ts.map +1 -1
- package/dist-node/event/domain-event/index.js +3 -1
- package/dist-node/event/domain-event/index.js.map +1 -1
- package/dist-node/event/emitter-app/value-object.d.ts +14 -14
- package/dist-node/event/emitter-domain/value-object.d.ts +14 -14
- package/dist-node/event/event-data-content-type/value-object.d.ts +14 -14
- package/dist-node/event/event-date/value-object.d.ts +14 -14
- package/dist-node/event/event-name/value-object.d.ts +14 -14
- package/dist-node/event/event-subject/value-object.d.ts +14 -14
- package/dist-node/event/event-type/value-object.d.ts +14 -14
- package/dist-node/event/event-type-owner/value-object.d.ts +14 -14
- package/dist-node/event/instance/value-object.d.ts +14 -14
- package/dist-node/event/registry-domain/value-object.d.ts +14 -14
- package/dist-node/event/schema-location/value-object.d.ts +14 -14
- package/dist-node/event/sem-ver/value-object.d.ts +14 -14
- package/dist-node/event/shape/value-object.d.ts +14 -14
- package/dist-node/event/shape-evolution/value-object.d.ts +14 -14
- package/dist-node/event/use-samples/file-uploaded/event.d.ts +1 -1
- package/dist-node/event/use-samples/nested-event/event.d.ts +1 -1
- package/dist-node/event/use-samples/validated-artifact/artifacts/aggregate.d.ts +5 -5
- package/dist-node/event/use-samples/validated-artifact/event.d.ts +1 -1
- package/dist-node/test/execute-sequentially/artifacts/aggregate.d.ts +5 -5
- package/package.json +12 -12
|
@@ -4,7 +4,7 @@ import { Definition } from './definition';
|
|
|
4
4
|
declare const AggregateId_base: ((abstract new (...args: any[]) => {
|
|
5
5
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
6
6
|
readonly props: Readonly<Props>;
|
|
7
|
-
equals<Implemented extends import("
|
|
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 AggregateId_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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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 AggregateId_base: ((abstract new (...args: any[]) => {
|
|
|
73
73
|
}) & {
|
|
74
74
|
new (...args: any[]): {
|
|
75
75
|
readonly props: Readonly<Props>;
|
|
76
|
-
equals<Implemented extends import("
|
|
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("
|
|
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("
|
|
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("
|
|
96
|
+
builder?(value: Props): import("../..").ValueObjectBase<Props, string, string>;
|
|
97
97
|
NAME: string;
|
|
98
98
|
}) & typeof Definition;
|
|
99
99
|
export declare class AggregateId extends AggregateId_base {
|
|
@@ -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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
95
|
-
context: import("
|
|
96
|
-
instance: import("
|
|
97
|
-
tenantId: import("
|
|
98
|
-
schemaRegistryUrl: import("
|
|
99
|
-
emitterDomain: import("
|
|
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("
|
|
102
|
-
id: import("
|
|
103
|
-
ocurredAt: import("
|
|
104
|
-
publishedAt: import("
|
|
105
|
-
aggregateId: import("
|
|
106
|
-
dataSchemaVersion: import("
|
|
107
|
-
data: import("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
176
|
-
context: import("
|
|
177
|
-
instance: import("
|
|
178
|
-
tenantId: import("
|
|
179
|
-
schemaRegistryUrl: import("
|
|
180
|
-
emitterDomain: import("
|
|
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("
|
|
183
|
-
id: import("
|
|
184
|
-
ocurredAt: import("
|
|
185
|
-
publishedAt: import("
|
|
186
|
-
aggregateId: import("
|
|
187
|
-
dataSchemaVersion: import("
|
|
188
|
-
data: import("
|
|
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("
|
|
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("
|
|
205
|
+
}>>, import("zod").ZodTransform<Awaited<InstanceType<Implemented>>, Props>>;
|
|
206
206
|
/**
|
|
207
207
|
* Método público para "producir" una ocurrencia del evento.
|
|
208
208
|
*
|
|
@@ -3,6 +3,7 @@ export { DomainEventFactory } from './domain-event-factory.mixin';
|
|
|
3
3
|
export { EventScope } from './event-scope.enum';
|
|
4
4
|
export { PrivateMethodNotAllowedInEvent } from './errors';
|
|
5
5
|
export { EventDefinitionPayload } from './event-definition-payload';
|
|
6
|
+
export { DomainEventBase } from './domain-event-base.class';
|
|
6
7
|
export { EventPublicApi } from './event-public-api.type';
|
|
7
8
|
export { RegisterEvent } from './register-event.decorator';
|
|
8
9
|
export { payloadFactory } from './payload-factory';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/event/domain-event/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAC5D,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAClE,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAE/C,OAAO,EAAE,8BAA8B,EAAE,MAAM,UAAU,CAAC;AAC1D,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,cAAc,SAAS,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/event/domain-event/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAC5D,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAClE,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAE/C,OAAO,EAAE,8BAA8B,EAAE,MAAM,UAAU,CAAC;AAC1D,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,cAAc,SAAS,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export { DomainEventFactory } from './domain-event-factory.mixin';
|
|
2
2
|
export { EventScope } from './event-scope.enum';
|
|
3
3
|
export { PrivateMethodNotAllowedInEvent } from './errors';
|
|
4
|
+
export { DomainEventBase } from './domain-event-base.class';
|
|
4
5
|
export { RegisterEvent } from './register-event.decorator';
|
|
5
6
|
export { payloadFactory } from './payload-factory';
|
|
6
7
|
export * from './types';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/event/domain-event/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAClE,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAE/C,OAAO,EAAE,8BAA8B,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/event/domain-event/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAClE,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAE/C,OAAO,EAAE,8BAA8B,EAAE,MAAM,UAAU,CAAC;AAE1D,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAE5D,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,cAAc,SAAS,CAAC"}
|
|
@@ -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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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 {
|