aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--README.md2
-rw-r--r--deno.json4
-rwxr-xr-xentry.ts12
3 files changed, 16 insertions, 2 deletions
diff --git a/README.md b/README.md
index e2e8f18..7f75f7b 100644
--- a/README.md
+++ b/README.md
@@ -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`.
diff --git a/deno.json b/deno.json
index 0bc7997..5ea31de 100644
--- a/deno.json
+++ b/deno.json
@@ -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"
}
diff --git a/entry.ts b/entry.ts
index 996a3dd..54c1b3a 100755
--- a/entry.ts
+++ b/entry.ts
@@ -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";