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

@gtsc/api-models

Package Overview
Dependencies
Maintainers
2
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gtsc/api-models - npm Package Compare versions

Comparing version 0.0.3-next.11 to 0.0.3-next.12

4

dist/types/models/routes/IRestRoute.d.ts

@@ -50,3 +50,3 @@ import type { HttpMethods } from "@gtsc/web";

description?: string;
body: T;
request: T;
}[];

@@ -68,3 +68,3 @@ };

description?: string;
body: U;
response: U;
}[];

@@ -71,0 +71,0 @@ }[];

@@ -94,3 +94,3 @@ # Interface: IRestRoute\<T, U\>

| :------ | :------ | :------ |
| `examples?` | \{ `body`: `T` ; `description?`: `string` ; `id`: `string` }[] | Example objects for the request. |
| `examples?` | \{ `description?`: `string` ; `id`: `string` ; `request`: `T` }[] | Example objects for the request. |
| `type` | `string` | The object type for the request. |

@@ -110,3 +110,3 @@

• `Optional` **responseType**: \{ `examples?`: \{ `body`: `U` ; `description?`: `string` ; `id`: `string` }[] ; `type`: `string` }[]
• `Optional` **responseType**: \{ `examples?`: \{ `description?`: `string` ; `id`: `string` ; `response`: `U` }[] ; `type`: `string` }[]

@@ -113,0 +113,0 @@ The type of the response object.

{
"name": "@gtsc/api-models",
"version": "0.0.3-next.11",
"version": "0.0.3-next.12",
"description": "Contains models and classes for use with APIs",

@@ -5,0 +5,0 @@ "repository": {

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