Socket
Socket
Sign inDemoInstall

typia

Package Overview
Dependencies
Maintainers
1
Versions
544
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typia - npm Package Compare versions

Comparing version 6.9.0 to 6.10.0-dev.20240823

2

lib/json.d.ts

@@ -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 {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc