effect 4.0.0-beta.79 → 4.0.0-beta.80
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/Duration.d.ts +8 -1
- package/dist/Duration.d.ts.map +1 -1
- package/dist/Duration.js +26 -25
- package/dist/Duration.js.map +1 -1
- package/dist/Graph.d.ts +173 -14
- package/dist/Graph.d.ts.map +1 -1
- package/dist/Graph.js +155 -66
- package/dist/Graph.js.map +1 -1
- package/dist/Schema.d.ts +7 -0
- package/dist/Schema.d.ts.map +1 -1
- package/dist/Schema.js +7 -0
- package/dist/Schema.js.map +1 -1
- package/dist/SchemaRepresentation.d.ts +24 -0
- package/dist/SchemaRepresentation.d.ts.map +1 -1
- package/dist/SchemaRepresentation.js +24 -0
- package/dist/SchemaRepresentation.js.map +1 -1
- package/dist/Stream.js +1 -1
- package/dist/Stream.js.map +1 -1
- package/dist/internal/schema/representation.js +8 -1
- package/dist/internal/schema/representation.js.map +1 -1
- package/dist/unstable/cli/Prompt.d.ts +74 -5
- package/dist/unstable/cli/Prompt.d.ts.map +1 -1
- package/dist/unstable/cli/Prompt.js +23 -3
- package/dist/unstable/cli/Prompt.js.map +1 -1
- package/package.json +1 -1
- package/src/Duration.ts +42 -32
- package/src/Graph.ts +309 -88
- package/src/Schema.ts +7 -0
- package/src/SchemaRepresentation.ts +24 -0
- package/src/Stream.ts +1 -1
- package/src/internal/schema/representation.ts +2 -1
- package/src/unstable/cli/Prompt.ts +102 -9
package/dist/Schema.js
CHANGED
|
@@ -7803,6 +7803,13 @@ export function toRepresentation(schema) {
|
|
|
7803
7803
|
* properties and synthesized check descriptions; it does not change the draft
|
|
7804
7804
|
* target.
|
|
7805
7805
|
*
|
|
7806
|
+
* **Gotchas**
|
|
7807
|
+
*
|
|
7808
|
+
* JSON Schema generation is best-effort. Some Effect schema semantics cannot
|
|
7809
|
+
* be represented exactly in JSON Schema, and importing an emitted JSON Schema
|
|
7810
|
+
* may produce an equivalent approximation rather than the original schema
|
|
7811
|
+
* shape.
|
|
7812
|
+
*
|
|
7806
7813
|
* @category converting
|
|
7807
7814
|
* @since 4.0.0
|
|
7808
7815
|
*/
|