nitro-graphql 0.0.3 → 0.0.4
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/index.d.ts +2 -11
- package/dist/types.d.ts +8 -0
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -1,15 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import * as nitropack1 from "nitropack";
|
|
1
|
+
import * as nitropack0 from "nitropack";
|
|
3
2
|
|
|
4
3
|
//#region src/index.d.ts
|
|
5
|
-
declare
|
|
6
|
-
interface NitroOptions {
|
|
7
|
-
graphqlYoga?: NitroGraphQLOptions;
|
|
8
|
-
}
|
|
9
|
-
interface NitroRuntimeConfig {
|
|
10
|
-
graphqlYoga?: NitroGraphQLOptions;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
declare const _default: nitropack1.NitroModule;
|
|
4
|
+
declare const _default: nitropack0.NitroModule;
|
|
14
5
|
//#endregion
|
|
15
6
|
export { _default as default };
|
package/dist/types.d.ts
CHANGED
|
@@ -4,6 +4,14 @@ import { YogaServerOptions } from "graphql-yoga";
|
|
|
4
4
|
import { IncomingMessage, ServerResponse } from "node:http";
|
|
5
5
|
|
|
6
6
|
//#region src/types.d.ts
|
|
7
|
+
declare module 'nitropack' {
|
|
8
|
+
interface NitroOptions {
|
|
9
|
+
graphqlYoga?: NitroGraphQLOptions;
|
|
10
|
+
}
|
|
11
|
+
interface NitroRuntimeConfig {
|
|
12
|
+
graphqlYoga?: NitroGraphQLOptions;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
7
15
|
interface GraphQLSchemaConfig {
|
|
8
16
|
typeDefs: string | string[];
|
|
9
17
|
resolvers: any;
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nitro-graphql",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.4",
|
|
5
5
|
"description": "GraphQL integration for Nitro",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"sideEffects": false,
|
|
8
8
|
"exports": {
|
|
9
9
|
".": {
|
|
10
|
-
"types": "./dist/
|
|
10
|
+
"types": "./dist/types.d.ts",
|
|
11
11
|
"import": "./dist/index.js"
|
|
12
12
|
},
|
|
13
13
|
"./codegen": {
|
|
@@ -32,11 +32,11 @@
|
|
|
32
32
|
},
|
|
33
33
|
"./types": {
|
|
34
34
|
"types": "./dist/types.d.ts",
|
|
35
|
-
"import": "./dist/types.
|
|
35
|
+
"import": "./dist/types.mjs"
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
"main": "./dist/index.js",
|
|
39
|
-
"types": "./dist/
|
|
39
|
+
"types": "./dist/types.d.ts",
|
|
40
40
|
"files": [
|
|
41
41
|
"dist"
|
|
42
42
|
],
|