@typia/interface 12.0.0-dev.20260309 → 12.0.0-dev.20260311
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/http/IHttpLlmController.d.ts +5 -5
- package/lib/schema/IJsonParseResult.d.ts +1 -3
- package/lib/schema/ILlmApplication.d.ts +1 -2
- package/lib/schema/ILlmController.d.ts +2 -5
- package/lib/schema/ILlmSchema.d.ts +1 -11
- package/package.json +1 -1
- package/src/http/IHttpConnection.ts +200 -200
- package/src/http/IHttpLlmApplication.ts +72 -72
- package/src/http/IHttpLlmController.ts +96 -96
- package/src/http/IHttpLlmFunction.ts +34 -34
- package/src/http/IHttpMigrateApplication.ts +48 -48
- package/src/http/IHttpMigrateRoute.ts +165 -165
- package/src/http/IHttpResponse.ts +42 -42
- package/src/http/index.ts +7 -7
- package/src/index.ts +9 -9
- package/src/metadata/IJsDocTagInfo.ts +25 -25
- package/src/metadata/IMetadataComponents.ts +24 -24
- package/src/metadata/IMetadataSchema.ts +293 -293
- package/src/metadata/IMetadataSchemaCollection.ts +20 -20
- package/src/metadata/IMetadataSchemaUnit.ts +20 -20
- package/src/metadata/IMetadataTypeTag.ts +39 -39
- package/src/metadata/index.ts +6 -6
- package/src/openapi/OpenApi.ts +643 -643
- package/src/openapi/OpenApiV3.ts +655 -655
- package/src/openapi/OpenApiV3_1.ts +735 -735
- package/src/openapi/SwaggerV2.ts +559 -559
- package/src/openapi/index.ts +4 -4
- package/src/protobuf/ProtobufWire.ts +51 -51
- package/src/protobuf/index.ts +1 -1
- package/src/schema/IJsonParseResult.ts +134 -136
- package/src/schema/IJsonSchemaApplication.ts +274 -274
- package/src/schema/IJsonSchemaAttribute.ts +158 -158
- package/src/schema/IJsonSchemaCollection.ts +123 -123
- package/src/schema/IJsonSchemaTransformError.ts +86 -86
- package/src/schema/IJsonSchemaUnit.ts +120 -120
- package/src/schema/ILlmApplication.ts +98 -99
- package/src/schema/ILlmController.ts +54 -57
- package/src/schema/ILlmFunction.ts +145 -145
- package/src/schema/ILlmSchema.ts +473 -484
- package/src/schema/IResult.ts +84 -84
- package/src/schema/IValidation.ts +134 -134
- package/src/schema/index.ts +14 -14
- package/src/tags/Constant.ts +49 -49
- package/src/tags/ContentMediaType.ts +40 -40
- package/src/tags/Default.ts +50 -50
- package/src/tags/Example.ts +48 -48
- package/src/tags/Examples.ts +50 -50
- package/src/tags/ExclusiveMaximum.ts +46 -46
- package/src/tags/ExclusiveMinimum.ts +46 -46
- package/src/tags/Format.ts +76 -76
- package/src/tags/JsonSchemaPlugin.ts +45 -45
- package/src/tags/MaxItems.ts +39 -39
- package/src/tags/MaxLength.ts +37 -37
- package/src/tags/Maximum.ts +44 -44
- package/src/tags/MinItems.ts +39 -39
- package/src/tags/MinLength.ts +37 -37
- package/src/tags/Minimum.ts +44 -44
- package/src/tags/MultipleOf.ts +54 -54
- package/src/tags/Pattern.ts +59 -59
- package/src/tags/Sequence.ts +43 -43
- package/src/tags/TagBase.ts +131 -131
- package/src/tags/Type.ts +70 -70
- package/src/tags/UniqueItems.ts +44 -44
- package/src/tags/index.ts +21 -21
- package/src/typings/AssertionGuard.ts +12 -12
- package/src/typings/Atomic.ts +21 -21
- package/src/typings/CamelCase.ts +75 -75
- package/src/typings/ClassProperties.ts +15 -15
- package/src/typings/DeepPartial.ts +39 -39
- package/src/typings/OmitNever.ts +12 -12
- package/src/typings/PascalCase.ts +71 -71
- package/src/typings/Primitive.ts +71 -71
- package/src/typings/ProtobufAtomic.ts +30 -30
- package/src/typings/Resolved.ts +58 -58
- package/src/typings/SnakeCase.ts +126 -126
- package/src/typings/SpecialFields.ts +13 -13
- package/src/typings/ValidationPipe.ts +20 -20
- package/src/typings/index.ts +14 -14
- package/src/typings/internal/Equal.ts +14 -14
- package/src/typings/internal/IsTuple.ts +17 -17
- package/src/typings/internal/NativeClass.ts +31 -31
- package/src/typings/internal/ValueOf.ts +29 -29
- package/src/utils/IRandomGenerator.ts +105 -105
- package/src/utils/IReadableURLSearchParams.ts +25 -25
- package/src/utils/index.ts +2 -2
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
import type ts from "typescript";
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Type constraint tag metadata.
|
|
5
|
-
*
|
|
6
|
-
* Represents constraint tags like `@minimum`, `@format`, `@pattern` that are
|
|
7
|
-
* applied to types via typia's tag system. Used for validation and JSON schema
|
|
8
|
-
* generation.
|
|
9
|
-
*
|
|
10
|
-
* @author Jeongho Nam - https://github.com/samchon
|
|
11
|
-
*/
|
|
12
|
-
export interface IMetadataTypeTag {
|
|
13
|
-
/** Target type this tag applies to. */
|
|
14
|
-
target: "boolean" | "bigint" | "number" | "string" | "array" | "object";
|
|
15
|
-
|
|
16
|
-
/** Full tag name (e.g., `"@typia/tag/Minimum"`). */
|
|
17
|
-
name: string;
|
|
18
|
-
|
|
19
|
-
/** Tag kind identifier (e.g., `"minimum"`, `"format"`). */
|
|
20
|
-
kind: string;
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* Exclusivity: `true` for unique tags, or array of mutually exclusive tag
|
|
24
|
-
* kinds.
|
|
25
|
-
*/
|
|
26
|
-
exclusive: boolean | string[];
|
|
27
|
-
|
|
28
|
-
/** Tag value (e.g., `0` for `Minimum<0>`, `"email"` for `Format<"email">`). */
|
|
29
|
-
value?: any;
|
|
30
|
-
|
|
31
|
-
/** Validation expression template. */
|
|
32
|
-
validate?: string | undefined;
|
|
33
|
-
|
|
34
|
-
/** JSON schema fragment to merge. */
|
|
35
|
-
schema?: object | undefined;
|
|
36
|
-
|
|
37
|
-
/** @internal */
|
|
38
|
-
predicate?: (input: ts.Expression) => ts.Expression;
|
|
39
|
-
}
|
|
1
|
+
import type ts from "typescript";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Type constraint tag metadata.
|
|
5
|
+
*
|
|
6
|
+
* Represents constraint tags like `@minimum`, `@format`, `@pattern` that are
|
|
7
|
+
* applied to types via typia's tag system. Used for validation and JSON schema
|
|
8
|
+
* generation.
|
|
9
|
+
*
|
|
10
|
+
* @author Jeongho Nam - https://github.com/samchon
|
|
11
|
+
*/
|
|
12
|
+
export interface IMetadataTypeTag {
|
|
13
|
+
/** Target type this tag applies to. */
|
|
14
|
+
target: "boolean" | "bigint" | "number" | "string" | "array" | "object";
|
|
15
|
+
|
|
16
|
+
/** Full tag name (e.g., `"@typia/tag/Minimum"`). */
|
|
17
|
+
name: string;
|
|
18
|
+
|
|
19
|
+
/** Tag kind identifier (e.g., `"minimum"`, `"format"`). */
|
|
20
|
+
kind: string;
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Exclusivity: `true` for unique tags, or array of mutually exclusive tag
|
|
24
|
+
* kinds.
|
|
25
|
+
*/
|
|
26
|
+
exclusive: boolean | string[];
|
|
27
|
+
|
|
28
|
+
/** Tag value (e.g., `0` for `Minimum<0>`, `"email"` for `Format<"email">`). */
|
|
29
|
+
value?: any;
|
|
30
|
+
|
|
31
|
+
/** Validation expression template. */
|
|
32
|
+
validate?: string | undefined;
|
|
33
|
+
|
|
34
|
+
/** JSON schema fragment to merge. */
|
|
35
|
+
schema?: object | undefined;
|
|
36
|
+
|
|
37
|
+
/** @internal */
|
|
38
|
+
predicate?: (input: ts.Expression) => ts.Expression;
|
|
39
|
+
}
|
package/src/metadata/index.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from "./IJsDocTagInfo";
|
|
2
|
-
export * from "./IMetadataComponents";
|
|
3
|
-
export * from "./IMetadataSchema";
|
|
4
|
-
export * from "./IMetadataSchemaCollection";
|
|
5
|
-
export * from "./IMetadataSchemaUnit";
|
|
6
|
-
export * from "./IMetadataTypeTag";
|
|
1
|
+
export * from "./IJsDocTagInfo";
|
|
2
|
+
export * from "./IMetadataComponents";
|
|
3
|
+
export * from "./IMetadataSchema";
|
|
4
|
+
export * from "./IMetadataSchemaCollection";
|
|
5
|
+
export * from "./IMetadataSchemaUnit";
|
|
6
|
+
export * from "./IMetadataTypeTag";
|