Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@samchon/openapi

Package Overview
Dependencies
Maintainers
1
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@samchon/openapi - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

8

lib/structures/IHttpLlmApplication.d.ts

@@ -89,5 +89,5 @@ import { OpenApi } from "../OpenApi";

/**
* Options for the document.
* Options for the application.
*
* Adjusted options when composing the document through
* Adjusted options when composing the application through
* {@link HttpLlm.application} function.

@@ -126,3 +126,3 @@ */

* If the property returns `undefined`, it means that the error has
* been occured in the migration level, not of LLM document composition.
* been occured in the migration level, not of LLM application composition.
*

@@ -134,3 +134,3 @@ * @returns Migration route metadata.

/**
* Options for composing the LLM document.
* Options for composing the LLM application.
*/

@@ -137,0 +137,0 @@ interface IOptions<Schema extends ILlmSchema = ILlmSchema> {

@@ -41,3 +41,3 @@ import { ILlmFunction } from "./ILlmFunction";

/**
* Options for the document.
* Options for the application.
*/

@@ -47,2 +47,5 @@ options: ILlmApplication.IOptions<Schema>;

export declare namespace ILlmApplication {
/**
* Options for composing the LLM application.
*/
interface IOptions<Schema extends ILlmSchema = ILlmSchema> {

@@ -49,0 +52,0 @@ /**

@@ -54,2 +54,9 @@ import { ILlmSchema } from "../structures/ILlmSchema";

/**
* Test whether the schema is an integer type.
*
* @param schema Target schema
* @returns Whether integer type or not
*/
const isInteger: (schema: ILlmSchema) => schema is ILlmSchema.IInteger;
/**
* Test whether the schema is a number type.

@@ -56,0 +63,0 @@ *

@@ -118,2 +118,11 @@ "use strict";

/**
* Test whether the schema is an integer type.
*
* @param schema Target schema
* @returns Whether integer type or not
*/
LlmTypeChecker.isInteger = function (schema) {
return schema.type === "integer";
};
/**
* Test whether the schema is a number type.

@@ -120,0 +129,0 @@ *

{
"name": "@samchon/openapi",
"version": "1.0.2",
"version": "1.0.3",
"description": "OpenAPI definitions and converters for 'typia' and 'nestia'.",

@@ -5,0 +5,0 @@ "main": "./lib/index.js",

@@ -97,5 +97,5 @@ import { OpenApi } from "../OpenApi";

/**
* Options for the document.
* Options for the application.
*
* Adjusted options when composing the document through
* Adjusted options when composing the application through
* {@link HttpLlm.application} function.

@@ -141,3 +141,3 @@ */

* If the property returns `undefined`, it means that the error has
* been occured in the migration level, not of LLM document composition.
* been occured in the migration level, not of LLM application composition.
*

@@ -150,3 +150,3 @@ * @returns Migration route metadata.

/**
* Options for composing the LLM document.
* Options for composing the LLM application.
*/

@@ -153,0 +153,0 @@ export interface IOptions<Schema extends ILlmSchema = ILlmSchema> {

@@ -43,3 +43,3 @@ import { ILlmFunction } from "./ILlmFunction";

/**
* Options for the document.
* Options for the application.
*/

@@ -49,2 +49,5 @@ options: ILlmApplication.IOptions<Schema>;

export namespace ILlmApplication {
/**
* Options for composing the LLM application.
*/
export interface IOptions<Schema extends ILlmSchema = ILlmSchema> {

@@ -51,0 +54,0 @@ /**

@@ -81,2 +81,13 @@ import { ILlmSchema } from "../structures/ILlmSchema";

/**
* Test whether the schema is an integer type.
*
* @param schema Target schema
* @returns Whether integer type or not
*/
export const isInteger = (
schema: ILlmSchema,
): schema is ILlmSchema.IInteger =>
(schema as ILlmSchema.IInteger).type === "integer";
/**
* Test whether the schema is a number type.

@@ -83,0 +94,0 @@ *

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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