@ez4/gateway 0.16.0 → 0.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/library.cjs +1 -0
- package/dist/library.mjs +1 -0
- package/dist/main.cjs +1 -0
- package/dist/main.mjs +1 -0
- package/dist/metadata/body.d.ts +1 -1
- package/package.json +6 -6
package/dist/library.cjs
CHANGED
|
@@ -158,3 +158,4 @@ InvalidResponseTypeError,ServiceType,getHttpAuthRequest,getHttpAuthResponse,getH
|
|
|
158
158
|
getHttpCors,getHttpHandler,getHttpHandlerRequest,getHttpHandlerResponse,getHttpHeaders,
|
|
159
159
|
getHttpIdentity,getHttpParameters,getHttpQuery,getHttpRequestBody,getHttpResponseBody,
|
|
160
160
|
getHttpRoute,getHttpServices,isHttpService,registerTriggers});
|
|
161
|
+
//# sourceMappingURL=library.cjs.map
|
package/dist/library.mjs
CHANGED
|
@@ -155,3 +155,4 @@ ae as getHttpAuthResponse,ve as getHttpAuthorizer,ze as getHttpCors,Re as getHtt
|
|
|
155
155
|
Ae as getHttpHandlerRequest,fe as getHttpHandlerResponse,A as getHttpHeaders,m as getHttpIdentity,
|
|
156
156
|
ge as getHttpParameters,be as getHttpQuery,oe as getHttpRequestBody,ne as getHttpResponseBody,
|
|
157
157
|
Oe as getHttpRoute,ke as getHttpServices,yo as isHttpService,As as registerTriggers};
|
|
158
|
+
//# sourceMappingURL=library.mjs.map
|
package/dist/main.cjs
CHANGED
|
@@ -12,3 +12,4 @@ a type",t)}},m=class extends r{constructor(e,t){super(422,e||"Unprocessable enti
|
|
|
12
12
|
ty",t)}},d=class extends r{constructor(e,t){super(500,e||"Internal server error",
|
|
13
13
|
t)}};0&&(module.exports={Http,HttpBadRequestError,HttpError,HttpForbiddenError,HttpInternalServerError,
|
|
14
14
|
HttpNotFoundError,HttpUnauthorizedError,HttpUnprocessableEntityError,HttpUnsupportedMediaTypeError});
|
|
15
|
+
//# sourceMappingURL=main.cjs.map
|
package/dist/main.mjs
CHANGED
|
@@ -8,3 +8,4 @@ ty",t)}},c=class extends s{constructor(e,t){super(500,e||"Internal server error"
|
|
|
8
8
|
t)}};export{m as Http,n as HttpBadRequestError,s as HttpError,o as HttpForbiddenError,
|
|
9
9
|
c as HttpInternalServerError,u as HttpNotFoundError,p as HttpUnauthorizedError,a as HttpUnprocessableEntityError,
|
|
10
10
|
i as HttpUnsupportedMediaTypeError};
|
|
11
|
+
//# sourceMappingURL=main.mjs.map
|
package/dist/metadata/body.d.ts
CHANGED
|
@@ -2,5 +2,5 @@ import type { AllType, SourceMap, TypeModel, TypeObject } from '@ez4/reflection'
|
|
|
2
2
|
import type { ObjectSchema, UnionSchema } from '@ez4/schema/library';
|
|
3
3
|
type TypeParent = TypeObject | TypeModel;
|
|
4
4
|
export declare const getHttpRequestBody: (type: AllType, parent: TypeParent, reflection: SourceMap, errorList: Error[]) => ObjectSchema | UnionSchema | null;
|
|
5
|
-
export declare const getHttpResponseBody: (type: AllType, parent: TypeParent, reflection: SourceMap, errorList: Error[]) => ObjectSchema | UnionSchema | import("@ez4/schema/library").
|
|
5
|
+
export declare const getHttpResponseBody: (type: AllType, parent: TypeParent, reflection: SourceMap, errorList: Error[]) => ObjectSchema | UnionSchema | import("@ez4/schema/library").NumberSchema | import("@ez4/schema/library").StringSchema | import("@ez4/schema/library").BooleanSchema | null;
|
|
6
6
|
export {};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ez4/gateway",
|
|
3
3
|
"description": "EZ4: Components to build gateway services",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.17.0",
|
|
5
5
|
"author": "Silas B.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"type": "module",
|
|
@@ -42,10 +42,10 @@
|
|
|
42
42
|
"live:publish": "npm run test && npm publish --access public"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@ez4/common": "^0.
|
|
46
|
-
"@ez4/project": "^0.
|
|
47
|
-
"@ez4/reflection": "^0.
|
|
48
|
-
"@ez4/schema": "^0.
|
|
49
|
-
"@ez4/utils": "^0.
|
|
45
|
+
"@ez4/common": "^0.17.0",
|
|
46
|
+
"@ez4/project": "^0.17.0",
|
|
47
|
+
"@ez4/reflection": "^0.17.0",
|
|
48
|
+
"@ez4/schema": "^0.17.0",
|
|
49
|
+
"@ez4/utils": "^0.17.0"
|
|
50
50
|
}
|
|
51
51
|
}
|