effect-app 4.0.0-beta.320 → 4.0.0-beta.321
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/CHANGELOG.md +17 -0
- package/dist/Config/SecretURL.js +1 -1
- package/dist/Model/query/new-kid-interpreter.d.ts.map +1 -1
- package/dist/Model/query/new-kid-interpreter.js +51 -42
- package/dist/Schema/brand.d.ts +2 -4
- package/dist/Schema/brand.d.ts.map +1 -1
- package/dist/Schema/brand.js +1 -1
- package/dist/Schema/email.d.ts.map +1 -1
- package/dist/Schema/email.js +1 -3
- package/dist/Schema/ext.d.ts +1 -1
- package/dist/Schema/ext.js +5 -5
- package/dist/Schema/moreStrings.d.ts.map +1 -1
- package/dist/Schema/moreStrings.js +2 -13
- package/dist/Schema/phoneNumber.d.ts.map +1 -1
- package/dist/Schema/phoneNumber.js +1 -4
- package/dist/Schema.d.ts +5 -1
- package/dist/Schema.d.ts.map +1 -1
- package/dist/Schema.js +3 -15
- package/dist/client/apiClientFactory.d.ts.map +1 -1
- package/dist/client/apiClientFactory.js +3 -5
- package/dist/runtime.d.ts.map +1 -1
- package/dist/runtime.js +2 -2
- package/package.json +2 -2
- package/src/Config/SecretURL.ts +1 -1
- package/src/Model/query/new-kid-interpreter.ts +197 -191
- package/src/Schema/brand.ts +2 -7
- package/src/Schema/email.ts +0 -3
- package/src/Schema/ext.ts +5 -5
- package/src/Schema/moreStrings.ts +1 -18
- package/src/Schema/phoneNumber.ts +0 -4
- package/src/Schema.ts +7 -21
- package/src/client/apiClientFactory.ts +2 -7
- package/src/runtime.ts +3 -2
- package/test/moreStrings.test.ts +6 -8
- package/test/special.test.ts +4 -0
package/test/special.test.ts
CHANGED
|
@@ -679,6 +679,7 @@ describe("SpecialJsonSchema", () => {
|
|
|
679
679
|
dialect: "draft-2020-12",
|
|
680
680
|
schema: {
|
|
681
681
|
"type": "object",
|
|
682
|
+
"additionalProperties": true,
|
|
682
683
|
"properties": {
|
|
683
684
|
"status": { "type": "string" }
|
|
684
685
|
}
|
|
@@ -713,6 +714,7 @@ describe("SpecialJsonSchema", () => {
|
|
|
713
714
|
dialect: "draft-2020-12",
|
|
714
715
|
schema: {
|
|
715
716
|
"type": "object",
|
|
717
|
+
"additionalProperties": true,
|
|
716
718
|
"properties": {
|
|
717
719
|
"a": { "$ref": "#/$defs/X" },
|
|
718
720
|
"b": { "$ref": "#/$defs/X" },
|
|
@@ -779,6 +781,7 @@ describe("SpecialJsonSchema", () => {
|
|
|
779
781
|
dialect: "draft-2020-12",
|
|
780
782
|
schema: {
|
|
781
783
|
"type": "object",
|
|
784
|
+
"additionalProperties": true,
|
|
782
785
|
"properties": {
|
|
783
786
|
"a": { "$ref": "#/$defs/X" },
|
|
784
787
|
"b": { "$ref": "#/$defs/X" },
|
|
@@ -1125,6 +1128,7 @@ describe("Post-processing integration — real Effect Schema types", () => {
|
|
|
1125
1128
|
// null variant preserved (correct JSON Schema for NullOr)
|
|
1126
1129
|
expect(doc.schema).toStrictEqual({
|
|
1127
1130
|
type: "object",
|
|
1131
|
+
additionalProperties: true,
|
|
1128
1132
|
properties: {
|
|
1129
1133
|
note: {
|
|
1130
1134
|
anyOf: [
|