@graphql-tools/load 7.3.0 → 7.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/es5/README.md +0 -8
- package/es5/documents.d.ts +0 -31
- package/es5/filter-document-kind.d.ts +0 -5
- package/es5/index.d.ts +0 -4
- package/es5/index.js +0 -873
- package/es5/index.mjs +0 -859
- package/es5/load-typedefs/collect-sources.d.ts +0 -14
- package/es5/load-typedefs/load-file.d.ts +0 -4
- package/es5/load-typedefs/options.d.ts +0 -2
- package/es5/load-typedefs/parse.d.ts +0 -10
- package/es5/load-typedefs.d.ts +0 -30
- package/es5/package.json +0 -38
- package/es5/schema.d.ts +0 -23
- package/es5/utils/custom-loader.d.ts +0 -3
- package/es5/utils/helpers.d.ts +0 -9
- package/es5/utils/pointers.d.ts +0 -5
- package/es5/utils/queue.d.ts +0 -10
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-tools/load",
|
|
3
|
-
"version": "7.3.
|
|
3
|
+
"version": "7.3.1",
|
|
4
4
|
"description": "A set of utils for faster development of GraphQL tools",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"peerDependencies": {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"@graphql-tools/schema": "8.2.0",
|
|
11
|
-
"@graphql-tools/utils": "^8.2.
|
|
11
|
+
"@graphql-tools/utils": "^8.2.3",
|
|
12
12
|
"p-limit": "3.1.0",
|
|
13
13
|
"tslib": "~2.3.0"
|
|
14
14
|
},
|
package/es5/README.md
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
Check API Reference for more information about this package;
|
|
2
|
-
https://www.graphql-tools.com/docs/api/modules/load
|
|
3
|
-
|
|
4
|
-
You can also learn more about Apollo Links in Schema Loading in this chapter;
|
|
5
|
-
https://www.graphql-tools.com/docs/schema-loading
|
|
6
|
-
|
|
7
|
-
You can also learn more about Apollo Links in Documents Loading in this chapter;
|
|
8
|
-
https://www.graphql-tools.com/docs/documents-loading
|
package/es5/documents.d.ts
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { Source } from '@graphql-tools/utils';
|
|
2
|
-
import { Kind } from 'graphql';
|
|
3
|
-
import { LoadTypedefsOptions, UnnormalizedTypeDefPointer } from './load-typedefs';
|
|
4
|
-
declare type KindList = Array<typeof Kind[keyof typeof Kind]>;
|
|
5
|
-
/**
|
|
6
|
-
* Kinds of AST nodes that are included in executable documents
|
|
7
|
-
*/
|
|
8
|
-
export declare const OPERATION_KINDS: KindList;
|
|
9
|
-
/**
|
|
10
|
-
* Kinds of AST nodes that are included in type system definition documents
|
|
11
|
-
*/
|
|
12
|
-
export declare const NON_OPERATION_KINDS: ("Document" | "ObjectTypeDefinition" | "ObjectTypeExtension" | "InterfaceTypeDefinition" | "InterfaceTypeExtension" | "ScalarTypeDefinition" | "ScalarTypeExtension" | "EnumTypeDefinition" | "EnumTypeExtension" | "FieldDefinition" | "Field" | "FragmentDefinition" | "FragmentSpread" | "InlineFragment" | "OperationDefinition" | "SchemaDefinition" | "UnionTypeDefinition" | "InputObjectTypeDefinition" | "DirectiveDefinition" | "SchemaExtension" | "UnionTypeExtension" | "InputObjectTypeExtension" | "Name" | "VariableDefinition" | "Variable" | "SelectionSet" | "Argument" | "IntValue" | "FloatValue" | "StringValue" | "BooleanValue" | "NullValue" | "EnumValue" | "ListValue" | "ObjectValue" | "ObjectField" | "Directive" | "NamedType" | "ListType" | "NonNullType" | "OperationTypeDefinition" | "InputValueDefinition" | "EnumValueDefinition")[];
|
|
13
|
-
/**
|
|
14
|
-
* Asynchronously loads executable documents (i.e. operations and fragments) from
|
|
15
|
-
* the provided pointers. The pointers may be individual files or a glob pattern.
|
|
16
|
-
* The files themselves may be `.graphql` files or `.js` and `.ts` (in which
|
|
17
|
-
* case they will be parsed using graphql-tag-pluck).
|
|
18
|
-
* @param pointerOrPointers Pointers to the files to load the documents from
|
|
19
|
-
* @param options Additional options
|
|
20
|
-
*/
|
|
21
|
-
export declare function loadDocuments(pointerOrPointers: UnnormalizedTypeDefPointer | UnnormalizedTypeDefPointer[], options: LoadTypedefsOptions): Promise<Source[]>;
|
|
22
|
-
/**
|
|
23
|
-
* Synchronously loads executable documents (i.e. operations and fragments) from
|
|
24
|
-
* the provided pointers. The pointers may be individual files or a glob pattern.
|
|
25
|
-
* The files themselves may be `.graphql` files or `.js` and `.ts` (in which
|
|
26
|
-
* case they will be parsed using graphql-tag-pluck).
|
|
27
|
-
* @param pointerOrPointers Pointers to the files to load the documents from
|
|
28
|
-
* @param options Additional options
|
|
29
|
-
*/
|
|
30
|
-
export declare function loadDocumentsSync(pointerOrPointers: UnnormalizedTypeDefPointer | UnnormalizedTypeDefPointer[], options: LoadTypedefsOptions): Source[];
|
|
31
|
-
export {};
|
package/es5/index.d.ts
DELETED