graphql-config
Advanced tools
Comparing version 5.0.2 to 5.0.3-alpha-20230912182821-e1581c3
@@ -118,23 +118,40 @@ { | ||
{ | ||
"items": { | ||
"type": "string" | ||
"additionalProperties": { | ||
"properties": { | ||
"headers": { | ||
"additionalProperties": { | ||
"type": "string" | ||
}, | ||
"title": "headers", | ||
"type": "object" | ||
} | ||
}, | ||
"required": ["headers"], | ||
"type": "object" | ||
}, | ||
"type": "array" | ||
"type": "object" | ||
}, | ||
{ | ||
"items": { | ||
"additionalProperties": { | ||
"properties": { | ||
"headers": { | ||
"additionalProperties": { | ||
"type": "string" | ||
"anyOf": [ | ||
{ | ||
"additionalProperties": { | ||
"properties": { | ||
"headers": { | ||
"additionalProperties": { | ||
"type": "string" | ||
}, | ||
"title": "headers", | ||
"type": "object" | ||
} | ||
}, | ||
"title": "headers", | ||
"required": ["headers"], | ||
"type": "object" | ||
} | ||
}, | ||
"type": "object" | ||
}, | ||
"required": ["headers"], | ||
"type": "object" | ||
}, | ||
"type": "object" | ||
{ | ||
"type": "string" | ||
} | ||
] | ||
}, | ||
@@ -141,0 +158,0 @@ "type": "array" |
{ | ||
"name": "graphql-config", | ||
"version": "5.0.2", | ||
"version": "5.0.3-alpha-20230912182821-e1581c3", | ||
"description": "The easiest way to configure your development environment with your GraphQL schema (supported by most tools, editors & IDEs)", | ||
@@ -5,0 +5,0 @@ "sideEffects": false, |
@@ -0,1 +1,3 @@ | ||
[![GraphQL Conf 2023](/GraphQLConf-2023-Banner.png)](https://graphql.org/conf/) | ||
![GraphQL Config](https://i.imgur.com/hw5tXw2.gif 'GraphQL Config') | ||
@@ -2,0 +4,0 @@ [![npm version](https://badge.fury.io/js/graphql-config.svg)](https://npmjs.com/package/graphql-config) |
@@ -33,3 +33,3 @@ export type PointerWithConfiguration<T = any> = { | ||
export declare type ElementOf<TList> = TList extends Array<infer TElement> ? TElement : never; | ||
export declare type SchemaPointer = WithList<string> | { | ||
export declare type SchemaPointer = WithList<string | { | ||
[url: string]: { | ||
@@ -40,3 +40,3 @@ headers: { | ||
}; | ||
}[]; | ||
}>; | ||
export declare type SchemaPointerSingle = ElementOf<SchemaPointer>; | ||
@@ -43,0 +43,0 @@ export declare type DocumentGlobPathPointer = string; |
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
81876
1745
46
1