@imolko/ultra-ddd 2.0.3 → 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.
- 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/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/validated-artifact/artifacts/aggregate.d.ts +5 -5
- 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/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/validated-artifact/artifacts/aggregate.d.ts +5 -5
- package/dist-node/test/execute-sequentially/artifacts/aggregate.d.ts +5 -5
- package/package.json +12 -12
|
@@ -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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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,8 +1,3 @@
|
|
|
1
|
-
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
2
|
-
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
3
|
-
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");
|
|
4
|
-
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
5
|
-
};
|
|
6
1
|
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
7
2
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
8
3
|
import { validateZodSchema, zodWrapper } from '@imolko/ultra-v8n';
|
|
@@ -37,7 +32,6 @@ const assertFactoryUsed = (factoryUsed) => {
|
|
|
37
32
|
* @returns Clase con todos los métodos estáticos y de instancia que ofrece el agregado
|
|
38
33
|
*/
|
|
39
34
|
export const AggregateWithStaticMembers = (Source) => {
|
|
40
|
-
var _a, _TunedClass_SECURITY_TOKEN;
|
|
41
35
|
/**
|
|
42
36
|
* Validamos que el NAME contenga sólo minúsculas o guiones
|
|
43
37
|
*/
|
|
@@ -104,11 +98,11 @@ export const AggregateWithStaticMembers = (Source) => {
|
|
|
104
98
|
/**
|
|
105
99
|
* Verificamos que la bandera esté en true
|
|
106
100
|
*/
|
|
107
|
-
assertFactoryUsed(
|
|
101
|
+
assertFactoryUsed(TunedClass.factoryUsed);
|
|
108
102
|
/**
|
|
109
103
|
* Colocamos la bandera en falso para la próxima ejecución
|
|
110
104
|
*/
|
|
111
|
-
|
|
105
|
+
TunedClass.factoryUsed = false;
|
|
112
106
|
/**
|
|
113
107
|
* Ejecutamos el constructor de la base
|
|
114
108
|
*/
|
|
@@ -154,7 +148,7 @@ export const AggregateWithStaticMembers = (Source) => {
|
|
|
154
148
|
* Establecemos la variable estática para que se ejecute
|
|
155
149
|
* cada vez que se parsee las rules()
|
|
156
150
|
*/
|
|
157
|
-
|
|
151
|
+
TunedClass.factoryUsed = true;
|
|
158
152
|
/**
|
|
159
153
|
* Aseguramos que la función esté bindeada a la clase implementada
|
|
160
154
|
*/
|
|
@@ -200,7 +194,7 @@ export const AggregateWithStaticMembers = (Source) => {
|
|
|
200
194
|
* Establecemos la variable estática para que se ejecute
|
|
201
195
|
* cada vez que se parsee las rules()
|
|
202
196
|
*/
|
|
203
|
-
|
|
197
|
+
TunedClass.factoryUsed = true;
|
|
204
198
|
/**
|
|
205
199
|
* Aseguramos que la función esté bindeada a la clase implementada
|
|
206
200
|
*/
|
|
@@ -214,10 +208,10 @@ export const AggregateWithStaticMembers = (Source) => {
|
|
|
214
208
|
/**
|
|
215
209
|
* Procesamos el memento con el security token
|
|
216
210
|
*/
|
|
217
|
-
return Memento.reload(
|
|
211
|
+
return Memento.reload(TunedClass.SECURITY_TOKEN_INTERNAL)
|
|
218
212
|
.transform(updateSnapshot)
|
|
219
213
|
// TODO: no me gusta esta solucion. Buscar una mejor manera
|
|
220
|
-
.pipe(
|
|
214
|
+
.pipe(TunedClass.conditions.rebuild)
|
|
221
215
|
.transform(zodTransformer);
|
|
222
216
|
}
|
|
223
217
|
;
|
|
@@ -267,7 +261,7 @@ export const AggregateWithStaticMembers = (Source) => {
|
|
|
267
261
|
* @returns Objeto nuevo creado
|
|
268
262
|
*/
|
|
269
263
|
clone(changes) {
|
|
270
|
-
|
|
264
|
+
TunedClass.factoryUsed = true;
|
|
271
265
|
return super.clone(changes);
|
|
272
266
|
}
|
|
273
267
|
/**
|
|
@@ -279,20 +273,19 @@ export const AggregateWithStaticMembers = (Source) => {
|
|
|
279
273
|
*/
|
|
280
274
|
takeMemento() {
|
|
281
275
|
const body = {
|
|
282
|
-
aggregate:
|
|
283
|
-
modelVersion:
|
|
276
|
+
aggregate: TunedClass.NAME,
|
|
277
|
+
modelVersion: TunedClass.PROPS_VERSION,
|
|
284
278
|
/**
|
|
285
279
|
* Utilizamos el valor real del Security_token
|
|
286
280
|
* que no se puede accesar desde fuera
|
|
287
281
|
*/
|
|
288
|
-
securityToken:
|
|
282
|
+
securityToken: TunedClass.SECURITY_TOKEN_INTERNAL,
|
|
289
283
|
dataVersion: this.props.version,
|
|
290
284
|
state: this.getSnapshot(),
|
|
291
285
|
};
|
|
292
286
|
return Memento.of(body);
|
|
293
287
|
}
|
|
294
288
|
}
|
|
295
|
-
_a = TunedClass;
|
|
296
289
|
/**
|
|
297
290
|
* Variable estático para simular el constructor privado,
|
|
298
291
|
* Cuándo intenté usar el constructor privado directamente,
|
|
@@ -309,7 +302,7 @@ export const AggregateWithStaticMembers = (Source) => {
|
|
|
309
302
|
* En la clase final dejamos SECURITY_TOKEN como propiedad estática
|
|
310
303
|
* pública pero cambiamos el valor mostrado
|
|
311
304
|
*/
|
|
312
|
-
|
|
305
|
+
TunedClass.SECURITY_TOKEN_INTERNAL = Source.SECURITY_TOKEN;
|
|
313
306
|
TunedClass.SECURITY_TOKEN = '*'.repeat(10);
|
|
314
307
|
return TunedClass;
|
|
315
308
|
};
|
|
@@ -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":"
|
|
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,OAAO,EAAW,iBAAiB,EAAK,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE9E,OAAO,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAK7E,OAAO,EACL,OAAO,EAGR,MAAM,WAAW,CAAC;AAEnB,OAAO,EACL,uBAAuB,EACvB,kCAAkC,EAClC,sCAAsC,EACvC,MAAM,UAAU,CAAC;AAElB;;;;;;;;;GASG;AACH,MAAM,iBAAiB,GAAG,CAAC,WAAoB,EAAE,EAAE;IACjD,IAAI,CAAC,WAAW,EAAE,CAAC;QACjB,MAAM,IAAI,kCAAkC,CAAC,aAAa,CAAC,CAAC;IAC9D,CAAC;AACH,CAAC,CAAA;AAGD;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG,CASxC,MAAkB,EAAE,EAAE;IACtB;;OAEG;IACH,qBAAqB,CAAC,MAAM,CAAC,IAAI,EAAE,GAAG,MAAM,CAAC,IAAI,OAAO,CAAC,CAAC;IAC1D;;;;;;OAMG;IACH,MAAM,cAAc,GAAG,CAAC,OAAgB,EAAY,EAAE;QACpD,MAAM,IAAI,uBAAuB,CAAC,UAAU,CAAC,aAAa,EAAE,OAAO,CA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AAC,IAAI,CAAC,CAAC;QAC1B,CAAC;;IA9OD;;;;;;;OAOG;IACW,sBAAW,GAAG,KAAK,CAAC;IAClC;;;;;;OAMG;IACI,kCAAuB,GAAG,MAAM,CAAC,cAAc,CAAC;IA+LzC,yBAAc,GAAG,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IAiChD,OAAO,UAAU,CAAC;AACpB,CAAC,CAAC"}
|
|
@@ -4,7 +4,7 @@ import { Primitive } from './primitive';
|
|
|
4
4
|
declare const Memento_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, Primitive, {
|
|
8
8
|
aggregate: string;
|
|
9
9
|
modelVersion: number;
|
|
10
10
|
dataVersion: number;
|
|
@@ -24,7 +24,7 @@ declare const Memento_base: ((abstract new (...args: any[]) => {
|
|
|
24
24
|
rules<Implemented extends /*elided*/ any & {
|
|
25
25
|
new (...args: any[]): {
|
|
26
26
|
readonly props: Readonly<Props>;
|
|
27
|
-
equals<Implemented_1 extends import("
|
|
27
|
+
equals<Implemented_1 extends import("../..").ValueObjectBase<Props, Primitive, {
|
|
28
28
|
aggregate: string;
|
|
29
29
|
modelVersion: number;
|
|
30
30
|
dataVersion: number;
|
|
@@ -43,7 +43,7 @@ declare const Memento_base: ((abstract new (...args: any[]) => {
|
|
|
43
43
|
} & Props;
|
|
44
44
|
prototype: {
|
|
45
45
|
readonly props: Readonly<Props>;
|
|
46
|
-
equals<Implemented_1 extends import("
|
|
46
|
+
equals<Implemented_1 extends import("../..").ValueObjectBase<Props, Primitive, {
|
|
47
47
|
aggregate: string;
|
|
48
48
|
modelVersion: number;
|
|
49
49
|
dataVersion: number;
|
|
@@ -62,7 +62,7 @@ declare const Memento_base: ((abstract new (...args: any[]) => {
|
|
|
62
62
|
} & Props;
|
|
63
63
|
} & ((abstract new (...args: any[]) => {
|
|
64
64
|
readonly props: Readonly<Props>;
|
|
65
|
-
equals<Implemented_1 extends import("
|
|
65
|
+
equals<Implemented_1 extends import("../..").ValueObjectBase<Props, Primitive, {
|
|
66
66
|
aggregate: string;
|
|
67
67
|
modelVersion: number;
|
|
68
68
|
dataVersion: number;
|
|
@@ -80,7 +80,7 @@ declare const Memento_base: ((abstract new (...args: any[]) => {
|
|
|
80
80
|
};
|
|
81
81
|
}) & {
|
|
82
82
|
conditions: import("zod").ZodType;
|
|
83
|
-
builder?(value: Props): import("
|
|
83
|
+
builder?(value: Props): import("../..").ValueObjectBase<Props, Primitive, {
|
|
84
84
|
aggregate: string;
|
|
85
85
|
modelVersion: number;
|
|
86
86
|
dataVersion: number;
|
|
@@ -104,7 +104,7 @@ declare const Memento_base: ((abstract new (...args: any[]) => {
|
|
|
104
104
|
of<Implemented extends /*elided*/ any & {
|
|
105
105
|
new (...args: any[]): {
|
|
106
106
|
readonly props: Readonly<Props>;
|
|
107
|
-
equals<Implemented_1 extends import("
|
|
107
|
+
equals<Implemented_1 extends import("../..").ValueObjectBase<Props, Primitive, {
|
|
108
108
|
aggregate: string;
|
|
109
109
|
modelVersion: number;
|
|
110
110
|
dataVersion: number;
|
|
@@ -123,7 +123,7 @@ declare const Memento_base: ((abstract new (...args: any[]) => {
|
|
|
123
123
|
} & Props;
|
|
124
124
|
prototype: {
|
|
125
125
|
readonly props: Readonly<Props>;
|
|
126
|
-
equals<Implemented_1 extends import("
|
|
126
|
+
equals<Implemented_1 extends import("../..").ValueObjectBase<Props, Primitive, {
|
|
127
127
|
aggregate: string;
|
|
128
128
|
modelVersion: number;
|
|
129
129
|
dataVersion: number;
|
|
@@ -142,7 +142,7 @@ declare const Memento_base: ((abstract new (...args: any[]) => {
|
|
|
142
142
|
} & Props;
|
|
143
143
|
} & ((abstract new (...args: any[]) => {
|
|
144
144
|
readonly props: Readonly<Props>;
|
|
145
|
-
equals<Implemented_1 extends import("
|
|
145
|
+
equals<Implemented_1 extends import("../..").ValueObjectBase<Props, Primitive, {
|
|
146
146
|
aggregate: string;
|
|
147
147
|
modelVersion: number;
|
|
148
148
|
dataVersion: number;
|
|
@@ -160,7 +160,7 @@ declare const Memento_base: ((abstract new (...args: any[]) => {
|
|
|
160
160
|
};
|
|
161
161
|
}) & {
|
|
162
162
|
conditions: import("zod").ZodType;
|
|
163
|
-
builder?(value: Props): import("
|
|
163
|
+
builder?(value: Props): import("../..").ValueObjectBase<Props, Primitive, {
|
|
164
164
|
aggregate: string;
|
|
165
165
|
modelVersion: number;
|
|
166
166
|
dataVersion: number;
|
|
@@ -178,7 +178,7 @@ declare const Memento_base: ((abstract new (...args: any[]) => {
|
|
|
178
178
|
builder(props: Props): {
|
|
179
179
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
180
180
|
readonly props: Readonly<Props>;
|
|
181
|
-
equals<Implemented extends import("
|
|
181
|
+
equals<Implemented extends import("../..").ValueObjectBase<Props, Primitive, {
|
|
182
182
|
aggregate: string;
|
|
183
183
|
modelVersion: number;
|
|
184
184
|
dataVersion: number;
|
|
@@ -199,7 +199,7 @@ declare const Memento_base: ((abstract new (...args: any[]) => {
|
|
|
199
199
|
}) & {
|
|
200
200
|
new (...args: any[]): {
|
|
201
201
|
readonly props: Readonly<Props>;
|
|
202
|
-
equals<Implemented extends import("
|
|
202
|
+
equals<Implemented extends import("../..").ValueObjectBase<Props, Primitive, {
|
|
203
203
|
aggregate: string;
|
|
204
204
|
modelVersion: number;
|
|
205
205
|
dataVersion: number;
|
|
@@ -218,7 +218,7 @@ declare const Memento_base: ((abstract new (...args: any[]) => {
|
|
|
218
218
|
} & Props;
|
|
219
219
|
prototype: {
|
|
220
220
|
readonly props: Readonly<Props>;
|
|
221
|
-
equals<Implemented extends import("
|
|
221
|
+
equals<Implemented extends import("../..").ValueObjectBase<Props, Primitive, {
|
|
222
222
|
aggregate: string;
|
|
223
223
|
modelVersion: number;
|
|
224
224
|
dataVersion: number;
|
|
@@ -237,7 +237,7 @@ declare const Memento_base: ((abstract new (...args: any[]) => {
|
|
|
237
237
|
} & Props;
|
|
238
238
|
} & ((abstract new (...args: any[]) => {
|
|
239
239
|
readonly props: Readonly<Props>;
|
|
240
|
-
equals<Implemented extends import("
|
|
240
|
+
equals<Implemented extends import("../..").ValueObjectBase<Props, Primitive, {
|
|
241
241
|
aggregate: string;
|
|
242
242
|
modelVersion: number;
|
|
243
243
|
dataVersion: number;
|
|
@@ -255,7 +255,7 @@ declare const Memento_base: ((abstract new (...args: any[]) => {
|
|
|
255
255
|
};
|
|
256
256
|
}) & {
|
|
257
257
|
conditions: import("zod").ZodType;
|
|
258
|
-
builder?(value: Props): import("
|
|
258
|
+
builder?(value: Props): import("../..").ValueObjectBase<Props, Primitive, {
|
|
259
259
|
aggregate: string;
|
|
260
260
|
modelVersion: number;
|
|
261
261
|
dataVersion: number;
|
|
@@ -15,7 +15,7 @@ declare const ProductWooAgg_base: ((abstract new (...args: any[]) => {
|
|
|
15
15
|
get id(): Numericid;
|
|
16
16
|
}) & {
|
|
17
17
|
factoryUsed: boolean;
|
|
18
|
-
|
|
18
|
+
SECURITY_TOKEN_INTERNAL: string;
|
|
19
19
|
rulesBuild<Implemented extends /*elided*/ any & {
|
|
20
20
|
new (...args: any[]): {
|
|
21
21
|
readonly _id: Numericid;
|
|
@@ -3,7 +3,7 @@ import { Definition } from './definition';
|
|
|
3
3
|
declare const Humanid_base: ((abstract new (...args: any[]) => {
|
|
4
4
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
5
5
|
readonly props: Readonly<Props>;
|
|
6
|
-
equals<Implemented extends import("
|
|
6
|
+
equals<Implemented extends import("../../..").ValueObjectBase<Props, string, string>>(this: Implemented, other?: Implemented | undefined): boolean;
|
|
7
7
|
getPrimitive(): string;
|
|
8
8
|
getPayload(): string;
|
|
9
9
|
}) & {
|
|
@@ -11,59 +11,59 @@ declare const Humanid_base: ((abstract new (...args: any[]) => {
|
|
|
11
11
|
rules<Implemented extends /*elided*/ any & {
|
|
12
12
|
new (...args: any[]): {
|
|
13
13
|
readonly props: Readonly<Props>;
|
|
14
|
-
equals<Implemented_1 extends import("
|
|
14
|
+
equals<Implemented_1 extends import("../../..").ValueObjectBase<Props, string, string>>(this: Implemented_1, other?: Implemented_1 | undefined): boolean;
|
|
15
15
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
16
16
|
getPrimitive(): string;
|
|
17
17
|
getPayload(): string;
|
|
18
18
|
} & Props;
|
|
19
19
|
prototype: {
|
|
20
20
|
readonly props: Readonly<Props>;
|
|
21
|
-
equals<Implemented_1 extends import("
|
|
21
|
+
equals<Implemented_1 extends import("../../..").ValueObjectBase<Props, string, string>>(this: Implemented_1, other?: Implemented_1 | undefined): boolean;
|
|
22
22
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
23
23
|
getPrimitive(): string;
|
|
24
24
|
getPayload(): string;
|
|
25
25
|
} & Props;
|
|
26
26
|
} & ((abstract new (...args: any[]) => {
|
|
27
27
|
readonly props: Readonly<Props>;
|
|
28
|
-
equals<Implemented_1 extends import("
|
|
28
|
+
equals<Implemented_1 extends import("../../..").ValueObjectBase<Props, string, string>>(this: Implemented_1, other?: Implemented_1 | undefined): boolean;
|
|
29
29
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
30
30
|
getPrimitive(): string;
|
|
31
31
|
getPayload(): string;
|
|
32
32
|
}) & {
|
|
33
33
|
conditions: import("zod").ZodType;
|
|
34
|
-
builder?(value: Props): import("
|
|
34
|
+
builder?(value: Props): import("../../..").ValueObjectBase<Props, string, string>;
|
|
35
35
|
NAME: string;
|
|
36
36
|
}) & typeof Definition>(this: Implemented): import("zod").ZodType<InstanceType<Implemented>, string, import("zod/v4/core").$ZodTypeInternals<InstanceType<Implemented>, string>>;
|
|
37
37
|
of<Implemented extends /*elided*/ any & {
|
|
38
38
|
new (...args: any[]): {
|
|
39
39
|
readonly props: Readonly<Props>;
|
|
40
|
-
equals<Implemented_1 extends import("
|
|
40
|
+
equals<Implemented_1 extends import("../../..").ValueObjectBase<Props, string, string>>(this: Implemented_1, other?: Implemented_1 | undefined): boolean;
|
|
41
41
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
42
42
|
getPrimitive(): string;
|
|
43
43
|
getPayload(): string;
|
|
44
44
|
} & Props;
|
|
45
45
|
prototype: {
|
|
46
46
|
readonly props: Readonly<Props>;
|
|
47
|
-
equals<Implemented_1 extends import("
|
|
47
|
+
equals<Implemented_1 extends import("../../..").ValueObjectBase<Props, string, string>>(this: Implemented_1, other?: Implemented_1 | undefined): boolean;
|
|
48
48
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
49
49
|
getPrimitive(): string;
|
|
50
50
|
getPayload(): string;
|
|
51
51
|
} & Props;
|
|
52
52
|
} & ((abstract new (...args: any[]) => {
|
|
53
53
|
readonly props: Readonly<Props>;
|
|
54
|
-
equals<Implemented_1 extends import("
|
|
54
|
+
equals<Implemented_1 extends import("../../..").ValueObjectBase<Props, string, string>>(this: Implemented_1, other?: Implemented_1 | undefined): boolean;
|
|
55
55
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
56
56
|
getPrimitive(): string;
|
|
57
57
|
getPayload(): string;
|
|
58
58
|
}) & {
|
|
59
59
|
conditions: import("zod").ZodType;
|
|
60
|
-
builder?(value: Props): import("
|
|
60
|
+
builder?(value: Props): import("../../..").ValueObjectBase<Props, string, string>;
|
|
61
61
|
NAME: string;
|
|
62
62
|
}) & typeof Definition>(this: Implemented, payload: string): import("@imolko/ultra-result").Validation<import("@imolko/ultra-v8n").InvalidStringError, InstanceType<Implemented>>;
|
|
63
63
|
builder(props: Props): {
|
|
64
64
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
65
65
|
readonly props: Readonly<Props>;
|
|
66
|
-
equals<Implemented extends import("
|
|
66
|
+
equals<Implemented extends import("../../..").ValueObjectBase<Props, string, string>>(this: Implemented, other?: Implemented | undefined): boolean;
|
|
67
67
|
getPrimitive(): string;
|
|
68
68
|
getPayload(): string;
|
|
69
69
|
};
|
|
@@ -72,27 +72,27 @@ declare const Humanid_base: ((abstract new (...args: any[]) => {
|
|
|
72
72
|
}) & {
|
|
73
73
|
new (...args: any[]): {
|
|
74
74
|
readonly props: Readonly<Props>;
|
|
75
|
-
equals<Implemented extends import("
|
|
75
|
+
equals<Implemented extends import("../../..").ValueObjectBase<Props, string, string>>(this: Implemented, other?: Implemented | undefined): boolean;
|
|
76
76
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
77
77
|
getPrimitive(): string;
|
|
78
78
|
getPayload(): string;
|
|
79
79
|
} & Props;
|
|
80
80
|
prototype: {
|
|
81
81
|
readonly props: Readonly<Props>;
|
|
82
|
-
equals<Implemented extends import("
|
|
82
|
+
equals<Implemented extends import("../../..").ValueObjectBase<Props, string, string>>(this: Implemented, other?: Implemented | undefined): boolean;
|
|
83
83
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
84
84
|
getPrimitive(): string;
|
|
85
85
|
getPayload(): string;
|
|
86
86
|
} & Props;
|
|
87
87
|
} & ((abstract new (...args: any[]) => {
|
|
88
88
|
readonly props: Readonly<Props>;
|
|
89
|
-
equals<Implemented extends import("
|
|
89
|
+
equals<Implemented extends import("../../..").ValueObjectBase<Props, string, string>>(this: Implemented, other?: Implemented | undefined): boolean;
|
|
90
90
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
91
91
|
getPrimitive(): string;
|
|
92
92
|
getPayload(): string;
|
|
93
93
|
}) & {
|
|
94
94
|
conditions: import("zod").ZodType;
|
|
95
|
-
builder?(value: Props): import("
|
|
95
|
+
builder?(value: Props): import("../../..").ValueObjectBase<Props, string, string>;
|
|
96
96
|
NAME: string;
|
|
97
97
|
}) & typeof Definition;
|
|
98
98
|
export declare class Humanid extends Humanid_base {
|
|
@@ -4,7 +4,7 @@ import { Definition } from './definition';
|
|
|
4
4
|
declare const Numericid_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, number, number>>(this: Implemented, other?: Implemented | undefined): boolean;
|
|
8
8
|
getPrimitive(): number;
|
|
9
9
|
getPayload(): number;
|
|
10
10
|
}) & {
|
|
@@ -12,59 +12,59 @@ declare const Numericid_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, number, number>>(this: Implemented_1, other?: Implemented_1 | undefined): boolean;
|
|
16
16
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
17
17
|
getPrimitive(): number;
|
|
18
18
|
getPayload(): number;
|
|
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, number, number>>(this: Implemented_1, other?: Implemented_1 | undefined): boolean;
|
|
23
23
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
24
24
|
getPrimitive(): number;
|
|
25
25
|
getPayload(): number;
|
|
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, number, number>>(this: Implemented_1, other?: Implemented_1 | undefined): boolean;
|
|
30
30
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
31
31
|
getPrimitive(): number;
|
|
32
32
|
getPayload(): number;
|
|
33
33
|
}) & {
|
|
34
34
|
conditions: import("zod").ZodType;
|
|
35
|
-
builder?(value: Props): import("
|
|
35
|
+
builder?(value: Props): import("../../..").ValueObjectBase<Props, number, number>;
|
|
36
36
|
NAME: string;
|
|
37
37
|
}) & typeof Definition>(this: Implemented): import("zod").ZodType<InstanceType<Implemented>, number, import("zod/v4/core").$ZodTypeInternals<InstanceType<Implemented>, number>>;
|
|
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, number, number>>(this: Implemented_1, other?: Implemented_1 | undefined): boolean;
|
|
42
42
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
43
43
|
getPrimitive(): number;
|
|
44
44
|
getPayload(): number;
|
|
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, number, number>>(this: Implemented_1, other?: Implemented_1 | undefined): boolean;
|
|
49
49
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
50
50
|
getPrimitive(): number;
|
|
51
51
|
getPayload(): number;
|
|
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, number, number>>(this: Implemented_1, other?: Implemented_1 | undefined): boolean;
|
|
56
56
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
57
57
|
getPrimitive(): number;
|
|
58
58
|
getPayload(): number;
|
|
59
59
|
}) & {
|
|
60
60
|
conditions: import("zod").ZodType;
|
|
61
|
-
builder?(value: Props): import("
|
|
61
|
+
builder?(value: Props): import("../../..").ValueObjectBase<Props, number, number>;
|
|
62
62
|
NAME: string;
|
|
63
63
|
}) & typeof Definition>(this: Implemented, payload: number): 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, number, number>>(this: Implemented, other?: Implemented | undefined): boolean;
|
|
68
68
|
getPrimitive(): number;
|
|
69
69
|
getPayload(): number;
|
|
70
70
|
};
|
|
@@ -73,27 +73,27 @@ declare const Numericid_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, number, number>>(this: Implemented, other?: Implemented | undefined): boolean;
|
|
77
77
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
78
78
|
getPrimitive(): number;
|
|
79
79
|
getPayload(): number;
|
|
80
80
|
} & Props;
|
|
81
81
|
prototype: {
|
|
82
82
|
readonly props: Readonly<Props>;
|
|
83
|
-
equals<Implemented extends import("
|
|
83
|
+
equals<Implemented extends import("../../..").ValueObjectBase<Props, number, number>>(this: Implemented, other?: Implemented | undefined): boolean;
|
|
84
84
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
85
85
|
getPrimitive(): number;
|
|
86
86
|
getPayload(): number;
|
|
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, number, number>>(this: Implemented, other?: Implemented | undefined): boolean;
|
|
91
91
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
92
92
|
getPrimitive(): number;
|
|
93
93
|
getPayload(): number;
|
|
94
94
|
}) & {
|
|
95
95
|
conditions: import("zod").ZodType;
|
|
96
|
-
builder?(value: Props): import("
|
|
96
|
+
builder?(value: Props): import("../../..").ValueObjectBase<Props, number, number>;
|
|
97
97
|
NAME: string;
|
|
98
98
|
}) & typeof Definition;
|
|
99
99
|
export declare class Numericid extends Numericid_base {
|
|
@@ -3,7 +3,7 @@ import { Definition } from './definition';
|
|
|
3
3
|
declare const Uuid_base: ((abstract new (...args: any[]) => {
|
|
4
4
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
5
5
|
readonly props: Readonly<Props>;
|
|
6
|
-
equals<Implemented extends import("
|
|
6
|
+
equals<Implemented extends import("../../..").ValueObjectBase<Props, string, string>>(this: Implemented, other?: Implemented | undefined): boolean;
|
|
7
7
|
getPrimitive(): string;
|
|
8
8
|
getPayload(): string;
|
|
9
9
|
}) & {
|
|
@@ -11,59 +11,59 @@ declare const Uuid_base: ((abstract new (...args: any[]) => {
|
|
|
11
11
|
rules<Implemented extends /*elided*/ any & {
|
|
12
12
|
new (...args: any[]): {
|
|
13
13
|
readonly props: Readonly<Props>;
|
|
14
|
-
equals<Implemented_1 extends import("
|
|
14
|
+
equals<Implemented_1 extends import("../../..").ValueObjectBase<Props, string, string>>(this: Implemented_1, other?: Implemented_1 | undefined): boolean;
|
|
15
15
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
16
16
|
getPrimitive(): string;
|
|
17
17
|
getPayload(): string;
|
|
18
18
|
} & Props;
|
|
19
19
|
prototype: {
|
|
20
20
|
readonly props: Readonly<Props>;
|
|
21
|
-
equals<Implemented_1 extends import("
|
|
21
|
+
equals<Implemented_1 extends import("../../..").ValueObjectBase<Props, string, string>>(this: Implemented_1, other?: Implemented_1 | undefined): boolean;
|
|
22
22
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
23
23
|
getPrimitive(): string;
|
|
24
24
|
getPayload(): string;
|
|
25
25
|
} & Props;
|
|
26
26
|
} & ((abstract new (...args: any[]) => {
|
|
27
27
|
readonly props: Readonly<Props>;
|
|
28
|
-
equals<Implemented_1 extends import("
|
|
28
|
+
equals<Implemented_1 extends import("../../..").ValueObjectBase<Props, string, string>>(this: Implemented_1, other?: Implemented_1 | undefined): boolean;
|
|
29
29
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
30
30
|
getPrimitive(): string;
|
|
31
31
|
getPayload(): string;
|
|
32
32
|
}) & {
|
|
33
33
|
conditions: import("zod").ZodType;
|
|
34
|
-
builder?(value: Props): import("
|
|
34
|
+
builder?(value: Props): import("../../..").ValueObjectBase<Props, string, string>;
|
|
35
35
|
NAME: string;
|
|
36
36
|
}) & typeof Definition>(this: Implemented): import("zod").ZodType<InstanceType<Implemented>, string, import("zod/v4/core").$ZodTypeInternals<InstanceType<Implemented>, string>>;
|
|
37
37
|
of<Implemented extends /*elided*/ any & {
|
|
38
38
|
new (...args: any[]): {
|
|
39
39
|
readonly props: Readonly<Props>;
|
|
40
|
-
equals<Implemented_1 extends import("
|
|
40
|
+
equals<Implemented_1 extends import("../../..").ValueObjectBase<Props, string, string>>(this: Implemented_1, other?: Implemented_1 | undefined): boolean;
|
|
41
41
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
42
42
|
getPrimitive(): string;
|
|
43
43
|
getPayload(): string;
|
|
44
44
|
} & Props;
|
|
45
45
|
prototype: {
|
|
46
46
|
readonly props: Readonly<Props>;
|
|
47
|
-
equals<Implemented_1 extends import("
|
|
47
|
+
equals<Implemented_1 extends import("../../..").ValueObjectBase<Props, string, string>>(this: Implemented_1, other?: Implemented_1 | undefined): boolean;
|
|
48
48
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
49
49
|
getPrimitive(): string;
|
|
50
50
|
getPayload(): string;
|
|
51
51
|
} & Props;
|
|
52
52
|
} & ((abstract new (...args: any[]) => {
|
|
53
53
|
readonly props: Readonly<Props>;
|
|
54
|
-
equals<Implemented_1 extends import("
|
|
54
|
+
equals<Implemented_1 extends import("../../..").ValueObjectBase<Props, string, string>>(this: Implemented_1, other?: Implemented_1 | undefined): boolean;
|
|
55
55
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
56
56
|
getPrimitive(): string;
|
|
57
57
|
getPayload(): string;
|
|
58
58
|
}) & {
|
|
59
59
|
conditions: import("zod").ZodType;
|
|
60
|
-
builder?(value: Props): import("
|
|
60
|
+
builder?(value: Props): import("../../..").ValueObjectBase<Props, string, string>;
|
|
61
61
|
NAME: string;
|
|
62
62
|
}) & typeof Definition>(this: Implemented, payload: string): import("@imolko/ultra-result").Validation<import("@imolko/ultra-v8n").InvalidStringError, InstanceType<Implemented>>;
|
|
63
63
|
builder(props: Props): {
|
|
64
64
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
65
65
|
readonly props: Readonly<Props>;
|
|
66
|
-
equals<Implemented extends import("
|
|
66
|
+
equals<Implemented extends import("../../..").ValueObjectBase<Props, string, string>>(this: Implemented, other?: Implemented | undefined): boolean;
|
|
67
67
|
getPrimitive(): string;
|
|
68
68
|
getPayload(): string;
|
|
69
69
|
};
|
|
@@ -72,27 +72,27 @@ declare const Uuid_base: ((abstract new (...args: any[]) => {
|
|
|
72
72
|
}) & {
|
|
73
73
|
new (...args: any[]): {
|
|
74
74
|
readonly props: Readonly<Props>;
|
|
75
|
-
equals<Implemented extends import("
|
|
75
|
+
equals<Implemented extends import("../../..").ValueObjectBase<Props, string, string>>(this: Implemented, other?: Implemented | undefined): boolean;
|
|
76
76
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
77
77
|
getPrimitive(): string;
|
|
78
78
|
getPayload(): string;
|
|
79
79
|
} & Props;
|
|
80
80
|
prototype: {
|
|
81
81
|
readonly props: Readonly<Props>;
|
|
82
|
-
equals<Implemented extends import("
|
|
82
|
+
equals<Implemented extends import("../../..").ValueObjectBase<Props, string, string>>(this: Implemented, other?: Implemented | undefined): boolean;
|
|
83
83
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
84
84
|
getPrimitive(): string;
|
|
85
85
|
getPayload(): string;
|
|
86
86
|
} & Props;
|
|
87
87
|
} & ((abstract new (...args: any[]) => {
|
|
88
88
|
readonly props: Readonly<Props>;
|
|
89
|
-
equals<Implemented extends import("
|
|
89
|
+
equals<Implemented extends import("../../..").ValueObjectBase<Props, string, string>>(this: Implemented, other?: Implemented | undefined): boolean;
|
|
90
90
|
clone(changes: Partial<Props>): /*elided*/ any;
|
|
91
91
|
getPrimitive(): string;
|
|
92
92
|
getPayload(): string;
|
|
93
93
|
}) & {
|
|
94
94
|
conditions: import("zod").ZodType;
|
|
95
|
-
builder?(value: Props): import("
|
|
95
|
+
builder?(value: Props): import("../../..").ValueObjectBase<Props, string, string>;
|
|
96
96
|
NAME: string;
|
|
97
97
|
}) & typeof Definition;
|
|
98
98
|
export declare class Uuid extends Uuid_base {
|