@graphql-inspector/core
Advanced tools
Comparing version 6.2.0-alpha-20241111105935-d6f72f89e996893035a838d61aa3b129c82e8de5 to 6.2.0-alpha-20241111143341-d90200fa47b6a28feb8a6849210093cd8dd02683
{ | ||
"name": "@graphql-inspector/core", | ||
"version": "6.2.0-alpha-20241111105935-d6f72f89e996893035a838d61aa3b129c82e8de5", | ||
"version": "6.2.0-alpha-20241111143341-d90200fa47b6a28feb8a6849210093cd8dd02683", | ||
"description": "Tooling for GraphQL. Compare GraphQL Schemas, check documents, find breaking changes, find similar types.", | ||
@@ -5,0 +5,0 @@ "sideEffects": false, |
@@ -563,3 +563,3 @@ export declare enum CriticalityLevel { | ||
}; | ||
export type DirectiveUsageInputObjectdRemovedChange = { | ||
export type DirectiveUsageInputObjectRemovedChange = { | ||
type: typeof ChangeType.DirectiveUsageInputObjectRemoved; | ||
@@ -706,2 +706,11 @@ meta: { | ||
}; | ||
export type DirectiveUsageArgumentDefinitionAddedChange = { | ||
type: typeof ChangeType.DirectiveUsageArgumentDefinitionAdded; | ||
meta: { | ||
typeName: string; | ||
fieldName: string; | ||
argumentName: string; | ||
addedDirectiveName: string; | ||
}; | ||
}; | ||
type Changes = { | ||
@@ -787,3 +796,3 @@ [ChangeType.TypeAdded]: TypeAddedChange; | ||
[ChangeType.DirectiveUsageInputObjectAdded]: DirectiveUsageInputObjectAddedChange; | ||
[ChangeType.DirectiveUsageInputObjectRemoved]: DirectiveUsageInputObjectdRemovedChange; | ||
[ChangeType.DirectiveUsageInputObjectRemoved]: DirectiveUsageInputObjectRemovedChange; | ||
[ChangeType.DirectiveUsageFieldAdded]: DirectiveUsageFieldAddedChange; | ||
@@ -797,3 +806,3 @@ [ChangeType.DirectiveUsageFieldRemoved]: DirectiveUsageFieldRemovedChange; | ||
[ChangeType.DirectiveUsageInterfaceRemoved]: DirectiveUsageInterfaceRemovedChange; | ||
[ChangeType.DirectiveUsageArgumentDefinitionAdded]: DirectiveUsageArgumentDefinitionChange; | ||
[ChangeType.DirectiveUsageArgumentDefinitionAdded]: DirectiveUsageArgumentDefinitionAddedChange; | ||
[ChangeType.DirectiveUsageArgumentDefinitionRemoved]: DirectiveUsageArgumentDefinitionRemovedChange; | ||
@@ -804,4 +813,6 @@ [ChangeType.DirectiveUsageSchemaAdded]: DirectiveUsageSchemaAddedChange; | ||
[ChangeType.DirectiveUsageFieldDefinitionRemoved]: DirectiveUsageFieldDefinitionRemovedChange; | ||
[ChangeType.DirectiveUsageInputFieldDefinitionAdded]: DirectiveUsageInputFieldDefinitionAddedChange; | ||
[ChangeType.DirectiveUsageInputFieldDefinitionRemoved]: DirectiveUsageInputFieldDefinitionRemovedChange; | ||
}; | ||
export type SerializableChange = Changes[keyof Changes]; | ||
export {}; |
import { ConstDirectiveNode, GraphQLArgument, GraphQLEnumType, GraphQLEnumValue, GraphQLField, GraphQLInputField, GraphQLInputObjectType, GraphQLInterfaceType, GraphQLObjectType, GraphQLScalarType, GraphQLSchema, GraphQLUnionType, Kind } from 'graphql'; | ||
import { Change, DirectiveUsageArgumentDefinitionChange, DirectiveUsageArgumentDefinitionRemovedChange, DirectiveUsageEnumAddedChange, DirectiveUsageEnumRemovedChange, DirectiveUsageEnumValueAddedChange, DirectiveUsageEnumValueRemovedChange, DirectiveUsageFieldDefinitionAddedChange, DirectiveUsageFieldDefinitionRemovedChange, DirectiveUsageInputObjectAddedChange, DirectiveUsageInputObjectdRemovedChange, DirectiveUsageInterfaceAddedChange, DirectiveUsageInterfaceRemovedChange, DirectiveUsageObjectAddedChange, DirectiveUsageObjectRemovedChange, DirectiveUsageScalarAddedChange, DirectiveUsageScalarRemovedChange, DirectiveUsageSchemaAddedChange, DirectiveUsageSchemaRemovedChange, DirectiveUsageUnionMemberAddedChange, DirectiveUsageUnionMemberRemovedChange } from './change.js'; | ||
import { Change, DirectiveUsageArgumentDefinitionChange, DirectiveUsageArgumentDefinitionRemovedChange, DirectiveUsageEnumAddedChange, DirectiveUsageEnumRemovedChange, DirectiveUsageEnumValueAddedChange, DirectiveUsageEnumValueRemovedChange, DirectiveUsageFieldDefinitionAddedChange, DirectiveUsageFieldDefinitionRemovedChange, DirectiveUsageInputObjectAddedChange, DirectiveUsageInputObjectRemovedChange, DirectiveUsageInterfaceAddedChange, DirectiveUsageInterfaceRemovedChange, DirectiveUsageObjectAddedChange, DirectiveUsageObjectRemovedChange, DirectiveUsageScalarAddedChange, DirectiveUsageScalarRemovedChange, DirectiveUsageSchemaAddedChange, DirectiveUsageSchemaRemovedChange, DirectiveUsageUnionMemberAddedChange, DirectiveUsageUnionMemberRemovedChange } from './change.js'; | ||
type KindToPayload = { | ||
@@ -44,3 +44,3 @@ [Kind.ENUM_TYPE_DEFINITION]: { | ||
input: GraphQLInputObjectType; | ||
change: DirectiveUsageInputObjectAddedChange | DirectiveUsageInputObjectdRemovedChange; | ||
change: DirectiveUsageInputObjectAddedChange | DirectiveUsageInputObjectRemovedChange; | ||
}; | ||
@@ -47,0 +47,0 @@ [Kind.INPUT_VALUE_DEFINITION]: { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
512021
9532