mol_schema 0.0.20 → 0.0.22
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/README.md +9 -7
- package/node.d.ts +138 -47
- package/node.d.ts.map +1 -1
- package/node.deps.json +1 -1
- package/node.js +75 -26
- package/node.js.map +1 -1
- package/node.meta.tree +2 -0
- package/node.mjs +75 -26
- package/node.test.js +134 -29
- package/node.test.js.map +1 -1
- package/package.json +6 -4
- package/web.d.ts +138 -47
- package/web.d.ts.map +1 -1
- package/web.deps.json +1 -1
- package/web.js +75 -26
- package/web.js.map +1 -1
- package/web.meta.tree +2 -0
- package/web.mjs +75 -26
- package/web.test.js +59 -3
- package/web.test.js.map +1 -1
package/README.md
CHANGED
|
@@ -12,22 +12,24 @@
|
|
|
12
12
|
|
|
13
13
|
## Leaf schemas
|
|
14
14
|
|
|
15
|
-
- `$mol_schema_enum(...options)` - some of constant values (first value as default).
|
|
15
|
+
- `$mol_schema_enum([...options])` - some of constant values (first value as default).
|
|
16
16
|
- `$mol_schema_boolean` - true or false (default).
|
|
17
17
|
- `$mol_schema_string` - any string ("" as default).
|
|
18
18
|
- `$mol_schema_pattern(regexp)` - string that matched to regexp ("" as default).
|
|
19
19
|
- `$mol_schema_float` - any number (NaN as default).
|
|
20
20
|
- `$mol_schema_integer` - integer number (0 as default).
|
|
21
|
+
- `$mol_schema_bigint` - big integer number (0n as default).
|
|
21
22
|
- `$mol_schema_range(min,max)` - range of values between min (default) and max.
|
|
22
23
|
- `$mol_schema_positive` - value >= 0
|
|
23
24
|
- `$mol_schema_natural` - natural number from 0 (default).
|
|
24
25
|
- `$mol_schema_negative` - value <= 0
|
|
26
|
+
- `$mol_schema_instance(Class, ...def_args)` - instance of Class.
|
|
25
27
|
|
|
26
28
|
## Composition schemas
|
|
27
29
|
|
|
28
|
-
- `$mol_schema_some(...variants)` - some of schemas (default of first as default).
|
|
30
|
+
- `$mol_schema_some([...variants])` - some of schemas (default of first as default).
|
|
29
31
|
- `$mol_schema_maybe(schema)` - value or null or undefined (undefined as default).
|
|
30
|
-
- `$mol_schema_every(...schemas)` - every of schemas for same value (first default casted through all of them).
|
|
32
|
+
- `$mol_schema_every([...schemas])` - every of schemas for same value (first default casted through all of them).
|
|
31
33
|
- `$mol_schema_list(item)` - array of same types schema ([] as default).
|
|
32
34
|
- `$mol_schema_dict(key,val)` - key-value dictionary schema ({} as default).
|
|
33
35
|
- `$mol_schema_record({...fields})` - object with typed fields (object with default fields values by default).
|
|
@@ -35,24 +37,24 @@
|
|
|
35
37
|
## Complex example
|
|
36
38
|
|
|
37
39
|
```ts
|
|
38
|
-
export
|
|
40
|
+
export class $my_user_main extends $mol_schema_dict({
|
|
39
41
|
name: $mol_schema_string,
|
|
40
42
|
age: $mol_schema_natural,
|
|
41
43
|
}) {}
|
|
42
44
|
|
|
43
|
-
export
|
|
45
|
+
export class $my_user_full extends $mol_schema_dict({
|
|
44
46
|
... $my_user_full.Fields,
|
|
45
47
|
bio: $mol_schema_string,
|
|
46
48
|
flags: $mol_schema_dict( $mol_schema_string, $mol_schema_boolean ),
|
|
47
49
|
}) {}
|
|
48
50
|
|
|
49
|
-
export
|
|
51
|
+
export class $my_article_full extends $mol_schema_partial({
|
|
50
52
|
title: $mol_schema_string,
|
|
51
53
|
body: $mol_schema_string,
|
|
52
54
|
author: $my_user_full,
|
|
53
55
|
}) {}
|
|
54
56
|
|
|
55
|
-
export
|
|
57
|
+
export class $my_article_search extends $mol_schema_some([
|
|
56
58
|
$mol_schema_dict({
|
|
57
59
|
data: $mol_schema_list( $my_article_full ),
|
|
58
60
|
}),
|
package/node.d.ts
CHANGED
|
@@ -25,17 +25,18 @@ declare namespace $ {
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
declare namespace $ {
|
|
28
|
-
|
|
28
|
+
class $mol_schema_any extends Object {
|
|
29
29
|
static [Symbol.toStringTag]: string;
|
|
30
30
|
static [$mol_key_handle](): string;
|
|
31
31
|
/** Short user-readable identity. */
|
|
32
32
|
static toString(): string;
|
|
33
33
|
/** Type-guard that checks value by schema. */
|
|
34
|
-
static check<Val>(val: Val): val is Val &
|
|
34
|
+
static check<This extends typeof $mol_schema_any, Val>(this: This, val: Val): val is Val & This['default'];
|
|
35
|
+
static [Symbol.hasInstance]<This extends typeof $mol_schema_any, Val>(this: This, val: Val): val is Val & This['default'];
|
|
35
36
|
/** Strict parse. Fails of wrong values. */
|
|
36
37
|
static guard<Value>(value: Value): Value;
|
|
37
38
|
/** Relaxed cast. Normalizes wrong values. */
|
|
38
|
-
static cast(value: unknown):
|
|
39
|
+
static cast<This extends typeof $mol_schema_any>(this: This, value: unknown): This['default'];
|
|
39
40
|
/** Default value which conforms schema. */
|
|
40
41
|
static default: unknown;
|
|
41
42
|
}
|
|
@@ -46,14 +47,37 @@ declare namespace $ {
|
|
|
46
47
|
}
|
|
47
48
|
|
|
48
49
|
declare namespace $ {
|
|
49
|
-
|
|
50
|
+
class $mol_schema_float extends $mol_schema_any {
|
|
51
|
+
static guard<Value>(value: Value): Value & typeof this.default;
|
|
52
|
+
static default: number;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
declare namespace $ {
|
|
57
|
+
class $mol_schema_integer extends $mol_schema_float {
|
|
58
|
+
$mol_schema_integer: boolean;
|
|
59
|
+
static guard<Value>(value: Value): Value & number & $mol_schema_integer;
|
|
60
|
+
static default: number & $mol_schema_integer;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
declare namespace $ {
|
|
65
|
+
class $mol_schema_bigint extends $mol_schema_any {
|
|
66
|
+
static guard<Value>(value: Value): Value & typeof this.default;
|
|
67
|
+
static cast<This extends typeof $mol_schema_any>(this: This, value: unknown): This['default'];
|
|
68
|
+
static default: bigint;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
declare namespace $ {
|
|
73
|
+
class $mol_schema_boolean extends $mol_schema_any {
|
|
50
74
|
static guard<Value>(value: Value): Value & typeof this.default;
|
|
51
75
|
static default: boolean;
|
|
52
76
|
}
|
|
53
77
|
}
|
|
54
78
|
|
|
55
79
|
declare namespace $ {
|
|
56
|
-
|
|
80
|
+
class $mol_schema_string extends $mol_schema_any {
|
|
57
81
|
static guard<Value>(value: Value): Value & typeof this.default;
|
|
58
82
|
static cast(value: unknown): typeof this.default;
|
|
59
83
|
static default: string;
|
|
@@ -86,9 +110,10 @@ declare namespace $ {
|
|
|
86
110
|
guard<Value>(value: Value): Value & string;
|
|
87
111
|
cast(value: unknown): string;
|
|
88
112
|
default: string;
|
|
89
|
-
check<Val>(val: Val): val is Val &
|
|
113
|
+
check<This extends typeof $mol_schema_any, Val>(this: This, val: Val): val is Val & This["default"];
|
|
90
114
|
[Symbol.toStringTag]: string;
|
|
91
115
|
[$mol_key_handle](): string;
|
|
116
|
+
[Symbol.hasInstance]<This extends typeof $mol_schema_any, Val>(this: This, val: Val): val is Val & This["default"];
|
|
92
117
|
getPrototypeOf(o: any): any;
|
|
93
118
|
getOwnPropertyDescriptor(o: any, p: PropertyKey): PropertyDescriptor | undefined;
|
|
94
119
|
getOwnPropertyNames(o: any): string[];
|
|
@@ -136,18 +161,69 @@ declare namespace $ {
|
|
|
136
161
|
}
|
|
137
162
|
|
|
138
163
|
declare namespace $ {
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
164
|
+
function $mol_schema_instance<Class extends new (...args: Args) => any, Args extends any[]>(Class: Class, ...args: Args): Class extends typeof $mol_schema_any ? Class : {
|
|
165
|
+
new (value?: any): {
|
|
166
|
+
constructor: Function;
|
|
167
|
+
toString(): string;
|
|
168
|
+
toLocaleString(): string;
|
|
169
|
+
valueOf(): Object;
|
|
170
|
+
hasOwnProperty(v: PropertyKey): boolean;
|
|
171
|
+
isPrototypeOf(v: Object): boolean;
|
|
172
|
+
propertyIsEnumerable(v: PropertyKey): boolean;
|
|
173
|
+
};
|
|
174
|
+
Class: Class;
|
|
175
|
+
toString(): string;
|
|
176
|
+
guard<Value>(value: Value): Value & InstanceType<Class>;
|
|
177
|
+
default: InstanceType<Class>;
|
|
178
|
+
check<This extends typeof $mol_schema_any, Val>(this: This, val: Val): val is Val & This["default"];
|
|
179
|
+
cast<This extends typeof $mol_schema_any>(this: This, value: unknown): This["default"];
|
|
180
|
+
[Symbol.toStringTag]: string;
|
|
181
|
+
[$mol_key_handle](): string;
|
|
182
|
+
[Symbol.hasInstance]<This extends typeof $mol_schema_any, Val>(this: This, val: Val): val is Val & This["default"];
|
|
183
|
+
getPrototypeOf(o: any): any;
|
|
184
|
+
getOwnPropertyDescriptor(o: any, p: PropertyKey): PropertyDescriptor | undefined;
|
|
185
|
+
getOwnPropertyNames(o: any): string[];
|
|
186
|
+
create(o: object | null): any;
|
|
187
|
+
create(o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any;
|
|
188
|
+
defineProperty<T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>): T;
|
|
189
|
+
defineProperties<T>(o: T, properties: PropertyDescriptorMap & ThisType<any>): T;
|
|
190
|
+
seal<T>(o: T): T;
|
|
191
|
+
freeze<T extends Function>(f: T): T;
|
|
192
|
+
freeze<T extends {
|
|
193
|
+
[idx: string]: U | null | undefined | object;
|
|
194
|
+
}, U extends string | bigint | number | boolean | symbol>(o: T): Readonly<T>;
|
|
195
|
+
freeze<T>(o: T): Readonly<T>;
|
|
196
|
+
preventExtensions<T>(o: T): T;
|
|
197
|
+
isSealed(o: any): boolean;
|
|
198
|
+
isFrozen(o: any): boolean;
|
|
199
|
+
isExtensible(o: any): boolean;
|
|
200
|
+
keys(o: object): string[];
|
|
201
|
+
keys(o: {}): string[];
|
|
202
|
+
assign<T extends {}, U>(target: T, source: U): T & U;
|
|
203
|
+
assign<T extends {}, U, V>(target: T, source1: U, source2: V): T & U & V;
|
|
204
|
+
assign<T extends {}, U, V, W>(target: T, source1: U, source2: V, source3: W): T & U & V & W;
|
|
205
|
+
assign(target: object, ...sources: any[]): any;
|
|
206
|
+
getOwnPropertySymbols(o: any): symbol[];
|
|
207
|
+
is(value1: any, value2: any): boolean;
|
|
208
|
+
setPrototypeOf(o: any, proto: object | null): any;
|
|
209
|
+
values<T>(o: {
|
|
210
|
+
[s: string]: T;
|
|
211
|
+
} | ArrayLike<T>): T[];
|
|
212
|
+
values(o: {}): any[];
|
|
213
|
+
entries<T>(o: {
|
|
214
|
+
[s: string]: T;
|
|
215
|
+
} | ArrayLike<T>): [string, T][];
|
|
216
|
+
entries(o: {}): [string, any][];
|
|
217
|
+
getOwnPropertyDescriptors<T>(o: T): { [P in keyof T]: TypedPropertyDescriptor<T[P]>; } & {
|
|
218
|
+
[x: string]: PropertyDescriptor;
|
|
219
|
+
};
|
|
220
|
+
fromEntries<T = any>(entries: Iterable<readonly [PropertyKey, T]>): {
|
|
221
|
+
[k: string]: T;
|
|
222
|
+
};
|
|
223
|
+
fromEntries(entries: Iterable<readonly any[]>): any;
|
|
224
|
+
hasOwn(o: object, v: PropertyKey): boolean;
|
|
225
|
+
groupBy<K extends PropertyKey, T>(items: Iterable<T>, keySelector: (item: T, index: number) => K): Partial<Record<K, T[]>>;
|
|
226
|
+
};
|
|
151
227
|
}
|
|
152
228
|
|
|
153
229
|
declare namespace $ {
|
|
@@ -175,9 +251,10 @@ declare namespace $ {
|
|
|
175
251
|
guard<Value>(value: Value): Value & $mol_type_intersect<Schemas[number]["default"]>;
|
|
176
252
|
cast(value: unknown): $mol_type_intersect<Schemas[number]["default"]>;
|
|
177
253
|
default: $mol_type_intersect<Schemas[number]["default"]>;
|
|
178
|
-
check<Val>(val: Val): val is Val &
|
|
254
|
+
check<This extends typeof $mol_schema_any, Val>(this: This, val: Val): val is Val & This["default"];
|
|
179
255
|
[Symbol.toStringTag]: string;
|
|
180
256
|
[$mol_key_handle](): string;
|
|
257
|
+
[Symbol.hasInstance]<This extends typeof $mol_schema_any, Val>(this: This, val: Val): val is Val & This["default"];
|
|
181
258
|
getPrototypeOf(o: any): any;
|
|
182
259
|
getOwnPropertyDescriptor(o: any, p: PropertyKey): PropertyDescriptor | undefined;
|
|
183
260
|
getOwnPropertyNames(o: any): string[];
|
|
@@ -241,9 +318,10 @@ declare namespace $ {
|
|
|
241
318
|
guard<Value_1>(value: Value_1): Value_1 & Value & { [key in `$mol_schema_range_min=${Min}`]: true; } & { [key_1 in `$mol_schema_range_max=${Max}`]: true; };
|
|
242
319
|
cast(val: Value): Value;
|
|
243
320
|
default: Value & { [key in `$mol_schema_range_min=${Min}`]: true; } & { [key in `$mol_schema_range_max=${Max}`]: true; };
|
|
244
|
-
check<Val>(val: Val): val is Val &
|
|
321
|
+
check<This extends typeof $mol_schema_any, Val>(this: This, val: Val): val is Val & This["default"];
|
|
245
322
|
[Symbol.toStringTag]: string;
|
|
246
323
|
[$mol_key_handle](): string;
|
|
324
|
+
[Symbol.hasInstance]<This extends typeof $mol_schema_any, Val>(this: This, val: Val): val is Val & This["default"];
|
|
247
325
|
getPrototypeOf(o: any): any;
|
|
248
326
|
getOwnPropertyDescriptor(o: any, p: PropertyKey): PropertyDescriptor | undefined;
|
|
249
327
|
getOwnPropertyNames(o: any): string[];
|
|
@@ -311,9 +389,10 @@ declare namespace $ {
|
|
|
311
389
|
};
|
|
312
390
|
cast(val: number | bigint): number | bigint;
|
|
313
391
|
default: Value & { [key in `$mol_schema_range_min=${Min}`]: true; } & { [key in `$mol_schema_range_max=${Max}`]: true; };
|
|
314
|
-
check<Val>(val: Val): val is Val &
|
|
392
|
+
check<This extends typeof $mol_schema_any, Val>(this: This, val: Val): val is Val & This["default"];
|
|
315
393
|
[Symbol.toStringTag]: string;
|
|
316
394
|
[$mol_key_handle](): string;
|
|
395
|
+
[Symbol.hasInstance]<This extends typeof $mol_schema_any, Val>(this: This, val: Val): val is Val & This["default"];
|
|
317
396
|
getPrototypeOf(o: any): any;
|
|
318
397
|
getOwnPropertyDescriptor(o: any, p: PropertyKey): PropertyDescriptor | undefined;
|
|
319
398
|
getOwnPropertyNames(o: any): string[];
|
|
@@ -358,7 +437,7 @@ declare namespace $ {
|
|
|
358
437
|
hasOwn(o: object, v: PropertyKey): boolean;
|
|
359
438
|
groupBy<K extends PropertyKey, T>(items: Iterable<T>, keySelector: (item: T, index: number) => K): Partial<Record<K, T[]>>;
|
|
360
439
|
};
|
|
361
|
-
export
|
|
440
|
+
export class $mol_schema_positive extends $mol_schema_positive_base {
|
|
362
441
|
}
|
|
363
442
|
export {};
|
|
364
443
|
}
|
|
@@ -379,9 +458,10 @@ declare namespace $ {
|
|
|
379
458
|
guard<Value>(value: Value): never;
|
|
380
459
|
cast(value: unknown): never;
|
|
381
460
|
default: $mol_type_intersect<Schemas[number]["default"]>;
|
|
382
|
-
check<Val>(val: Val): val is Val &
|
|
461
|
+
check<This extends typeof $mol_schema_any, Val>(this: This, val: Val): val is Val & This["default"];
|
|
383
462
|
[Symbol.toStringTag]: string;
|
|
384
463
|
[$mol_key_handle](): string;
|
|
464
|
+
[Symbol.hasInstance]<This extends typeof $mol_schema_any, Val>(this: This, val: Val): val is Val & This["default"];
|
|
385
465
|
getPrototypeOf(o: any): any;
|
|
386
466
|
getOwnPropertyDescriptor(o: any, p: PropertyKey): PropertyDescriptor | undefined;
|
|
387
467
|
getOwnPropertyNames(o: any): string[];
|
|
@@ -426,13 +506,13 @@ declare namespace $ {
|
|
|
426
506
|
hasOwn(o: object, v: PropertyKey): boolean;
|
|
427
507
|
groupBy<K extends PropertyKey, T>(items: Iterable<T>, keySelector: (item: T, index: number) => K): Partial<Record<K, T[]>>;
|
|
428
508
|
};
|
|
429
|
-
export
|
|
509
|
+
export class $mol_schema_natural extends $mol_schema_natural_base {
|
|
430
510
|
}
|
|
431
511
|
export {};
|
|
432
512
|
}
|
|
433
513
|
|
|
434
514
|
declare namespace $ {
|
|
435
|
-
function $mol_schema_enum<Options extends readonly unknown[]>(Options: Options): {
|
|
515
|
+
function $mol_schema_enum<const Options extends readonly unknown[]>(Options: Options): {
|
|
436
516
|
new (value?: any): {
|
|
437
517
|
constructor: Function;
|
|
438
518
|
toString(): string;
|
|
@@ -445,11 +525,12 @@ declare namespace $ {
|
|
|
445
525
|
Options: Options;
|
|
446
526
|
toString(): string;
|
|
447
527
|
guard<Value>(value: Value): Value & Options[number];
|
|
448
|
-
cast(val: unknown):
|
|
528
|
+
cast(val: unknown): Options[number];
|
|
449
529
|
default: Options[number];
|
|
450
|
-
check<Val>(val: Val): val is Val &
|
|
530
|
+
check<This extends typeof $mol_schema_any, Val>(this: This, val: Val): val is Val & This["default"];
|
|
451
531
|
[Symbol.toStringTag]: string;
|
|
452
532
|
[$mol_key_handle](): string;
|
|
533
|
+
[Symbol.hasInstance]<This extends typeof $mol_schema_any, Val>(this: This, val: Val): val is Val & This["default"];
|
|
453
534
|
getPrototypeOf(o: any): any;
|
|
454
535
|
getOwnPropertyDescriptor(o: any, p: PropertyKey): PropertyDescriptor | undefined;
|
|
455
536
|
getOwnPropertyNames(o: any): string[];
|
|
@@ -517,9 +598,10 @@ declare namespace $ {
|
|
|
517
598
|
};
|
|
518
599
|
cast(val: number | bigint): number | bigint;
|
|
519
600
|
default: Value & { [key in `$mol_schema_range_min=${Min}`]: true; } & { [key in `$mol_schema_range_max=${Max}`]: true; };
|
|
520
|
-
check<Val>(val: Val): val is Val &
|
|
601
|
+
check<This extends typeof $mol_schema_any, Val>(this: This, val: Val): val is Val & This["default"];
|
|
521
602
|
[Symbol.toStringTag]: string;
|
|
522
603
|
[$mol_key_handle](): string;
|
|
604
|
+
[Symbol.hasInstance]<This extends typeof $mol_schema_any, Val>(this: This, val: Val): val is Val & This["default"];
|
|
523
605
|
getPrototypeOf(o: any): any;
|
|
524
606
|
getOwnPropertyDescriptor(o: any, p: PropertyKey): PropertyDescriptor | undefined;
|
|
525
607
|
getOwnPropertyNames(o: any): string[];
|
|
@@ -564,7 +646,7 @@ declare namespace $ {
|
|
|
564
646
|
hasOwn(o: object, v: PropertyKey): boolean;
|
|
565
647
|
groupBy<K extends PropertyKey, T>(items: Iterable<T>, keySelector: (item: T, index: number) => K): Partial<Record<K, T[]>>;
|
|
566
648
|
};
|
|
567
|
-
export
|
|
649
|
+
export class $mol_schema_negative extends $mol_schema_negative_base {
|
|
568
650
|
}
|
|
569
651
|
export {};
|
|
570
652
|
}
|
|
@@ -585,9 +667,10 @@ declare namespace $ {
|
|
|
585
667
|
guard<Value>(value: Value): Value & Variants[number]["default"];
|
|
586
668
|
cast(value: unknown): Variants[number]["default"];
|
|
587
669
|
default: Variants[number]["default"];
|
|
588
|
-
check<Val>(val: Val): val is Val &
|
|
670
|
+
check<This extends typeof $mol_schema_any, Val>(this: This, val: Val): val is Val & This["default"];
|
|
589
671
|
[Symbol.toStringTag]: string;
|
|
590
672
|
[$mol_key_handle](): string;
|
|
673
|
+
[Symbol.hasInstance]<This extends typeof $mol_schema_any, Val>(this: This, val: Val): val is Val & This["default"];
|
|
591
674
|
getPrototypeOf(o: any): any;
|
|
592
675
|
getOwnPropertyDescriptor(o: any, p: PropertyKey): PropertyDescriptor | undefined;
|
|
593
676
|
getOwnPropertyNames(o: any): string[];
|
|
@@ -657,14 +740,15 @@ declare namespace $ {
|
|
|
657
740
|
isPrototypeOf(v: Object): boolean;
|
|
658
741
|
propertyIsEnumerable(v: PropertyKey): boolean;
|
|
659
742
|
};
|
|
660
|
-
Options:
|
|
743
|
+
Options: readonly [undefined, null];
|
|
661
744
|
toString(): string;
|
|
662
745
|
guard<Value>(value: Value): Value & (null | undefined);
|
|
663
|
-
cast(val: unknown):
|
|
746
|
+
cast(val: unknown): null | undefined;
|
|
664
747
|
default: Options[number];
|
|
665
|
-
check<Val>(val: Val): val is Val &
|
|
748
|
+
check<This extends typeof $mol_schema_any, Val>(this: This, val: Val): val is Val & This["default"];
|
|
666
749
|
[Symbol.toStringTag]: string;
|
|
667
750
|
[$mol_key_handle](): string;
|
|
751
|
+
[Symbol.hasInstance]<This extends typeof $mol_schema_any, Val>(this: This, val: Val): val is Val & This["default"];
|
|
668
752
|
getPrototypeOf(o: any): any;
|
|
669
753
|
getOwnPropertyDescriptor(o: any, p: PropertyKey): PropertyDescriptor | undefined;
|
|
670
754
|
getOwnPropertyNames(o: any): string[];
|
|
@@ -719,14 +803,15 @@ declare namespace $ {
|
|
|
719
803
|
isPrototypeOf(v: Object): boolean;
|
|
720
804
|
propertyIsEnumerable(v: PropertyKey): boolean;
|
|
721
805
|
};
|
|
722
|
-
Options:
|
|
806
|
+
Options: readonly [undefined, null];
|
|
723
807
|
toString(): string;
|
|
724
808
|
guard<Value_1>(value: Value_1): Value_1 & (null | undefined);
|
|
725
|
-
cast(val: unknown):
|
|
809
|
+
cast(val: unknown): null | undefined;
|
|
726
810
|
default: Options[number];
|
|
727
|
-
check<Val>(val: Val): val is Val &
|
|
811
|
+
check<This extends typeof $mol_schema_any, Val>(this: This, val: Val): val is Val & This["default"];
|
|
728
812
|
[Symbol.toStringTag]: string;
|
|
729
813
|
[$mol_key_handle](): string;
|
|
814
|
+
[Symbol.hasInstance]<This extends typeof $mol_schema_any, Val_1>(this: This, val: Val_1): val is Val_1 & This["default"];
|
|
730
815
|
getPrototypeOf(o: any): any;
|
|
731
816
|
getOwnPropertyDescriptor(o: any, p: PropertyKey): PropertyDescriptor | undefined;
|
|
732
817
|
getOwnPropertyNames(o: any): string[];
|
|
@@ -781,14 +866,15 @@ declare namespace $ {
|
|
|
781
866
|
isPrototypeOf(v: Object): boolean;
|
|
782
867
|
propertyIsEnumerable(v: PropertyKey): boolean;
|
|
783
868
|
};
|
|
784
|
-
Options:
|
|
869
|
+
Options: readonly [undefined, null];
|
|
785
870
|
toString(): string;
|
|
786
871
|
guard<Value>(value: Value): Value & (null | undefined);
|
|
787
|
-
cast(val: unknown):
|
|
872
|
+
cast(val: unknown): null | undefined;
|
|
788
873
|
default: Options[number];
|
|
789
|
-
check<Val>(val: Val): val is Val &
|
|
874
|
+
check<This extends typeof $mol_schema_any, Val>(this: This, val: Val): val is Val & This["default"];
|
|
790
875
|
[Symbol.toStringTag]: string;
|
|
791
876
|
[$mol_key_handle](): string;
|
|
877
|
+
[Symbol.hasInstance]<This extends typeof $mol_schema_any, Val>(this: This, val: Val): val is Val & This["default"];
|
|
792
878
|
getPrototypeOf(o: any): any;
|
|
793
879
|
getOwnPropertyDescriptor(o: any, p: PropertyKey): PropertyDescriptor | undefined;
|
|
794
880
|
getOwnPropertyNames(o: any): string[];
|
|
@@ -834,9 +920,10 @@ declare namespace $ {
|
|
|
834
920
|
groupBy<K extends PropertyKey, T>(items: Iterable<T>, keySelector: (item: T, index: number) => K): Partial<Record<K, T[]>>;
|
|
835
921
|
})["default"];
|
|
836
922
|
default: Variants[number]["default"];
|
|
837
|
-
check<Val>(val: Val): val is Val &
|
|
923
|
+
check<This extends typeof $mol_schema_any, Val>(this: This, val: Val): val is Val & This["default"];
|
|
838
924
|
[Symbol.toStringTag]: string;
|
|
839
925
|
[$mol_key_handle](): string;
|
|
926
|
+
[Symbol.hasInstance]<This extends typeof $mol_schema_any, Val>(this: This, val: Val): val is Val & This["default"];
|
|
840
927
|
getPrototypeOf(o: any): any;
|
|
841
928
|
getOwnPropertyDescriptor(o: any, p: PropertyKey): PropertyDescriptor | undefined;
|
|
842
929
|
getOwnPropertyNames(o: any): string[];
|
|
@@ -896,12 +983,13 @@ declare namespace $ {
|
|
|
896
983
|
};
|
|
897
984
|
Item: Item;
|
|
898
985
|
toString(): string;
|
|
899
|
-
guard<Value>(value: Value): Value & readonly
|
|
900
|
-
cast(value: unknown): readonly
|
|
901
|
-
default: readonly (
|
|
902
|
-
check<Val>(val: Val): val is Val &
|
|
986
|
+
guard<Value>(value: Value): Value & readonly Item["default"][];
|
|
987
|
+
cast(value: unknown): readonly Item["default"][];
|
|
988
|
+
default: readonly (Item["default"])[];
|
|
989
|
+
check<This extends typeof $mol_schema_any, Val>(this: This, val: Val): val is Val & This["default"];
|
|
903
990
|
[Symbol.toStringTag]: string;
|
|
904
991
|
[$mol_key_handle](): string;
|
|
992
|
+
[Symbol.hasInstance]<This extends typeof $mol_schema_any, Val>(this: This, val: Val): val is Val & This["default"];
|
|
905
993
|
getPrototypeOf(o: any): any;
|
|
906
994
|
getOwnPropertyDescriptor(o: any, p: PropertyKey): PropertyDescriptor | undefined;
|
|
907
995
|
getOwnPropertyNames(o: any): string[];
|
|
@@ -967,9 +1055,10 @@ declare namespace $ {
|
|
|
967
1055
|
guard<Value>(value: Value): Value & Record<Key["default"], Val["default"]>;
|
|
968
1056
|
cast(value: unknown): Record<Key["default"], Val["default"]>;
|
|
969
1057
|
default: Record<Key["default"], Val["default"]>;
|
|
970
|
-
check<Val_1>(val: Val_1): val is Val_1 &
|
|
1058
|
+
check<This extends typeof $mol_schema_any, Val_1>(this: This, val: Val_1): val is Val_1 & This["default"];
|
|
971
1059
|
[Symbol.toStringTag]: string;
|
|
972
1060
|
[$mol_key_handle](): string;
|
|
1061
|
+
[Symbol.hasInstance]<This extends typeof $mol_schema_any, Val_1>(this: This, val: Val_1): val is Val_1 & This["default"];
|
|
973
1062
|
getPrototypeOf(o: any): any;
|
|
974
1063
|
getOwnPropertyDescriptor(o: any, p: PropertyKey): PropertyDescriptor | undefined;
|
|
975
1064
|
getOwnPropertyNames(o: any): string[];
|
|
@@ -1032,9 +1121,10 @@ declare namespace $ {
|
|
|
1032
1121
|
guard<Value>(value: Value): Value & { readonly [key in keyof Fields]: Fields[key]["default"]; };
|
|
1033
1122
|
cast(value: unknown): { readonly [key in keyof Fields]: Fields[key]["default"]; };
|
|
1034
1123
|
default: { readonly [key in keyof typeof Fields]: (typeof Fields)[key]["default"]; };
|
|
1035
|
-
check<Val>(val: Val): val is Val &
|
|
1124
|
+
check<This extends typeof $mol_schema_any, Val>(this: This, val: Val): val is Val & This["default"];
|
|
1036
1125
|
[Symbol.toStringTag]: string;
|
|
1037
1126
|
[$mol_key_handle](): string;
|
|
1127
|
+
[Symbol.hasInstance]<This extends typeof $mol_schema_any, Val>(this: This, val: Val): val is Val & This["default"];
|
|
1038
1128
|
getPrototypeOf(o: any): any;
|
|
1039
1129
|
getOwnPropertyDescriptor(o: any, p: PropertyKey): PropertyDescriptor | undefined;
|
|
1040
1130
|
getOwnPropertyNames(o: any): string[];
|
|
@@ -1101,9 +1191,10 @@ declare namespace $ {
|
|
|
1101
1191
|
readonly [x: string]: any;
|
|
1102
1192
|
};
|
|
1103
1193
|
default: { readonly [key in keyof typeof Fields_1]: (typeof Fields_1)[key]["default"]; };
|
|
1104
|
-
check<Val>(val: Val): val is Val &
|
|
1194
|
+
check<This extends typeof $mol_schema_any, Val>(this: This, val: Val): val is Val & This["default"];
|
|
1105
1195
|
[Symbol.toStringTag]: string;
|
|
1106
1196
|
[$mol_key_handle](): string;
|
|
1197
|
+
[Symbol.hasInstance]<This extends typeof $mol_schema_any, Val>(this: This, val: Val): val is Val & This["default"];
|
|
1107
1198
|
getPrototypeOf(o: any): any;
|
|
1108
1199
|
getOwnPropertyDescriptor(o: any, p: PropertyKey): PropertyDescriptor | undefined;
|
|
1109
1200
|
getOwnPropertyNames(o: any): string[];
|
package/node.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../mam.d.ts","../../../key/key.d.ts","../../../func/name/name.d.ts","../../any/any.d.ts","../../../fail/fail.d.ts","../../boolean/boolean.d.ts","../../string/string.d.ts","../../../guid/guid.d.ts","../../../key/key/key.d.ts","../../pattern/pattern.d.ts","../../
|
|
1
|
+
{"version":3,"sources":["../../../../mam.d.ts","../../../key/key.d.ts","../../../func/name/name.d.ts","../../any/any.d.ts","../../../fail/fail.d.ts","../../float/float.d.ts","../../integer/integer.d.ts","../../bigint/bigint.d.ts","../../boolean/boolean.d.ts","../../string/string.d.ts","../../../guid/guid.d.ts","../../../key/key/key.d.ts","../../pattern/pattern.d.ts","../../instance/instance.d.ts","../../../type/intersect/intersect.d.ts","../../every/every.d.ts","../../range/range.d.ts","../../positive/positive.d.ts","../../natural/natural.d.ts","../../enum/enum.d.ts","../../negative/negative.d.ts","../../some/some.d.ts","../../maybe/maybe.d.ts","../../list/list.d.ts","../../dict/dict.d.ts","../../record/record.d.ts","../../partial/partial.d.ts"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;ACfA;AACA;AACA;AACA;AACA;ACJA;AACA;AACA;AACA;AACA;ACJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;ACjBA;AACA;AACA;AACA;ACHA;AACA;AACA;AACA;AACA;AACA;AACA;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;ACPA;AACA;AACA;AACA;AACA;ACJA;AACA;AACA;AACA;AACA;ACJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;ACjEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;ACjEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;ACjEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AClEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;ACzEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;ACpEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;ACjEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;ACzEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;ACjEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AC5PA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;ACjEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;ACpEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;ACjEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null]}
|
package/node.deps.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"files":["mam.ts","LICENSE","README.md","mam.jam.js","tsfmt.json","package.json","tsconfig.json","lang.lang.tree","meta.lang.tree","sandbox.config.json","mol/CNAME","mol/LICENSE","mol/readme.md","mol/mol.meta.tree","mol/CONTRIBUTING.md","mol/CODE_OF_CONDUCT.md","mol/schema/README.md","mol/key/key.ts","mol/key/README.md","mol/func/name/name.ts","mol/schema/any/any.ts","mol/fail/fail.ts","mol/schema/boolean/boolean.ts","mol/schema/string/string.ts","mol/guid/guid.ts","mol/key/key/key.ts","mol/schema/pattern/pattern.ts","mol/schema/float/float.ts","mol/schema/integer/integer.ts","mol/type/README.md","mol/type/intersect/intersect.ts","mol/schema/every/every.ts","mol/schema/range/range.ts","mol/schema/positive/positive.ts","mol/schema/natural/natural.ts","mol/schema/enum/enum.ts","mol/schema/negative/negative.ts","mol/schema/some/some.ts","mol/schema/maybe/maybe.ts","mol/schema/list/list.ts","mol/schema/dict/dict.ts","mol/schema/record/record.ts","mol/schema/partial/partial.ts","mol/schema/schema/package.json","mol/schema/schema/schema.meta.tree"],"mods":{},"deps_in":{"mol/schema":{"mol/schema/schema":-999,"mol/schema/any":-999,"mol/schema/boolean":-999,"mol/schema/string":-999,"mol/schema/pattern":-999,"mol/schema/float":-999,"mol/schema/integer":-999,"mol/schema/natural":-999,"mol/schema/every":-999,"mol/schema/positive":-999,"mol/schema/range":-999,"mol/schema/enum":-999,"mol/schema/negative":-999,"mol/schema/some":-999,"mol/schema/maybe":-999,"mol/schema/list":-999,"mol/schema/dict":-999,"mol/schema/record":-999,"mol/schema/partial":-999},"mol":{"mol/schema":-999,"mol/key":-999,"mol/func":-999,"mol/fail":-999,"mol/guid":-999,"mol/type":-999},"":{"mol":-999},"mol/schema/any":{"mol/schema/schema":-999,"mol/schema/boolean":-1,"mol/schema/string":-1,"mol/schema/float":-1,"mol/schema/every":-1,"mol/schema/range":-2,"mol/schema/enum":-2,"mol/schema/some":-1,"mol/schema/maybe":-1,"mol/schema/list":-1,"mol/schema/dict":-2,"mol/schema/record":-1,"mol/schema/partial":-1},"mol/key":{"mol/schema/any":-2,"mol/key/key":-3},"mol/func/name":{"mol/schema/any":-3},"mol/func":{"mol/func/name":-999},"mol/schema/boolean":{"mol/schema/schema":-999},"mol/fail":{"mol/schema/boolean":-3,"mol/schema/string":-3,"mol/schema/pattern":-4,"mol/schema/float":-3,"mol/schema/integer":-3,"mol/schema/range":-4,"mol/schema/enum":-4,"mol/schema/some":-4,"mol/schema/list":-4,"mol/schema/dict":-5,"mol/schema/record":-5},"mol/schema/string":{"mol/schema/schema":-999,"mol/schema/pattern":-2},"mol/schema/pattern":{"mol/schema/schema":-999},"mol/key/key":{"mol/schema/pattern":-4,"mol/schema/every":-4,"mol/schema/range":-4,"mol/schema/enum":-4,"mol/schema/some":-4,"mol/schema/maybe":-4,"mol/schema/list":-4,"mol/schema/dict":-4,"mol/schema/record":-4,"mol/schema/partial":-4},"mol/guid":{"mol/key/key":-3},"mol/schema/float":{"mol/schema/schema":-999,"mol/schema/integer":-1},"mol/schema/integer":{"mol/schema/schema":-999,"mol/schema/natural":-2},"mol/schema/natural":{"mol/schema/schema":-999},"mol/schema/every":{"mol/schema/natural":-1,"mol/schema/schema":-999},"mol/type/intersect":{"mol/schema/every":-3},"mol/type":{"mol/type/intersect":-999},"mol/schema/positive":{"mol/schema/natural":-2,"mol/schema/schema":-999},"mol/schema/range":{"mol/schema/positive":-1,"mol/schema/schema":-999,"mol/schema/negative":-1},"mol/schema/enum":{"mol/schema/schema":-999,"mol/schema/maybe":-2},"mol/schema/negative":{"mol/schema/schema":-999},"mol/schema/some":{"mol/schema/schema":-999,"mol/schema/maybe":-2},"mol/schema/maybe":{"mol/schema/schema":-999,"mol/schema/partial":-2},"mol/schema/list":{"mol/schema/schema":-999},"mol/schema/dict":{"mol/schema/schema":-999},"mol/schema/record":{"mol/schema/schema":-999,"mol/schema/partial":-2},"mol/schema/partial":{"mol/schema/schema":-999}},"deps_out":{"mol/schema/schema":{"mol/schema":-999,"mol/schema/any":-999,"mol/schema/boolean":-999,"mol/schema/string":-999,"mol/schema/pattern":-999,"mol/schema/float":-999,"mol/schema/integer":-999,"mol/schema/natural":-999,"mol/schema/enum":-999,"mol/schema/range":-999,"mol/schema/positive":-999,"mol/schema/negative":-999,"mol/schema/some":-999,"mol/schema/maybe":-999,"mol/schema/every":-999,"mol/schema/list":-999,"mol/schema/dict":-999,"mol/schema/record":-999,"mol/schema/partial":-999},"mol/schema":{"mol":-999},"mol":{"":-999},"mol/schema/any":{"mol/schema":-999,"mol/key":-2,"mol/func/name":-3},"mol/key":{"mol":-999},"mol/func/name":{"mol/func":-999},"mol/func":{"mol":-999},"mol/schema/boolean":{"mol/schema":-999,"mol/schema/any":-1,"mol/fail":-3},"mol/fail":{"mol":-999},"mol/schema/string":{"mol/schema":-999,"mol/schema/any":-1,"mol/fail":-3},"mol/schema/pattern":{"mol/schema":-999,"mol/schema/string":-2,"mol/key/key":-4,"mol/fail":-4},"mol/key/key":{"mol/key":-3,"mol/guid":-3},"mol/guid":{"mol":-999},"mol/schema/float":{"mol/schema":-999,"mol/schema/any":-1,"mol/fail":-3},"mol/schema/integer":{"mol/schema":-999,"mol/schema/float":-1,"mol/fail":-3},"mol/schema/natural":{"mol/schema":-999,"mol/schema/every":-1,"mol/schema/integer":-2,"mol/schema/positive":-2},"mol/schema/every":{"mol/schema":-999,"mol/schema/any":-1,"mol/key/key":-4,"mol/type/intersect":-3},"mol/type/intersect":{"mol/type":-999},"mol/type":{"mol":-999},"mol/schema/positive":{"mol/schema":-999,"mol/schema/range":-1},"mol/schema/range":{"mol/schema":-999,"mol/schema/any":-2,"mol/key/key":-4,"mol/fail":-4},"mol/schema/enum":{"mol/schema":-999,"mol/schema/any":-2,"mol/key/key":-4,"mol/fail":-4},"mol/schema/negative":{"mol/schema":-999,"mol/schema/range":-1},"mol/schema/some":{"mol/schema":-999,"mol/schema/any":-1,"mol/key/key":-4,"mol/fail":-4},"mol/schema/maybe":{"mol/schema":-999,"mol/schema/any":-1,"mol/schema/some":-2,"mol/schema/enum":-2,"mol/key/key":-4},"mol/schema/list":{"mol/schema":-999,"mol/schema/any":-1,"mol/key/key":-4,"mol/fail":-4},"mol/schema/dict":{"mol/schema":-999,"mol/schema/any":-2,"mol/key/key":-4,"mol/fail":-5},"mol/schema/record":{"mol/schema":-999,"mol/schema/any":-1,"mol/key/key":-4,"mol/fail":-5},"mol/schema/partial":{"mol/schema":-999,"mol/schema/any":-1,"mol/schema/maybe":-2,"mol/schema/record":-2,"mol/key/key":-4}},"sloc":{"ts":447,"LICENSE":113,"md":646,"js":9,"json":86,"tree":59,"CNAME":1},"deps":{"mol/schema/schema":{"..":-999,"/mol/schema/any":-999,"/mol/schema/boolean":-999,"/mol/schema/string":-999,"/mol/schema/pattern":-999,"/mol/schema/float":-999,"/mol/schema/integer":-999,"/mol/schema/natural":-999,"/mol/schema/enum":-999,"/mol/schema/range":-999,"/mol/schema/positive":-999,"/mol/schema/negative":-999,"/mol/schema/some":-999,"/mol/schema/maybe":-999,"/mol/schema/every":-999,"/mol/schema/list":-999,"/mol/schema/dict":-999,"/mol/schema/record":-999,"/mol/schema/partial":-999},"mol/schema":{"..":-999},"mol":{"..":-999},"":{},"mol/schema/any":{"..":-999,"/mol/schema/any":-1,"/mol/key/handle":-2,"/mol/func/name":-3},"mol/key":{"..":-999,"/mol/key/handle":-1,"/mol/key/store":-1},"mol/func/name":{"..":-999,"/mol/func/name":-1,"/mol/func/name/from":-1},"mol/func":{"..":-999},"mol/schema/boolean":{"..":-999,"/mol/schema/boolean":-1,"/mol/schema/any":-1,"/mol/fail":-3},"mol/fail":{"..":-999,"/mol/fail":-1},"mol/schema/string":{"..":-999,"/mol/schema/string":-1,"/mol/schema/any":-1,"/mol/fail":-3},"mol/schema/pattern":{"..":-999,"/mol/schema/pattern":-1,"/mol/schema/string":-2,"/mol/key":-4,"/mol/fail":-4},"mol/key/key":{"..":-999,"/mol/key":-1,"/mol/key/store/get":-3,"/mol/key/handle":-3,"/mol/guid":-3,"/mol/key/store/set":-3},"mol/guid":{"..":-999,"/mol/guid":-1},"mol/schema/float":{"..":-999,"/mol/schema/float":-1,"/mol/schema/any":-1,"/mol/fail":-3},"mol/schema/integer":{"..":-999,"/mol/schema/integer":-1,"/mol/schema/float":-1,"/mol/fail":-3},"mol/schema/natural":{"..":-999,"/mol/schema/natural":-1,"/mol/schema/every":-1,"/mol/schema/integer":-2,"/mol/schema/positive":-2},"mol/schema/every":{"..":-999,"/mol/schema/every":-1,"/mol/schema/any":-1,"/mol/key":-4,"/mol/type/intersect":-3},"mol/type/intersect":{"..":-999,"/mol/type/intersect":-1},"mol/type":{"..":-999},"mol/schema/positive":{"..":-999,"/mol/schema/positive":-1,"/mol/schema/range":-1},"mol/schema/range":{"..":-999,"/mol/schema/range":-1,"/mol/schema/any":-2,"/mol/key":-4,"/mol/fail":-4,"/mol/schema/range/min":-3,"/mol/schema/range/max":-3},"mol/schema/enum":{"..":-999,"/mol/schema/enum":-1,"/mol/schema/any":-2,"/mol/key":-4,"/mol/fail":-4},"mol/schema/negative":{"..":-999,"/mol/schema/negative":-1,"/mol/schema/range":-1},"mol/schema/some":{"..":-999,"/mol/schema/some":-1,"/mol/schema/any":-1,"/mol/key":-4,"/mol/fail":-4},"mol/schema/maybe":{"..":-999,"/mol/schema/maybe":-1,"/mol/schema/any":-1,"/mol/schema/some":-2,"/mol/schema/enum":-2,"/mol/key":-4},"mol/schema/list":{"..":-999,"/mol/schema/list":-1,"/mol/schema/any":-1,"/mol/key":-4,"/mol/fail":-4},"mol/schema/dict":{"..":-999,"/mol/schema/dict":-1,"/mol/schema/any":-2,"/mol/key":-4,"/mol/fail":-5},"mol/schema/record":{"..":-999,"/mol/schema/record":-1,"/mol/schema/any":-1,"/mol/key":-4,"/mol/fail":-5},"mol/schema/partial":{"..":-999,"/mol/schema/partial":-1,"/mol/schema/any":-1,"/mol/schema/maybe":-2,"/mol/schema/record":-2,"/mol/key":-4}}}
|
|
1
|
+
{"files":["mam.ts","LICENSE","README.md","mam.jam.js","tsfmt.json","package.json","tsconfig.json","lang.lang.tree","meta.lang.tree","sandbox.config.json","mol/CNAME","mol/LICENSE","mol/readme.md","mol/mol.meta.tree","mol/CONTRIBUTING.md","mol/CODE_OF_CONDUCT.md","mol/schema/README.md","mol/key/key.ts","mol/key/README.md","mol/func/name/name.ts","mol/schema/any/any.ts","mol/fail/fail.ts","mol/schema/float/float.ts","mol/schema/integer/integer.ts","mol/schema/bigint/bigint.ts","mol/schema/boolean/boolean.ts","mol/schema/string/string.ts","mol/guid/guid.ts","mol/key/key/key.ts","mol/schema/pattern/pattern.ts","mol/schema/instance/instance.ts","mol/type/README.md","mol/type/intersect/intersect.ts","mol/schema/every/every.ts","mol/schema/range/range.ts","mol/schema/positive/positive.ts","mol/schema/natural/natural.ts","mol/schema/enum/enum.ts","mol/schema/negative/negative.ts","mol/schema/some/some.ts","mol/schema/maybe/maybe.ts","mol/schema/list/list.ts","mol/schema/dict/dict.ts","mol/schema/record/record.ts","mol/schema/partial/partial.ts","mol/schema/schema/package.json","mol/schema/schema/schema.meta.tree"],"mods":{},"deps_in":{"mol/schema":{"mol/schema/schema":-999,"mol/schema/any":-999,"mol/schema/bigint":-999,"mol/schema/integer":-999,"mol/schema/float":-999,"mol/schema/boolean":-999,"mol/schema/string":-999,"mol/schema/pattern":-999,"mol/schema/instance":-999,"mol/schema/natural":-999,"mol/schema/every":-999,"mol/schema/positive":-999,"mol/schema/range":-999,"mol/schema/enum":-999,"mol/schema/negative":-999,"mol/schema/some":-999,"mol/schema/maybe":-999,"mol/schema/list":-999,"mol/schema/dict":-999,"mol/schema/record":-999,"mol/schema/partial":-999},"mol":{"mol/schema":-999,"mol/key":-999,"mol/func":-999,"mol/fail":-999,"mol/guid":-999,"mol/type":-999},"":{"mol":-999},"mol/schema/any":{"mol/schema/schema":-999,"mol/schema/bigint":-1,"mol/schema/float":-1,"mol/schema/boolean":-1,"mol/schema/string":-1,"mol/schema/instance":-2,"mol/schema/every":-1,"mol/schema/range":-2,"mol/schema/enum":-2,"mol/schema/some":-1,"mol/schema/maybe":-1,"mol/schema/list":-1,"mol/schema/dict":-2,"mol/schema/record":-1,"mol/schema/partial":-1},"mol/key":{"mol/schema/any":-2,"mol/key/key":-3},"mol/func/name":{"mol/schema/any":-3,"mol/schema/instance":-4},"mol/func":{"mol/func/name":-999},"mol/schema/bigint":{"mol/schema/schema":-999},"mol/fail":{"mol/schema/bigint":-3,"mol/schema/float":-3,"mol/schema/integer":-3,"mol/schema/boolean":-3,"mol/schema/string":-3,"mol/schema/pattern":-4,"mol/schema/instance":-4,"mol/schema/range":-4,"mol/schema/enum":-4,"mol/schema/some":-4,"mol/schema/list":-4,"mol/schema/dict":-5,"mol/schema/record":-5},"mol/schema/integer":{"mol/schema/bigint":-3,"mol/schema/schema":-999,"mol/schema/natural":-2},"mol/schema/float":{"mol/schema/integer":-1,"mol/schema/schema":-999},"mol/schema/boolean":{"mol/schema/schema":-999},"mol/schema/string":{"mol/schema/schema":-999,"mol/schema/pattern":-2},"mol/schema/pattern":{"mol/schema/schema":-999},"mol/key/key":{"mol/schema/pattern":-4,"mol/schema/every":-4,"mol/schema/range":-4,"mol/schema/enum":-4,"mol/schema/some":-4,"mol/schema/maybe":-4,"mol/schema/list":-4,"mol/schema/dict":-4,"mol/schema/record":-4,"mol/schema/partial":-4},"mol/guid":{"mol/key/key":-3},"mol/schema/instance":{"mol/schema/schema":-999},"mol/schema/natural":{"mol/schema/schema":-999},"mol/schema/every":{"mol/schema/natural":-1,"mol/schema/schema":-999},"mol/type/intersect":{"mol/schema/every":-3},"mol/type":{"mol/type/intersect":-999},"mol/schema/positive":{"mol/schema/natural":-2,"mol/schema/schema":-999},"mol/schema/range":{"mol/schema/positive":-1,"mol/schema/schema":-999,"mol/schema/negative":-1},"mol/schema/enum":{"mol/schema/schema":-999,"mol/schema/maybe":-2},"mol/schema/negative":{"mol/schema/schema":-999},"mol/schema/some":{"mol/schema/schema":-999,"mol/schema/maybe":-2},"mol/schema/maybe":{"mol/schema/schema":-999,"mol/schema/partial":-2},"mol/schema/list":{"mol/schema/schema":-999},"mol/schema/dict":{"mol/schema/schema":-999},"mol/schema/record":{"mol/schema/schema":-999,"mol/schema/partial":-2},"mol/schema/partial":{"mol/schema/schema":-999}},"deps_out":{"mol/schema/schema":{"mol/schema":-999,"mol/schema/any":-999,"mol/schema/bigint":-999,"mol/schema/boolean":-999,"mol/schema/string":-999,"mol/schema/pattern":-999,"mol/schema/float":-999,"mol/schema/instance":-999,"mol/schema/integer":-999,"mol/schema/natural":-999,"mol/schema/enum":-999,"mol/schema/range":-999,"mol/schema/positive":-999,"mol/schema/negative":-999,"mol/schema/some":-999,"mol/schema/maybe":-999,"mol/schema/every":-999,"mol/schema/list":-999,"mol/schema/dict":-999,"mol/schema/record":-999,"mol/schema/partial":-999},"mol/schema":{"mol":-999},"mol":{"":-999},"mol/schema/any":{"mol/schema":-999,"mol/key":-2,"mol/func/name":-3},"mol/key":{"mol":-999},"mol/func/name":{"mol/func":-999},"mol/func":{"mol":-999},"mol/schema/bigint":{"mol/schema":-999,"mol/schema/any":-1,"mol/fail":-3,"mol/schema/integer":-3},"mol/fail":{"mol":-999},"mol/schema/integer":{"mol/schema":-999,"mol/schema/float":-1,"mol/fail":-3},"mol/schema/float":{"mol/schema":-999,"mol/schema/any":-1,"mol/fail":-3},"mol/schema/boolean":{"mol/schema":-999,"mol/schema/any":-1,"mol/fail":-3},"mol/schema/string":{"mol/schema":-999,"mol/schema/any":-1,"mol/fail":-3},"mol/schema/pattern":{"mol/schema":-999,"mol/schema/string":-2,"mol/key/key":-4,"mol/fail":-4},"mol/key/key":{"mol/key":-3,"mol/guid":-3},"mol/guid":{"mol":-999},"mol/schema/instance":{"mol/schema":-999,"mol/schema/any":-2,"mol/func/name":-4,"mol/fail":-4},"mol/schema/natural":{"mol/schema":-999,"mol/schema/every":-1,"mol/schema/integer":-2,"mol/schema/positive":-2},"mol/schema/every":{"mol/schema":-999,"mol/schema/any":-1,"mol/key/key":-4,"mol/type/intersect":-3},"mol/type/intersect":{"mol/type":-999},"mol/type":{"mol":-999},"mol/schema/positive":{"mol/schema":-999,"mol/schema/range":-1},"mol/schema/range":{"mol/schema":-999,"mol/schema/any":-2,"mol/key/key":-4,"mol/fail":-4},"mol/schema/enum":{"mol/schema":-999,"mol/schema/any":-2,"mol/key/key":-4,"mol/fail":-4},"mol/schema/negative":{"mol/schema":-999,"mol/schema/range":-1},"mol/schema/some":{"mol/schema":-999,"mol/schema/any":-1,"mol/key/key":-4,"mol/fail":-4},"mol/schema/maybe":{"mol/schema":-999,"mol/schema/any":-1,"mol/schema/some":-2,"mol/schema/enum":-2,"mol/key/key":-4},"mol/schema/list":{"mol/schema":-999,"mol/schema/any":-1,"mol/key/key":-4,"mol/fail":-4},"mol/schema/dict":{"mol/schema":-999,"mol/schema/any":-2,"mol/key/key":-4,"mol/fail":-5},"mol/schema/record":{"mol/schema":-999,"mol/schema/any":-1,"mol/key/key":-4,"mol/fail":-5},"mol/schema/partial":{"mol/schema":-999,"mol/schema/any":-1,"mol/schema/maybe":-2,"mol/schema/record":-2,"mol/key/key":-4}},"sloc":{"ts":489,"LICENSE":113,"md":648,"js":9,"json":86,"tree":61,"CNAME":1},"deps":{"mol/schema/schema":{"..":-999,"/mol/schema/any":-999,"/mol/schema/bigint":-999,"/mol/schema/boolean":-999,"/mol/schema/string":-999,"/mol/schema/pattern":-999,"/mol/schema/float":-999,"/mol/schema/instance":-999,"/mol/schema/integer":-999,"/mol/schema/natural":-999,"/mol/schema/enum":-999,"/mol/schema/range":-999,"/mol/schema/positive":-999,"/mol/schema/negative":-999,"/mol/schema/some":-999,"/mol/schema/maybe":-999,"/mol/schema/every":-999,"/mol/schema/list":-999,"/mol/schema/dict":-999,"/mol/schema/record":-999,"/mol/schema/partial":-999},"mol/schema":{"..":-999},"mol":{"..":-999},"":{},"mol/schema/any":{"..":-999,"/mol/schema/any":-1,"/mol/key/handle":-2,"/mol/func/name":-3},"mol/key":{"..":-999,"/mol/key/handle":-1,"/mol/key/store":-1},"mol/func/name":{"..":-999,"/mol/func/name":-1,"/mol/func/name/from":-1},"mol/func":{"..":-999},"mol/schema/bigint":{"..":-999,"/mol/schema/bigint":-1,"/mol/schema/any":-1,"/mol/fail":-3,"/mol/schema/integer/cast":-3},"mol/fail":{"..":-999,"/mol/fail":-1},"mol/schema/integer":{"..":-999,"/mol/schema/integer":-1,"/mol/schema/float":-1,"/mol/fail":-3},"mol/schema/float":{"..":-999,"/mol/schema/float":-1,"/mol/schema/any":-1,"/mol/fail":-3},"mol/schema/boolean":{"..":-999,"/mol/schema/boolean":-1,"/mol/schema/any":-1,"/mol/fail":-3},"mol/schema/string":{"..":-999,"/mol/schema/string":-1,"/mol/schema/any":-1,"/mol/fail":-3},"mol/schema/pattern":{"..":-999,"/mol/schema/pattern":-1,"/mol/schema/string":-2,"/mol/key":-4,"/mol/fail":-4},"mol/key/key":{"..":-999,"/mol/key":-1,"/mol/key/store/get":-3,"/mol/key/handle":-3,"/mol/guid":-3,"/mol/key/store/set":-3},"mol/guid":{"..":-999,"/mol/guid":-1},"mol/schema/instance":{"..":-999,"/mol/schema/instance":-1,"/mol/schema/any":-2,"/mol/func/name":-4,"/mol/fail":-4},"mol/schema/natural":{"..":-999,"/mol/schema/natural":-1,"/mol/schema/every":-1,"/mol/schema/integer":-2,"/mol/schema/positive":-2},"mol/schema/every":{"..":-999,"/mol/schema/every":-1,"/mol/schema/any":-1,"/mol/key":-4,"/mol/type/intersect":-3},"mol/type/intersect":{"..":-999,"/mol/type/intersect":-1},"mol/type":{"..":-999},"mol/schema/positive":{"..":-999,"/mol/schema/positive":-1,"/mol/schema/range":-1},"mol/schema/range":{"..":-999,"/mol/schema/range":-1,"/mol/schema/any":-2,"/mol/key":-4,"/mol/fail":-4,"/mol/schema/range/min":-3,"/mol/schema/range/max":-3},"mol/schema/enum":{"..":-999,"/mol/schema/enum":-1,"/mol/schema/any":-2,"/mol/key":-4,"/mol/fail":-4},"mol/schema/negative":{"..":-999,"/mol/schema/negative":-1,"/mol/schema/range":-1},"mol/schema/some":{"..":-999,"/mol/schema/some":-1,"/mol/schema/any":-1,"/mol/key":-4,"/mol/fail":-4},"mol/schema/maybe":{"..":-999,"/mol/schema/maybe":-1,"/mol/schema/any":-1,"/mol/schema/some":-2,"/mol/schema/enum":-2,"/mol/key":-4},"mol/schema/list":{"..":-999,"/mol/schema/list":-1,"/mol/schema/any":-1,"/mol/key":-4,"/mol/fail":-4},"mol/schema/dict":{"..":-999,"/mol/schema/dict":-1,"/mol/schema/any":-2,"/mol/key":-4,"/mol/fail":-5},"mol/schema/record":{"..":-999,"/mol/schema/record":-1,"/mol/schema/any":-1,"/mol/key":-4,"/mol/fail":-5},"mol/schema/partial":{"..":-999,"/mol/schema/partial":-1,"/mol/schema/any":-1,"/mol/schema/maybe":-2,"/mol/schema/record":-2,"/mol/key":-4}}}
|