Comparing version 6.9.0 to 6.10.0-dev.20240823
@@ -43,3 +43,3 @@ import { IJsonApplication } from "./schemas/json/IJsonApplication"; | ||
*/ | ||
export declare function application<Types extends unknown[], Version extends "3.0" | "3.1" = "3.1">(): IJsonApplication<Version>; | ||
export declare function application<Types extends unknown[], Version extends "3.0" | "3.1" = "3.1">(): IJsonApplication<Version, Types>; | ||
/** | ||
@@ -46,0 +46,0 @@ * > You must configure the generic argument `T`. |
import type { OpenApi, OpenApiV3 } from "@samchon/openapi"; | ||
export type IJsonApplication<Version extends "3.0" | "3.1" = "3.1"> = Version extends "3.0" ? IJsonApplication.IV3_0 : IJsonApplication.IV3_1; | ||
export type IJsonApplication<Version extends "3.0" | "3.1" = "3.1", Types = unknown[]> = Version extends "3.0" ? IJsonApplication.IV3_0<Types> : IJsonApplication.IV3_1<Types>; | ||
export declare namespace IJsonApplication { | ||
interface IV3_0 { | ||
interface IV3_0<Types = unknown[]> { | ||
version: "3.0"; | ||
schemas: OpenApiV3.IJsonSchema[]; | ||
components: OpenApiV3.IComponents; | ||
__types?: Types | undefined; | ||
} | ||
interface IV3_1 { | ||
interface IV3_1<Types = unknown[]> { | ||
version: "3.1"; | ||
components: OpenApi.IComponents; | ||
schemas: OpenApi.IJsonSchema[]; | ||
__types?: Types | undefined; | ||
} | ||
} |
{ | ||
"name": "typia", | ||
"version": "6.9.0", | ||
"version": "6.10.0-dev.20240823", | ||
"description": "Superfast runtime validators with only one line", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -0,0 +0,0 @@ import ts from "typescript"; |
@@ -60,3 +60,3 @@ import * as Namespace from "./functional/Namespace"; | ||
Version extends "3.0" | "3.1" = "3.1", | ||
>(): IJsonApplication<Version>; | ||
>(): IJsonApplication<Version, Types>; | ||
@@ -63,0 +63,0 @@ /** |
import type { OpenApi, OpenApiV3 } from "@samchon/openapi"; | ||
export type IJsonApplication<Version extends "3.0" | "3.1" = "3.1"> = | ||
Version extends "3.0" ? IJsonApplication.IV3_0 : IJsonApplication.IV3_1; | ||
export type IJsonApplication< | ||
Version extends "3.0" | "3.1" = "3.1", | ||
Types = unknown[], | ||
> = Version extends "3.0" | ||
? IJsonApplication.IV3_0<Types> | ||
: IJsonApplication.IV3_1<Types>; | ||
export namespace IJsonApplication { | ||
export interface IV3_0 { | ||
export interface IV3_0<Types = unknown[]> { | ||
version: "3.0"; | ||
schemas: OpenApiV3.IJsonSchema[]; | ||
components: OpenApiV3.IComponents; | ||
__types?: Types | undefined; | ||
} | ||
export interface IV3_1 { | ||
export interface IV3_1<Types = unknown[]> { | ||
version: "3.1"; | ||
components: OpenApi.IComponents; | ||
schemas: OpenApi.IJsonSchema[]; | ||
__types?: Types | undefined; | ||
} | ||
} |
@@ -0,0 +0,0 @@ export namespace Escaper { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4055183
72891
1