diff options
| author | netop://ウィビ <paul@webb.page> | 2026-04-29 16:30:02 -0700 |
|---|---|---|
| committer | netop://ウィビ <paul@webb.page> | 2026-04-29 16:30:02 -0700 |
| commit | 83f2352fef7dc93396e3cf8f224acba271f1ef9d (patch) | |
| tree | d84ebe047fc133c0db08560cfd4b501607329a75 | |
| parent | ff44a665e9038de183df5ed0467500d697cf3a78 (diff) | |
| download | gq-83f2352fef7dc93396e3cf8f224acba271f1ef9d.tar.gz gq-83f2352fef7dc93396e3cf8f224acba271f1ef9d.zip | |
0.4.0
- updates @eeeooolll/graphiql dep
- adds commonly used imports from `graphql`
- updates README
| -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"; |