typia 9.3.0 → 9.3.1
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/README.md
CHANGED
|
@@ -23,10 +23,14 @@ export namespace json {
|
|
|
23
23
|
export function assertStringify<T>(input: T): string; // safe and faster
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
//
|
|
26
|
+
// AI FUNCTION CALLING SCHEMA
|
|
27
27
|
export namespace llm {
|
|
28
|
-
//
|
|
29
|
-
export function application<
|
|
28
|
+
// collection of function calling schemas
|
|
29
|
+
export function application<Class, Model>(): ILlmApplication<Class>;
|
|
30
|
+
export function controller<Class, Model>(
|
|
31
|
+
name: string,
|
|
32
|
+
execute: Class,
|
|
33
|
+
): ILlmController<Model>; // +executor
|
|
30
34
|
// structured output
|
|
31
35
|
export function parameters<P, Model>(): ILlmSchema.IParameters<Model>;
|
|
32
36
|
export function schema<T, Model>(): ILlmSchema<Model>; // type schema
|
|
@@ -35,14 +35,17 @@ var PluginConfigurator;
|
|
|
35
35
|
})();
|
|
36
36
|
const strict = compilerOptions.strict;
|
|
37
37
|
const strictNullChecks = compilerOptions.strictNullChecks;
|
|
38
|
+
const skipLibCheck = compilerOptions.skipLibCheck;
|
|
38
39
|
const oldbie = plugins.find((p) => typeof p === "object" &&
|
|
39
40
|
p !== null &&
|
|
40
41
|
p.transform === "typia/lib/transform");
|
|
41
42
|
if (strictNullChecks !== false &&
|
|
42
43
|
(strict === true || strictNullChecks === true) &&
|
|
43
|
-
oldbie !== undefined
|
|
44
|
+
oldbie !== undefined &&
|
|
45
|
+
skipLibCheck === true)
|
|
44
46
|
return;
|
|
45
47
|
// DO CONFIGURE
|
|
48
|
+
compilerOptions.skipLibCheck = true;
|
|
46
49
|
compilerOptions.strictNullChecks = true;
|
|
47
50
|
if (strict === undefined && strictNullChecks === undefined)
|
|
48
51
|
compilerOptions.strict = true;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PluginConfigurator.js","sourceRoot":"","sources":["../../../src/executable/setup/PluginConfigurator.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,gEAAoC;AACpC,4CAAoB;AAIpB,IAAiB,kBAAkB,
|
|
1
|
+
{"version":3,"file":"PluginConfigurator.js","sourceRoot":"","sources":["../../../src/executable/setup/PluginConfigurator.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,gEAAoC;AACpC,4CAAoB;AAIpB,IAAiB,kBAAkB,CAoElC;AApED,WAAiB,kBAAkB;IACjC,SAAsB,SAAS,CAC7B,IAAiC;;YAEjC,uBAAuB;YACvB,MAAM,MAAM,GAA2B,sBAAQ,CAAC,KAAK,CACnD,MAAM,YAAE,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAQ,EAAE,MAAM,CAAC,CACxB,CAAC;YAC5B,MAAM,eAAe,GAAG,MAAM,CAAC,eAElB,CAAC;YACd,IAAI,eAAe,KAAK,SAAS;gBAC/B,MAAM,IAAI,cAAc,CACtB,GAAG,IAAI,CAAC,OAAO,iDAAiD,CACjE,CAAC;YAEJ,kBAAkB;YAClB,MAAM,OAAO,GAAkD,CAAC,GAAG,EAAE;gBACnE,MAAM,OAAO,GAAG,eAAe,CAAC,OAEnB,CAAC;gBACd,IAAI,OAAO,KAAK,SAAS;oBAAE,OAAO,CAAC,eAAe,CAAC,OAAO,GAAG,EAAS,CAAC,CAAC;qBACnE,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC;oBAC9B,MAAM,IAAI,SAAS,CACjB,yBAAyB,IAAI,CAAC,OAAO,sBAAsB,CAC5D,CAAC;gBACJ,OAAO,OAAO,CAAC;YACjB,CAAC,CAAC,EAAE,CAAC;YAEL,MAAM,MAAM,GAAwB,eAAe,CAAC,MAEvC,CAAC;YACd,MAAM,gBAAgB,GACpB,eAAe,CAAC,gBAAuC,CAAC;YAC1D,MAAM,YAAY,GAAwB,eAAe,CAAC,YAE7C,CAAC;YACd,MAAM,MAAM,GAAuC,OAAO,CAAC,IAAI,CAC7D,CAAC,CAAC,EAAE,EAAE,CACJ,OAAO,CAAC,KAAK,QAAQ;gBACrB,CAAC,KAAK,IAAI;gBACV,CAAC,CAAC,SAAS,KAAK,qBAAqB,CACxC,CAAC;YACF,IACE,gBAAgB,KAAK,KAAK;gBAC1B,CAAC,MAAM,KAAK,IAAI,IAAI,gBAAgB,KAAK,IAAI,CAAC;gBAC9C,MAAM,KAAK,SAAS;gBACpB,YAAY,KAAK,IAAI;gBAErB,OAAO;YAET,eAAe;YACf,eAAe,CAAC,YAAY,GAAG,IAAI,CAAC;YACpC,eAAe,CAAC,gBAAgB,GAAG,IAAI,CAAC;YACxC,IAAI,MAAM,KAAK,SAAS,IAAI,gBAAgB,KAAK,SAAS;gBACxD,eAAe,CAAC,MAAM,GAAG,IAAI,CAAC;YAChC,IAAI,MAAM,KAAK,SAAS;gBACtB,OAAO,CAAC,IAAI,CACV,sBAAQ,CAAC,KAAK,CAAC;;;0BAGG,CAA2B,CAC9C,CAAC;YACJ,MAAM,YAAE,CAAC,QAAQ,CAAC,SAAS,CACzB,IAAI,CAAC,OAAQ,EACb,sBAAQ,CAAC,SAAS,CAAC,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,CACpC,CAAC;QACJ,CAAC;KAAA;IAlEqB,4BAAS,YAkE9B,CAAA;AACH,CAAC,EApEgB,kBAAkB,kCAAlB,kBAAkB,QAoElC"}
|
|
@@ -20,14 +20,17 @@ var PluginConfigurator;
|
|
|
20
20
|
})();
|
|
21
21
|
const strict = compilerOptions.strict;
|
|
22
22
|
const strictNullChecks = compilerOptions.strictNullChecks;
|
|
23
|
+
const skipLibCheck = compilerOptions.skipLibCheck;
|
|
23
24
|
const oldbie = plugins.find((p) => typeof p === "object" &&
|
|
24
25
|
p !== null &&
|
|
25
26
|
p.transform === "typia/lib/transform");
|
|
26
27
|
if (strictNullChecks !== false &&
|
|
27
28
|
(strict === true || strictNullChecks === true) &&
|
|
28
|
-
oldbie !== undefined
|
|
29
|
+
oldbie !== undefined &&
|
|
30
|
+
skipLibCheck === true)
|
|
29
31
|
return;
|
|
30
32
|
// DO CONFIGURE
|
|
33
|
+
compilerOptions.skipLibCheck = true;
|
|
31
34
|
compilerOptions.strictNullChecks = true;
|
|
32
35
|
if (strict === undefined && strictNullChecks === undefined)
|
|
33
36
|
compilerOptions.strict = true;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "typia",
|
|
3
|
-
"version": "9.3.
|
|
3
|
+
"version": "9.3.1",
|
|
4
4
|
"description": "Superfast runtime validators with only one line",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"typings": "lib/index.d.ts",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
},
|
|
42
42
|
"homepage": "https://typia.io",
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@samchon/openapi": "^4.3.
|
|
44
|
+
"@samchon/openapi": "^4.3.1",
|
|
45
45
|
"@standard-schema/spec": "^1.0.0",
|
|
46
46
|
"commander": "^10.0.0",
|
|
47
47
|
"comment-json": "^4.2.3",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"randexp": "^0.5.3"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
|
-
"@samchon/openapi": ">=4.3.
|
|
53
|
+
"@samchon/openapi": ">=4.3.1 <5.0.0",
|
|
54
54
|
"typescript": ">=4.8.0 <5.9.0"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
@@ -37,6 +37,9 @@ export namespace PluginConfigurator {
|
|
|
37
37
|
| undefined;
|
|
38
38
|
const strictNullChecks: boolean | undefined =
|
|
39
39
|
compilerOptions.strictNullChecks as boolean | undefined;
|
|
40
|
+
const skipLibCheck: boolean | undefined = compilerOptions.skipLibCheck as
|
|
41
|
+
| boolean
|
|
42
|
+
| undefined;
|
|
40
43
|
const oldbie: comments.CommentObject | undefined = plugins.find(
|
|
41
44
|
(p) =>
|
|
42
45
|
typeof p === "object" &&
|
|
@@ -46,11 +49,13 @@ export namespace PluginConfigurator {
|
|
|
46
49
|
if (
|
|
47
50
|
strictNullChecks !== false &&
|
|
48
51
|
(strict === true || strictNullChecks === true) &&
|
|
49
|
-
oldbie !== undefined
|
|
52
|
+
oldbie !== undefined &&
|
|
53
|
+
skipLibCheck === true
|
|
50
54
|
)
|
|
51
55
|
return;
|
|
52
56
|
|
|
53
57
|
// DO CONFIGURE
|
|
58
|
+
compilerOptions.skipLibCheck = true;
|
|
54
59
|
compilerOptions.strictNullChecks = true;
|
|
55
60
|
if (strict === undefined && strictNullChecks === undefined)
|
|
56
61
|
compilerOptions.strict = true;
|