effect 4.0.0-beta.86 → 4.0.0-beta.87
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Schema.d.ts +4 -0
- package/dist/Schema.d.ts.map +1 -1
- package/dist/Schema.js +6 -2
- package/dist/Schema.js.map +1 -1
- package/dist/SchemaTransformation.d.ts +2 -2
- package/dist/SchemaTransformation.d.ts.map +1 -1
- package/dist/SchemaTransformation.js +5 -8
- package/dist/SchemaTransformation.js.map +1 -1
- package/package.json +1 -1
- package/src/Schema.ts +6 -2
- package/src/SchemaTransformation.ts +5 -6
package/dist/Schema.d.ts
CHANGED
|
@@ -1921,6 +1921,7 @@ export interface toType<S extends Constraint> extends BottomLazy<S["ast"], toTyp
|
|
|
1921
1921
|
readonly "~type.make.in": S["~type.make.in"];
|
|
1922
1922
|
readonly "~type.make": S["~type.make"];
|
|
1923
1923
|
readonly "Iso": S["Iso"];
|
|
1924
|
+
readonly schema: S;
|
|
1924
1925
|
}
|
|
1925
1926
|
interface toTypeLambda extends Lambda {
|
|
1926
1927
|
<S extends Constraint>(self: S): toType<S>;
|
|
@@ -1948,6 +1949,7 @@ export interface toEncoded<S extends Constraint> extends BottomLazy<SchemaAST.AS
|
|
|
1948
1949
|
readonly "~type.make.in": S["Encoded"];
|
|
1949
1950
|
readonly "~type.make": S["Encoded"];
|
|
1950
1951
|
readonly "Iso": S["Encoded"];
|
|
1952
|
+
readonly schema: S;
|
|
1951
1953
|
}
|
|
1952
1954
|
interface toEncodedLambda extends Lambda {
|
|
1953
1955
|
<S extends Constraint>(self: S): toEncoded<S>;
|
|
@@ -9130,6 +9132,7 @@ export interface toCodecJson<S extends Constraint> extends BottomLazy<S["ast"],
|
|
|
9130
9132
|
readonly "~type.make.in": S["~type.make.in"];
|
|
9131
9133
|
readonly "~type.make": S["~type.make"];
|
|
9132
9134
|
readonly "Iso": S["Iso"];
|
|
9135
|
+
readonly schema: S;
|
|
9133
9136
|
}
|
|
9134
9137
|
/**
|
|
9135
9138
|
* Derives a canonical JSON codec from a schema. The encoded form is `Json`, and
|
|
@@ -9169,6 +9172,7 @@ export interface toCodecStringTree<S extends Constraint> extends BottomLazy<S["a
|
|
|
9169
9172
|
readonly "~type.make.in": S["~type.make.in"];
|
|
9170
9173
|
readonly "~type.make": S["~type.make"];
|
|
9171
9174
|
readonly "Iso": S["Iso"];
|
|
9175
|
+
readonly schema: S;
|
|
9172
9176
|
}
|
|
9173
9177
|
/**
|
|
9174
9178
|
* Converts a schema to the StringTree canonical codec, where every leaf value
|