effect 3.11.5 → 3.11.7
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/cjs/Arbitrary.js +357 -343
- package/dist/cjs/Arbitrary.js.map +1 -1
- package/dist/cjs/JSONSchema.js +157 -38
- package/dist/cjs/JSONSchema.js.map +1 -1
- package/dist/cjs/Schema.js +49 -33
- package/dist/cjs/Schema.js.map +1 -1
- package/dist/cjs/internal/schema/filters.js +24 -18
- package/dist/cjs/internal/schema/filters.js.map +1 -1
- package/dist/cjs/internal/version.js +1 -1
- package/dist/dts/Arbitrary.d.ts +21 -1
- package/dist/dts/Arbitrary.d.ts.map +1 -1
- package/dist/dts/JSONSchema.d.ts +11 -2
- package/dist/dts/JSONSchema.d.ts.map +1 -1
- package/dist/dts/Schema.d.ts +46 -18
- package/dist/dts/Schema.d.ts.map +1 -1
- package/dist/esm/Arbitrary.js +351 -335
- package/dist/esm/Arbitrary.js.map +1 -1
- package/dist/esm/JSONSchema.js +157 -38
- package/dist/esm/JSONSchema.js.map +1 -1
- package/dist/esm/Schema.js +49 -33
- package/dist/esm/Schema.js.map +1 -1
- package/dist/esm/internal/schema/filters.js +23 -17
- package/dist/esm/internal/schema/filters.js.map +1 -1
- package/dist/esm/internal/version.js +1 -1
- package/package.json +1 -1
- package/src/Arbitrary.ts +410 -361
- package/src/JSONSchema.ts +185 -40
- package/src/Schema.ts +161 -74
- package/src/internal/schema/filters.ts +32 -17
- package/src/internal/version.ts +1 -1
|
@@ -1,35 +1,41 @@
|
|
|
1
1
|
/** @internal */
|
|
2
|
-
export const GreaterThanSchemaId = /*#__PURE__*/Symbol.for("effect/
|
|
2
|
+
export const GreaterThanSchemaId = /*#__PURE__*/Symbol.for("effect/SchemaId/GreaterThan");
|
|
3
3
|
/** @internal */
|
|
4
|
-
export const GreaterThanOrEqualToSchemaId = /*#__PURE__*/Symbol.for("effect/
|
|
4
|
+
export const GreaterThanOrEqualToSchemaId = /*#__PURE__*/Symbol.for("effect/SchemaId/GreaterThanOrEqualTo");
|
|
5
5
|
/** @internal */
|
|
6
|
-
export const LessThanSchemaId = /*#__PURE__*/Symbol.for("effect/
|
|
6
|
+
export const LessThanSchemaId = /*#__PURE__*/Symbol.for("effect/SchemaId/LessThan");
|
|
7
7
|
/** @internal */
|
|
8
|
-
export const LessThanOrEqualToSchemaId = /*#__PURE__*/Symbol.for("effect/
|
|
8
|
+
export const LessThanOrEqualToSchemaId = /*#__PURE__*/Symbol.for("effect/SchemaId/LessThanOrEqualTo");
|
|
9
9
|
/** @internal */
|
|
10
|
-
export const IntSchemaId = /*#__PURE__*/Symbol.for("effect/
|
|
10
|
+
export const IntSchemaId = /*#__PURE__*/Symbol.for("effect/SchemaId/Int");
|
|
11
11
|
/** @internal */
|
|
12
|
-
export const
|
|
12
|
+
export const NonNaNSchemaId = /*#__PURE__*/Symbol.for("effect/SchemaId/NonNaN");
|
|
13
13
|
/** @internal */
|
|
14
|
-
export const
|
|
14
|
+
export const FiniteSchemaId = /*#__PURE__*/Symbol.for("effect/SchemaId/Finite");
|
|
15
15
|
/** @internal */
|
|
16
|
-
export const
|
|
16
|
+
export const JsonNumberSchemaId = /*#__PURE__*/Symbol.for("effect/SchemaId/JsonNumber");
|
|
17
17
|
/** @internal */
|
|
18
|
-
export const
|
|
18
|
+
export const BetweenSchemaId = /*#__PURE__*/Symbol.for("effect/SchemaId/Between");
|
|
19
19
|
/** @internal */
|
|
20
|
-
export const
|
|
20
|
+
export const GreaterThanBigintSchemaId = /*#__PURE__*/Symbol.for("effect/SchemaId/GreaterThanBigint");
|
|
21
21
|
/** @internal */
|
|
22
|
-
export const
|
|
22
|
+
export const GreaterThanOrEqualToBigIntSchemaId = /*#__PURE__*/Symbol.for("effect/SchemaId/GreaterThanOrEqualToBigint");
|
|
23
23
|
/** @internal */
|
|
24
|
-
export const
|
|
24
|
+
export const LessThanBigIntSchemaId = /*#__PURE__*/Symbol.for("effect/SchemaId/LessThanBigint");
|
|
25
25
|
/** @internal */
|
|
26
|
-
export const
|
|
26
|
+
export const LessThanOrEqualToBigIntSchemaId = /*#__PURE__*/Symbol.for("effect/SchemaId/LessThanOrEqualToBigint");
|
|
27
27
|
/** @internal */
|
|
28
|
-
export const
|
|
28
|
+
export const BetweenBigintSchemaId = /*#__PURE__*/Symbol.for("effect/SchemaId/BetweenBigint");
|
|
29
29
|
/** @internal */
|
|
30
|
-
export const
|
|
30
|
+
export const MinLengthSchemaId = /*#__PURE__*/Symbol.for("effect/SchemaId/MinLength");
|
|
31
31
|
/** @internal */
|
|
32
|
-
export const
|
|
32
|
+
export const MaxLengthSchemaId = /*#__PURE__*/Symbol.for("effect/SchemaId/MaxLength");
|
|
33
33
|
/** @internal */
|
|
34
|
-
export const
|
|
34
|
+
export const LengthSchemaId = /*#__PURE__*/Symbol.for("effect/SchemaId/Length");
|
|
35
|
+
/** @internal */
|
|
36
|
+
export const MinItemsSchemaId = /*#__PURE__*/Symbol.for("effect/SchemaId/MinItems");
|
|
37
|
+
/** @internal */
|
|
38
|
+
export const MaxItemsSchemaId = /*#__PURE__*/Symbol.for("effect/SchemaId/MaxItems");
|
|
39
|
+
/** @internal */
|
|
40
|
+
export const ItemsCountSchemaId = /*#__PURE__*/Symbol.for("effect/SchemaId/ItemsCount");
|
|
35
41
|
//# sourceMappingURL=filters.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filters.js","names":["GreaterThanSchemaId","Symbol","for","GreaterThanOrEqualToSchemaId","LessThanSchemaId","LessThanOrEqualToSchemaId","IntSchemaId","BetweenSchemaId","GreaterThanBigintSchemaId","GreaterThanOrEqualToBigIntSchemaId","LessThanBigIntSchemaId","LessThanOrEqualToBigIntSchemaId","BetweenBigintSchemaId","MinLengthSchemaId","MaxLengthSchemaId","LengthSchemaId","MinItemsSchemaId","MaxItemsSchemaId","ItemsCountSchemaId"],"sources":["../../../../src/internal/schema/filters.ts"],"sourcesContent":[null],"mappings":"AAEA;AACA,OAAO,MAAMA,mBAAmB,gBAA+BC,MAAM,CAACC,GAAG,CACvE,
|
|
1
|
+
{"version":3,"file":"filters.js","names":["GreaterThanSchemaId","Symbol","for","GreaterThanOrEqualToSchemaId","LessThanSchemaId","LessThanOrEqualToSchemaId","IntSchemaId","NonNaNSchemaId","FiniteSchemaId","JsonNumberSchemaId","BetweenSchemaId","GreaterThanBigintSchemaId","GreaterThanOrEqualToBigIntSchemaId","LessThanBigIntSchemaId","LessThanOrEqualToBigIntSchemaId","BetweenBigintSchemaId","MinLengthSchemaId","MaxLengthSchemaId","LengthSchemaId","MinItemsSchemaId","MaxItemsSchemaId","ItemsCountSchemaId"],"sources":["../../../../src/internal/schema/filters.ts"],"sourcesContent":[null],"mappings":"AAEA;AACA,OAAO,MAAMA,mBAAmB,gBAA+BC,MAAM,CAACC,GAAG,CACvE,6BAA6B,CACA;AAE/B;AACA,OAAO,MAAMC,4BAA4B,gBAAwCF,MAAM,CAACC,GAAG,CACzF,sCAAsC,CACA;AAExC;AACA,OAAO,MAAME,gBAAgB,gBAA4BH,MAAM,CAACC,GAAG,CACjE,0BAA0B,CACA;AAE5B;AACA,OAAO,MAAMG,yBAAyB,gBAAqCJ,MAAM,CAACC,GAAG,CACnF,mCAAmC,CACA;AAErC;AACA,OAAO,MAAMI,WAAW,gBAAuBL,MAAM,CAACC,GAAG,CACvD,qBAAqB,CACA;AAEvB;AACA,OAAO,MAAMK,cAAc,gBAA0BN,MAAM,CAACC,GAAG,CAC7D,wBAAwB,CACA;AAE1B;AACA,OAAO,MAAMM,cAAc,gBAA0BP,MAAM,CAACC,GAAG,CAC7D,wBAAwB,CACA;AAE1B;AACA,OAAO,MAAMO,kBAAkB,gBAA8BR,MAAM,CAACC,GAAG,CACrE,4BAA4B,CACA;AAE9B;AACA,OAAO,MAAMQ,eAAe,gBAA2BT,MAAM,CAACC,GAAG,CAC/D,yBAAyB,CACA;AAE3B;AACA,OAAO,MAAMS,yBAAyB,gBAAqCV,MAAM,CAACC,G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