@graphql-markdown/graphql
Advanced tools
Comparing version
/** | ||
* Library supporting `customDirective` for directive based customization. | ||
* | ||
* @see {@link https://graphql-markdown.github.io/docs/advanced/custom-directive | Option `customDirective`} | ||
* @see {@link https://graphql-markdown.dev/docs/advanced/custom-directive | Option `customDirective`} | ||
* | ||
@@ -6,0 +6,0 @@ * @packageDocumentation |
@@ -5,3 +5,3 @@ "use strict"; | ||
* | ||
* @see {@link https://graphql-markdown.github.io/docs/advanced/custom-directive | Option `customDirective`} | ||
* @see {@link https://graphql-markdown.dev/docs/advanced/custom-directive | Option `customDirective`} | ||
* | ||
@@ -8,0 +8,0 @@ * @packageDocumentation |
@@ -21,2 +21,2 @@ /** | ||
defaultValue: T; | ||
}) => Maybe<string | T>; | ||
}) => Maybe<T | string>; |
/** | ||
* Library supporting `groupByDirective` for grouping GraphQL schema entities. | ||
* | ||
* @see {@link https://graphql-markdown.github.io/docs/advanced/group-by-directive | Option `groupByDirective`} | ||
* @see {@link https://graphql-markdown.dev/docs/advanced/group-by-directive | Option `groupByDirective`} | ||
* | ||
@@ -6,0 +6,0 @@ * @packageDocumentation |
@@ -5,3 +5,3 @@ "use strict"; | ||
* | ||
* @see {@link https://graphql-markdown.github.io/docs/advanced/group-by-directive | Option `groupByDirective`} | ||
* @see {@link https://graphql-markdown.dev/docs/advanced/group-by-directive | Option `groupByDirective`} | ||
* | ||
@@ -8,0 +8,0 @@ * @packageDocumentation |
@@ -108,3 +108,3 @@ /** | ||
*/ | ||
export declare const _getFields: <T, V>(type: T, processor?: ((fieldMap: Record<string, unknown>) => V) | undefined, fallback?: V | undefined) => GraphQLObjectType<any, any> | GraphQLFieldMap<unknown, unknown> | GraphQLInputFieldMap | V; | ||
export declare const _getFields: <T, V>(type: T, processor?: (fieldMap: Record<string, unknown>) => V, fallback?: V) => GraphQLFieldMap<unknown, unknown> | GraphQLInputFieldMap | GraphQLObjectType | V; | ||
/** | ||
@@ -111,0 +111,0 @@ * Returns fields map for a GraphQL operation type (query, mutation, subscription...). |
@@ -31,3 +31,3 @@ /** | ||
* @param rootTypes - optional `rootTypes` schema override | ||
* @see {@link https://graphql-markdown.github.io/docs/advanced/custom-root-types | Custom root types} | ||
* @see {@link https://graphql-markdown.dev/docs/advanced/custom-root-types | Custom root types} | ||
*/ | ||
@@ -34,0 +34,0 @@ rootTypes?: Partial<Record<OperationTypeNode, string>>; |
/** | ||
* Library supporting `relatedTypeSection` for displaying relations between GraphQL schema entities. | ||
* | ||
* @see {@link https://graphql-markdown.github.io/docs/settings#printtypeoptions | Option `relatedTypeSection`} | ||
* @see {@link https://graphql-markdown.dev/docs/settings#printtypeoptions | Option `relatedTypeSection`} | ||
* | ||
@@ -6,0 +6,0 @@ * @packageDocumentation |
@@ -5,3 +5,3 @@ "use strict"; | ||
* | ||
* @see {@link https://graphql-markdown.github.io/docs/settings#printtypeoptions | Option `relatedTypeSection`} | ||
* @see {@link https://graphql-markdown.dev/docs/settings#printtypeoptions | Option `relatedTypeSection`} | ||
* | ||
@@ -8,0 +8,0 @@ * @packageDocumentation |
{ | ||
"name": "@graphql-markdown/graphql", | ||
"homepage": "https://graphql-markdown.github.io", | ||
"homepage": "https://graphql-markdown.dev", | ||
"description": "GraphQL-Markdown GraphQL utilities.", | ||
@@ -8,3 +8,3 @@ "bugs": { | ||
}, | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"license": "MIT", | ||
@@ -60,7 +60,7 @@ "repository": { | ||
"dependencies": { | ||
"@graphql-tools/load": "8.0.1", | ||
"@graphql-markdown/utils": "^1.6.3" | ||
"@graphql-tools/load": "8.0.2", | ||
"@graphql-markdown/utils": "^1.6.4" | ||
}, | ||
"devDependencies": { | ||
"@graphql-markdown/types": "^1.2.0" | ||
"@graphql-markdown/types": "^1.2.1" | ||
}, | ||
@@ -67,0 +67,0 @@ "directories": { |
# @graphql-markdown/graphql | ||
[](https://www.npmjs.com/package/@graphql-markdown/graphql) | ||
[](https://raw.githubusercontent.com/graphql-markdown/graphql-markdown/main/LICENSE) | ||
[](https://www.npmjs.com/package/@graphql-markdown/graphql) | ||
[](https://raw.githubusercontent.com/graphql-markdown/graphql-markdown/main/LICENSE) | ||
[](https://sonarcloud.io/summary/new_code?id=graphql-markdown_graphql) | ||
[](https://sonarcloud.io/summary/new_code?id=graphql-markdown_graphql) | ||
[](https://dashboard.stryker-mutator.io/reports/github.com/graphql-markdown/graphql-markdown/main?module=graphql) |
77662
0.77%8
60%+ Added
- Removed
Updated