Skip to content

Commit

Permalink
Recursive type supporting from the LLM schema.
Browse files Browse the repository at this point in the history
Adapt `@samchon/openapi@next`.
  • Loading branch information
samchon committed Nov 11, 2024
1 parent 79b5068 commit a226e6a
Show file tree
Hide file tree
Showing 22 changed files with 1,169 additions and 1,170 deletions.
2 changes: 1 addition & 1 deletion benchmark/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,6 @@
"suppress-warnings": "^1.0.2",
"tstl": "^3.0.0",
"uuid": "^9.0.1",
"typia": "../typia-7.0.0-dev.20241111-2.tgz"
"typia": "../typia-7.0.0-dev.20241112.tgz"
}
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "typia",
"version": "7.0.0-dev.20241111-2",
"version": "7.0.0-dev.20241112",
"description": "Superfast runtime validators with only one line",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
Expand Down Expand Up @@ -68,7 +68,7 @@
},
"homepage": "https://typia.io",
"dependencies": {
"@samchon/openapi": "2.0.0-dev.20241111-3",
"@samchon/openapi": "2.0.0-dev.20241112",
"commander": "^10.0.0",
"comment-json": "^4.2.3",
"inquirer": "^8.2.5",
Expand Down
4 changes: 2 additions & 2 deletions packages/typescript-json/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "typescript-json",
"version": "7.0.0-dev.20241111-2",
"version": "7.0.0-dev.20241112",
"description": "Superfast runtime validators with only one line",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
Expand Down Expand Up @@ -64,7 +64,7 @@
},
"homepage": "https://typia.io",
"dependencies": {
"typia": "7.0.0-dev.20241111-2"
"typia": "7.0.0-dev.20241112"
},
"peerDependencies": {
"typescript": ">=4.8.0 <5.7.0"
Expand Down
2 changes: 1 addition & 1 deletion test-error/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@
"typescript": "^5.3.2"
},
"dependencies": {
"typia": "../typia-7.0.0-dev.20241111-2.tgz"
"typia": "../typia-7.0.0-dev.20241112.tgz"
}
}
2 changes: 1 addition & 1 deletion test-esm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@
"typescript": "^5.4.5"
},
"dependencies": {
"typia": "../typia-7.0.0-dev.20241111-2.tgz"
"typia": "../typia-7.0.0-dev.20241112.tgz"
}
}
2 changes: 1 addition & 1 deletion test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@
"suppress-warnings": "^1.0.2",
"tstl": "^3.0.0",
"uuid": "^9.0.1",
"typia": "../typia-7.0.0-dev.20241111-2.tgz"
"typia": "../typia-7.0.0-dev.20241112.tgz"
}
}
7 changes: 1 addition & 6 deletions test/schemas/json/v3_0/ConstantAtomicSimple.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,7 @@
{
"type": "boolean",
"enum": [
false
]
},
{
"type": "boolean",
"enum": [
false,
true
]
},
Expand Down
24 changes: 12 additions & 12 deletions test/schemas/json/v3_0/TupleHierarchical.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,20 @@
"items": {
"oneOf": [
{
"type": "boolean"
"type": "boolean",
"nullable": true
},
{
"type": "null"
},
{
"type": "number"
"type": "number",
"nullable": true
},
{
"type": "array",
"items": {
"oneOf": [
{
"type": "boolean"
},
{
"type": "null"
"type": "boolean",
"nullable": true
},
{
"type": "array",
Expand All @@ -50,12 +47,14 @@
]
},
"minItems": 2,
"maxItems": 2
"maxItems": 2,
"nullable": true
}
]
},
"minItems": 3,
"maxItems": 3
"maxItems": 3,
"nullable": true
},
{
"type": "array",
Expand Down Expand Up @@ -118,7 +117,8 @@
]
},
"minItems": 2,
"maxItems": 2
"maxItems": 2,
"nullable": true
}
]
},
Expand Down
3 changes: 2 additions & 1 deletion test/schemas/json/v3_0/TupleRestArray.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
}
]
},
"minItems": 2
"minItems": 2,
"maxItems": 2
}
}
},
Expand Down
3 changes: 2 additions & 1 deletion test/schemas/json/v3_0/TupleRestAtomic.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
}
]
},
"minItems": 2
"minItems": 2,
"maxItems": 2
}
}
},
Expand Down
3 changes: 2 additions & 1 deletion test/schemas/json/v3_0/TupleRestObject.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
}
]
},
"minItems": 2
"minItems": 2,
"maxItems": 2
},
"TupleRestObject.IObject": {
"type": "object",
Expand Down
Loading

0 comments on commit a226e6a

Please sign in to comment.