@webiny/handler-graphql 0.0.0-unstable.b02d94bba0 → 0.0.0-unstable.b14eaecf38
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/index.d.ts +1 -0
- package/index.js +10 -1
- package/index.js.map +1 -1
- package/package.json +9 -9
package/index.d.ts
CHANGED
|
@@ -2,5 +2,6 @@ import { HandlerGraphQLOptions } from "./types";
|
|
|
2
2
|
export * from "./errors";
|
|
3
3
|
export * from "./responses";
|
|
4
4
|
export * from "./plugins";
|
|
5
|
+
export { default as processRequestBody } from "./processRequestBody";
|
|
5
6
|
declare const _default: (options?: HandlerGraphQLOptions) => import("@webiny/plugins/types").PluginCollection[];
|
|
6
7
|
export default _default;
|
package/index.js
CHANGED
|
@@ -4,8 +4,16 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
|
-
var _exportNames = {
|
|
7
|
+
var _exportNames = {
|
|
8
|
+
processRequestBody: true
|
|
9
|
+
};
|
|
8
10
|
exports.default = void 0;
|
|
11
|
+
Object.defineProperty(exports, "processRequestBody", {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: function () {
|
|
14
|
+
return _processRequestBody.default;
|
|
15
|
+
}
|
|
16
|
+
});
|
|
9
17
|
var _createGraphQLHandler = _interopRequireDefault(require("./createGraphQLHandler"));
|
|
10
18
|
var _errors = require("./errors");
|
|
11
19
|
Object.keys(_errors).forEach(function (key) {
|
|
@@ -43,5 +51,6 @@ Object.keys(_plugins).forEach(function (key) {
|
|
|
43
51
|
}
|
|
44
52
|
});
|
|
45
53
|
});
|
|
54
|
+
var _processRequestBody = _interopRequireDefault(require("./processRequestBody"));
|
|
46
55
|
var _default = (options = {}) => [(0, _createGraphQLHandler.default)(options)];
|
|
47
56
|
exports.default = _default;
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["options","createGraphQLHandler"],"sources":["index.ts"],"sourcesContent":["import { HandlerGraphQLOptions } from \"./types\";\nimport createGraphQLHandler from \"./createGraphQLHandler\";\n\nexport * from \"./errors\";\nexport * from \"./responses\";\nexport * from \"./plugins\";\n\nexport default (options: HandlerGraphQLOptions = {}) => [createGraphQLHandler(options)];\n"],"mappings":"
|
|
1
|
+
{"version":3,"names":["options","createGraphQLHandler"],"sources":["index.ts"],"sourcesContent":["import { HandlerGraphQLOptions } from \"./types\";\nimport createGraphQLHandler from \"./createGraphQLHandler\";\n\nexport * from \"./errors\";\nexport * from \"./responses\";\nexport * from \"./plugins\";\nexport { default as processRequestBody } from \"./processRequestBody\";\n\nexport default (options: HandlerGraphQLOptions = {}) => [createGraphQLHandler(options)];\n"],"mappings":";;;;;;;;;;;;;;;;AACA;AAEA;AAAA;EAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAA;EAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;IAAA;EAAA;AAAA;AACA;AAAqE,eAEtD,CAACA,OAA8B,GAAG,CAAC,CAAC,KAAK,CAAC,IAAAC,6BAAoB,EAACD,OAAO,CAAC,CAAC;AAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webiny/handler-graphql",
|
|
3
|
-
"version": "0.0.0-unstable.
|
|
3
|
+
"version": "0.0.0-unstable.b14eaecf38",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -16,10 +16,10 @@
|
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@babel/runtime": "7.20.13",
|
|
18
18
|
"@graphql-tools/schema": "7.1.5",
|
|
19
|
-
"@webiny/api": "0.0.0-unstable.
|
|
20
|
-
"@webiny/error": "0.0.0-unstable.
|
|
21
|
-
"@webiny/handler": "0.0.0-unstable.
|
|
22
|
-
"@webiny/plugins": "0.0.0-unstable.
|
|
19
|
+
"@webiny/api": "0.0.0-unstable.b14eaecf38",
|
|
20
|
+
"@webiny/error": "0.0.0-unstable.b14eaecf38",
|
|
21
|
+
"@webiny/handler": "0.0.0-unstable.b14eaecf38",
|
|
22
|
+
"@webiny/plugins": "0.0.0-unstable.b14eaecf38",
|
|
23
23
|
"boolean": "3.2.0",
|
|
24
24
|
"graphql": "15.8.0",
|
|
25
25
|
"graphql-scalars": "1.12.0",
|
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
"@babel/cli": "^7.19.3",
|
|
30
30
|
"@babel/core": "^7.19.3",
|
|
31
31
|
"@babel/preset-env": "^7.19.4",
|
|
32
|
-
"@webiny/cli": "^0.0.0-unstable.
|
|
33
|
-
"@webiny/handler-aws": "^0.0.0-unstable.
|
|
34
|
-
"@webiny/project-utils": "^0.0.0-unstable.
|
|
32
|
+
"@webiny/cli": "^0.0.0-unstable.b14eaecf38",
|
|
33
|
+
"@webiny/handler-aws": "^0.0.0-unstable.b14eaecf38",
|
|
34
|
+
"@webiny/project-utils": "^0.0.0-unstable.b14eaecf38",
|
|
35
35
|
"jest": "^28.1.0",
|
|
36
36
|
"jest-mock-console": "^1.0.0",
|
|
37
37
|
"rimraf": "^3.0.2",
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"build": "yarn webiny run build",
|
|
47
47
|
"watch": "yarn webiny run watch"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "b14eaecf387253ed23cb96f8d31b7d16b5061936"
|
|
50
50
|
}
|