nitro-graphql 1.0.8 → 1.0.10

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.
@@ -1,7 +1,7 @@
1
- import * as _nuxt_schema4 from "@nuxt/schema";
1
+ import * as _nuxt_schema1 from "@nuxt/schema";
2
2
 
3
3
  //#region src/ecosystem/nuxt.d.ts
4
4
  interface ModuleOptions {}
5
- declare const _default: _nuxt_schema4.NuxtModule<ModuleOptions, ModuleOptions, false>;
5
+ declare const _default: _nuxt_schema1.NuxtModule<ModuleOptions, ModuleOptions, false>;
6
6
  //#endregion
7
7
  export { ModuleOptions, _default as default };
package/dist/index.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  import { StandardSchemaV1 } from "./types/standard-schema.js";
2
2
  import { CodegenClientConfig, CodegenServerConfig, GenImport, GenericSdkConfig, NitroGraphQLOptions } from "./types/index.js";
3
- import * as nitropack5 from "nitropack";
3
+ import * as nitropack0 from "nitropack";
4
4
 
5
5
  //#region src/index.d.ts
6
- declare const _default: nitropack5.NitroModule;
6
+ declare const _default: nitropack0.NitroModule;
7
7
  //#endregion
8
8
  export { CodegenClientConfig, CodegenServerConfig, GenImport, GenericSdkConfig, NitroGraphQLOptions, StandardSchemaV1, _default as default };
@@ -1,6 +1,6 @@
1
- import * as h30 from "h3";
1
+ import * as h32 from "h3";
2
2
 
3
3
  //#region src/routes/graphql-yoga.d.ts
4
- declare const _default: h30.EventHandler<h30.EventHandlerRequest, Promise<Response>>;
4
+ declare const _default: h32.EventHandler<h32.EventHandlerRequest, Promise<Response>>;
5
5
  //#endregion
6
6
  export { _default as default };
@@ -1,7 +1,7 @@
1
- import * as h32 from "h3";
1
+ import * as h34 from "h3";
2
2
 
3
3
  //#region src/routes/health.d.ts
4
- declare const _default: h32.EventHandler<h32.EventHandlerRequest, Promise<{
4
+ declare const _default: h34.EventHandler<h34.EventHandlerRequest, Promise<{
5
5
  status: string;
6
6
  message: string;
7
7
  timestamp: string;
@@ -1,3 +1,5 @@
1
+ import { H3Event } from "h3";
2
+
1
3
  //#region src/utils/define.ts
2
4
  function defineSchema(config) {
3
5
  return config;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "nitro-graphql",
3
3
  "type": "module",
4
- "version": "1.0.8",
4
+ "version": "1.0.10",
5
5
  "description": "GraphQL integration for Nitro",
6
6
  "license": "MIT",
7
7
  "sideEffects": false,
@@ -56,6 +56,7 @@
56
56
  ],
57
57
  "peerDependencies": {
58
58
  "graphql": "^16.11.0",
59
+ "h3": "^1.15.3",
59
60
  "nitropack": "^2.11.13"
60
61
  },
61
62
  "dependencies": {
@@ -96,7 +97,7 @@
96
97
  "eslint": "^9.31.0",
97
98
  "graphql": "^16.11.0",
98
99
  "graphql-yoga": "^5.15.1",
99
- "h3": "^1.15.3",
100
+ "h3": "1.15.3",
100
101
  "nitropack": "^2.12.3",
101
102
  "tsdown": "^0.12.9",
102
103
  "typescript": "^5.8.3"