@cedarjs/graphql-server 2.2.1 → 2.2.2-next.31
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/cjs/index.js
CHANGED
|
@@ -27,8 +27,8 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
27
27
|
mod
|
|
28
28
|
));
|
|
29
29
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
30
|
-
var
|
|
31
|
-
__export(
|
|
30
|
+
var src_exports = {};
|
|
31
|
+
__export(src_exports, {
|
|
32
32
|
DirectiveType: () => import_useRedwoodDirective.DirectiveType,
|
|
33
33
|
context: () => import_context.context,
|
|
34
34
|
createTransformerDirective: () => import_makeDirectives.createTransformerDirective,
|
|
@@ -40,15 +40,15 @@ __export(index_exports, {
|
|
|
40
40
|
setContext: () => import_context.setContext,
|
|
41
41
|
useRedwoodDirective: () => import_useRedwoodDirective.useRedwoodDirective
|
|
42
42
|
});
|
|
43
|
-
module.exports = __toCommonJS(
|
|
43
|
+
module.exports = __toCommonJS(src_exports);
|
|
44
44
|
var import_global_api_auto_imports = require("./global.api-auto-imports.js");
|
|
45
|
-
__reExport(
|
|
46
|
-
__reExport(
|
|
47
|
-
__reExport(
|
|
48
|
-
__reExport(
|
|
49
|
-
__reExport(
|
|
50
|
-
__reExport(
|
|
51
|
-
__reExport(
|
|
45
|
+
__reExport(src_exports, require("./global.api-auto-imports.js"), module.exports);
|
|
46
|
+
__reExport(src_exports, require("./errors.js"), module.exports);
|
|
47
|
+
__reExport(src_exports, require("./functions/graphql.js"), module.exports);
|
|
48
|
+
__reExport(src_exports, require("./functions/useRequireAuth.js"), module.exports);
|
|
49
|
+
__reExport(src_exports, require("./makeMergedSchema.js"), module.exports);
|
|
50
|
+
__reExport(src_exports, require("./createGraphQLYoga.js"), module.exports);
|
|
51
|
+
__reExport(src_exports, require("./types.js"), module.exports);
|
|
52
52
|
var import_makeDirectives = require("./directives/makeDirectives.js");
|
|
53
53
|
var import_useRedwoodDirective = require("./plugins/useRedwoodDirective.js");
|
|
54
54
|
var rootSchema = __toESM(require("./rootSchema.js"), 1);
|
|
@@ -135,7 +135,7 @@ function wrapAffectedResolvers(schema, options) {
|
|
|
135
135
|
});
|
|
136
136
|
}
|
|
137
137
|
const useRedwoodDirective = (options) => {
|
|
138
|
-
const wasDirectiveApplied =
|
|
138
|
+
const wasDirectiveApplied = Symbol.for(`useRedwoodDirective.${options.name}}`);
|
|
139
139
|
return {
|
|
140
140
|
onSchemaChange({ schema, replaceSchema }) {
|
|
141
141
|
if (schema.extensions?.[wasDirectiveApplied] === true) {
|
|
@@ -108,7 +108,7 @@ function wrapAffectedResolvers(schema, options) {
|
|
|
108
108
|
});
|
|
109
109
|
}
|
|
110
110
|
const useRedwoodDirective = (options) => {
|
|
111
|
-
const wasDirectiveApplied =
|
|
111
|
+
const wasDirectiveApplied = Symbol.for(`useRedwoodDirective.${options.name}}`);
|
|
112
112
|
return {
|
|
113
113
|
onSchemaChange({ schema, replaceSchema }) {
|
|
114
114
|
if (schema.extensions?.[wasDirectiveApplied] === true) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cedarjs/graphql-server",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.2-next.31+ff2776832",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/cedarjs/cedar.git",
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@babel/runtime-corejs3": "7.28.4",
|
|
41
|
-
"@cedarjs/api": "2.2.
|
|
42
|
-
"@cedarjs/context": "2.2.
|
|
41
|
+
"@cedarjs/api": "2.2.2-next.31+ff2776832",
|
|
42
|
+
"@cedarjs/context": "2.2.2-next.31+ff2776832",
|
|
43
43
|
"@envelop/core": "5.4.0",
|
|
44
44
|
"@envelop/depth-limit": "4.0.0",
|
|
45
45
|
"@envelop/disable-introspection": "6.0.0",
|
|
@@ -62,9 +62,9 @@
|
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"@babel/cli": "7.28.3",
|
|
64
64
|
"@babel/core": "^7.26.10",
|
|
65
|
-
"@cedarjs/framework-tools": "2.2.
|
|
66
|
-
"@cedarjs/project-config": "2.2.
|
|
67
|
-
"@cedarjs/realtime": "2.2.
|
|
65
|
+
"@cedarjs/framework-tools": "2.2.2-next.31",
|
|
66
|
+
"@cedarjs/project-config": "2.2.2-next.31+ff2776832",
|
|
67
|
+
"@cedarjs/realtime": "2.2.2-next.31+ff2776832",
|
|
68
68
|
"@envelop/types": "5.2.1",
|
|
69
69
|
"@types/aws-lambda": "8.10.159",
|
|
70
70
|
"@types/jsonwebtoken": "9.0.10",
|
|
@@ -81,5 +81,5 @@
|
|
|
81
81
|
"publishConfig": {
|
|
82
82
|
"access": "public"
|
|
83
83
|
},
|
|
84
|
-
"gitHead": "
|
|
84
|
+
"gitHead": "ff2776832afcb70cd4ca38986ec4e37043e1c44b"
|
|
85
85
|
}
|