Skip to content

Commit

Permalink
Merge pull request #1325 from samchon/feat/llm
Browse files Browse the repository at this point in the history
Emend #1312: change test schemas
  • Loading branch information
samchon authored Oct 11, 2024
2 parents 559bb95 + 9129fad commit f1ad1a5
Show file tree
Hide file tree
Showing 81 changed files with 593 additions and 297 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-6.11.1.tgz"
"typia": "../typia-6.11.2.tgz"
}
}
2 changes: 1 addition & 1 deletion errors/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-6.11.1.tgz"
"typia": "../typia-6.11.2.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-6.11.1.tgz"
"typia": "../typia-6.11.2.tgz"
}
}
2 changes: 1 addition & 1 deletion test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,6 @@
"suppress-warnings": "^1.0.2",
"tstl": "^3.0.0",
"uuid": "^9.0.1",
"typia": "../typia-6.11.1.tgz"
"typia": "../typia-6.11.2.tgz"
}
}
3 changes: 2 additions & 1 deletion test/schemas/llm/type/ArrayAny.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,6 @@
"nullables1",
"nullables2",
"union"
]
],
"additionalProperties": false
}
18 changes: 12 additions & 6 deletions test/schemas/llm/type/ArrayHierarchical.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
"required": [
"time",
"zone"
]
],
"additionalProperties": false
},
"departments": {
"type": "array",
Expand Down Expand Up @@ -56,7 +57,8 @@
"required": [
"time",
"zone"
]
],
"additionalProperties": false
},
"employees": {
"type": "array",
Expand Down Expand Up @@ -89,7 +91,8 @@
"required": [
"time",
"zone"
]
],
"additionalProperties": false
}
},
"nullable": false,
Expand All @@ -99,7 +102,8 @@
"age",
"grade",
"employeed_at"
]
],
"additionalProperties": false
}
}
},
Expand All @@ -110,7 +114,8 @@
"sales",
"created_at",
"employees"
]
],
"additionalProperties": false
}
}
},
Expand All @@ -121,6 +126,7 @@
"name",
"established_at",
"departments"
]
],
"additionalProperties": false
}
}
21 changes: 14 additions & 7 deletions test/schemas/llm/type/ArrayHierarchicalPointer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
"required": [
"time",
"zone"
]
],
"additionalProperties": false
},
"departments": {
"type": "array",
Expand Down Expand Up @@ -59,7 +60,8 @@
"required": [
"time",
"zone"
]
],
"additionalProperties": false
},
"employees": {
"type": "array",
Expand Down Expand Up @@ -92,7 +94,8 @@
"required": [
"time",
"zone"
]
],
"additionalProperties": false
}
},
"nullable": false,
Expand All @@ -102,7 +105,8 @@
"age",
"grade",
"employeed_at"
]
],
"additionalProperties": false
}
}
},
Expand All @@ -113,7 +117,8 @@
"sales",
"created_at",
"employees"
]
],
"additionalProperties": false
}
}
},
Expand All @@ -124,12 +129,14 @@
"name",
"established_at",
"departments"
]
],
"additionalProperties": false
}
}
},
"nullable": false,
"required": [
"value"
]
],
"additionalProperties": false
}
6 changes: 4 additions & 2 deletions test/schemas/llm/type/ArraySimple.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
"name",
"body",
"rank"
]
],
"additionalProperties": false
}
}
},
Expand All @@ -38,6 +39,7 @@
"name",
"email",
"hobbies"
]
],
"additionalProperties": false
}
}
3 changes: 2 additions & 1 deletion test/schemas/llm/type/ClassGetter.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@
"id",
"name",
"dead"
]
],
"additionalProperties": false
}
3 changes: 2 additions & 1 deletion test/schemas/llm/type/ClassMethod.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@
"required": [
"name",
"age"
]
],
"additionalProperties": false
}
3 changes: 2 additions & 1 deletion test/schemas/llm/type/ClassPropertyAssignment.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,6 @@
"note",
"editable",
"incremental"
]
],
"additionalProperties": false
}
6 changes: 4 additions & 2 deletions test/schemas/llm/type/CommentTagArray.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,14 @@
"both",
"equal",
"unique"
]
],
"additionalProperties": false
}
}
},
"nullable": false,
"required": [
"value"
]
],
"additionalProperties": false
}
3 changes: 2 additions & 1 deletion test/schemas/llm/type/CommentTagArrayUnion.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
"minItems",
"maxItems",
"both"
]
],
"additionalProperties": false
}
}
6 changes: 4 additions & 2 deletions test/schemas/llm/type/CommentTagAtomicUnion.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,14 @@
"nullable": false,
"required": [
"value"
]
],
"additionalProperties": false
}
}
},
"nullable": false,
"required": [
"value"
]
],
"additionalProperties": false
}
3 changes: 2 additions & 1 deletion test/schemas/llm/type/CommentTagDefault.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,5 +117,6 @@
"union_but_string",
"vulnerable_range",
"boolean_and_number_and_template"
]
],
"additionalProperties": false
}
3 changes: 2 additions & 1 deletion test/schemas/llm/type/CommentTagFormat.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,5 +114,6 @@
"duration",
"jsonPointer",
"relativeJsonPointer"
]
],
"additionalProperties": false
}
6 changes: 4 additions & 2 deletions test/schemas/llm/type/CommentTagLength.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,14 @@
"maximum",
"minimum_and_maximum",
"equal"
]
],
"additionalProperties": false
}
}
},
"nullable": false,
"required": [
"value"
]
],
"additionalProperties": false
}
6 changes: 4 additions & 2 deletions test/schemas/llm/type/CommentTagObjectUnion.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"nullable": false,
"required": [
"value"
]
],
"additionalProperties": false
},
{
"type": "object",
Expand All @@ -27,7 +28,8 @@
"nullable": false,
"required": [
"value"
]
],
"additionalProperties": false
}
]
}
Expand Down
3 changes: 2 additions & 1 deletion test/schemas/llm/type/CommentTagPattern.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@
"email",
"ipv4",
"ipv6"
]
],
"additionalProperties": false
}
6 changes: 4 additions & 2 deletions test/schemas/llm/type/CommentTagRange.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,14 @@
"greater_less_equal",
"greater_equal_less_equal",
"equal"
]
],
"additionalProperties": false
}
}
},
"nullable": false,
"required": [
"value"
]
],
"additionalProperties": false
}
6 changes: 4 additions & 2 deletions test/schemas/llm/type/CommentTagType.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,14 @@
"int64",
"uint64",
"float"
]
],
"additionalProperties": false
}
}
},
"nullable": false,
"required": [
"value"
]
],
"additionalProperties": false
}
3 changes: 2 additions & 1 deletion test/schemas/llm/type/ConstantAtomicAbsorbed.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@
"required": [
"id",
"age"
]
],
"additionalProperties": false
}
3 changes: 2 additions & 1 deletion test/schemas/llm/type/ConstantAtomicTagged.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,6 @@
"required": [
"id",
"age"
]
],
"additionalProperties": false
}
3 changes: 2 additions & 1 deletion test/schemas/llm/type/ConstantAtomicUnion.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@
"nullable": false,
"required": [
"key"
]
],
"additionalProperties": false
}
]
}
Expand Down
Loading

0 comments on commit f1ad1a5

Please sign in to comment.