@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphql-tools/load",
3
- "version": "7.3.0",
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.0",
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
@@ -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 {};
@@ -1,5 +0,0 @@
1
- import { DocumentNode } from 'graphql';
2
- /**
3
- * @internal
4
- */
5
- export declare const filterKind: (content: DocumentNode | undefined, filterKinds: null | string[]) => DocumentNode | undefined;
package/es5/index.d.ts DELETED
@@ -1,4 +0,0 @@
1
- export * from './load-typedefs';
2
- export * from './schema';
3
- export * from './documents';
4
- export * from './filter-document-kind';