Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@effect/schema

Package Overview
Dependencies
Maintainers
3
Versions
335
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@effect/schema - npm Package Compare versions

Comparing version 0.67.16 to 0.67.17

10

dist/cjs/Arbitrary.js

@@ -41,3 +41,3 @@ "use strict";

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -47,3 +47,3 @@

* @category hooks
* @since 1.0.0
* @since 0.67.0
*/

@@ -53,3 +53,3 @@ const ArbitraryHookId = exports.ArbitraryHookId = /*#__PURE__*/Symbol.for("@effect/schema/ArbitraryHookId");

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -63,3 +63,3 @@ const arbitrary = handler => self => self.annotations({

* @category arbitrary
* @since 1.0.0
* @since 0.67.0
*/

@@ -72,3 +72,3 @@ exports.arbitrary = arbitrary;

* @category arbitrary
* @since 1.0.0
* @since 0.67.0
*/

@@ -75,0 +75,0 @@ exports.makeLazy = makeLazy;

@@ -36,3 +36,3 @@ "use strict";

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -42,3 +42,3 @@

* @category formatting
* @since 1.0.0
* @since 0.67.0
*/

@@ -48,3 +48,3 @@ const formatIssue = issue => go(issue);

* @category formatting
* @since 1.0.0
* @since 0.67.0
*/

@@ -55,3 +55,3 @@ exports.formatIssue = formatIssue;

* @category formatting
* @since 1.0.0
* @since 0.67.0
*/

@@ -62,3 +62,3 @@ exports.formatIssueSync = formatIssueSync;

* @category formatting
* @since 1.0.0
* @since 0.67.0
*/

@@ -65,0 +65,0 @@ exports.formatError = formatError;

@@ -42,3 +42,3 @@ "use strict";

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -48,3 +48,3 @@

* @category hooks
* @since 1.0.0
* @since 0.67.0
*/

@@ -54,3 +54,3 @@ const EquivalenceHookId = exports.EquivalenceHookId = /*#__PURE__*/Symbol.for("@effect/schema/EquivalenceHookId");

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -62,3 +62,3 @@ const equivalence = handler => self => self.annotations({

* @category Equivalence
* @since 1.0.0
* @since 0.67.0
*/

@@ -65,0 +65,0 @@ exports.equivalence = equivalence;

@@ -38,3 +38,3 @@ "use strict";

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -44,3 +44,3 @@

* @category encoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -47,0 +47,0 @@ const make = schema => {

@@ -45,3 +45,3 @@ "use strict";

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -53,3 +53,3 @@

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -61,3 +61,3 @@ class Declaration {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -75,3 +75,3 @@ _tag = "Declaration";

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -85,3 +85,3 @@ exports.Declaration = Declaration;

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -100,3 +100,3 @@ _tag = "Refinement";

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -110,3 +110,3 @@ exports.Refinement = Refinement;

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -125,3 +125,3 @@ _tag = "TupleType";

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -133,3 +133,3 @@ exports.TupleType = TupleType;

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -146,3 +146,3 @@ _tag = "Index";

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -156,3 +156,3 @@ exports.Index = Index;

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -171,3 +171,3 @@ _tag = "TypeLiteral";

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -179,3 +179,3 @@ exports.TypeLiteral = TypeLiteral;

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -192,3 +192,3 @@ _tag = "Key";

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -199,3 +199,3 @@ exports.Key = Key;

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -211,3 +211,3 @@ _tag = "Unexpected";

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -221,3 +221,3 @@ exports.Unexpected = Unexpected;

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -237,3 +237,3 @@ _tag = "Transformation";

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -245,7 +245,7 @@ exports.Transformation = Transformation;

/**
* @since 1.0.0
* @since 0.67.0
*/
_tag = "Type";
/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -263,3 +263,3 @@ message;

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -271,7 +271,7 @@ exports.Type = Type;

/**
* @since 1.0.0
* @since 0.67.0
*/
_tag = "Forbidden";
/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -289,3 +289,3 @@ message;

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -295,3 +295,3 @@ exports.Forbidden = Forbidden;

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -302,3 +302,3 @@ _tag = "Missing";

* @category constructors
* @since 1.0.0
* @since 0.67.0
*/

@@ -311,3 +311,3 @@ exports.Missing = Missing;

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -318,3 +318,3 @@ class Member {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -331,3 +331,3 @@ _tag = "Member";

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -340,3 +340,3 @@ exports.Member = Member;

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -351,3 +351,3 @@ _tag = "Union";

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -360,3 +360,3 @@ exports.Union = Union;

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -367,3 +367,3 @@ toString() {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -377,3 +377,3 @@ toJSON() {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -386,3 +386,3 @@ [Inspectable.NodeInspectSymbol]() {

* @category constructors
* @since 1.0.0
* @since 0.67.0
*/

@@ -395,3 +395,3 @@ exports.ParseError = ParseError;

* @category constructors
* @since 1.0.0
* @since 0.67.0
*/

@@ -402,3 +402,3 @@ exports.parseError = parseError;

* @category constructors
* @since 1.0.0
* @since 0.67.0
*/

@@ -409,3 +409,3 @@ const fail = exports.fail = Either.left;

* @category constructors
* @since 1.0.0
* @since 0.67.0
*/

@@ -415,3 +415,3 @@ const fromOption = exports.fromOption = Either.fromOption;

* @category optimisation
* @since 1.0.0
* @since 0.67.0
*/

@@ -430,3 +430,3 @@ const flatMap = exports.flatMap = /*#__PURE__*/(0, _Function.dual)(2, (self, f) => {

* @category optimisation
* @since 1.0.0
* @since 0.67.0
*/

@@ -445,3 +445,3 @@ const map = exports.map = /*#__PURE__*/(0, _Function.dual)(2, (self, f) => {

* @category optimisation
* @since 1.0.0
* @since 0.67.0
*/

@@ -460,3 +460,3 @@ const mapError = exports.mapError = /*#__PURE__*/(0, _Function.dual)(2, (self, f) => {

* @category optimisation
* @since 1.0.0
* @since 0.67.0
*/

@@ -471,3 +471,3 @@ const eitherOrUndefined = self => {

* @category optimisation
* @since 1.0.0
* @since 0.67.0
*/

@@ -487,3 +487,3 @@ exports.eitherOrUndefined = eitherOrUndefined;

* @category optimisation
* @since 1.0.0
* @since 0.67.0
*/

@@ -537,3 +537,3 @@ const orElse = exports.orElse = /*#__PURE__*/(0, _Function.dual)(2, (self, f) => {

* @category decoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -543,3 +543,3 @@ const decodeUnknownSync = (schema, options) => getSync(schema.ast, true, options);

* @category decoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -550,3 +550,3 @@ exports.decodeUnknownSync = decodeUnknownSync;

* @category decoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -557,3 +557,3 @@ exports.decodeUnknownOption = decodeUnknownOption;

* @category decoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -567,3 +567,3 @@ exports.decodeUnknownEither = decodeUnknownEither;

* @category decoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -574,3 +574,3 @@ exports.decodeUnknownPromise = decodeUnknownPromise;

* @category encoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -581,3 +581,3 @@ exports.decodeUnknown = decodeUnknown;

* @category encoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -588,3 +588,3 @@ exports.encodeUnknownSync = encodeUnknownSync;

* @category encoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -595,3 +595,3 @@ exports.encodeUnknownOption = encodeUnknownOption;

* @category encoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -605,3 +605,3 @@ exports.encodeUnknownEither = encodeUnknownEither;

* @category encoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -612,3 +612,3 @@ exports.encodeUnknownPromise = encodeUnknownPromise;

* @category decoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -619,3 +619,3 @@ exports.encodeUnknown = encodeUnknown;

* @category decoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -625,3 +625,3 @@ const decodeOption = exports.decodeOption = decodeUnknownOption;

* @category decoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -631,3 +631,3 @@ const decodeEither = exports.decodeEither = decodeUnknownEither;

* @category decoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -637,3 +637,3 @@ const decodePromise = exports.decodePromise = decodeUnknownPromise;

* @category decoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -643,3 +643,3 @@ const decode = exports.decode = decodeUnknown;

* @category validation
* @since 1.0.0
* @since 0.67.0
*/

@@ -649,3 +649,3 @@ const validateSync = (schema, options) => getSync(AST.typeAST(schema.ast), true, options);

* @category validation
* @since 1.0.0
* @since 0.67.0
*/

@@ -656,3 +656,3 @@ exports.validateSync = validateSync;

* @category validation
* @since 1.0.0
* @since 0.67.0
*/

@@ -663,3 +663,3 @@ exports.validateOption = validateOption;

* @category validation
* @since 1.0.0
* @since 0.67.0
*/

@@ -673,3 +673,3 @@ exports.validateEither = validateEither;

* @category validation
* @since 1.0.0
* @since 0.67.0
*/

@@ -680,3 +680,3 @@ exports.validatePromise = validatePromise;

* @category validation
* @since 1.0.0
* @since 0.67.0
*/

@@ -693,3 +693,3 @@ exports.validate = validate;

* @category validation
* @since 1.0.0
* @since 0.67.0
*/

@@ -713,3 +713,3 @@ exports.is = is;

* @category encoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -720,3 +720,3 @@ exports.asserts = asserts;

* @category encoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -726,3 +726,3 @@ const encodeOption = exports.encodeOption = encodeUnknownOption;

* @category encoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -732,3 +732,3 @@ const encodeEither = exports.encodeEither = encodeUnknownEither;

* @category encoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -738,3 +738,3 @@ const encodePromise = exports.encodePromise = encodeUnknownPromise;

* @category encoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -741,0 +741,0 @@ const encode = exports.encode = encodeUnknown;

@@ -39,3 +39,3 @@ "use strict";

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -45,3 +45,3 @@

* @category hooks
* @since 1.0.0
* @since 0.67.0
*/

@@ -51,3 +51,3 @@ const PrettyHookId = exports.PrettyHookId = /*#__PURE__*/Symbol.for("@effect/schema/PrettyHookId");

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -59,3 +59,3 @@ const pretty = handler => self => self.annotations({

* @category prettify
* @since 1.0.0
* @since 0.67.0
*/

@@ -75,3 +75,3 @@ exports.pretty = pretty;

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -78,0 +78,0 @@ const match = exports.match = {

@@ -37,3 +37,3 @@ "use strict";

/**
* @since 1.0.0
* @since 0.67.0
* @category symbol

@@ -43,3 +43,3 @@ */

/**
* @since 1.0.0
* @since 0.67.0
* @category accessor

@@ -49,3 +49,3 @@ */

/**
* @since 1.0.0
* @since 0.67.0
* @category symbol

@@ -56,3 +56,3 @@ */

/**
* @since 1.0.0
* @since 0.67.0
* @category accessor

@@ -62,3 +62,3 @@ */

/**
* @since 1.0.0
* @since 0.67.0
* @category accessor

@@ -71,3 +71,3 @@ */

/**
* @since 1.0.0
* @since 0.67.0
* @category accessor

@@ -94,3 +94,3 @@ */

/**
* @since 1.0.0
* @since 0.67.0
* @category encoding

@@ -101,3 +101,3 @@ */

/**
* @since 1.0.0
* @since 0.67.0
* @category decoding

@@ -108,3 +108,3 @@ */

/**
* @since 1.0.0
* @since 0.67.0
* @category encoding

@@ -114,3 +114,3 @@ */

/**
* @since 1.0.0
* @since 0.67.0
* @category decoding

@@ -120,3 +120,3 @@ */

/**
* @since 1.0.0
* @since 0.67.0
* @category encoding

@@ -126,3 +126,3 @@ */

/**
* @since 1.0.0
* @since 0.67.0
* @category decoding

@@ -132,3 +132,3 @@ */

/**
* @since 1.0.0
* @since 0.67.0
* @category encoding

@@ -138,3 +138,3 @@ */

/**
* @since 1.0.0
* @since 0.67.0
* @category decoding

@@ -141,0 +141,0 @@ */

@@ -38,3 +38,3 @@ "use strict";

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -48,3 +48,3 @@

* @category formatting
* @since 1.0.0
* @since 0.67.0
*/

@@ -54,3 +54,3 @@ const formatIssue = issue => Effect.map(go(issue), tree => drawTree(tree));

* @category formatting
* @since 1.0.0
* @since 0.67.0
*/

@@ -61,3 +61,3 @@ exports.formatIssue = formatIssue;

* @category formatting
* @since 1.0.0
* @since 0.67.0
*/

@@ -68,3 +68,3 @@ exports.formatIssueSync = formatIssueSync;

* @category formatting
* @since 1.0.0
* @since 0.67.0
*/

@@ -71,0 +71,0 @@ exports.formatError = formatError;

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -8,3 +8,3 @@ import * as FastCheck from "./FastCheck.js";

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -16,3 +16,3 @@ export interface LazyArbitrary<A> {

* @category hooks
* @since 1.0.0
* @since 0.67.0
*/

@@ -22,3 +22,3 @@ export declare const ArbitraryHookId: unique symbol;

* @category hooks
* @since 1.0.0
* @since 0.67.0
*/

@@ -28,3 +28,3 @@ export type ArbitraryHookId = typeof ArbitraryHookId;

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -36,3 +36,3 @@ export declare const arbitrary: <A>(handler: (...args: ReadonlyArray<LazyArbitrary<any>>) => LazyArbitrary<A>) => <I, R>(self: Schema.Schema<A, I, R>) => Schema.Schema<A, I, R>;

* @category arbitrary
* @since 1.0.0
* @since 0.67.0
*/

@@ -44,5 +44,5 @@ export declare const makeLazy: <A, I, R>(schema: Schema.Schema<A, I, R>) => LazyArbitrary<A>;

* @category arbitrary
* @since 1.0.0
* @since 0.67.0
*/
export declare const make: <A, I, R>(schema: Schema.Schema<A, I, R>) => FastCheck.Arbitrary<A>;
//# sourceMappingURL=Arbitrary.d.ts.map
/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -8,3 +8,3 @@ import * as Effect from "effect/Effect";

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -18,3 +18,3 @@ export interface Issue {

* @category formatting
* @since 1.0.0
* @since 0.67.0
*/

@@ -24,3 +24,3 @@ export declare const formatIssue: (issue: ParseResult.ParseIssue) => Effect.Effect<Array<Issue>>;

* @category formatting
* @since 1.0.0
* @since 0.67.0
*/

@@ -30,3 +30,3 @@ export declare const formatIssueSync: (issue: ParseResult.ParseIssue) => Array<Issue>;

* @category formatting
* @since 1.0.0
* @since 0.67.0
*/

@@ -36,5 +36,5 @@ export declare const formatError: (error: ParseResult.ParseError) => Effect.Effect<Array<Issue>>;

* @category formatting
* @since 1.0.0
* @since 0.67.0
*/
export declare const formatErrorSync: (error: ParseResult.ParseError) => Array<Issue>;
//# sourceMappingURL=ArrayFormatter.d.ts.map
/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -11,3 +11,3 @@ import * as Arr from "effect/Array";

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -17,3 +17,3 @@ export type AST = Declaration | Literal | UniqueSymbol | UndefinedKeyword | VoidKeyword | NeverKeyword | UnknownKeyword | AnyKeyword | StringKeyword | NumberKeyword | BooleanKeyword | BigIntKeyword | SymbolKeyword | ObjectKeyword | Enums | TemplateLiteral | Refinement | TupleType | TypeLiteral | Union | Suspend | Transformation;

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -23,3 +23,3 @@ export type BrandAnnotation = Arr.NonEmptyReadonlyArray<string | symbol>;

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -29,3 +29,3 @@ export declare const BrandAnnotationId: unique symbol;

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -35,3 +35,3 @@ export type TypeAnnotation = symbol;

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -41,3 +41,3 @@ export declare const TypeAnnotationId: unique symbol;

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -50,3 +50,3 @@ export type MessageAnnotation = (issue: ParseIssue) => string | Effect<string> | {

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -56,3 +56,3 @@ export declare const MessageAnnotationId: unique symbol;

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -62,3 +62,3 @@ export type IdentifierAnnotation = string;

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -68,3 +68,3 @@ export declare const IdentifierAnnotationId: unique symbol;

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -74,3 +74,3 @@ export type TitleAnnotation = string;

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -80,3 +80,3 @@ export declare const TitleAnnotationId: unique symbol;

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -86,3 +86,3 @@ export type DescriptionAnnotation = string;

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -92,3 +92,3 @@ export declare const DescriptionAnnotationId: unique symbol;

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -98,3 +98,3 @@ export type ExamplesAnnotation<A> = Arr.NonEmptyReadonlyArray<A>;

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -104,3 +104,3 @@ export declare const ExamplesAnnotationId: unique symbol;

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -110,3 +110,3 @@ export type DefaultAnnotation<A> = A;

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -116,3 +116,3 @@ export declare const DefaultAnnotationId: unique symbol;

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -122,3 +122,3 @@ export type JSONSchemaAnnotation = object;

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -128,3 +128,3 @@ export declare const JSONSchemaAnnotationId: unique symbol;

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -134,3 +134,3 @@ export type DocumentationAnnotation = string;

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -140,3 +140,3 @@ export declare const DocumentationAnnotationId: unique symbol;

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -146,3 +146,3 @@ export type ConcurrencyAnnotation = Concurrency | undefined;

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -152,3 +152,3 @@ export declare const ConcurrencyAnnotationId: unique symbol;

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -158,3 +158,3 @@ export type BatchingAnnotation = boolean | "inherit" | undefined;

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -164,3 +164,3 @@ export declare const BatchingAnnotationId: unique symbol;

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -170,3 +170,3 @@ export type ParseIssueTitleAnnotation = (issue: ParseIssue) => string | undefined;

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -176,3 +176,3 @@ export declare const ParseIssueTitleAnnotationId: unique symbol;

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -184,3 +184,3 @@ export interface Annotations {

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -192,3 +192,3 @@ export interface Annotated {

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -201,3 +201,3 @@ export declare const getAnnotation: {

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -207,3 +207,3 @@ export declare const getBrandAnnotation: (annotated: Annotated) => Option.Option<readonly [string | symbol, ...(string | symbol)[]]>;

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -213,3 +213,3 @@ export declare const getMessageAnnotation: (annotated: Annotated) => Option.Option<MessageAnnotation>;

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -219,3 +219,3 @@ export declare const getTitleAnnotation: (annotated: Annotated) => Option.Option<string>;

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -225,3 +225,3 @@ export declare const getIdentifierAnnotation: (annotated: Annotated) => Option.Option<string>;

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -231,3 +231,3 @@ export declare const getDescriptionAnnotation: (annotated: Annotated) => Option.Option<string>;

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -237,3 +237,3 @@ export declare const getExamplesAnnotation: (annotated: Annotated) => Option.Option<readonly [unknown, ...unknown[]]>;

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -243,3 +243,3 @@ export declare const getDefaultAnnotation: (annotated: Annotated) => Option.Option<unknown>;

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -249,3 +249,3 @@ export declare const getJSONSchemaAnnotation: (annotated: Annotated) => Option.Option<object>;

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -255,3 +255,3 @@ export declare const getDocumentationAnnotation: (annotated: Annotated) => Option.Option<string>;

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -261,3 +261,3 @@ export declare const getConcurrencyAnnotation: (annotated: Annotated) => Option.Option<ConcurrencyAnnotation>;

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -267,3 +267,3 @@ export declare const getBatchingAnnotation: (annotated: Annotated) => Option.Option<BatchingAnnotation>;

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -273,3 +273,3 @@ export declare const getParseIssueTitleAnnotation: (annotated: Annotated) => Option.Option<ParseIssueTitleAnnotation>;

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -282,3 +282,3 @@ export declare class Declaration implements Annotated {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -288,7 +288,7 @@ readonly _tag = "Declaration";

/**
* @since 1.0.0
* @since 0.67.0
*/
toString(verbose?: boolean): string;
/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -299,3 +299,3 @@ toJSON(): object;

* @category guards
* @since 1.0.0
* @since 0.67.0
*/

@@ -305,3 +305,3 @@ export declare const isDeclaration: (ast: AST) => ast is Declaration;

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -311,3 +311,3 @@ export type LiteralValue = string | number | boolean | null | bigint;

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -318,3 +318,3 @@ export declare class Literal implements Annotated {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -324,7 +324,7 @@ readonly _tag = "Literal";

/**
* @since 1.0.0
* @since 0.67.0
*/
toString(verbose?: boolean): string;
/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -335,3 +335,3 @@ toJSON(): object;

* @category guards
* @since 1.0.0
* @since 0.67.0
*/

@@ -343,3 +343,3 @@ export declare const isLiteral: (ast: AST) => ast is Literal;

* @category constructors
* @since 1.0.0
* @since 0.67.0
*/

@@ -349,3 +349,3 @@ $null as null };

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -356,3 +356,3 @@ export declare class UniqueSymbol implements Annotated {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -362,7 +362,7 @@ readonly _tag = "UniqueSymbol";

/**
* @since 1.0.0
* @since 0.67.0
*/
toString(verbose?: boolean): string;
/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -373,3 +373,3 @@ toJSON(): object;

* @category guards
* @since 1.0.0
* @since 0.67.0
*/

@@ -379,3 +379,3 @@ export declare const isUniqueSymbol: (ast: AST) => ast is UniqueSymbol;

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -385,3 +385,3 @@ export declare class UndefinedKeyword implements Annotated {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -391,7 +391,7 @@ readonly _tag = "UndefinedKeyword";

/**
* @since 1.0.0
* @since 0.67.0
*/
toString(verbose?: boolean): string;
/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -402,3 +402,3 @@ toJSON(): object;

* @category constructors
* @since 1.0.0
* @since 0.67.0
*/

@@ -408,3 +408,3 @@ export declare const undefinedKeyword: UndefinedKeyword;

* @category guards
* @since 1.0.0
* @since 0.67.0
*/

@@ -414,3 +414,3 @@ export declare const isUndefinedKeyword: (ast: AST) => ast is UndefinedKeyword;

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -420,3 +420,3 @@ export declare class VoidKeyword implements Annotated {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -426,7 +426,7 @@ readonly _tag = "VoidKeyword";

/**
* @since 1.0.0
* @since 0.67.0
*/
toString(verbose?: boolean): string;
/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -437,3 +437,3 @@ toJSON(): object;

* @category constructors
* @since 1.0.0
* @since 0.67.0
*/

@@ -443,3 +443,3 @@ export declare const voidKeyword: VoidKeyword;

* @category guards
* @since 1.0.0
* @since 0.67.0
*/

@@ -449,3 +449,3 @@ export declare const isVoidKeyword: (ast: AST) => ast is VoidKeyword;

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -455,3 +455,3 @@ export declare class NeverKeyword implements Annotated {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -461,7 +461,7 @@ readonly _tag = "NeverKeyword";

/**
* @since 1.0.0
* @since 0.67.0
*/
toString(verbose?: boolean): string;
/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -472,3 +472,3 @@ toJSON(): object;

* @category constructors
* @since 1.0.0
* @since 0.67.0
*/

@@ -478,3 +478,3 @@ export declare const neverKeyword: NeverKeyword;

* @category guards
* @since 1.0.0
* @since 0.67.0
*/

@@ -484,3 +484,3 @@ export declare const isNeverKeyword: (ast: AST) => ast is NeverKeyword;

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -490,3 +490,3 @@ export declare class UnknownKeyword implements Annotated {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -496,7 +496,7 @@ readonly _tag = "UnknownKeyword";

/**
* @since 1.0.0
* @since 0.67.0
*/
toString(verbose?: boolean): string;
/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -507,3 +507,3 @@ toJSON(): object;

* @category constructors
* @since 1.0.0
* @since 0.67.0
*/

@@ -513,3 +513,3 @@ export declare const unknownKeyword: UnknownKeyword;

* @category guards
* @since 1.0.0
* @since 0.67.0
*/

@@ -519,3 +519,3 @@ export declare const isUnknownKeyword: (ast: AST) => ast is UnknownKeyword;

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -525,3 +525,3 @@ export declare class AnyKeyword implements Annotated {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -531,7 +531,7 @@ readonly _tag = "AnyKeyword";

/**
* @since 1.0.0
* @since 0.67.0
*/
toString(verbose?: boolean): string;
/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -542,3 +542,3 @@ toJSON(): object;

* @category constructors
* @since 1.0.0
* @since 0.67.0
*/

@@ -548,3 +548,3 @@ export declare const anyKeyword: AnyKeyword;

* @category guards
* @since 1.0.0
* @since 0.67.0
*/

@@ -554,3 +554,3 @@ export declare const isAnyKeyword: (ast: AST) => ast is AnyKeyword;

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -560,3 +560,3 @@ export declare class StringKeyword implements Annotated {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -566,7 +566,7 @@ readonly _tag = "StringKeyword";

/**
* @since 1.0.0
* @since 0.67.0
*/
toString(verbose?: boolean): string;
/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -577,3 +577,3 @@ toJSON(): object;

* @category constructors
* @since 1.0.0
* @since 0.67.0
*/

@@ -583,3 +583,3 @@ export declare const stringKeyword: StringKeyword;

* @category guards
* @since 1.0.0
* @since 0.67.0
*/

@@ -589,3 +589,3 @@ export declare const isStringKeyword: (ast: AST) => ast is StringKeyword;

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -595,3 +595,3 @@ export declare class NumberKeyword implements Annotated {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -601,7 +601,7 @@ readonly _tag = "NumberKeyword";

/**
* @since 1.0.0
* @since 0.67.0
*/
toString(verbose?: boolean): string;
/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -612,3 +612,3 @@ toJSON(): object;

* @category constructors
* @since 1.0.0
* @since 0.67.0
*/

@@ -618,3 +618,3 @@ export declare const numberKeyword: NumberKeyword;

* @category guards
* @since 1.0.0
* @since 0.67.0
*/

@@ -624,3 +624,3 @@ export declare const isNumberKeyword: (ast: AST) => ast is NumberKeyword;

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -630,3 +630,3 @@ export declare class BooleanKeyword implements Annotated {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -636,7 +636,7 @@ readonly _tag = "BooleanKeyword";

/**
* @since 1.0.0
* @since 0.67.0
*/
toString(verbose?: boolean): string;
/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -647,3 +647,3 @@ toJSON(): object;

* @category constructors
* @since 1.0.0
* @since 0.67.0
*/

@@ -653,3 +653,3 @@ export declare const booleanKeyword: BooleanKeyword;

* @category guards
* @since 1.0.0
* @since 0.67.0
*/

@@ -659,3 +659,3 @@ export declare const isBooleanKeyword: (ast: AST) => ast is BooleanKeyword;

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -665,3 +665,3 @@ export declare class BigIntKeyword implements Annotated {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -671,7 +671,7 @@ readonly _tag = "BigIntKeyword";

/**
* @since 1.0.0
* @since 0.67.0
*/
toString(verbose?: boolean): string;
/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -682,3 +682,3 @@ toJSON(): object;

* @category constructors
* @since 1.0.0
* @since 0.67.0
*/

@@ -688,3 +688,3 @@ export declare const bigIntKeyword: BigIntKeyword;

* @category guards
* @since 1.0.0
* @since 0.67.0
*/

@@ -694,3 +694,3 @@ export declare const isBigIntKeyword: (ast: AST) => ast is BigIntKeyword;

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -700,3 +700,3 @@ export declare class SymbolKeyword implements Annotated {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -706,7 +706,7 @@ readonly _tag = "SymbolKeyword";

/**
* @since 1.0.0
* @since 0.67.0
*/
toString(verbose?: boolean): string;
/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -717,3 +717,3 @@ toJSON(): object;

* @category constructors
* @since 1.0.0
* @since 0.67.0
*/

@@ -723,3 +723,3 @@ export declare const symbolKeyword: SymbolKeyword;

* @category guards
* @since 1.0.0
* @since 0.67.0
*/

@@ -729,3 +729,3 @@ export declare const isSymbolKeyword: (ast: AST) => ast is SymbolKeyword;

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -735,3 +735,3 @@ export declare class ObjectKeyword implements Annotated {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -741,7 +741,7 @@ readonly _tag = "ObjectKeyword";

/**
* @since 1.0.0
* @since 0.67.0
*/
toString(verbose?: boolean): string;
/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -752,3 +752,3 @@ toJSON(): object;

* @category constructors
* @since 1.0.0
* @since 0.67.0
*/

@@ -758,3 +758,3 @@ export declare const objectKeyword: ObjectKeyword;

* @category guards
* @since 1.0.0
* @since 0.67.0
*/

@@ -764,3 +764,3 @@ export declare const isObjectKeyword: (ast: AST) => ast is ObjectKeyword;

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -771,3 +771,3 @@ export declare class Enums implements Annotated {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -777,7 +777,7 @@ readonly _tag = "Enums";

/**
* @since 1.0.0
* @since 0.67.0
*/
toString(verbose?: boolean): string;
/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -788,3 +788,3 @@ toJSON(): object;

* @category guards
* @since 1.0.0
* @since 0.67.0
*/

@@ -794,3 +794,3 @@ export declare const isEnums: (ast: AST) => ast is Enums;

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -802,7 +802,7 @@ export declare class TemplateLiteralSpan {

/**
* @since 1.0.0
* @since 0.67.0
*/
toString(): "${string}" | "${number}";
/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -813,3 +813,3 @@ toJSON(): object;

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -822,12 +822,12 @@ export declare class TemplateLiteral implements Annotated {

/**
* @since 1.0.0
* @since 0.67.0
*/
readonly _tag = "TemplateLiteral";
private constructor();
constructor(head: string, spans: Arr.NonEmptyReadonlyArray<TemplateLiteralSpan>, annotations?: Annotations);
/**
* @since 1.0.0
* @since 0.67.0
*/
toString(verbose?: boolean): string;
/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -838,3 +838,3 @@ toJSON(): object;

* @category guards
* @since 1.0.0
* @since 0.67.0
*/

@@ -844,3 +844,3 @@ export declare const isTemplateLiteral: (ast: AST) => ast is TemplateLiteral;

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -852,7 +852,7 @@ export declare class Element {

/**
* @since 1.0.0
* @since 0.67.0
*/
toJSON(): object;
/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -863,3 +863,3 @@ toString(): string;

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -872,3 +872,3 @@ export declare class TupleType implements Annotated {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -878,7 +878,7 @@ readonly _tag = "TupleType";

/**
* @since 1.0.0
* @since 0.67.0
*/
toString(verbose?: boolean): string;
/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -889,3 +889,3 @@ toJSON(): object;

* @category guards
* @since 1.0.0
* @since 0.67.0
*/

@@ -895,3 +895,3 @@ export declare const isTupleType: (ast: AST) => ast is TupleType;

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -906,3 +906,3 @@ export declare class PropertySignature implements Annotated {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -912,7 +912,7 @@ toJSON(): object;

/**
* @since 1.0.0
* @since 0.67.0
*/
export type Parameter = StringKeyword | SymbolKeyword | TemplateLiteral | Refinement<Parameter>;
/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -922,3 +922,3 @@ export declare const isParameter: (ast: AST) => ast is Parameter;

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -929,3 +929,3 @@ export declare class IndexSignature {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -935,3 +935,3 @@ readonly parameter: Parameter;

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -942,3 +942,3 @@ toJSON(): object;

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -948,11 +948,11 @@ export declare class TypeLiteral implements Annotated {

/**
* @since 1.0.0
* @since 0.67.0
*/
readonly _tag = "TypeLiteral";
/**
* @since 1.0.0
* @since 0.67.0
*/
readonly propertySignatures: ReadonlyArray<PropertySignature>;
/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -962,7 +962,7 @@ readonly indexSignatures: ReadonlyArray<IndexSignature>;

/**
* @since 1.0.0
* @since 0.67.0
*/
toString(verbose?: boolean): string;
/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -973,7 +973,7 @@ toJSON(): object;

* @category guards
* @since 1.0.0
* @since 0.67.0
*/
export declare const isTypeLiteral: (ast: AST) => ast is TypeLiteral;
/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -983,3 +983,3 @@ export type Members<A> = readonly [A, A, ...Array<A>];

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -991,3 +991,3 @@ export declare class Union implements Annotated {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -997,7 +997,7 @@ readonly _tag = "Union";

/**
* @since 1.0.0
* @since 0.67.0
*/
toString(verbose?: boolean): string;
/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -1008,3 +1008,3 @@ toJSON(): object;

* @category guards
* @since 1.0.0
* @since 0.67.0
*/

@@ -1014,3 +1014,3 @@ export declare const isUnion: (ast: AST) => ast is Union;

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -1021,3 +1021,3 @@ export declare class Suspend implements Annotated {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -1027,7 +1027,7 @@ readonly _tag = "Suspend";

/**
* @since 1.0.0
* @since 0.67.0
*/
toString(verbose?: boolean): string;
/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -1038,3 +1038,3 @@ toJSON(): object;

* @category guards
* @since 1.0.0
* @since 0.67.0
*/

@@ -1044,3 +1044,3 @@ export declare const isSuspend: (ast: AST) => ast is Suspend;

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -1052,3 +1052,3 @@ export declare class Refinement<From extends AST = AST> implements Annotated {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -1058,7 +1058,7 @@ readonly _tag = "Refinement";

/**
* @since 1.0.0
* @since 0.67.0
*/
toString(verbose?: boolean): string;
/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -1069,3 +1069,3 @@ toJSON(): object;

* @category guards
* @since 1.0.0
* @since 0.67.0
*/

@@ -1075,3 +1075,3 @@ export declare const isRefinement: (ast: AST) => ast is Refinement<AST>;

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -1085,3 +1085,3 @@ export interface ParseOptions {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -1091,3 +1091,3 @@ export declare const defaultParseOption: ParseOptions;

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -1100,3 +1100,3 @@ export declare class Transformation implements Annotated {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -1106,7 +1106,7 @@ readonly _tag = "Transformation";

/**
* @since 1.0.0
* @since 0.67.0
*/
toString(verbose?: boolean): string;
/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -1117,3 +1117,3 @@ toJSON(): object;

* @category guards
* @since 1.0.0
* @since 0.67.0
*/

@@ -1123,3 +1123,3 @@ export declare const isTransformation: (ast: AST) => ast is Transformation;

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -1129,3 +1129,3 @@ export type TransformationKind = FinalTransformation | ComposeTransformation | TypeLiteralTransformation;

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -1136,3 +1136,3 @@ export declare class FinalTransformation {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -1144,3 +1144,3 @@ readonly _tag = "FinalTransformation";

* @category guards
* @since 1.0.0
* @since 0.67.0
*/

@@ -1150,7 +1150,7 @@ export declare const isFinalTransformation: (ast: TransformationKind) => ast is FinalTransformation;

* @category model
* @since 1.0.0
* @since 0.67.0
*/
export declare class ComposeTransformation {
/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -1161,3 +1161,3 @@ readonly _tag = "ComposeTransformation";

* @category constructors
* @since 1.0.0
* @since 0.67.0
*/

@@ -1167,3 +1167,3 @@ export declare const composeTransformation: ComposeTransformation;

* @category guards
* @since 1.0.0
* @since 0.67.0
*/

@@ -1183,3 +1183,3 @@ export declare const isComposeTransformation: (ast: TransformationKind) => ast is ComposeTransformation;

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -1195,3 +1195,3 @@ export declare class PropertySignatureTransformation {

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -1201,3 +1201,3 @@ export declare class TypeLiteralTransformation {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -1209,3 +1209,3 @@ readonly _tag = "TypeLiteralTransformation";

* @category guards
* @since 1.0.0
* @since 0.67.0
*/

@@ -1216,3 +1216,3 @@ export declare const isTypeLiteralTransformation: (ast: TransformationKind) => ast is TypeLiteralTransformation;

*
* @since 1.0.0
* @since 0.67.0
*/

@@ -1223,11 +1223,11 @@ export declare const annotations: (ast: AST, annotations: Annotations) => AST;

*
* @since 1.0.0
* @since 0.67.0
*/
export declare const keyof: (ast: AST) => AST;
/**
* @since 1.0.0
* @since 0.67.0
*/
export declare const getTemplateLiteralRegExp: (ast: TemplateLiteral) => RegExp;
/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -1238,3 +1238,3 @@ export declare const getPropertySignatures: (ast: AST) => Array<PropertySignature>;

*
* @since 1.0.0
* @since 0.67.0
*/

@@ -1245,3 +1245,3 @@ export declare const pick: (ast: AST, keys: ReadonlyArray<PropertyKey>) => TypeLiteral | Transformation;

*
* @since 1.0.0
* @since 0.67.0
*/

@@ -1252,3 +1252,3 @@ export declare const omit: (ast: AST, keys: ReadonlyArray<PropertyKey>) => TypeLiteral | Transformation;

*
* @since 1.0.0
* @since 0.67.0
*/

@@ -1261,3 +1261,3 @@ export declare const partial: (ast: AST, options?: {

*
* @since 1.0.0
* @since 0.67.0
*/

@@ -1270,11 +1270,11 @@ export declare const required: (ast: AST) => AST;

*
* @since 1.0.0
* @since 0.67.0
*/
export declare const mutable: (ast: AST) => AST;
/**
* @since 1.0.0
* @since 0.67.0
*/
export type Compiler<A> = (ast: AST, path: ReadonlyArray<PropertyKey>) => A;
/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -1287,13 +1287,17 @@ export type Match<A> = {

/**
* @since 1.0.0
* @since 0.67.0
*/
export declare const getCompiler: <A>(match: Match<A>) => Compiler<A>;
/**
* @since 1.0.0
* @since 0.67.0
*/
export declare const typeAST: (ast: AST) => AST;
/**
* @since 1.0.0
* @since 0.67.0
*/
export declare const encodedAST: (ast: AST) => AST;
/**
* @since 0.67.0
*/
export declare const encodedBoundAST: (ast: AST) => AST;
//# sourceMappingURL=AST.d.ts.map
/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -8,3 +8,3 @@ import * as Equivalence from "effect/Equivalence";

* @category hooks
* @since 1.0.0
* @since 0.67.0
*/

@@ -14,3 +14,3 @@ export declare const EquivalenceHookId: unique symbol;

* @category hooks
* @since 1.0.0
* @since 0.67.0
*/

@@ -20,3 +20,3 @@ export type EquivalenceHookId = typeof EquivalenceHookId;

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -26,5 +26,5 @@ export declare const equivalence: <A>(handler: (...args: ReadonlyArray<Equivalence.Equivalence<any>>) => Equivalence.Equivalence<A>) => <I, R>(self: Schema.Schema<A, I, R>) => Schema.Schema<A, I, R>;

* @category Equivalence
* @since 1.0.0
* @since 0.67.0
*/
export declare const make: <A, I, R>(schema: Schema.Schema<A, I, R>) => Equivalence.Equivalence<A>;
//# sourceMappingURL=Equivalence.d.ts.map
/**
* @since 1.0.0
* @since 0.67.0
*/
/**
* @category re-exports
* @since 1.0.0
* @since 0.67.0
*/
export * from "fast-check";
//# sourceMappingURL=FastCheck.d.ts.map
/**
* @since 1.0.0
* @since 0.67.0
*/
export * as AST from "./AST.js";
/**
* @since 1.0.0
* @since 0.67.0
*/
export * as Arbitrary from "./Arbitrary.js";
/**
* @since 1.0.0
* @since 0.67.0
*/
export * as ArrayFormatter from "./ArrayFormatter.js";
/**
* @since 1.0.0
* @since 0.67.0
*/
export * as Equivalence from "./Equivalence.js";
/**
* @since 1.0.0
* @since 0.67.0
*/
export * as FastCheck from "./FastCheck.js";
/**
* @since 1.0.0
* @since 0.67.0
*/
export * as JSONSchema from "./JSONSchema.js";
/**
* @since 1.0.0
* @since 0.67.0
*/
export * as ParseResult from "./ParseResult.js";
/**
* @since 1.0.0
* @since 0.67.0
*/
export * as Pretty from "./Pretty.js";
/**
* @since 1.0.0
* @since 0.67.0
*/
export * as Schema from "./Schema.js";
/**
* @since 1.0.0
* @since 0.67.0
*

@@ -44,5 +44,5 @@ * Serializable represents an object that has self-contained Schema(s)

/**
* @since 1.0.0
* @since 0.67.0
*/
export * as TreeFormatter from "./TreeFormatter.js";
//# sourceMappingURL=index.d.ts.map
/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -8,3 +8,3 @@ import * as AST from "./AST.js";

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -19,3 +19,3 @@ export interface JsonSchemaAnnotations {

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -27,3 +27,3 @@ export interface JsonSchema7Any extends JsonSchemaAnnotations {

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -35,3 +35,3 @@ export interface JsonSchema7Unknown extends JsonSchemaAnnotations {

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -51,3 +51,3 @@ export interface JsonSchema7object extends JsonSchemaAnnotations {

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -67,3 +67,3 @@ export interface JsonSchema7empty extends JsonSchemaAnnotations {

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -75,3 +75,3 @@ export interface JsonSchema7Ref extends JsonSchemaAnnotations {

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -83,3 +83,3 @@ export interface JsonSchema7Const extends JsonSchemaAnnotations {

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -94,3 +94,3 @@ export interface JsonSchema7String extends JsonSchemaAnnotations {

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -105,3 +105,3 @@ export interface JsonSchema7Numeric extends JsonSchemaAnnotations {

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -113,3 +113,3 @@ export interface JsonSchema7Number extends JsonSchema7Numeric {

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -121,3 +121,3 @@ export interface JsonSchema7Integer extends JsonSchema7Numeric {

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -129,3 +129,3 @@ export interface JsonSchema7Boolean extends JsonSchemaAnnotations {

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -141,3 +141,3 @@ export interface JsonSchema7Array extends JsonSchemaAnnotations {

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -149,3 +149,3 @@ export interface JsonSchema7OneOf extends JsonSchemaAnnotations {

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -157,3 +157,3 @@ export interface JsonSchema7Enum extends JsonSchemaAnnotations {

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -169,3 +169,3 @@ export interface JsonSchema7Enums extends JsonSchemaAnnotations {

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -177,3 +177,3 @@ export interface JsonSchema7AnyOf extends JsonSchemaAnnotations {

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -189,3 +189,3 @@ export interface JsonSchema7Object extends JsonSchemaAnnotations {

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -195,3 +195,3 @@ export type JsonSchema7 = JsonSchema7Any | JsonSchema7Unknown | JsonSchema7object | JsonSchema7empty | JsonSchema7Ref | JsonSchema7Const | JsonSchema7String | JsonSchema7Number | JsonSchema7Integer | JsonSchema7Boolean | JsonSchema7Array | JsonSchema7OneOf | JsonSchema7Enum | JsonSchema7Enums | JsonSchema7AnyOf | JsonSchema7Object;

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -204,5 +204,5 @@ export type JsonSchema7Root = JsonSchema7 & {

* @category encoding
* @since 1.0.0
* @since 0.67.0
*/
export declare const make: <A, I, R>(schema: Schema.Schema<A, I, R>) => JsonSchema7Root;
//# sourceMappingURL=JSONSchema.d.ts.map
/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -16,3 +16,3 @@ import * as Arr from "effect/Array";

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -24,3 +24,3 @@ export type ParseIssue = Declaration | Refinement | TupleType | TypeLiteral | Union | Transformation | Type | Forbidden;

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -32,3 +32,3 @@ export declare class Declaration {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -42,3 +42,3 @@ readonly _tag = "Declaration";

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -51,3 +51,3 @@ export declare class Refinement {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -61,3 +61,3 @@ readonly _tag = "Refinement";

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -70,3 +70,3 @@ export declare class TupleType {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -80,3 +80,3 @@ readonly _tag = "TupleType";

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -87,3 +87,3 @@ export declare class Index {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -97,3 +97,3 @@ readonly _tag = "Index";

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -108,3 +108,3 @@ export declare class TypeLiteral {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -120,3 +120,3 @@ readonly _tag = "TypeLiteral";

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -127,3 +127,3 @@ export declare class Key {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -137,3 +137,3 @@ readonly _tag = "Key";

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -143,3 +143,3 @@ export declare class Unexpected {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -153,3 +153,3 @@ readonly _tag = "Unexpected";

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -162,3 +162,3 @@ export declare class Transformation {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -173,3 +173,3 @@ readonly _tag = "Transformation";

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -180,7 +180,7 @@ export declare class Type {

/**
* @since 1.0.0
* @since 0.67.0
*/
readonly _tag = "Type";
/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -194,3 +194,3 @@ readonly message: Option.Option<string>;

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -201,7 +201,7 @@ export declare class Forbidden {

/**
* @since 1.0.0
* @since 0.67.0
*/
readonly _tag = "Forbidden";
/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -215,7 +215,7 @@ readonly message: Option.Option<string>;

* @category model
* @since 1.0.0
* @since 0.67.0
*/
export declare class Missing {
/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -226,3 +226,3 @@ readonly _tag = "Missing";

* @category constructors
* @since 1.0.0
* @since 0.67.0
*/

@@ -234,3 +234,3 @@ export declare const missing: Missing;

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -241,3 +241,3 @@ export declare class Member {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -251,3 +251,3 @@ readonly _tag = "Member";

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -259,3 +259,3 @@ export declare class Union {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -269,3 +269,3 @@ readonly _tag = "Union";

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -277,7 +277,7 @@ export declare class ParseError extends ParseError_base<{

/**
* @since 1.0.0
* @since 0.67.0
*/
toString(): string;
/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -289,3 +289,3 @@ toJSON(): {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -299,3 +299,3 @@ [Inspectable.NodeInspectSymbol](): {

* @category constructors
* @since 1.0.0
* @since 0.67.0
*/

@@ -305,3 +305,3 @@ export declare const parseError: (issue: ParseIssue) => ParseError;

* @category constructors
* @since 1.0.0
* @since 0.67.0
*/

@@ -311,3 +311,3 @@ export declare const succeed: <A>(a: A) => Either.Either<A, ParseIssue>;

* @category constructors
* @since 1.0.0
* @since 0.67.0
*/

@@ -322,3 +322,3 @@ export declare const fail: (issue: ParseIssue) => Either.Either<never, ParseIssue>;

* @category constructors
* @since 1.0.0
* @since 0.67.0
*/

@@ -328,3 +328,3 @@ _try as try };

* @category constructors
* @since 1.0.0
* @since 0.67.0
*/

@@ -337,3 +337,3 @@ export declare const fromOption: {

* @category optimisation
* @since 1.0.0
* @since 0.67.0
*/

@@ -346,3 +346,3 @@ export declare const flatMap: {

* @category optimisation
* @since 1.0.0
* @since 0.67.0
*/

@@ -355,3 +355,3 @@ export declare const map: {

* @category optimisation
* @since 1.0.0
* @since 0.67.0
*/

@@ -364,3 +364,3 @@ export declare const mapError: {

* @category optimisation
* @since 1.0.0
* @since 0.67.0
*/

@@ -370,3 +370,3 @@ export declare const eitherOrUndefined: <A, E, R>(self: Effect.Effect<A, E, R>) => Either.Either<A, E> | undefined;

* @category optimisation
* @since 1.0.0
* @since 0.67.0
*/

@@ -385,3 +385,3 @@ export declare const mapBoth: {

* @category optimisation
* @since 1.0.0
* @since 0.67.0
*/

@@ -393,7 +393,7 @@ export declare const orElse: {

/**
* @since 1.0.0
* @since 0.67.0
*/
export type DecodeUnknown<Out, R> = (u: unknown, options?: AST.ParseOptions) => Effect.Effect<Out, ParseIssue, R>;
/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -403,3 +403,3 @@ export type DeclarationDecodeUnknown<Out, R> = (u: unknown, options: AST.ParseOptions, ast: AST.Declaration) => Effect.Effect<Out, ParseIssue, R>;

* @category decoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -409,3 +409,3 @@ export declare const decodeUnknownSync: <A, I>(schema: Schema.Schema<A, I, never>, options?: AST.ParseOptions) => (u: unknown, overrideOptions?: AST.ParseOptions) => A;

* @category decoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -415,3 +415,3 @@ export declare const decodeUnknownOption: <A, I>(schema: Schema.Schema<A, I, never>, options?: AST.ParseOptions) => (u: unknown, overrideOptions?: AST.ParseOptions) => Option.Option<A>;

* @category decoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -421,3 +421,3 @@ export declare const decodeUnknownEither: <A, I>(schema: Schema.Schema<A, I, never>, options?: AST.ParseOptions) => (u: unknown, overrideOptions?: AST.ParseOptions) => Either.Either<A, ParseIssue>;

* @category decoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -427,3 +427,3 @@ export declare const decodeUnknownPromise: <A, I>(schema: Schema.Schema<A, I, never>, options?: AST.ParseOptions) => (u: unknown, overrideOptions?: AST.ParseOptions) => Promise<A>;

* @category decoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -433,3 +433,3 @@ export declare const decodeUnknown: <A, I, R>(schema: Schema.Schema<A, I, R>, options?: AST.ParseOptions) => (u: unknown, overrideOptions?: AST.ParseOptions) => Effect.Effect<A, ParseIssue, R>;

* @category encoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -439,3 +439,3 @@ export declare const encodeUnknownSync: <A, I>(schema: Schema.Schema<A, I, never>, options?: AST.ParseOptions) => (u: unknown, overrideOptions?: AST.ParseOptions) => I;

* @category encoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -445,3 +445,3 @@ export declare const encodeUnknownOption: <A, I>(schema: Schema.Schema<A, I, never>, options?: AST.ParseOptions) => (u: unknown, overrideOptions?: AST.ParseOptions) => Option.Option<I>;

* @category encoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -451,3 +451,3 @@ export declare const encodeUnknownEither: <A, I>(schema: Schema.Schema<A, I, never>, options?: AST.ParseOptions) => (u: unknown, overrideOptions?: AST.ParseOptions) => Either.Either<I, ParseIssue>;

* @category encoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -457,3 +457,3 @@ export declare const encodeUnknownPromise: <A, I>(schema: Schema.Schema<A, I, never>, options?: AST.ParseOptions) => (u: unknown, overrideOptions?: AST.ParseOptions) => Promise<I>;

* @category encoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -463,3 +463,3 @@ export declare const encodeUnknown: <A, I, R>(schema: Schema.Schema<A, I, R>, options?: AST.ParseOptions) => (u: unknown, overrideOptions?: AST.ParseOptions) => Effect.Effect<I, ParseIssue, R>;

* @category decoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -469,3 +469,3 @@ export declare const decodeSync: <A, I>(schema: Schema.Schema<A, I, never>, options?: AST.ParseOptions) => (i: I, overrideOptions?: AST.ParseOptions) => A;

* @category decoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -475,3 +475,3 @@ export declare const decodeOption: <A, I>(schema: Schema.Schema<A, I, never>, options?: AST.ParseOptions) => (i: I, overrideOptions?: AST.ParseOptions) => Option.Option<A>;

* @category decoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -481,3 +481,3 @@ export declare const decodeEither: <A, I>(schema: Schema.Schema<A, I, never>, options?: AST.ParseOptions) => (i: I, overrideOptions?: AST.ParseOptions) => Either.Either<A, ParseIssue>;

* @category decoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -487,3 +487,3 @@ export declare const decodePromise: <A, I>(schema: Schema.Schema<A, I, never>, options?: AST.ParseOptions) => (i: I, overrideOptions?: AST.ParseOptions) => Promise<A>;

* @category decoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -493,3 +493,3 @@ export declare const decode: <A, I, R>(schema: Schema.Schema<A, I, R>, options?: AST.ParseOptions) => (i: I, overrideOptions?: AST.ParseOptions) => Effect.Effect<A, ParseIssue, R>;

* @category validation
* @since 1.0.0
* @since 0.67.0
*/

@@ -499,3 +499,3 @@ export declare const validateSync: <A, I, R>(schema: Schema.Schema<A, I, R>, options?: AST.ParseOptions) => (u: unknown, overrideOptions?: AST.ParseOptions) => A;

* @category validation
* @since 1.0.0
* @since 0.67.0
*/

@@ -505,3 +505,3 @@ export declare const validateOption: <A, I, R>(schema: Schema.Schema<A, I, R>, options?: AST.ParseOptions) => (u: unknown, overrideOptions?: AST.ParseOptions) => Option.Option<A>;

* @category validation
* @since 1.0.0
* @since 0.67.0
*/

@@ -511,3 +511,3 @@ export declare const validateEither: <A, I, R>(schema: Schema.Schema<A, I, R>, options?: AST.ParseOptions) => (u: unknown, overrideOptions?: AST.ParseOptions) => Either.Either<A, ParseIssue>;

* @category validation
* @since 1.0.0
* @since 0.67.0
*/

@@ -517,3 +517,3 @@ export declare const validatePromise: <A, I>(schema: Schema.Schema<A, I, never>, options?: AST.ParseOptions) => (u: unknown, overrideOptions?: AST.ParseOptions) => Promise<A>;

* @category validation
* @since 1.0.0
* @since 0.67.0
*/

@@ -523,3 +523,3 @@ export declare const validate: <A, I, R>(schema: Schema.Schema<A, I, R>, options?: AST.ParseOptions) => (a: unknown, overrideOptions?: AST.ParseOptions) => Effect.Effect<A, ParseIssue, R>;

* @category validation
* @since 1.0.0
* @since 0.67.0
*/

@@ -529,3 +529,3 @@ export declare const is: <A, I, R>(schema: Schema.Schema<A, I, R>, options?: AST.ParseOptions) => (u: unknown, overrideOptions?: AST.ParseOptions | number) => u is A;

* @category validation
* @since 1.0.0
* @since 0.67.0
*/

@@ -535,3 +535,3 @@ export declare const asserts: <A, I, R>(schema: Schema.Schema<A, I, R>, options?: AST.ParseOptions) => (u: unknown, overrideOptions?: AST.ParseOptions) => asserts u is A;

* @category encoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -541,3 +541,3 @@ export declare const encodeSync: <A, I>(schema: Schema.Schema<A, I, never>, options?: AST.ParseOptions) => (a: A, overrideOptions?: AST.ParseOptions) => I;

* @category encoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -547,3 +547,3 @@ export declare const encodeOption: <A, I>(schema: Schema.Schema<A, I, never>, options?: AST.ParseOptions) => (input: A, overrideOptions?: AST.ParseOptions) => Option.Option<I>;

* @category encoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -553,3 +553,3 @@ export declare const encodeEither: <A, I>(schema: Schema.Schema<A, I, never>, options?: AST.ParseOptions) => (a: A, overrideOptions?: AST.ParseOptions) => Either.Either<I, ParseIssue>;

* @category encoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -559,5 +559,5 @@ export declare const encodePromise: <A, I>(schema: Schema.Schema<A, I, never>, options?: AST.ParseOptions) => (a: A, overrideOptions?: AST.ParseOptions) => Promise<I>;

* @category encoding
* @since 1.0.0
* @since 0.67.0
*/
export declare const encode: <A, I, R>(schema: Schema.Schema<A, I, R>, options?: AST.ParseOptions) => (a: A, overrideOptions?: AST.ParseOptions) => Effect.Effect<I, ParseIssue, R>;
//# sourceMappingURL=ParseResult.d.ts.map

@@ -5,3 +5,3 @@ import * as AST from "./AST.js";

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -13,3 +13,3 @@ export interface Pretty<To> {

* @category hooks
* @since 1.0.0
* @since 0.67.0
*/

@@ -19,3 +19,3 @@ export declare const PrettyHookId: unique symbol;

* @category hooks
* @since 1.0.0
* @since 0.67.0
*/

@@ -25,3 +25,3 @@ export type PrettyHookId = typeof PrettyHookId;

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -31,9 +31,9 @@ export declare const pretty: <A>(handler: (...args: ReadonlyArray<Pretty<any>>) => Pretty<A>) => <I, R>(self: Schema.Schema<A, I, R>) => Schema.Schema<A, I, R>;

* @category prettify
* @since 1.0.0
* @since 0.67.0
*/
export declare const make: <A, I, R>(schema: Schema.Schema<A, I, R>) => (a: A) => string;
/**
* @since 1.0.0
* @since 0.67.0
*/
export declare const match: AST.Match<Pretty<any>>;
//# sourceMappingURL=Pretty.d.ts.map
/**
* @since 1.0.0
* @since 0.67.0
*

@@ -11,3 +11,3 @@ * Serializable represents an object that has self-contained Schema(s)

/**
* @since 1.0.0
* @since 0.67.0
* @category symbol

@@ -17,3 +17,3 @@ */

/**
* @since 1.0.0
* @since 0.67.0
* @category model

@@ -25,3 +25,3 @@ */

/**
* @since 1.0.0
* @since 0.67.0
* @category model

@@ -31,3 +31,3 @@ */

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -37,3 +37,3 @@ type Context<T> = T extends Serializable<infer _A, infer _I, infer R> ? R : never;

/**
* @since 1.0.0
* @since 0.67.0
* @category accessor

@@ -43,3 +43,3 @@ */

/**
* @since 1.0.0
* @since 0.67.0
* @category symbol

@@ -49,3 +49,3 @@ */

/**
* @since 1.0.0
* @since 0.67.0
* @category model

@@ -60,3 +60,3 @@ */

/**
* @since 1.0.0
* @since 0.67.0
* @category model

@@ -66,3 +66,3 @@ */

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -72,3 +72,3 @@ type Context<T> = T extends WithResult<infer _A, infer _I, infer _E, infer _EI, infer R> ? R : never;

/**
* @since 1.0.0
* @since 0.67.0
* @category accessor

@@ -78,3 +78,3 @@ */

/**
* @since 1.0.0
* @since 0.67.0
* @category accessor

@@ -84,3 +84,3 @@ */

/**
* @since 1.0.0
* @since 0.67.0
* @category accessor

@@ -90,3 +90,3 @@ */

/**
* @since 1.0.0
* @since 0.67.0
* @category model

@@ -97,3 +97,3 @@ */

/**
* @since 1.0.0
* @since 0.67.0
* @category model

@@ -103,3 +103,3 @@ */

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -109,3 +109,3 @@ type Context<T> = T extends SerializableWithResult<infer _S, infer _SI, infer SR, infer _A, infer _AI, infer _E, infer _EI, infer RR> ? SR | RR : never;

/**
* @since 1.0.0
* @since 0.67.0
* @category encoding

@@ -115,3 +115,3 @@ */

/**
* @since 1.0.0
* @since 0.67.0
* @category decoding

@@ -124,3 +124,3 @@ */

/**
* @since 1.0.0
* @since 0.67.0
* @category encoding

@@ -133,3 +133,3 @@ */

/**
* @since 1.0.0
* @since 0.67.0
* @category decoding

@@ -142,3 +142,3 @@ */

/**
* @since 1.0.0
* @since 0.67.0
* @category encoding

@@ -151,3 +151,3 @@ */

/**
* @since 1.0.0
* @since 0.67.0
* @category decoding

@@ -160,3 +160,3 @@ */

/**
* @since 1.0.0
* @since 0.67.0
* @category encoding

@@ -169,3 +169,3 @@ */

/**
* @since 1.0.0
* @since 0.67.0
* @category decoding

@@ -172,0 +172,0 @@ */

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -8,3 +8,3 @@ import * as Effect from "effect/Effect";

* @category formatting
* @since 1.0.0
* @since 0.67.0
*/

@@ -14,3 +14,3 @@ export declare const formatIssue: (issue: ParseResult.ParseIssue) => Effect.Effect<string>;

* @category formatting
* @since 1.0.0
* @since 0.67.0
*/

@@ -20,3 +20,3 @@ export declare const formatIssueSync: (issue: ParseResult.ParseIssue) => string;

* @category formatting
* @since 1.0.0
* @since 0.67.0
*/

@@ -26,5 +26,5 @@ export declare const formatError: (error: ParseResult.ParseError) => Effect.Effect<string>;

* @category formatting
* @since 1.0.0
* @since 0.67.0
*/
export declare const formatErrorSync: (error: ParseResult.ParseError) => string;
//# sourceMappingURL=TreeFormatter.d.ts.map
/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -14,3 +14,3 @@ import * as Arr from "effect/Array";

* @category hooks
* @since 1.0.0
* @since 0.67.0
*/

@@ -20,3 +20,3 @@ export const ArbitraryHookId = /*#__PURE__*/Symbol.for("@effect/schema/ArbitraryHookId");

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -30,3 +30,3 @@ export const arbitrary = handler => self => self.annotations({

* @category arbitrary
* @since 1.0.0
* @since 0.67.0
*/

@@ -38,3 +38,3 @@ export const makeLazy = schema => go(schema.ast, {}, []);

* @category arbitrary
* @since 1.0.0
* @since 0.67.0
*/

@@ -41,0 +41,0 @@ export const make = schema => makeLazy(schema)(FastCheck);

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -9,3 +9,3 @@ import * as Arr from "effect/Array";

* @category formatting
* @since 1.0.0
* @since 0.67.0
*/

@@ -15,3 +15,3 @@ export const formatIssue = issue => go(issue);

* @category formatting
* @since 1.0.0
* @since 0.67.0
*/

@@ -21,3 +21,3 @@ export const formatIssueSync = issue => Effect.runSync(formatIssue(issue));

* @category formatting
* @since 1.0.0
* @since 0.67.0
*/

@@ -27,3 +27,3 @@ export const formatError = error => formatIssue(error.error);

* @category formatting
* @since 1.0.0
* @since 0.67.0
*/

@@ -30,0 +30,0 @@ export const formatErrorSync = error => formatIssueSync(error.error);

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -16,3 +16,3 @@ import * as Arr from "effect/Array";

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -22,3 +22,3 @@ export const BrandAnnotationId = /*#__PURE__*/Symbol.for("@effect/schema/annotation/Brand");

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -28,3 +28,3 @@ export const TypeAnnotationId = /*#__PURE__*/Symbol.for("@effect/schema/annotation/Type");

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -34,3 +34,3 @@ export const MessageAnnotationId = /*#__PURE__*/Symbol.for("@effect/schema/annotation/Message");

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -40,3 +40,3 @@ export const IdentifierAnnotationId = /*#__PURE__*/Symbol.for("@effect/schema/annotation/Identifier");

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -46,3 +46,3 @@ export const TitleAnnotationId = /*#__PURE__*/Symbol.for("@effect/schema/annotation/Title");

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -52,3 +52,3 @@ export const DescriptionAnnotationId = /*#__PURE__*/Symbol.for("@effect/schema/annotation/Description");

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -58,3 +58,3 @@ export const ExamplesAnnotationId = /*#__PURE__*/Symbol.for("@effect/schema/annotation/Examples");

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -64,3 +64,3 @@ export const DefaultAnnotationId = /*#__PURE__*/Symbol.for("@effect/schema/annotation/Default");

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -70,3 +70,3 @@ export const JSONSchemaAnnotationId = /*#__PURE__*/Symbol.for("@effect/schema/annotation/JSONSchema");

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -76,3 +76,3 @@ export const DocumentationAnnotationId = /*#__PURE__*/Symbol.for("@effect/schema/annotation/Documentation");

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -82,15 +82,17 @@ export const ConcurrencyAnnotationId = /*#__PURE__*/Symbol.for("@effect/schema/annotation/Concurrency");

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/
export const BatchingAnnotationId = /*#__PURE__*/Symbol.for("@effect/schema/annotation/Batching");
/** @internal */
export const SurrogateAnnotationId = /*#__PURE__*/Symbol.for("@effect/schema/annotation/Surrogate");
/**
* @category annotations
* @since 1.0.0
* @since 0.67.0
*/
export const ParseIssueTitleAnnotationId = /*#__PURE__*/Symbol.for("@effect/schema/annotation/ParseIssueTitle");
/** @internal */
export const SurrogateAnnotationId = /*#__PURE__*/Symbol.for("@effect/schema/annotation/Surrogate");
/** @internal */
export const StableFilterAnnotationId = /*#__PURE__*/Symbol.for("@effect/schema/annotation/StableFilter");
/**
* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -100,3 +102,3 @@ export const getAnnotation = /*#__PURE__*/dual(2, (annotated, key) => Object.prototype.hasOwnProperty.call(annotated.annotations, key) ? Option.some(annotated.annotations[key]) : Option.none());

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -106,3 +108,3 @@ export const getBrandAnnotation = /*#__PURE__*/getAnnotation(BrandAnnotationId);

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -112,3 +114,3 @@ export const getMessageAnnotation = /*#__PURE__*/getAnnotation(MessageAnnotationId);

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -118,3 +120,3 @@ export const getTitleAnnotation = /*#__PURE__*/getAnnotation(TitleAnnotationId);

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -124,3 +126,3 @@ export const getIdentifierAnnotation = /*#__PURE__*/getAnnotation(IdentifierAnnotationId);

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -130,3 +132,3 @@ export const getDescriptionAnnotation = /*#__PURE__*/getAnnotation(DescriptionAnnotationId);

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -136,3 +138,3 @@ export const getExamplesAnnotation = /*#__PURE__*/getAnnotation(ExamplesAnnotationId);

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -142,3 +144,3 @@ export const getDefaultAnnotation = /*#__PURE__*/getAnnotation(DefaultAnnotationId);

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -148,3 +150,3 @@ export const getJSONSchemaAnnotation = /*#__PURE__*/getAnnotation(JSONSchemaAnnotationId);

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -154,3 +156,3 @@ export const getDocumentationAnnotation = /*#__PURE__*/getAnnotation(DocumentationAnnotationId);

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -160,3 +162,3 @@ export const getConcurrencyAnnotation = /*#__PURE__*/getAnnotation(ConcurrencyAnnotationId);

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -166,3 +168,3 @@ export const getBatchingAnnotation = /*#__PURE__*/getAnnotation(BatchingAnnotationId);

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -172,2 +174,3 @@ export const getParseIssueTitleAnnotation = /*#__PURE__*/getAnnotation(ParseIssueTitleAnnotationId);

export const getSurrogateAnnotation = /*#__PURE__*/getAnnotation(SurrogateAnnotationId);
const getStableFilterAnnotation = /*#__PURE__*/getAnnotation(StableFilterAnnotationId);
const JSONIdentifierAnnotationId = /*#__PURE__*/Symbol.for("@effect/schema/annotation/JSONIdentifier");

@@ -178,3 +181,3 @@ /** @internal */

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -187,3 +190,3 @@ export class Declaration {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -198,3 +201,3 @@ _tag = "Declaration";

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -205,3 +208,3 @@ toString(verbose = false) {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -219,3 +222,3 @@ toJSON() {

* @category guards
* @since 1.0.0
* @since 0.67.0
*/

@@ -225,3 +228,3 @@ export const isDeclaration = /*#__PURE__*/createASTGuard("Declaration");

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -232,3 +235,3 @@ export class Literal {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -241,3 +244,3 @@ _tag = "Literal";

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -248,3 +251,3 @@ toString(verbose = false) {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -261,3 +264,3 @@ toJSON() {

* @category guards
* @since 1.0.0
* @since 0.67.0
*/

@@ -271,3 +274,3 @@ export const isLiteral = /*#__PURE__*/createASTGuard("Literal");

* @category constructors
* @since 1.0.0
* @since 0.67.0
*/

@@ -277,3 +280,3 @@ $null as null };

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -284,3 +287,3 @@ export class UniqueSymbol {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -293,3 +296,3 @@ _tag = "UniqueSymbol";

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -300,3 +303,3 @@ toString(verbose = false) {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -313,3 +316,3 @@ toJSON() {

* @category guards
* @since 1.0.0
* @since 0.67.0
*/

@@ -319,3 +322,3 @@ export const isUniqueSymbol = /*#__PURE__*/createASTGuard("UniqueSymbol");

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -325,3 +328,3 @@ export class UndefinedKeyword {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -333,3 +336,3 @@ _tag = "UndefinedKeyword";

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -340,3 +343,3 @@ toString(verbose = false) {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -352,3 +355,3 @@ toJSON() {

* @category constructors
* @since 1.0.0
* @since 0.67.0
*/

@@ -360,3 +363,3 @@ export const undefinedKeyword = /*#__PURE__*/new UndefinedKeyword({

* @category guards
* @since 1.0.0
* @since 0.67.0
*/

@@ -366,3 +369,3 @@ export const isUndefinedKeyword = /*#__PURE__*/createASTGuard("UndefinedKeyword");

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -372,3 +375,3 @@ export class VoidKeyword {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -380,3 +383,3 @@ _tag = "VoidKeyword";

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -387,3 +390,3 @@ toString(verbose = false) {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -399,3 +402,3 @@ toJSON() {

* @category constructors
* @since 1.0.0
* @since 0.67.0
*/

@@ -407,3 +410,3 @@ export const voidKeyword = /*#__PURE__*/new VoidKeyword({

* @category guards
* @since 1.0.0
* @since 0.67.0
*/

@@ -413,3 +416,3 @@ export const isVoidKeyword = /*#__PURE__*/createASTGuard("VoidKeyword");

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -419,3 +422,3 @@ export class NeverKeyword {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -427,3 +430,3 @@ _tag = "NeverKeyword";

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -434,3 +437,3 @@ toString(verbose = false) {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -446,3 +449,3 @@ toJSON() {

* @category constructors
* @since 1.0.0
* @since 0.67.0
*/

@@ -454,3 +457,3 @@ export const neverKeyword = /*#__PURE__*/new NeverKeyword({

* @category guards
* @since 1.0.0
* @since 0.67.0
*/

@@ -460,3 +463,3 @@ export const isNeverKeyword = /*#__PURE__*/createASTGuard("NeverKeyword");

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -466,3 +469,3 @@ export class UnknownKeyword {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -474,3 +477,3 @@ _tag = "UnknownKeyword";

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -481,3 +484,3 @@ toString(verbose = false) {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -493,3 +496,3 @@ toJSON() {

* @category constructors
* @since 1.0.0
* @since 0.67.0
*/

@@ -501,3 +504,3 @@ export const unknownKeyword = /*#__PURE__*/new UnknownKeyword({

* @category guards
* @since 1.0.0
* @since 0.67.0
*/

@@ -507,3 +510,3 @@ export const isUnknownKeyword = /*#__PURE__*/createASTGuard("UnknownKeyword");

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -513,3 +516,3 @@ export class AnyKeyword {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -521,3 +524,3 @@ _tag = "AnyKeyword";

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -528,3 +531,3 @@ toString(verbose = false) {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -540,3 +543,3 @@ toJSON() {

* @category constructors
* @since 1.0.0
* @since 0.67.0
*/

@@ -548,3 +551,3 @@ export const anyKeyword = /*#__PURE__*/new AnyKeyword({

* @category guards
* @since 1.0.0
* @since 0.67.0
*/

@@ -554,3 +557,3 @@ export const isAnyKeyword = /*#__PURE__*/createASTGuard("AnyKeyword");

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -560,3 +563,3 @@ export class StringKeyword {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -568,3 +571,3 @@ _tag = "StringKeyword";

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -575,3 +578,3 @@ toString(verbose = false) {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -587,3 +590,3 @@ toJSON() {

* @category constructors
* @since 1.0.0
* @since 0.67.0
*/

@@ -596,3 +599,3 @@ export const stringKeyword = /*#__PURE__*/new StringKeyword({

* @category guards
* @since 1.0.0
* @since 0.67.0
*/

@@ -602,3 +605,3 @@ export const isStringKeyword = /*#__PURE__*/createASTGuard("StringKeyword");

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -608,3 +611,3 @@ export class NumberKeyword {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -616,3 +619,3 @@ _tag = "NumberKeyword";

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -623,3 +626,3 @@ toString(verbose = false) {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -635,3 +638,3 @@ toJSON() {

* @category constructors
* @since 1.0.0
* @since 0.67.0
*/

@@ -644,3 +647,3 @@ export const numberKeyword = /*#__PURE__*/new NumberKeyword({

* @category guards
* @since 1.0.0
* @since 0.67.0
*/

@@ -650,3 +653,3 @@ export const isNumberKeyword = /*#__PURE__*/createASTGuard("NumberKeyword");

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -656,3 +659,3 @@ export class BooleanKeyword {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -664,3 +667,3 @@ _tag = "BooleanKeyword";

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -671,3 +674,3 @@ toString(verbose = false) {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -683,3 +686,3 @@ toJSON() {

* @category constructors
* @since 1.0.0
* @since 0.67.0
*/

@@ -692,3 +695,3 @@ export const booleanKeyword = /*#__PURE__*/new BooleanKeyword({

* @category guards
* @since 1.0.0
* @since 0.67.0
*/

@@ -698,3 +701,3 @@ export const isBooleanKeyword = /*#__PURE__*/createASTGuard("BooleanKeyword");

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -704,3 +707,3 @@ export class BigIntKeyword {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -712,3 +715,3 @@ _tag = "BigIntKeyword";

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -719,3 +722,3 @@ toString(verbose = false) {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -731,3 +734,3 @@ toJSON() {

* @category constructors
* @since 1.0.0
* @since 0.67.0
*/

@@ -740,3 +743,3 @@ export const bigIntKeyword = /*#__PURE__*/new BigIntKeyword({

* @category guards
* @since 1.0.0
* @since 0.67.0
*/

@@ -746,3 +749,3 @@ export const isBigIntKeyword = /*#__PURE__*/createASTGuard("BigIntKeyword");

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -752,3 +755,3 @@ export class SymbolKeyword {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -760,3 +763,3 @@ _tag = "SymbolKeyword";

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -767,3 +770,3 @@ toString(verbose = false) {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -779,3 +782,3 @@ toJSON() {

* @category constructors
* @since 1.0.0
* @since 0.67.0
*/

@@ -788,3 +791,3 @@ export const symbolKeyword = /*#__PURE__*/new SymbolKeyword({

* @category guards
* @since 1.0.0
* @since 0.67.0
*/

@@ -794,3 +797,3 @@ export const isSymbolKeyword = /*#__PURE__*/createASTGuard("SymbolKeyword");

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -800,3 +803,3 @@ export class ObjectKeyword {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -808,3 +811,3 @@ _tag = "ObjectKeyword";

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -815,3 +818,3 @@ toString(verbose = false) {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -827,3 +830,3 @@ toJSON() {

* @category constructors
* @since 1.0.0
* @since 0.67.0
*/

@@ -837,3 +840,3 @@ export const objectKeyword = /*#__PURE__*/new ObjectKeyword({

* @category guards
* @since 1.0.0
* @since 0.67.0
*/

@@ -843,3 +846,3 @@ export const isObjectKeyword = /*#__PURE__*/createASTGuard("ObjectKeyword");

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -850,3 +853,3 @@ export class Enums {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -859,3 +862,3 @@ _tag = "Enums";

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -866,3 +869,3 @@ toString(verbose = false) {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -879,3 +882,3 @@ toJSON() {

* @category guards
* @since 1.0.0
* @since 0.67.0
*/

@@ -885,3 +888,3 @@ export const isEnums = /*#__PURE__*/createASTGuard("Enums");

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -896,3 +899,3 @@ export class TemplateLiteralSpan {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -908,3 +911,3 @@ toString() {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -920,3 +923,3 @@ toJSON() {

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -929,3 +932,3 @@ export class TemplateLiteral {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -939,3 +942,3 @@ _tag = "TemplateLiteral";

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -946,3 +949,3 @@ toString(verbose = false) {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -961,3 +964,3 @@ toJSON() {

* @category guards
* @since 1.0.0
* @since 0.67.0
*/

@@ -967,3 +970,3 @@ export const isTemplateLiteral = /*#__PURE__*/createASTGuard("TemplateLiteral");

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -978,3 +981,3 @@ export class Element {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -988,3 +991,3 @@ toJSON() {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -997,3 +1000,3 @@ toString() {

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -1006,3 +1009,3 @@ export class TupleType {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -1030,3 +1033,3 @@ _tag = "TupleType";

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -1037,3 +1040,3 @@ toString(verbose = false) {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -1076,3 +1079,3 @@ toJSON() {

* @category guards
* @since 1.0.0
* @since 0.67.0
*/

@@ -1082,3 +1085,3 @@ export const isTupleType = /*#__PURE__*/createASTGuard("TupleType");

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -1099,3 +1102,3 @@ export class PropertySignature {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -1113,3 +1116,3 @@ toJSON() {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -1129,3 +1132,3 @@ export const isParameter = ast => {

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -1136,3 +1139,3 @@ export class IndexSignature {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -1150,3 +1153,3 @@ parameter;

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -1163,3 +1166,3 @@ toJSON() {

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -1169,11 +1172,11 @@ export class TypeLiteral {

/**
* @since 1.0.0
* @since 0.67.0
*/
_tag = "TypeLiteral";
/**
* @since 1.0.0
* @since 0.67.0
*/
propertySignatures;
/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -1215,3 +1218,3 @@ indexSignatures;

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -1222,3 +1225,3 @@ toString(verbose = false) {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -1253,3 +1256,3 @@ toJSON() {

* @category guards
* @since 1.0.0
* @since 0.67.0
*/

@@ -1376,3 +1379,3 @@ export const isTypeLiteral = /*#__PURE__*/createASTGuard("TypeLiteral");

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -1408,3 +1411,3 @@ export class Union {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -1417,3 +1420,3 @@ _tag = "Union";

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -1424,3 +1427,3 @@ toString(verbose = false) {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -1441,3 +1444,3 @@ toJSON() {

* @category guards
* @since 1.0.0
* @since 0.67.0
*/

@@ -1448,3 +1451,3 @@ export const isUnion = /*#__PURE__*/createASTGuard("Union");

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -1455,3 +1458,3 @@ export class Suspend {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -1465,3 +1468,3 @@ _tag = "Suspend";

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -1472,3 +1475,3 @@ toString(verbose = false) {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -1495,3 +1498,3 @@ toJSON() {

* @category guards
* @since 1.0.0
* @since 0.67.0
*/

@@ -1501,3 +1504,3 @@ export const isSuspend = /*#__PURE__*/createASTGuard("Suspend");

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -1509,3 +1512,3 @@ export class Refinement {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -1519,3 +1522,3 @@ _tag = "Refinement";

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -1526,3 +1529,3 @@ toString(verbose = false) {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -1539,7 +1542,7 @@ toJSON() {

* @category guards
* @since 1.0.0
* @since 0.67.0
*/
export const isRefinement = /*#__PURE__*/createASTGuard("Refinement");
/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -1549,3 +1552,3 @@ export const defaultParseOption = {};

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -1558,3 +1561,3 @@ export class Transformation {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -1569,3 +1572,3 @@ _tag = "Transformation";

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -1576,3 +1579,3 @@ toString(verbose = false) {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -1590,3 +1593,3 @@ toJSON() {

* @category guards
* @since 1.0.0
* @since 0.67.0
*/

@@ -1596,3 +1599,3 @@ export const isTransformation = /*#__PURE__*/createASTGuard("Transformation");

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -1603,3 +1606,3 @@ export class FinalTransformation {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -1615,3 +1618,3 @@ _tag = "FinalTransformation";

* @category guards
* @since 1.0.0
* @since 0.67.0
*/

@@ -1621,7 +1624,7 @@ export const isFinalTransformation = /*#__PURE__*/createTransformationGuard("FinalTransformation");

* @category model
* @since 1.0.0
* @since 0.67.0
*/
export class ComposeTransformation {
/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -1632,3 +1635,3 @@ _tag = "ComposeTransformation";

* @category constructors
* @since 1.0.0
* @since 0.67.0
*/

@@ -1638,3 +1641,3 @@ export const composeTransformation = /*#__PURE__*/new ComposeTransformation();

* @category guards
* @since 1.0.0
* @since 0.67.0
*/

@@ -1654,3 +1657,3 @@ export const isComposeTransformation = /*#__PURE__*/createTransformationGuard("ComposeTransformation");

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -1672,3 +1675,3 @@ export class PropertySignatureTransformation {

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -1678,3 +1681,3 @@ export class TypeLiteralTransformation {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -1703,3 +1706,3 @@ _tag = "TypeLiteralTransformation";

* @category guards
* @since 1.0.0
* @since 0.67.0
*/

@@ -1713,3 +1716,3 @@ export const isTypeLiteralTransformation = /*#__PURE__*/createTransformationGuard("TypeLiteralTransformation");

*
* @since 1.0.0
* @since 0.67.0
*/

@@ -1727,3 +1730,3 @@ export const annotations = (ast, annotations) => {

*
* @since 1.0.0
* @since 0.67.0
*/

@@ -1734,3 +1737,3 @@ export const keyof = ast => Union.unify(_keyof(ast));

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -1751,3 +1754,3 @@ export const getTemplateLiteralRegExp = ast => {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -1918,3 +1921,3 @@ export const getPropertySignatures = ast => {

*
* @since 1.0.0
* @since 0.67.0
*/

@@ -1956,3 +1959,3 @@ export const pick = (ast, keys) => {

*
* @since 1.0.0
* @since 0.67.0
*/

@@ -1965,3 +1968,3 @@ export const omit = (ast, keys) => pick(ast, getPropertyKeys(ast).filter(name => !keys.includes(name)));

*
* @since 1.0.0
* @since 0.67.0
*/

@@ -1999,3 +2002,3 @@ export const partial = (ast, options) => {

*
* @since 1.0.0
* @since 0.67.0
*/

@@ -2031,3 +2034,3 @@ export const required = ast => {

*
* @since 1.0.0
* @since 0.67.0
*/

@@ -2066,3 +2069,3 @@ export const mutable = ast => {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -2074,3 +2077,3 @@ export const getCompiler = match => {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -2143,10 +2146,7 @@ export const typeAST = ast => {

}
/**
* @since 1.0.0
*/
export const encodedAST = ast => {
const encodedAST_ = (ast, isBound) => {
switch (ast._tag) {
case "Declaration":
{
const typeParameters = changeMap(ast.typeParameters, encodedAST);
const typeParameters = changeMap(ast.typeParameters, ast => encodedAST_(ast, isBound));
return typeParameters === ast.typeParameters ? ast : new Declaration(typeParameters, ast.decodeUnknown, ast.encodeUnknown, ast.annotations);

@@ -2157,6 +2157,6 @@ }

const elements = changeMap(ast.elements, e => {
const type = encodedAST(e.type);
const type = encodedAST_(e.type, isBound);
return type === e.type ? e : new Element(type, e.isOptional);
});
const rest = changeMap(ast.rest, encodedAST);
const rest = changeMap(ast.rest, ast => encodedAST_(ast, isBound));
return elements === ast.elements && rest === ast.rest ? ast : new TupleType(elements, rest, ast.isReadonly, createJSONIdentifierAnnotation(ast));

@@ -2167,7 +2167,7 @@ }

const propertySignatures = changeMap(ast.propertySignatures, ps => {
const type = encodedAST(ps.type);
const type = encodedAST_(ps.type, isBound);
return type === ps.type ? ps : new PropertySignature(ps.name, type, ps.isOptional, ps.isReadonly);
});
const indexSignatures = changeMap(ast.indexSignatures, is => {
const type = encodedAST(is.type);
const type = encodedAST_(is.type, isBound);
return type === is.type ? is : new IndexSignature(is.parameter, type, is.isReadonly);

@@ -2179,13 +2179,36 @@ });

{
const types = changeMap(ast.types, encodedAST);
const types = changeMap(ast.types, ast => encodedAST_(ast, isBound));
return types === ast.types ? ast : Union.make(types, createJSONIdentifierAnnotation(ast));
}
case "Suspend":
return new Suspend(() => encodedAST(ast.f()), createJSONIdentifierAnnotation(ast));
return new Suspend(() => encodedAST_(ast.f(), isBound), createJSONIdentifierAnnotation(ast));
case "Refinement":
{
const from = encodedAST_(ast.from, isBound);
if (isBound) {
if (from === ast.from) {
return ast;
}
if (!isTransformation(ast.from)) {
const annotations = getStableFilterAnnotation(ast);
if (Option.isSome(annotations) && annotations.value === true) {
return new Refinement(from, ast.filter);
}
}
}
return from;
}
case "Transformation":
return encodedAST(ast.from);
return encodedAST_(ast.from, isBound);
}
return ast;
};
/**
* @since 0.67.0
*/
export const encodedAST = ast => encodedAST_(ast, false);
/**
* @since 0.67.0
*/
export const encodedBoundAST = ast => encodedAST_(ast, true);
const toJSONAnnotations = annotations => {

@@ -2370,2 +2393,4 @@ const out = {};

}
case "Union":
return Union.make(ast.types.map(ast => rename(ast, mapping)));
case "Suspend":

@@ -2372,0 +2397,0 @@ return new Suspend(() => rename(ast.f(), mapping));

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -15,3 +15,3 @@ import * as Arr from "effect/Array";

* @category hooks
* @since 1.0.0
* @since 0.67.0
*/

@@ -21,3 +21,3 @@ export const EquivalenceHookId = /*#__PURE__*/Symbol.for("@effect/schema/EquivalenceHookId");

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -29,3 +29,3 @@ export const equivalence = handler => self => self.annotations({

* @category Equivalence
* @since 1.0.0
* @since 0.67.0
*/

@@ -32,0 +32,0 @@ export const make = schema => go(schema.ast, []);

/**
* @since 1.0.0
* @since 0.67.0
*/
/**
* @category re-exports
* @since 1.0.0
* @since 0.67.0
*/
export * from "fast-check";
//# sourceMappingURL=FastCheck.js.map
/**
* @since 1.0.0
* @since 0.67.0
*/
export * as AST from "./AST.js";
/**
* @since 1.0.0
* @since 0.67.0
*/
export * as Arbitrary from "./Arbitrary.js";
/**
* @since 1.0.0
* @since 0.67.0
*/
export * as ArrayFormatter from "./ArrayFormatter.js";
/**
* @since 1.0.0
* @since 0.67.0
*/
export * as Equivalence from "./Equivalence.js";
/**
* @since 1.0.0
* @since 0.67.0
*/
export * as FastCheck from "./FastCheck.js";
/**
* @since 1.0.0
* @since 0.67.0
*/
export * as JSONSchema from "./JSONSchema.js";
/**
* @since 1.0.0
* @since 0.67.0
*/
export * as ParseResult from "./ParseResult.js";
/**
* @since 1.0.0
* @since 0.67.0
*/
export * as Pretty from "./Pretty.js";
/**
* @since 1.0.0
* @since 0.67.0
*/
export * as Schema from "./Schema.js";
/**
* @since 1.0.0
* @since 0.67.0
*

@@ -44,5 +44,5 @@ * Serializable represents an object that has self-contained Schema(s)

/**
* @since 1.0.0
* @since 0.67.0
*/
export * as TreeFormatter from "./TreeFormatter.js";
//# sourceMappingURL=index.js.map
/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -11,3 +11,3 @@ import * as Option from "effect/Option";

* @category encoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -14,0 +14,0 @@ export const make = schema => {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -20,3 +20,3 @@ import * as Arr from "effect/Array";

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -28,3 +28,3 @@ export class Declaration {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -42,3 +42,3 @@ _tag = "Declaration";

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -51,3 +51,3 @@ export class Refinement {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -66,3 +66,3 @@ _tag = "Refinement";

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -75,3 +75,3 @@ export class TupleType {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -90,3 +90,3 @@ _tag = "TupleType";

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -97,3 +97,3 @@ export class Index {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -110,3 +110,3 @@ _tag = "Index";

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -119,3 +119,3 @@ export class TypeLiteral {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -134,3 +134,3 @@ _tag = "TypeLiteral";

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -141,3 +141,3 @@ export class Key {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -154,3 +154,3 @@ _tag = "Key";

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -160,3 +160,3 @@ export class Unexpected {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -172,3 +172,3 @@ _tag = "Unexpected";

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -181,3 +181,3 @@ export class Transformation {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -197,3 +197,3 @@ _tag = "Transformation";

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -204,7 +204,7 @@ export class Type {

/**
* @since 1.0.0
* @since 0.67.0
*/
_tag = "Type";
/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -222,3 +222,3 @@ message;

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -229,7 +229,7 @@ export class Forbidden {

/**
* @since 1.0.0
* @since 0.67.0
*/
_tag = "Forbidden";
/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -247,7 +247,7 @@ message;

* @category model
* @since 1.0.0
* @since 0.67.0
*/
export class Missing {
/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -258,3 +258,3 @@ _tag = "Missing";

* @category constructors
* @since 1.0.0
* @since 0.67.0
*/

@@ -266,3 +266,3 @@ export const missing = /*#__PURE__*/new Missing();

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -273,3 +273,3 @@ export class Member {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -286,3 +286,3 @@ _tag = "Member";

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -294,3 +294,3 @@ export class Union {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -305,3 +305,3 @@ _tag = "Union";

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -313,3 +313,3 @@ export class ParseError extends TaggedError("ParseError") {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -320,3 +320,3 @@ toString() {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -330,3 +330,3 @@ toJSON() {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -339,3 +339,3 @@ [Inspectable.NodeInspectSymbol]() {

* @category constructors
* @since 1.0.0
* @since 0.67.0
*/

@@ -347,3 +347,3 @@ export const parseError = issue => new ParseError({

* @category constructors
* @since 1.0.0
* @since 0.67.0
*/

@@ -353,3 +353,3 @@ export const succeed = Either.right;

* @category constructors
* @since 1.0.0
* @since 0.67.0
*/

@@ -361,3 +361,3 @@ export const fail = Either.left;

* @category constructors
* @since 1.0.0
* @since 0.67.0
*/

@@ -367,3 +367,3 @@ _try as try };

* @category constructors
* @since 1.0.0
* @since 0.67.0
*/

@@ -373,3 +373,3 @@ export const fromOption = Either.fromOption;

* @category optimisation
* @since 1.0.0
* @since 0.67.0
*/

@@ -388,3 +388,3 @@ export const flatMap = /*#__PURE__*/dual(2, (self, f) => {

* @category optimisation
* @since 1.0.0
* @since 0.67.0
*/

@@ -403,3 +403,3 @@ export const map = /*#__PURE__*/dual(2, (self, f) => {

* @category optimisation
* @since 1.0.0
* @since 0.67.0
*/

@@ -418,3 +418,3 @@ export const mapError = /*#__PURE__*/dual(2, (self, f) => {

* @category optimisation
* @since 1.0.0
* @since 0.67.0
*/

@@ -429,3 +429,3 @@ export const eitherOrUndefined = self => {

* @category optimisation
* @since 1.0.0
* @since 0.67.0
*/

@@ -444,3 +444,3 @@ export const mapBoth = /*#__PURE__*/dual(2, (self, options) => {

* @category optimisation
* @since 1.0.0
* @since 0.67.0
*/

@@ -493,3 +493,3 @@ export const orElse = /*#__PURE__*/dual(2, (self, f) => {

* @category decoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -499,3 +499,3 @@ export const decodeUnknownSync = (schema, options) => getSync(schema.ast, true, options);

* @category decoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -505,3 +505,3 @@ export const decodeUnknownOption = (schema, options) => getOption(schema.ast, true, options);

* @category decoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -511,3 +511,3 @@ export const decodeUnknownEither = (schema, options) => getEither(schema.ast, true, options);

* @category decoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -520,3 +520,3 @@ export const decodeUnknownPromise = (schema, options) => {

* @category decoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -526,3 +526,3 @@ export const decodeUnknown = (schema, options) => getEffect(schema.ast, true, options);

* @category encoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -532,3 +532,3 @@ export const encodeUnknownSync = (schema, options) => getSync(schema.ast, false, options);

* @category encoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -538,3 +538,3 @@ export const encodeUnknownOption = (schema, options) => getOption(schema.ast, false, options);

* @category encoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -544,3 +544,3 @@ export const encodeUnknownEither = (schema, options) => getEither(schema.ast, false, options);

* @category encoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -553,3 +553,3 @@ export const encodeUnknownPromise = (schema, options) => {

* @category encoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -559,3 +559,3 @@ export const encodeUnknown = (schema, options) => getEffect(schema.ast, false, options);

* @category decoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -565,3 +565,3 @@ export const decodeSync = decodeUnknownSync;

* @category decoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -571,3 +571,3 @@ export const decodeOption = decodeUnknownOption;

* @category decoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -577,3 +577,3 @@ export const decodeEither = decodeUnknownEither;

* @category decoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -583,3 +583,3 @@ export const decodePromise = decodeUnknownPromise;

* @category decoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -589,3 +589,3 @@ export const decode = decodeUnknown;

* @category validation
* @since 1.0.0
* @since 0.67.0
*/

@@ -595,3 +595,3 @@ export const validateSync = (schema, options) => getSync(AST.typeAST(schema.ast), true, options);

* @category validation
* @since 1.0.0
* @since 0.67.0
*/

@@ -601,3 +601,3 @@ export const validateOption = (schema, options) => getOption(AST.typeAST(schema.ast), true, options);

* @category validation
* @since 1.0.0
* @since 0.67.0
*/

@@ -607,3 +607,3 @@ export const validateEither = (schema, options) => getEither(AST.typeAST(schema.ast), true, options);

* @category validation
* @since 1.0.0
* @since 0.67.0
*/

@@ -616,3 +616,3 @@ export const validatePromise = (schema, options) => {

* @category validation
* @since 1.0.0
* @since 0.67.0
*/

@@ -622,3 +622,3 @@ export const validate = (schema, options) => getEffect(AST.typeAST(schema.ast), true, options);

* @category validation
* @since 1.0.0
* @since 0.67.0
*/

@@ -634,3 +634,3 @@ export const is = (schema, options) => {

* @category validation
* @since 1.0.0
* @since 0.67.0
*/

@@ -653,3 +653,3 @@ export const asserts = (schema, options) => {

* @category encoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -659,3 +659,3 @@ export const encodeSync = encodeUnknownSync;

* @category encoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -665,3 +665,3 @@ export const encodeOption = encodeUnknownOption;

* @category encoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -671,3 +671,3 @@ export const encodeEither = encodeUnknownEither;

* @category encoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -677,3 +677,3 @@ export const encodePromise = encodeUnknownPromise;

* @category encoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -680,0 +680,0 @@ export const encode = encodeUnknown;

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -12,3 +12,3 @@ import * as Arr from "effect/Array";

* @category hooks
* @since 1.0.0
* @since 0.67.0
*/

@@ -18,3 +18,3 @@ export const PrettyHookId = /*#__PURE__*/Symbol.for("@effect/schema/PrettyHookId");

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -26,3 +26,3 @@ export const pretty = handler => self => self.annotations({

* @category prettify
* @since 1.0.0
* @since 0.67.0
*/

@@ -40,3 +40,3 @@ export const make = schema => compile(schema.ast, []);

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -43,0 +43,0 @@ export const match = {

@@ -6,3 +6,3 @@ import { dual } from "effect/Function";

/**
* @since 1.0.0
* @since 0.67.0
* @category symbol

@@ -12,3 +12,3 @@ */

/**
* @since 1.0.0
* @since 0.67.0
* @category accessor

@@ -18,3 +18,3 @@ */

/**
* @since 1.0.0
* @since 0.67.0
* @category symbol

@@ -24,3 +24,3 @@ */

/**
* @since 1.0.0
* @since 0.67.0
* @category accessor

@@ -30,3 +30,3 @@ */

/**
* @since 1.0.0
* @since 0.67.0
* @category accessor

@@ -37,3 +37,3 @@ */

/**
* @since 1.0.0
* @since 0.67.0
* @category accessor

@@ -60,3 +60,3 @@ */

/**
* @since 1.0.0
* @since 0.67.0
* @category encoding

@@ -66,3 +66,3 @@ */

/**
* @since 1.0.0
* @since 0.67.0
* @category decoding

@@ -72,3 +72,3 @@ */

/**
* @since 1.0.0
* @since 0.67.0
* @category encoding

@@ -78,3 +78,3 @@ */

/**
* @since 1.0.0
* @since 0.67.0
* @category decoding

@@ -84,3 +84,3 @@ */

/**
* @since 1.0.0
* @since 0.67.0
* @category encoding

@@ -90,3 +90,3 @@ */

/**
* @since 1.0.0
* @since 0.67.0
* @category decoding

@@ -96,3 +96,3 @@ */

/**
* @since 1.0.0
* @since 0.67.0
* @category encoding

@@ -102,3 +102,3 @@ */

/**
* @since 1.0.0
* @since 0.67.0
* @category decoding

@@ -105,0 +105,0 @@ */

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -15,3 +15,3 @@ import * as Effect from "effect/Effect";

* @category formatting
* @since 1.0.0
* @since 0.67.0
*/

@@ -21,3 +21,3 @@ export const formatIssue = issue => Effect.map(go(issue), tree => drawTree(tree));

* @category formatting
* @since 1.0.0
* @since 0.67.0
*/

@@ -27,3 +27,3 @@ export const formatIssueSync = issue => Effect.runSync(formatIssue(issue));

* @category formatting
* @since 1.0.0
* @since 0.67.0
*/

@@ -33,3 +33,3 @@ export const formatError = error => formatIssue(error.error);

* @category formatting
* @since 1.0.0
* @since 0.67.0
*/

@@ -36,0 +36,0 @@ export const formatErrorSync = error => formatIssueSync(error.error);

{
"name": "@effect/schema",
"version": "0.67.16",
"version": "0.67.17",
"description": "Modeling the schema of data structures as first-class values",

@@ -16,3 +16,3 @@ "license": "MIT",

"peerDependencies": {
"effect": "^3.2.7"
"effect": "^3.2.8"
},

@@ -19,0 +19,0 @@ "publishConfig": {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -17,3 +17,3 @@

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -26,3 +26,3 @@ export interface LazyArbitrary<A> {

* @category hooks
* @since 1.0.0
* @since 0.67.0
*/

@@ -33,3 +33,3 @@ export const ArbitraryHookId: unique symbol = Symbol.for("@effect/schema/ArbitraryHookId")

* @category hooks
* @since 1.0.0
* @since 0.67.0
*/

@@ -40,3 +40,3 @@ export type ArbitraryHookId = typeof ArbitraryHookId

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -51,3 +51,3 @@ export const arbitrary =

* @category arbitrary
* @since 1.0.0
* @since 0.67.0
*/

@@ -60,3 +60,3 @@ export const makeLazy = <A, I, R>(schema: Schema.Schema<A, I, R>): LazyArbitrary<A> => go(schema.ast, {}, [])

* @category arbitrary
* @since 1.0.0
* @since 0.67.0
*/

@@ -63,0 +63,0 @@ export const make = <A, I, R>(schema: Schema.Schema<A, I, R>): FastCheck.Arbitrary<A> => makeLazy(schema)(FastCheck)

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -12,3 +12,3 @@

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -33,3 +33,3 @@ export interface Issue {

* @category formatting
* @since 1.0.0
* @since 0.67.0
*/

@@ -40,3 +40,3 @@ export const formatIssue = (issue: ParseResult.ParseIssue): Effect.Effect<Array<Issue>> => go(issue)

* @category formatting
* @since 1.0.0
* @since 0.67.0
*/

@@ -47,3 +47,3 @@ export const formatIssueSync = (issue: ParseResult.ParseIssue): Array<Issue> => Effect.runSync(formatIssue(issue))

* @category formatting
* @since 1.0.0
* @since 0.67.0
*/

@@ -54,3 +54,3 @@ export const formatError = (error: ParseResult.ParseError): Effect.Effect<Array<Issue>> => formatIssue(error.error)

* @category formatting
* @since 1.0.0
* @since 0.67.0
*/

@@ -57,0 +57,0 @@ export const formatErrorSync = (error: ParseResult.ParseError): Array<Issue> => formatIssueSync(error.error)

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -18,3 +18,3 @@

* @category hooks
* @since 1.0.0
* @since 0.67.0
*/

@@ -25,3 +25,3 @@ export const EquivalenceHookId: unique symbol = Symbol.for("@effect/schema/EquivalenceHookId")

* @category hooks
* @since 1.0.0
* @since 0.67.0
*/

@@ -32,3 +32,3 @@ export type EquivalenceHookId = typeof EquivalenceHookId

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -41,3 +41,3 @@ export const equivalence =

* @category Equivalence
* @since 1.0.0
* @since 0.67.0
*/

@@ -44,0 +44,0 @@ export const make = <A, I, R>(schema: Schema.Schema<A, I, R>): Equivalence.Equivalence<A> => go(schema.ast, [])

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -7,4 +7,4 @@

* @category re-exports
* @since 1.0.0
* @since 0.67.0
*/
export * from "fast-check"
/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -7,3 +7,3 @@ export * as AST from "./AST.js"

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -13,3 +13,3 @@ export * as Arbitrary from "./Arbitrary.js"

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -19,3 +19,3 @@ export * as ArrayFormatter from "./ArrayFormatter.js"

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -25,3 +25,3 @@ export * as Equivalence from "./Equivalence.js"

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -31,3 +31,3 @@ export * as FastCheck from "./FastCheck.js"

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -37,3 +37,3 @@ export * as JSONSchema from "./JSONSchema.js"

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -43,3 +43,3 @@ export * as ParseResult from "./ParseResult.js"

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -49,3 +49,3 @@ export * as Pretty from "./Pretty.js"

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -55,3 +55,3 @@ export * as Schema from "./Schema.js"

/**
* @since 1.0.0
* @since 0.67.0
*

@@ -63,4 +63,4 @@ * Serializable represents an object that has self-contained Schema(s)

/**
* @since 1.0.0
* @since 0.67.0
*/
export * as TreeFormatter from "./TreeFormatter.js"
/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -14,3 +14,3 @@

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -26,3 +26,3 @@ export interface JsonSchemaAnnotations {

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -35,3 +35,3 @@ export interface JsonSchema7Any extends JsonSchemaAnnotations {

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -44,3 +44,3 @@ export interface JsonSchema7Unknown extends JsonSchemaAnnotations {

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -57,3 +57,3 @@ export interface JsonSchema7object extends JsonSchemaAnnotations {

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -70,3 +70,3 @@ export interface JsonSchema7empty extends JsonSchemaAnnotations {

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -79,3 +79,3 @@ export interface JsonSchema7Ref extends JsonSchemaAnnotations {

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -88,3 +88,3 @@ export interface JsonSchema7Const extends JsonSchemaAnnotations {

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -100,3 +100,3 @@ export interface JsonSchema7String extends JsonSchemaAnnotations {

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -112,3 +112,3 @@ export interface JsonSchema7Numeric extends JsonSchemaAnnotations {

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -121,3 +121,3 @@ export interface JsonSchema7Number extends JsonSchema7Numeric {

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -130,3 +130,3 @@ export interface JsonSchema7Integer extends JsonSchema7Numeric {

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -139,3 +139,3 @@ export interface JsonSchema7Boolean extends JsonSchemaAnnotations {

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -152,3 +152,3 @@ export interface JsonSchema7Array extends JsonSchemaAnnotations {

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -161,3 +161,3 @@ export interface JsonSchema7OneOf extends JsonSchemaAnnotations {

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -170,3 +170,3 @@ export interface JsonSchema7Enum extends JsonSchemaAnnotations {

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -183,3 +183,3 @@ export interface JsonSchema7Enums extends JsonSchemaAnnotations {

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -192,3 +192,3 @@ export interface JsonSchema7AnyOf extends JsonSchemaAnnotations {

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -205,3 +205,3 @@ export interface JsonSchema7Object extends JsonSchemaAnnotations {

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -228,3 +228,3 @@ export type JsonSchema7 =

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -238,3 +238,3 @@ export type JsonSchema7Root = JsonSchema7 & {

* @category encoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -241,0 +241,0 @@ export const make = <A, I, R>(schema: Schema.Schema<A, I, R>): JsonSchema7Root => {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -25,3 +25,3 @@

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -42,7 +42,7 @@ export type ParseIssue =

* @category model
* @since 1.0.0
* @since 0.67.0
*/
export class Declaration {
/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -57,7 +57,7 @@ readonly _tag = "Declaration"

* @category model
* @since 1.0.0
* @since 0.67.0
*/
export class Refinement {
/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -77,7 +77,7 @@ readonly _tag = "Refinement"

* @category model
* @since 1.0.0
* @since 0.67.0
*/
export class TupleType {
/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -97,7 +97,7 @@ readonly _tag = "TupleType"

* @category model
* @since 1.0.0
* @since 0.67.0
*/
export class Index {
/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -112,7 +112,7 @@ readonly _tag = "Index"

* @category model
* @since 1.0.0
* @since 0.67.0
*/
export class TypeLiteral {
/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -132,7 +132,7 @@ readonly _tag = "TypeLiteral"

* @category model
* @since 1.0.0
* @since 0.67.0
*/
export class Key {
/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -147,7 +147,7 @@ readonly _tag = "Key"

* @category model
* @since 1.0.0
* @since 0.67.0
*/
export class Unexpected {
/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -162,7 +162,7 @@ readonly _tag = "Unexpected"

* @category model
* @since 1.0.0
* @since 0.67.0
*/
export class Transformation {
/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -183,11 +183,11 @@ readonly _tag = "Transformation"

* @category model
* @since 1.0.0
* @since 0.67.0
*/
export class Type {
/**
* @since 1.0.0
* @since 0.67.0
*/
readonly _tag = "Type"
/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -204,11 +204,11 @@ readonly message: Option.Option<string>

* @category model
* @since 1.0.0
* @since 0.67.0
*/
export class Forbidden {
/**
* @since 1.0.0
* @since 0.67.0
*/
readonly _tag = "Forbidden"
/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -225,7 +225,7 @@ readonly message: Option.Option<string>

* @category model
* @since 1.0.0
* @since 0.67.0
*/
export class Missing {
/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -237,3 +237,3 @@ readonly _tag = "Missing"

* @category constructors
* @since 1.0.0
* @since 0.67.0
*/

@@ -246,7 +246,7 @@ export const missing: Missing = new Missing()

* @category model
* @since 1.0.0
* @since 0.67.0
*/
export class Member {
/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -261,7 +261,7 @@ readonly _tag = "Member"

* @category model
* @since 1.0.0
* @since 0.67.0
*/
export class Union {
/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -277,3 +277,3 @@ readonly _tag = "Union"

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -285,3 +285,3 @@ export class ParseError extends TaggedError("ParseError")<{ readonly error: ParseIssue }> {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -292,3 +292,3 @@ toString() {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -302,3 +302,3 @@ toJSON() {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -312,3 +312,3 @@ [Inspectable.NodeInspectSymbol]() {

* @category constructors
* @since 1.0.0
* @since 0.67.0
*/

@@ -319,3 +319,3 @@ export const parseError = (issue: ParseIssue): ParseError => new ParseError({ error: issue })

* @category constructors
* @since 1.0.0
* @since 0.67.0
*/

@@ -326,3 +326,3 @@ export const succeed: <A>(a: A) => Either.Either<A, ParseIssue> = Either.right

* @category constructors
* @since 1.0.0
* @since 0.67.0
*/

@@ -339,3 +339,3 @@ export const fail: (issue: ParseIssue) => Either.Either<never, ParseIssue> = Either.left

* @category constructors
* @since 1.0.0
* @since 0.67.0
*/

@@ -347,3 +347,3 @@ _try as try

* @category constructors
* @since 1.0.0
* @since 0.67.0
*/

@@ -357,3 +357,3 @@ export const fromOption: {

* @category optimisation
* @since 1.0.0
* @since 0.67.0
*/

@@ -384,3 +384,3 @@ export const flatMap: {

* @category optimisation
* @since 1.0.0
* @since 0.67.0
*/

@@ -403,3 +403,3 @@ export const map: {

* @category optimisation
* @since 1.0.0
* @since 0.67.0
*/

@@ -422,3 +422,3 @@ export const mapError: {

* @category optimisation
* @since 1.0.0
* @since 0.67.0
*/

@@ -436,3 +436,3 @@ export const eitherOrUndefined = <A, E, R>(

* @category optimisation
* @since 1.0.0
* @since 0.67.0
*/

@@ -463,3 +463,3 @@ export const mapBoth: {

* @category optimisation
* @since 1.0.0
* @since 0.67.0
*/

@@ -489,3 +489,3 @@ export const orElse: {

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -495,3 +495,3 @@ export type DecodeUnknown<Out, R> = (u: unknown, options?: AST.ParseOptions) => Effect.Effect<Out, ParseIssue, R>

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -550,3 +550,3 @@ export type DeclarationDecodeUnknown<Out, R> = (

* @category decoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -560,3 +560,3 @@ export const decodeUnknownSync = <A, I>(

* @category decoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -570,3 +570,3 @@ export const decodeUnknownOption = <A, I>(

* @category decoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -581,3 +581,3 @@ export const decodeUnknownEither = <A, I>(

* @category decoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -594,3 +594,3 @@ export const decodeUnknownPromise = <A, I>(

* @category decoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -605,3 +605,3 @@ export const decodeUnknown = <A, I, R>(

* @category encoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -615,3 +615,3 @@ export const encodeUnknownSync = <A, I>(

* @category encoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -625,3 +625,3 @@ export const encodeUnknownOption = <A, I>(

* @category encoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -636,3 +636,3 @@ export const encodeUnknownEither = <A, I>(

* @category encoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -649,3 +649,3 @@ export const encodeUnknownPromise = <A, I>(

* @category encoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -660,3 +660,3 @@ export const encodeUnknown = <A, I, R>(

* @category decoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -670,3 +670,3 @@ export const decodeSync: <A, I>(

* @category decoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -680,3 +680,3 @@ export const decodeOption: <A, I>(

* @category decoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -690,3 +690,3 @@ export const decodeEither: <A, I>(

* @category decoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -700,3 +700,3 @@ export const decodePromise: <A, I>(

* @category decoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -710,3 +710,3 @@ export const decode: <A, I, R>(

* @category validation
* @since 1.0.0
* @since 0.67.0
*/

@@ -720,3 +720,3 @@ export const validateSync = <A, I, R>(

* @category validation
* @since 1.0.0
* @since 0.67.0
*/

@@ -731,3 +731,3 @@ export const validateOption = <A, I, R>(

* @category validation
* @since 1.0.0
* @since 0.67.0
*/

@@ -742,3 +742,3 @@ export const validateEither = <A, I, R>(

* @category validation
* @since 1.0.0
* @since 0.67.0
*/

@@ -755,3 +755,3 @@ export const validatePromise = <A, I>(

* @category validation
* @since 1.0.0
* @since 0.67.0
*/

@@ -766,3 +766,3 @@ export const validate = <A, I, R>(

* @category validation
* @since 1.0.0
* @since 0.67.0
*/

@@ -777,3 +777,3 @@ export const is = <A, I, R>(schema: Schema.Schema<A, I, R>, options?: AST.ParseOptions) => {

* @category validation
* @since 1.0.0
* @since 0.67.0
*/

@@ -795,3 +795,3 @@ export const asserts = <A, I, R>(schema: Schema.Schema<A, I, R>, options?: AST.ParseOptions) => {

* @category encoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -805,3 +805,3 @@ export const encodeSync: <A, I>(

* @category encoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -815,3 +815,3 @@ export const encodeOption: <A, I>(

* @category encoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -825,3 +825,3 @@ export const encodeEither: <A, I>(

* @category encoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -835,3 +835,3 @@ export const encodePromise: <A, I>(

* @category encoding
* @since 1.0.0
* @since 0.67.0
*/

@@ -838,0 +838,0 @@ export const encode: <A, I, R>(

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -14,3 +14,3 @@ import * as Arr from "effect/Array"

* @category model
* @since 1.0.0
* @since 0.67.0
*/

@@ -23,3 +23,3 @@ export interface Pretty<To> {

* @category hooks
* @since 1.0.0
* @since 0.67.0
*/

@@ -30,3 +30,3 @@ export const PrettyHookId: unique symbol = Symbol.for("@effect/schema/PrettyHookId")

* @category hooks
* @since 1.0.0
* @since 0.67.0
*/

@@ -37,3 +37,3 @@ export type PrettyHookId = typeof PrettyHookId

* @category annotations
* @since 1.0.0
* @since 0.67.0
*/

@@ -46,3 +46,3 @@ export const pretty =

* @category prettify
* @since 1.0.0
* @since 0.67.0
*/

@@ -71,3 +71,3 @@ export const make = <A, I, R>(schema: Schema.Schema<A, I, R>): (a: A) => string => compile(schema.ast, [])

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -74,0 +74,0 @@ export const match: AST.Match<Pretty<any>> = {

/**
* @since 1.0.0
* @since 0.67.0
*

@@ -15,3 +15,3 @@ * Serializable represents an object that has self-contained Schema(s)

/**
* @since 1.0.0
* @since 0.67.0
* @category symbol

@@ -22,3 +22,3 @@ */

/**
* @since 1.0.0
* @since 0.67.0
* @category model

@@ -31,3 +31,3 @@ */

/**
* @since 1.0.0
* @since 0.67.0
* @category model

@@ -37,3 +37,3 @@ */

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -44,3 +44,3 @@ export type Context<T> = T extends Serializable<infer _A, infer _I, infer R> ? R : never

/**
* @since 1.0.0
* @since 0.67.0
* @category accessor

@@ -51,3 +51,3 @@ */

/**
* @since 1.0.0
* @since 0.67.0
* @category symbol

@@ -58,3 +58,3 @@ */

/**
* @since 1.0.0
* @since 0.67.0
* @category model

@@ -70,3 +70,3 @@ */

/**
* @since 1.0.0
* @since 0.67.0
* @category model

@@ -76,3 +76,3 @@ */

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -83,3 +83,3 @@ export type Context<T> = T extends WithResult<infer _A, infer _I, infer _E, infer _EI, infer R> ? R : never

/**
* @since 1.0.0
* @since 0.67.0
* @category accessor

@@ -92,3 +92,3 @@ */

/**
* @since 1.0.0
* @since 0.67.0
* @category accessor

@@ -106,3 +106,3 @@ */

/**
* @since 1.0.0
* @since 0.67.0
* @category accessor

@@ -126,3 +126,3 @@ */

/**
* @since 1.0.0
* @since 0.67.0
* @category model

@@ -145,3 +145,3 @@ */

/**
* @since 1.0.0
* @since 0.67.0
* @category model

@@ -151,3 +151,3 @@ */

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -160,3 +160,3 @@ export type Context<T> = T extends

/**
* @since 1.0.0
* @since 0.67.0
* @category encoding

@@ -169,3 +169,3 @@ */

/**
* @since 1.0.0
* @since 0.67.0
* @category decoding

@@ -189,3 +189,3 @@ */

/**
* @since 1.0.0
* @since 0.67.0
* @category encoding

@@ -212,3 +212,3 @@ */

/**
* @since 1.0.0
* @since 0.67.0
* @category decoding

@@ -235,3 +235,3 @@ */

/**
* @since 1.0.0
* @since 0.67.0
* @category encoding

@@ -258,3 +258,3 @@ */

/**
* @since 1.0.0
* @since 0.67.0
* @category decoding

@@ -283,3 +283,3 @@ */

/**
* @since 1.0.0
* @since 0.67.0
* @category encoding

@@ -303,3 +303,3 @@ */

/**
* @since 1.0.0
* @since 0.67.0
* @category decoding

@@ -306,0 +306,0 @@ */

/**
* @since 1.0.0
* @since 0.67.0
*/

@@ -27,3 +27,3 @@

* @category formatting
* @since 1.0.0
* @since 0.67.0
*/

@@ -35,3 +35,3 @@ export const formatIssue = (issue: ParseResult.ParseIssue): Effect.Effect<string> =>

* @category formatting
* @since 1.0.0
* @since 0.67.0
*/

@@ -42,3 +42,3 @@ export const formatIssueSync = (issue: ParseResult.ParseIssue): string => Effect.runSync(formatIssue(issue))

* @category formatting
* @since 1.0.0
* @since 0.67.0
*/

@@ -49,3 +49,3 @@ export const formatError = (error: ParseResult.ParseError): Effect.Effect<string> => formatIssue(error.error)

* @category formatting
* @since 1.0.0
* @since 0.67.0
*/

@@ -52,0 +52,0 @@ export const formatErrorSync = (error: ParseResult.ParseError): string => formatIssueSync(error.error)

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc