nitro-graphql 0.0.15 → 0.0.17
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/ecosystem/nuxt.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _nuxt_schema5 from "@nuxt/schema";
|
|
2
2
|
|
|
3
3
|
//#region src/ecosystem/nuxt.d.ts
|
|
4
4
|
interface ModuleOptions {}
|
|
5
|
-
declare const _default:
|
|
5
|
+
declare const _default: _nuxt_schema5.NuxtModule<ModuleOptions, ModuleOptions, false>;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { ModuleOptions, _default as default };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { StandardSchemaV1 } from "./types/standard-schema.js";
|
|
2
2
|
import { CodegenClientConfig, CodegenServerConfig, GenImport, NitroGraphQLOptions } from "./types/index.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as nitropack0 from "nitropack";
|
|
4
4
|
|
|
5
5
|
//#region src/index.d.ts
|
|
6
6
|
interface Resolvers extends Record<string, any> {}
|
|
7
7
|
interface CustomSchema extends Record<string, any> {}
|
|
8
8
|
type GraphQLFramework = 'graphql-yoga';
|
|
9
|
-
declare const _default:
|
|
9
|
+
declare const _default: nitropack0.NitroModule;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { CodegenClientConfig, CodegenServerConfig, CustomSchema, GenImport, GraphQLFramework, NitroGraphQLOptions, Resolvers, StandardSchemaV1, _default as default };
|
package/dist/index.js
CHANGED
|
@@ -106,9 +106,7 @@ var src_default = defineNitroModule({
|
|
|
106
106
|
if (nitro.options.imports) {
|
|
107
107
|
nitro.options.imports.presets ??= [];
|
|
108
108
|
nitro.options.imports.presets.push({
|
|
109
|
-
|
|
110
|
-
cache: false,
|
|
111
|
-
from: "nitro-graphql",
|
|
109
|
+
from: fileURLToPath(new URL("utils/define", import.meta.url)),
|
|
112
110
|
imports: [
|
|
113
111
|
"defineResolver",
|
|
114
112
|
"defineMutation",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as h36 from "h3";
|
|
2
2
|
|
|
3
3
|
//#region src/routes/apollo-server.d.ts
|
|
4
|
-
declare const _default:
|
|
4
|
+
declare const _default: h36.EventHandler<h36.EventHandlerRequest, any>;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { _default as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as h31 from "h3";
|
|
2
2
|
|
|
3
3
|
//#region src/routes/graphql-yoga.d.ts
|
|
4
|
-
declare const _default:
|
|
4
|
+
declare const _default: h31.EventHandler<h31.EventHandlerRequest, Promise<Response>>;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { _default as default };
|
package/dist/routes/health.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as h33 from "h3";
|
|
2
2
|
|
|
3
3
|
//#region src/routes/health.d.ts
|
|
4
|
-
declare const _default:
|
|
4
|
+
declare const _default: h33.EventHandler<h33.EventHandlerRequest, Promise<{
|
|
5
5
|
status: string;
|
|
6
6
|
message: string;
|
|
7
7
|
timestamp: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nitro-graphql",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.17",
|
|
5
5
|
"description": "GraphQL integration for Nitro",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"sideEffects": false,
|
|
@@ -32,14 +32,14 @@
|
|
|
32
32
|
"types": "./dist/context.d.ts",
|
|
33
33
|
"import": "./dist/context.js"
|
|
34
34
|
},
|
|
35
|
-
"./utils/define": {
|
|
36
|
-
"types": "./dist/utils/define.d.ts",
|
|
37
|
-
"import": "./dist/utils/define.js"
|
|
38
|
-
},
|
|
39
35
|
"./utils": {
|
|
40
36
|
"types": "./dist/utils/index.d.ts",
|
|
41
37
|
"import": "./dist/utils/index.js"
|
|
42
38
|
},
|
|
39
|
+
"./utils/define": {
|
|
40
|
+
"types": "./dist/utils/define.d.ts",
|
|
41
|
+
"import": "./dist/utils/define.js"
|
|
42
|
+
},
|
|
43
43
|
"./internal": {
|
|
44
44
|
"types": "./dist/internal/index.d.ts",
|
|
45
45
|
"import": "./dist/internal/index.js"
|