@typepoint/server
Advanced tools
+3
-2
@@ -1,2 +0,2 @@ | ||
| import { EndpointDefinition, GetEndpointDefinitionRequestParams, GetEndpointDefinitionRequestBody, GetEndpointDefinitionResponseBody, NormalizeTypePointType, PathHelperParseMatch } from '@typepoint/shared'; | ||
| import { EndpointDefinition, GetEndpointDefinitionRequestParams, GetEndpointDefinitionRequestBody, GetEndpointDefinitionResponseBody, NormalizeTypePointType, PathHelperParseMatch, AllowableRequestParams, AllowableRequestBody, AllowableResponseBody } from '@typepoint/shared'; | ||
| export interface RequestCookies { | ||
@@ -91,4 +91,5 @@ [name: string]: string | undefined; | ||
| } | ||
| export interface EndpointContext<TRequestParams, TRequestBody, TResponseBody, TEndpointContextMetadata = EndpointContextMetadata> { | ||
| export interface EndpointContext<TRequestParams extends AllowableRequestParams, TRequestBody extends AllowableRequestBody, TResponseBody extends AllowableResponseBody, TEndpointContextMetadata = EndpointContextMetadata> { | ||
| meta: TEndpointContextMetadata & EndpointContextMetadata; | ||
| endpoint: EndpointDefinition<TRequestParams, TRequestBody, TResponseBody> | undefined; | ||
| request: Request<TRequestParams, TRequestBody>; | ||
@@ -95,0 +96,0 @@ response: Response<TResponseBody>; |
+1
-1
@@ -6,2 +6,2 @@ "use strict"; | ||
| exports.hasDefinition = hasDefinition; | ||
| //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHlwZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvdHlwZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBNEpPLElBQU0sYUFBYSxHQUFHLFVBQzNCLE9BQTZDLElBQ2QsT0FBQSxZQUFZLElBQUksT0FBTyxFQUF2QixDQUF1QixDQUFDO0FBRjVDLFFBQUEsYUFBYSxpQkFFK0IifQ== | ||
| //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHlwZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvdHlwZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBZ0tPLElBQU0sYUFBYSxHQUFHLFVBQzNCLE9BQTZDLElBQ2QsT0FBQSxZQUFZLElBQUksT0FBTyxFQUF2QixDQUF1QixDQUFDO0FBRjVDLFFBQUEsYUFBYSxpQkFFK0IifQ== |
+5
-5
| { | ||
| "name": "@typepoint/server", | ||
| "version": "4.6.0", | ||
| "version": "4.7.0", | ||
| "main": "dist/index.js", | ||
@@ -37,10 +37,10 @@ "types": "dist/index.d.ts", | ||
| "devDependencies": { | ||
| "@typepoint/fixtures": "4.6.0", | ||
| "@typepoint/shared": "4.6.0", | ||
| "@typepoint/fixtures": "4.7.0", | ||
| "@typepoint/shared": "4.7.0", | ||
| "@types/clone": "0.1.30" | ||
| }, | ||
| "peerDependencies": { | ||
| "@typepoint/shared": "4.6.0" | ||
| "@typepoint/shared": "4.7.0" | ||
| }, | ||
| "gitHead": "d3987d2684951b34a3734f881b681aa1bbbeb9ab" | ||
| "gitHead": "87e197f3fa2f678d65af5afbfddd61103f7440b1" | ||
| } |
+7
-3
@@ -8,2 +8,5 @@ import { | ||
| PathHelperParseMatch, | ||
| AllowableRequestParams, | ||
| AllowableRequestBody, | ||
| AllowableResponseBody, | ||
| } from '@typepoint/shared'; | ||
@@ -117,8 +120,9 @@ | ||
| export interface EndpointContext< | ||
| TRequestParams, | ||
| TRequestBody, | ||
| TResponseBody, | ||
| TRequestParams extends AllowableRequestParams, | ||
| TRequestBody extends AllowableRequestBody, | ||
| TResponseBody extends AllowableResponseBody, | ||
| TEndpointContextMetadata = EndpointContextMetadata | ||
| > { | ||
| meta: TEndpointContextMetadata & EndpointContextMetadata; | ||
| endpoint: EndpointDefinition<TRequestParams, TRequestBody, TResponseBody> | undefined; | ||
| request: Request<TRequestParams, TRequestBody>; | ||
@@ -125,0 +129,0 @@ response: Response<TResponseBody>; |
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
96482
0.53%2081
0.29%