@gtsc/api-models
Advanced tools
Comparing version 0.0.3-next.21 to 0.0.3-next.22
@@ -10,3 +10,3 @@ import type { HttpMethods } from "@gtsc/web"; | ||
*/ | ||
export interface IRestRoute<T extends IHttpRequest = IHttpRequest, U extends IHttpResponse & IRestRouteResponseOptions = IHttpResponse & IRestRouteResponseOptions> extends IBaseRoute { | ||
export interface IRestRoute<T extends IHttpRequest = any, U extends IHttpResponse & IRestRouteResponseOptions = any> extends IBaseRoute { | ||
/** | ||
@@ -13,0 +13,0 @@ * Summary of what task the operation performs. |
@@ -15,5 +15,5 @@ [**@gtsc/api-models**](../overview.md) • **Docs** | ||
• **T** *extends* [`IHttpRequest`](IHttpRequest.md) = [`IHttpRequest`](IHttpRequest.md) | ||
• **T** *extends* [`IHttpRequest`](IHttpRequest.md) = `any` | ||
• **U** *extends* [`IHttpResponse`](IHttpResponse.md) & [`IRestRouteResponseOptions`](IRestRouteResponseOptions.md) = [`IHttpResponse`](IHttpResponse.md) & [`IRestRouteResponseOptions`](IRestRouteResponseOptions.md) | ||
• **U** *extends* [`IHttpResponse`](IHttpResponse.md) & [`IRestRouteResponseOptions`](IRestRouteResponseOptions.md) = `any` | ||
@@ -20,0 +20,0 @@ ## Properties |
@@ -23,3 +23,3 @@ [**@gtsc/api-models**](../overview.md) • **Docs** | ||
• **restRoutes**: [`IRestRoute`](IRestRoute.md)\<[`IHttpRequest`](IHttpRequest.md)\<`any`\>, [`IHttpResponse`](IHttpResponse.md)\<`any`\> & [`IRestRouteResponseOptions`](IRestRouteResponseOptions.md)\>[] | ||
• **restRoutes**: [`IRestRoute`](IRestRoute.md)\<`any`, `any`\>[] | ||
@@ -26,0 +26,0 @@ The REST routes. |
{ | ||
"name": "@gtsc/api-models", | ||
"version": "0.0.3-next.21", | ||
"version": "0.0.3-next.22", | ||
"description": "Contains models and classes for use with APIs", | ||
@@ -5,0 +5,0 @@ "repository": { |
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
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
44346