@typia/utils 12.0.1 → 12.0.2
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/lib/utils/LlmJson.d.ts +1 -1
- package/package.json +2 -2
- package/src/utils/LlmJson.ts +1 -1
package/lib/utils/LlmJson.d.ts
CHANGED
|
@@ -83,7 +83,7 @@ export declare namespace LlmJson {
|
|
|
83
83
|
* schema. Otherwise, extra properties are ignored.
|
|
84
84
|
* @returns Validator function that checks data against the schema
|
|
85
85
|
*/
|
|
86
|
-
function validate(parameters: ILlmSchema.IParameters, equals?: boolean | undefined): (
|
|
86
|
+
function validate(parameters: ILlmSchema.IParameters, equals?: boolean | undefined): (input: unknown) => IValidation<unknown>;
|
|
87
87
|
/**
|
|
88
88
|
* Convert LLM parameters schema to structured output interface.
|
|
89
89
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@typia/utils",
|
|
3
|
-
"version": "12.0.
|
|
3
|
+
"version": "12.0.2",
|
|
4
4
|
"description": "Superfast runtime validators with only one line",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"exports": {
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"homepage": "https://typia.io",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@typia/interface": "^12.0.
|
|
25
|
+
"@typia/interface": "^12.0.2"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@rollup/plugin-commonjs": "^29.0.0",
|
package/src/utils/LlmJson.ts
CHANGED
|
@@ -123,7 +123,7 @@ export namespace LlmJson {
|
|
|
123
123
|
export function validate(
|
|
124
124
|
parameters: ILlmSchema.IParameters,
|
|
125
125
|
equals?: boolean | undefined,
|
|
126
|
-
) {
|
|
126
|
+
): (input: unknown) => IValidation<unknown> {
|
|
127
127
|
const components: OpenApi.IComponents = {
|
|
128
128
|
schemas: {},
|
|
129
129
|
};
|