diff options
Diffstat (limited to '')
| -rw-r--r-- | README.md | 2 | ||||
| -rw-r--r-- | deno.json | 4 | ||||
| -rwxr-xr-x | entry.ts | 12 |
3 files changed, 16 insertions, 2 deletions
@@ -124,6 +124,8 @@ Low-level executor that `GraphQLHTTP` delegates to. Use it if you’re rolling y `GQLOptions`, `GQLRequest`, `GraphQLParams`, `GraphQLHandler`, plus `RenderPageOptions` for the GraphiQL shell. +We also export commonly imported GraphQL types: `DocumentNode`, `ExecutionResult`, `GraphQLArgs`, `GraphQLFieldResolver`, `GraphQLResolveInfo`, `GraphQLScalarType`, `GraphQLSchema`, `GraphQLTypeResolver`, and `Source`. + ## Features - Import `*.graphql` files — explicit and dynamic — via `importQL`. @@ -1,7 +1,7 @@ { "exports": "./entry.ts", "imports": { - "@eeeooolll/graphiql": "npm:@eeeooolll/graphiql@0.4.0", + "@eeeooolll/graphiql": "npm:@eeeooolll/graphiql@0.4.2", "@graphql-tools/schema": "npm:@graphql-tools/schema@^10.0.33", "@netopwibby/dedent": "jsr:@netopwibby/dedent@^0.1.0", "@std/path": "jsr:@std/path@^1.1.4", @@ -10,5 +10,5 @@ }, "license": "MIT", "name": "@eol/gq", - "version": "0.4.1" + "version": "0.5.0" } @@ -9,3 +9,15 @@ export * from "./source/http.ts"; export { makeExecutableSchema as executeSchema } from "@graphql-tools/schema"; export { gql } from "./source/gql.ts"; export { importQL } from "./source/import.ts"; + +export type { + DocumentNode, + ExecutionResult, + GraphQLArgs, + GraphQLFieldResolver, + GraphQLResolveInfo, + GraphQLScalarType, + GraphQLSchema, + GraphQLTypeResolver, + Source +} from "graphql"; |