@luvio/graphql-parser 0.125.0 → 0.126.0

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/dist/main.d.ts DELETED
@@ -1,18 +0,0 @@
1
- import { GraphQLSchema, GraphQLScalarType, execute, buildSchema, getNamedType, isObjectType, validateSchema, NameNode, GraphQLError, ObjectValueNode, defaultFieldResolver, type ASTNode, type DefinitionNode } from 'graphql';
2
- import { buildASTSchema } from 'graphql/utilities';
3
- import { LuvioDocumentNode, LuvioArgumentNode, LuvioDefinitionNode, LuvioObjectValueNode, LuvioOperationDefinitionNode, LuvioSelectionCustomFieldNode, LuvioSelectionNode, LuvioSelectionObjectFieldNode, LuvioSelectionScalarFieldNode, LuvioValueNode, LuvioFieldNode, LuvioVariableDefinitionNode, LuvioVariableNode, LuvioNamedTypeNode, LuvioListTypeNode, LuvioListValueNode, LuvioTypeNode } from './ast';
4
- export type { GraphQLObjectType, GraphQLInterfaceType, GraphQLDirective, GraphQLUnionType, GraphQLNamedType, } from 'graphql/type';
5
- export type { ListTypeNode, BooleanValueNode, EnumTypeDefinitionNode, FieldDefinitionNode, FloatValueNode, InterfaceTypeDefinitionNode, IntValueNode, NamedTypeNode, ObjectTypeDefinitionNode, StringValueNode, TypeNode, UnionTypeDefinitionNode, DocumentNode, OperationDefinitionNode, FieldNode, ArgumentNode, ValueNode, SelectionNode, SelectionSetNode, FragmentDefinitionNode, DirectiveNode, ObjectFieldNode, ScalarTypeDefinitionNode, InputObjectTypeDefinitionNode, InlineFragmentNode, FragmentSpreadNode, } from 'graphql/language';
6
- export { ASTVisitor, parse, Kind, print, visit } from 'graphql/language';
7
- export { isScalarType } from 'graphql/type';
8
- export { stripIgnoredCharacters } from 'graphql/utilities';
9
- export { gql, astResolver } from './gql';
10
- export type { AstResolver } from './gql';
11
- /**
12
- * @deprecated - Schema-backed adapters will use standard graphql types re-exported from @luvio/graphql
13
- */
14
- export { LuvioDocumentNode, LuvioArgumentNode, LuvioDefinitionNode, LuvioObjectValueNode, LuvioOperationDefinitionNode, LuvioSelectionCustomFieldNode, LuvioSelectionNode, LuvioSelectionObjectFieldNode, LuvioSelectionScalarFieldNode, LuvioValueNode, LuvioFieldNode, LuvioVariableDefinitionNode, LuvioVariableNode, LuvioNamedTypeNode, LuvioListTypeNode, LuvioListValueNode, LuvioTypeNode, GraphQLSchema, GraphQLScalarType, NameNode, GraphQLError, ASTNode, DefinitionNode, ObjectValueNode, buildASTSchema, execute, buildSchema, getNamedType, isObjectType, validateSchema, defaultFieldResolver, };
15
- /**
16
- * @deprecated In favor of gql tagged template literal
17
- */
18
- export declare function parseAndVisit(source: string): LuvioDocumentNode;
@@ -1,10 +0,0 @@
1
- /**
2
- * Add metaschema annotations to their corresponding custom notation counterparts
3
- * @module metaschemaMapper
4
- */
5
- import type { DocumentNode } from 'graphql/language';
6
- /**
7
- * Accepts a document node and replaces the legacy custom directives with metaschema directives "in-place"
8
- * @param doc
9
- */
10
- export declare function metaschemaMapper(doc: DocumentNode): void;
@@ -1,3 +0,0 @@
1
- import type { OperationDefinitionNode } from 'graphql/language';
2
- import type { LuvioOperationDefinitionNode } from '../ast';
3
- export declare function transform(node: OperationDefinitionNode): LuvioOperationDefinitionNode;
@@ -1,6 +0,0 @@
1
- import type { OperationDefinitionNode } from 'graphql/language';
2
- import type { LuvioOperationDefinitionNode } from '../../ast';
3
- export interface TransformState {
4
- variablesUsed: Record<string, true>;
5
- }
6
- export declare function transform(node: OperationDefinitionNode): LuvioOperationDefinitionNode;
@@ -1,3 +0,0 @@
1
- import type { TypeNode } from 'graphql/language';
2
- import type { LuvioTypeNode } from './ast';
3
- export declare function transform(node: TypeNode): LuvioTypeNode;
@@ -1,9 +0,0 @@
1
- declare const isArray: (arg: any) => arg is any[];
2
- declare const create: {
3
- (o: object | null): any;
4
- (o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any;
5
- }, keys: {
6
- (o: object): string[];
7
- (o: {}): string[];
8
- };
9
- export { isArray as ArrayIsArray, keys as ObjectKeys, create as ObjectCreate, };
@@ -1,4 +0,0 @@
1
- import type { ValueNode } from 'graphql/language';
2
- import type { LuvioValueNode } from './ast';
3
- import type { TransformState } from './operation/query';
4
- export declare function transform(node: ValueNode, transformState: TransformState): LuvioValueNode;
@@ -1,4 +0,0 @@
1
- import type { VariableDefinitionNode } from 'graphql/language';
2
- import type { LuvioVariableDefinitionNode } from './ast';
3
- import type { TransformState } from './operation/query';
4
- export declare function transform(variableDefinitions: VariableDefinitionNode, transformState: TransformState): LuvioVariableDefinitionNode;
package/dist/visitor.d.ts DELETED
@@ -1,4 +0,0 @@
1
- import type { ASTNode } from 'graphql/language';
2
- import type { LuvioSelectionNode } from './ast';
3
- import type { TransformState } from './operation/query';
4
- export declare function selectionSetVisitor(ast: ASTNode, luvioSelectionPath: LuvioSelectionNode[], transformState: TransformState): void;