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

@gtsc/api-models

Package Overview
Dependencies
Maintainers
0
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.27 to 0.0.3-next.28

dist/types/models/api/IServerHealthResponse.d.ts

5

dist/types/index.d.ts

@@ -0,1 +1,4 @@

export * from "./models/api/IServerHealthResponse";
export * from "./models/api/IServerInfoResponse";
export * from "./models/api/IServerSpecResponse";
export * from "./models/config/IBaseRestClientConfig";

@@ -25,3 +28,3 @@ export * from "./models/config/IBaseSocketClientConfig";

export * from "./models/routes/ITag";
export * from "./models/server/httpRestRouteProcessor";
export * from "./models/server/IHttpRestRouteProcessor";
export * from "./models/server/IWebServer";

@@ -28,0 +31,0 @@ export * from "./models/server/IWebServerOptions";

4

dist/types/models/server/IWebServer.d.ts

@@ -1,2 +0,2 @@

import type { HttpRestRouteProcessor } from "./httpRestRouteProcessor";
import type { IHttpRestRouteProcessor } from "./IHttpRestRouteProcessor";
import type { IWebServerOptions } from "./IWebServerOptions";

@@ -15,3 +15,3 @@ import type { IRestRoute } from "../routes/IRestRoute";

*/
build(restRouteProcessors: HttpRestRouteProcessor[], restRoutes: IRestRoute[], options?: IWebServerOptions): Promise<void>;
build(restRouteProcessors: IHttpRestRouteProcessor[], restRoutes: IRestRoute[], options?: IWebServerOptions): Promise<void>;
/**

@@ -18,0 +18,0 @@ * Start the server.

@@ -5,2 +5,5 @@ # @gtsc/api-models

- [IServerHealthResponse](interfaces/IServerHealthResponse.md)
- [IServerInfoResponse](interfaces/IServerInfoResponse.md)
- [IServerSpecResponse](interfaces/IServerSpecResponse.md)
- [IBaseRestClientConfig](interfaces/IBaseRestClientConfig.md)

@@ -30,2 +33,3 @@ - [IBaseSocketClientConfig](interfaces/IBaseSocketClientConfig.md)

- [ITag](interfaces/ITag.md)
- [IHttpRestRouteProcessor](interfaces/IHttpRestRouteProcessor.md)
- [IWebServer](interfaces/IWebServer.md)

@@ -39,3 +43,2 @@ - [IWebServerOptions](interfaces/IWebServerOptions.md)

- [HttpRestRouteProcessor](type-aliases/HttpRestRouteProcessor.md)
- [HealthStatus](type-aliases/HealthStatus.md)

@@ -19,3 +19,3 @@ [**@gtsc/api-models**](../overview.md) • **Docs**

• **restRouteProcessors**: [`HttpRestRouteProcessor`](../type-aliases/HttpRestRouteProcessor.md)[]
• **restRouteProcessors**: [`IHttpRestRouteProcessor`](IHttpRestRouteProcessor.md)[]

@@ -22,0 +22,0 @@ The hooks to process the incoming requests.

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

@@ -18,3 +18,2 @@ "repository": {

"@gtsc/core": "next",
"@gtsc/logging-models": "next",
"@gtsc/nameof": "next",

@@ -21,0 +20,0 @@ "@gtsc/services": "next",

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