@cedarjs/api-server 3.0.0-canary.13516 → 3.0.0-canary.13518
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/bin.js
CHANGED
|
@@ -493,7 +493,13 @@ async function redwoodFastifyGraphQLServer(fastify2, options) {
|
|
|
493
493
|
if (graphqlOptions?.realtime) {
|
|
494
494
|
const { useCedarRealtime } = await import("@cedarjs/realtime");
|
|
495
495
|
const originalExtraPlugins = graphqlOptions.extraPlugins ?? [];
|
|
496
|
-
originalExtraPlugins.push(
|
|
496
|
+
originalExtraPlugins.push(
|
|
497
|
+
// This type cast is needed because useCedarRealtime returns an
|
|
498
|
+
// EnvelopPlugin and here we need a YogaPlugin. I can't change the
|
|
499
|
+
// return type of `useCedarRealtime` yet, because it'd be a breaking
|
|
500
|
+
// change.
|
|
501
|
+
useCedarRealtime(graphqlOptions.realtime)
|
|
502
|
+
);
|
|
497
503
|
graphqlOptions.extraPlugins = originalExtraPlugins;
|
|
498
504
|
if (graphqlOptions.realtime.subscriptions) {
|
|
499
505
|
method.push("PUT");
|
package/dist/cjs/bin.js
CHANGED
|
@@ -509,7 +509,13 @@ async function redwoodFastifyGraphQLServer(fastify2, options) {
|
|
|
509
509
|
if (graphqlOptions?.realtime) {
|
|
510
510
|
const { useCedarRealtime } = await import("@cedarjs/realtime");
|
|
511
511
|
const originalExtraPlugins = graphqlOptions.extraPlugins ?? [];
|
|
512
|
-
originalExtraPlugins.push(
|
|
512
|
+
originalExtraPlugins.push(
|
|
513
|
+
// This type cast is needed because useCedarRealtime returns an
|
|
514
|
+
// EnvelopPlugin and here we need a YogaPlugin. I can't change the
|
|
515
|
+
// return type of `useCedarRealtime` yet, because it'd be a breaking
|
|
516
|
+
// change.
|
|
517
|
+
useCedarRealtime(graphqlOptions.realtime)
|
|
518
|
+
);
|
|
513
519
|
graphqlOptions.extraPlugins = originalExtraPlugins;
|
|
514
520
|
if (graphqlOptions.realtime.subscriptions) {
|
|
515
521
|
method.push("PUT");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"graphql.d.ts","sourceRoot":"","sources":["../../../src/plugins/graphql.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAe,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"graphql.d.ts","sourceRoot":"","sources":["../../../src/plugins/graphql.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAe,MAAM,SAAS,CAAA;AAO3D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AAKjE,MAAM,WAAW,4BAA4B;IAC3C,OAAO,EAAE;QACP,WAAW,CAAC,EAAE,MAAM,CAAA;QACpB,OAAO,CAAC,EAAE,kBAAkB,CAAA;KAC7B,CAAA;CACF;AAED,wBAAsB,2BAA2B,CAC/C,OAAO,EAAE,eAAe,EACxB,OAAO,EAAE,4BAA4B,iBAmGtC"}
|
|
@@ -66,7 +66,13 @@ async function redwoodFastifyGraphQLServer(fastify, options) {
|
|
|
66
66
|
if (graphqlOptions?.realtime) {
|
|
67
67
|
const { useCedarRealtime } = await import("@cedarjs/realtime");
|
|
68
68
|
const originalExtraPlugins = graphqlOptions.extraPlugins ?? [];
|
|
69
|
-
originalExtraPlugins.push(
|
|
69
|
+
originalExtraPlugins.push(
|
|
70
|
+
// This type cast is needed because useCedarRealtime returns an
|
|
71
|
+
// EnvelopPlugin and here we need a YogaPlugin. I can't change the
|
|
72
|
+
// return type of `useCedarRealtime` yet, because it'd be a breaking
|
|
73
|
+
// change.
|
|
74
|
+
useCedarRealtime(graphqlOptions.realtime)
|
|
75
|
+
);
|
|
70
76
|
graphqlOptions.extraPlugins = originalExtraPlugins;
|
|
71
77
|
if (graphqlOptions.realtime.subscriptions) {
|
|
72
78
|
method.push("PUT");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"graphql.d.ts","sourceRoot":"","sources":["../../src/plugins/graphql.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAe,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"graphql.d.ts","sourceRoot":"","sources":["../../src/plugins/graphql.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAe,MAAM,SAAS,CAAA;AAO3D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AAKjE,MAAM,WAAW,4BAA4B;IAC3C,OAAO,EAAE;QACP,WAAW,CAAC,EAAE,MAAM,CAAA;QACpB,OAAO,CAAC,EAAE,kBAAkB,CAAA;KAC7B,CAAA;CACF;AAED,wBAAsB,2BAA2B,CAC/C,OAAO,EAAE,eAAe,EACxB,OAAO,EAAE,4BAA4B,iBAmGtC"}
|
package/dist/plugins/graphql.js
CHANGED
|
@@ -33,7 +33,13 @@ async function redwoodFastifyGraphQLServer(fastify, options) {
|
|
|
33
33
|
if (graphqlOptions?.realtime) {
|
|
34
34
|
const { useCedarRealtime } = await import("@cedarjs/realtime");
|
|
35
35
|
const originalExtraPlugins = graphqlOptions.extraPlugins ?? [];
|
|
36
|
-
originalExtraPlugins.push(
|
|
36
|
+
originalExtraPlugins.push(
|
|
37
|
+
// This type cast is needed because useCedarRealtime returns an
|
|
38
|
+
// EnvelopPlugin and here we need a YogaPlugin. I can't change the
|
|
39
|
+
// return type of `useCedarRealtime` yet, because it'd be a breaking
|
|
40
|
+
// change.
|
|
41
|
+
useCedarRealtime(graphqlOptions.realtime)
|
|
42
|
+
);
|
|
37
43
|
graphqlOptions.extraPlugins = originalExtraPlugins;
|
|
38
44
|
if (graphqlOptions.realtime.subscriptions) {
|
|
39
45
|
method.push("PUT");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cedarjs/api-server",
|
|
3
|
-
"version": "3.0.0-canary.
|
|
3
|
+
"version": "3.0.0-canary.13518+ed0bdd55a",
|
|
4
4
|
"description": "CedarJS's HTTP server for Serverless Functions",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -111,11 +111,11 @@
|
|
|
111
111
|
"test:watch": "vitest watch"
|
|
112
112
|
},
|
|
113
113
|
"dependencies": {
|
|
114
|
-
"@cedarjs/context": "3.0.0-canary.
|
|
115
|
-
"@cedarjs/fastify-web": "3.0.0-canary.
|
|
116
|
-
"@cedarjs/internal": "3.0.0-canary.
|
|
117
|
-
"@cedarjs/project-config": "3.0.0-canary.
|
|
118
|
-
"@cedarjs/web-server": "3.0.0-canary.
|
|
114
|
+
"@cedarjs/context": "3.0.0-canary.13518",
|
|
115
|
+
"@cedarjs/fastify-web": "3.0.0-canary.13518",
|
|
116
|
+
"@cedarjs/internal": "3.0.0-canary.13518",
|
|
117
|
+
"@cedarjs/project-config": "3.0.0-canary.13518",
|
|
118
|
+
"@cedarjs/web-server": "3.0.0-canary.13518",
|
|
119
119
|
"@fastify/multipart": "9.4.0",
|
|
120
120
|
"@fastify/url-data": "6.0.3",
|
|
121
121
|
"ansis": "4.2.0",
|
|
@@ -132,12 +132,13 @@
|
|
|
132
132
|
"yargs": "17.7.2"
|
|
133
133
|
},
|
|
134
134
|
"devDependencies": {
|
|
135
|
-
"@cedarjs/framework-tools": "3.0.0-canary.
|
|
135
|
+
"@cedarjs/framework-tools": "3.0.0-canary.13518",
|
|
136
136
|
"@types/aws-lambda": "8.10.161",
|
|
137
137
|
"@types/dotenv-defaults": "^5.0.0",
|
|
138
138
|
"@types/qs": "6.14.0",
|
|
139
139
|
"@types/split2": "4.2.3",
|
|
140
140
|
"@types/yargs": "17.0.35",
|
|
141
|
+
"graphql-yoga": "5.18.0",
|
|
141
142
|
"memfs": "4.56.10",
|
|
142
143
|
"pino-abstract-transport": "1.2.0",
|
|
143
144
|
"tsx": "4.21.0",
|
|
@@ -145,7 +146,7 @@
|
|
|
145
146
|
"vitest": "3.2.4"
|
|
146
147
|
},
|
|
147
148
|
"peerDependencies": {
|
|
148
|
-
"@cedarjs/graphql-server": "3.0.0-canary.
|
|
149
|
+
"@cedarjs/graphql-server": "3.0.0-canary.13518"
|
|
149
150
|
},
|
|
150
151
|
"peerDependenciesMeta": {
|
|
151
152
|
"@cedarjs/graphql-server": {
|
|
@@ -155,5 +156,5 @@
|
|
|
155
156
|
"publishConfig": {
|
|
156
157
|
"access": "public"
|
|
157
158
|
},
|
|
158
|
-
"gitHead": "
|
|
159
|
+
"gitHead": "ed0bdd55a6bacd3ed69cd3d9edc4cd497c5f1c80"
|
|
159
160
|
}
|