New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@graphql-inspector/core

Package Overview
Dependencies
Maintainers
3
Versions
430
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@graphql-inspector/core - npm Package Compare versions

Comparing version 5.0.2 to 5.0.3-alpha-20231130103259-437fc41f

123

cjs/diff/changes/change.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CriticalityLevel = exports.ChangeType = void 0;
var ChangeType;
(function (ChangeType) {
exports.ChangeType = exports.CriticalityLevel = void 0;
var CriticalityLevel;
(function (CriticalityLevel) {
CriticalityLevel["Breaking"] = "BREAKING";
CriticalityLevel["NonBreaking"] = "NON_BREAKING";
CriticalityLevel["Dangerous"] = "DANGEROUS";
})(CriticalityLevel || (exports.CriticalityLevel = CriticalityLevel = {}));
exports.ChangeType = {
// Argument
ChangeType["FieldArgumentDescriptionChanged"] = "FIELD_ARGUMENT_DESCRIPTION_CHANGED";
ChangeType["FieldArgumentDefaultChanged"] = "FIELD_ARGUMENT_DEFAULT_CHANGED";
ChangeType["FieldArgumentTypeChanged"] = "FIELD_ARGUMENT_TYPE_CHANGED";
FieldArgumentDescriptionChanged: 'FIELD_ARGUMENT_DESCRIPTION_CHANGED',
FieldArgumentDefaultChanged: 'FIELD_ARGUMENT_DEFAULT_CHANGED',
FieldArgumentTypeChanged: 'FIELD_ARGUMENT_TYPE_CHANGED',
// Directive
ChangeType["DirectiveRemoved"] = "DIRECTIVE_REMOVED";
ChangeType["DirectiveAdded"] = "DIRECTIVE_ADDED";
ChangeType["DirectiveDescriptionChanged"] = "DIRECTIVE_DESCRIPTION_CHANGED";
ChangeType["DirectiveLocationAdded"] = "DIRECTIVE_LOCATION_ADDED";
ChangeType["DirectiveLocationRemoved"] = "DIRECTIVE_LOCATION_REMOVED";
ChangeType["DirectiveArgumentAdded"] = "DIRECTIVE_ARGUMENT_ADDED";
ChangeType["DirectiveArgumentRemoved"] = "DIRECTIVE_ARGUMENT_REMOVED";
ChangeType["DirectiveArgumentDescriptionChanged"] = "DIRECTIVE_ARGUMENT_DESCRIPTION_CHANGED";
ChangeType["DirectiveArgumentDefaultValueChanged"] = "DIRECTIVE_ARGUMENT_DEFAULT_VALUE_CHANGED";
ChangeType["DirectiveArgumentTypeChanged"] = "DIRECTIVE_ARGUMENT_TYPE_CHANGED";
DirectiveRemoved: 'DIRECTIVE_REMOVED',
DirectiveAdded: 'DIRECTIVE_ADDED',
DirectiveDescriptionChanged: 'DIRECTIVE_DESCRIPTION_CHANGED',
DirectiveLocationAdded: 'DIRECTIVE_LOCATION_ADDED',
DirectiveLocationRemoved: 'DIRECTIVE_LOCATION_REMOVED',
DirectiveArgumentAdded: 'DIRECTIVE_ARGUMENT_ADDED',
DirectiveArgumentRemoved: 'DIRECTIVE_ARGUMENT_REMOVED',
DirectiveArgumentDescriptionChanged: 'DIRECTIVE_ARGUMENT_DESCRIPTION_CHANGED',
DirectiveArgumentDefaultValueChanged: 'DIRECTIVE_ARGUMENT_DEFAULT_VALUE_CHANGED',
DirectiveArgumentTypeChanged: 'DIRECTIVE_ARGUMENT_TYPE_CHANGED',
// Enum
ChangeType["EnumValueRemoved"] = "ENUM_VALUE_REMOVED";
ChangeType["EnumValueAdded"] = "ENUM_VALUE_ADDED";
ChangeType["EnumValueDescriptionChanged"] = "ENUM_VALUE_DESCRIPTION_CHANGED";
ChangeType["EnumValueDeprecationReasonChanged"] = "ENUM_VALUE_DEPRECATION_REASON_CHANGED";
ChangeType["EnumValueDeprecationReasonAdded"] = "ENUM_VALUE_DEPRECATION_REASON_ADDED";
ChangeType["EnumValueDeprecationReasonRemoved"] = "ENUM_VALUE_DEPRECATION_REASON_REMOVED";
EnumValueRemoved: 'ENUM_VALUE_REMOVED',
EnumValueAdded: 'ENUM_VALUE_ADDED',
EnumValueDescriptionChanged: 'ENUM_VALUE_DESCRIPTION_CHANGED',
EnumValueDeprecationReasonChanged: 'ENUM_VALUE_DEPRECATION_REASON_CHANGED',
EnumValueDeprecationReasonAdded: 'ENUM_VALUE_DEPRECATION_REASON_ADDED',
EnumValueDeprecationReasonRemoved: 'ENUM_VALUE_DEPRECATION_REASON_REMOVED',
// Field
ChangeType["FieldRemoved"] = "FIELD_REMOVED";
ChangeType["FieldAdded"] = "FIELD_ADDED";
ChangeType["FieldDescriptionChanged"] = "FIELD_DESCRIPTION_CHANGED";
ChangeType["FieldDescriptionAdded"] = "FIELD_DESCRIPTION_ADDED";
ChangeType["FieldDescriptionRemoved"] = "FIELD_DESCRIPTION_REMOVED";
ChangeType["FieldDeprecationAdded"] = "FIELD_DEPRECATION_ADDED";
ChangeType["FieldDeprecationRemoved"] = "FIELD_DEPRECATION_REMOVED";
ChangeType["FieldDeprecationReasonChanged"] = "FIELD_DEPRECATION_REASON_CHANGED";
ChangeType["FieldDeprecationReasonAdded"] = "FIELD_DEPRECATION_REASON_ADDED";
ChangeType["FieldDeprecationReasonRemoved"] = "FIELD_DEPRECATION_REASON_REMOVED";
ChangeType["FieldTypeChanged"] = "FIELD_TYPE_CHANGED";
ChangeType["FieldArgumentAdded"] = "FIELD_ARGUMENT_ADDED";
ChangeType["FieldArgumentRemoved"] = "FIELD_ARGUMENT_REMOVED";
FieldRemoved: 'FIELD_REMOVED',
FieldAdded: 'FIELD_ADDED',
FieldDescriptionChanged: 'FIELD_DESCRIPTION_CHANGED',
FieldDescriptionAdded: 'FIELD_DESCRIPTION_ADDED',
FieldDescriptionRemoved: 'FIELD_DESCRIPTION_REMOVED',
FieldDeprecationAdded: 'FIELD_DEPRECATION_ADDED',
FieldDeprecationRemoved: 'FIELD_DEPRECATION_REMOVED',
FieldDeprecationReasonChanged: 'FIELD_DEPRECATION_REASON_CHANGED',
FieldDeprecationReasonAdded: 'FIELD_DEPRECATION_REASON_ADDED',
FieldDeprecationReasonRemoved: 'FIELD_DEPRECATION_REASON_REMOVED',
FieldTypeChanged: 'FIELD_TYPE_CHANGED',
FieldArgumentAdded: 'FIELD_ARGUMENT_ADDED',
FieldArgumentRemoved: 'FIELD_ARGUMENT_REMOVED',
// Input
ChangeType["InputFieldRemoved"] = "INPUT_FIELD_REMOVED";
ChangeType["InputFieldAdded"] = "INPUT_FIELD_ADDED";
ChangeType["InputFieldDescriptionAdded"] = "INPUT_FIELD_DESCRIPTION_ADDED";
ChangeType["InputFieldDescriptionRemoved"] = "INPUT_FIELD_DESCRIPTION_REMOVED";
ChangeType["InputFieldDescriptionChanged"] = "INPUT_FIELD_DESCRIPTION_CHANGED";
ChangeType["InputFieldDefaultValueChanged"] = "INPUT_FIELD_DEFAULT_VALUE_CHANGED";
ChangeType["InputFieldTypeChanged"] = "INPUT_FIELD_TYPE_CHANGED";
InputFieldRemoved: 'INPUT_FIELD_REMOVED',
InputFieldAdded: 'INPUT_FIELD_ADDED',
InputFieldDescriptionAdded: 'INPUT_FIELD_DESCRIPTION_ADDED',
InputFieldDescriptionRemoved: 'INPUT_FIELD_DESCRIPTION_REMOVED',
InputFieldDescriptionChanged: 'INPUT_FIELD_DESCRIPTION_CHANGED',
InputFieldDefaultValueChanged: 'INPUT_FIELD_DEFAULT_VALUE_CHANGED',
InputFieldTypeChanged: 'INPUT_FIELD_TYPE_CHANGED',
// Type
ChangeType["ObjectTypeInterfaceAdded"] = "OBJECT_TYPE_INTERFACE_ADDED";
ChangeType["ObjectTypeInterfaceRemoved"] = "OBJECT_TYPE_INTERFACE_REMOVED";
ObjectTypeInterfaceAdded: 'OBJECT_TYPE_INTERFACE_ADDED',
ObjectTypeInterfaceRemoved: 'OBJECT_TYPE_INTERFACE_REMOVED',
// Schema
ChangeType["SchemaQueryTypeChanged"] = "SCHEMA_QUERY_TYPE_CHANGED";
ChangeType["SchemaMutationTypeChanged"] = "SCHEMA_MUTATION_TYPE_CHANGED";
ChangeType["SchemaSubscriptionTypeChanged"] = "SCHEMA_SUBSCRIPTION_TYPE_CHANGED";
SchemaQueryTypeChanged: 'SCHEMA_QUERY_TYPE_CHANGED',
SchemaMutationTypeChanged: 'SCHEMA_MUTATION_TYPE_CHANGED',
SchemaSubscriptionTypeChanged: 'SCHEMA_SUBSCRIPTION_TYPE_CHANGED',
// Type
ChangeType["TypeRemoved"] = "TYPE_REMOVED";
ChangeType["TypeAdded"] = "TYPE_ADDED";
ChangeType["TypeKindChanged"] = "TYPE_KIND_CHANGED";
ChangeType["TypeDescriptionChanged"] = "TYPE_DESCRIPTION_CHANGED";
TypeRemoved: 'TYPE_REMOVED',
TypeAdded: 'TYPE_ADDED',
TypeKindChanged: 'TYPE_KIND_CHANGED',
TypeDescriptionChanged: 'TYPE_DESCRIPTION_CHANGED',
// TODO
ChangeType["TypeDescriptionRemoved"] = "TYPE_DESCRIPTION_REMOVED";
TypeDescriptionRemoved: 'TYPE_DESCRIPTION_REMOVED',
// TODO
ChangeType["TypeDescriptionAdded"] = "TYPE_DESCRIPTION_ADDED";
TypeDescriptionAdded: 'TYPE_DESCRIPTION_ADDED',
// Union
ChangeType["UnionMemberRemoved"] = "UNION_MEMBER_REMOVED";
ChangeType["UnionMemberAdded"] = "UNION_MEMBER_ADDED";
})(ChangeType || (exports.ChangeType = ChangeType = {}));
var CriticalityLevel;
(function (CriticalityLevel) {
CriticalityLevel["Breaking"] = "BREAKING";
CriticalityLevel["NonBreaking"] = "NON_BREAKING";
CriticalityLevel["Dangerous"] = "DANGEROUS";
})(CriticalityLevel || (exports.CriticalityLevel = CriticalityLevel = {}));
UnionMemberRemoved: 'UNION_MEMBER_REMOVED',
UnionMemberAdded: 'UNION_MEMBER_ADDED',
};

@@ -1,72 +0,71 @@

export var ChangeType;
(function (ChangeType) {
export var CriticalityLevel;
(function (CriticalityLevel) {
CriticalityLevel["Breaking"] = "BREAKING";
CriticalityLevel["NonBreaking"] = "NON_BREAKING";
CriticalityLevel["Dangerous"] = "DANGEROUS";
})(CriticalityLevel || (CriticalityLevel = {}));
export const ChangeType = {
// Argument
ChangeType["FieldArgumentDescriptionChanged"] = "FIELD_ARGUMENT_DESCRIPTION_CHANGED";
ChangeType["FieldArgumentDefaultChanged"] = "FIELD_ARGUMENT_DEFAULT_CHANGED";
ChangeType["FieldArgumentTypeChanged"] = "FIELD_ARGUMENT_TYPE_CHANGED";
FieldArgumentDescriptionChanged: 'FIELD_ARGUMENT_DESCRIPTION_CHANGED',
FieldArgumentDefaultChanged: 'FIELD_ARGUMENT_DEFAULT_CHANGED',
FieldArgumentTypeChanged: 'FIELD_ARGUMENT_TYPE_CHANGED',
// Directive
ChangeType["DirectiveRemoved"] = "DIRECTIVE_REMOVED";
ChangeType["DirectiveAdded"] = "DIRECTIVE_ADDED";
ChangeType["DirectiveDescriptionChanged"] = "DIRECTIVE_DESCRIPTION_CHANGED";
ChangeType["DirectiveLocationAdded"] = "DIRECTIVE_LOCATION_ADDED";
ChangeType["DirectiveLocationRemoved"] = "DIRECTIVE_LOCATION_REMOVED";
ChangeType["DirectiveArgumentAdded"] = "DIRECTIVE_ARGUMENT_ADDED";
ChangeType["DirectiveArgumentRemoved"] = "DIRECTIVE_ARGUMENT_REMOVED";
ChangeType["DirectiveArgumentDescriptionChanged"] = "DIRECTIVE_ARGUMENT_DESCRIPTION_CHANGED";
ChangeType["DirectiveArgumentDefaultValueChanged"] = "DIRECTIVE_ARGUMENT_DEFAULT_VALUE_CHANGED";
ChangeType["DirectiveArgumentTypeChanged"] = "DIRECTIVE_ARGUMENT_TYPE_CHANGED";
DirectiveRemoved: 'DIRECTIVE_REMOVED',
DirectiveAdded: 'DIRECTIVE_ADDED',
DirectiveDescriptionChanged: 'DIRECTIVE_DESCRIPTION_CHANGED',
DirectiveLocationAdded: 'DIRECTIVE_LOCATION_ADDED',
DirectiveLocationRemoved: 'DIRECTIVE_LOCATION_REMOVED',
DirectiveArgumentAdded: 'DIRECTIVE_ARGUMENT_ADDED',
DirectiveArgumentRemoved: 'DIRECTIVE_ARGUMENT_REMOVED',
DirectiveArgumentDescriptionChanged: 'DIRECTIVE_ARGUMENT_DESCRIPTION_CHANGED',
DirectiveArgumentDefaultValueChanged: 'DIRECTIVE_ARGUMENT_DEFAULT_VALUE_CHANGED',
DirectiveArgumentTypeChanged: 'DIRECTIVE_ARGUMENT_TYPE_CHANGED',
// Enum
ChangeType["EnumValueRemoved"] = "ENUM_VALUE_REMOVED";
ChangeType["EnumValueAdded"] = "ENUM_VALUE_ADDED";
ChangeType["EnumValueDescriptionChanged"] = "ENUM_VALUE_DESCRIPTION_CHANGED";
ChangeType["EnumValueDeprecationReasonChanged"] = "ENUM_VALUE_DEPRECATION_REASON_CHANGED";
ChangeType["EnumValueDeprecationReasonAdded"] = "ENUM_VALUE_DEPRECATION_REASON_ADDED";
ChangeType["EnumValueDeprecationReasonRemoved"] = "ENUM_VALUE_DEPRECATION_REASON_REMOVED";
EnumValueRemoved: 'ENUM_VALUE_REMOVED',
EnumValueAdded: 'ENUM_VALUE_ADDED',
EnumValueDescriptionChanged: 'ENUM_VALUE_DESCRIPTION_CHANGED',
EnumValueDeprecationReasonChanged: 'ENUM_VALUE_DEPRECATION_REASON_CHANGED',
EnumValueDeprecationReasonAdded: 'ENUM_VALUE_DEPRECATION_REASON_ADDED',
EnumValueDeprecationReasonRemoved: 'ENUM_VALUE_DEPRECATION_REASON_REMOVED',
// Field
ChangeType["FieldRemoved"] = "FIELD_REMOVED";
ChangeType["FieldAdded"] = "FIELD_ADDED";
ChangeType["FieldDescriptionChanged"] = "FIELD_DESCRIPTION_CHANGED";
ChangeType["FieldDescriptionAdded"] = "FIELD_DESCRIPTION_ADDED";
ChangeType["FieldDescriptionRemoved"] = "FIELD_DESCRIPTION_REMOVED";
ChangeType["FieldDeprecationAdded"] = "FIELD_DEPRECATION_ADDED";
ChangeType["FieldDeprecationRemoved"] = "FIELD_DEPRECATION_REMOVED";
ChangeType["FieldDeprecationReasonChanged"] = "FIELD_DEPRECATION_REASON_CHANGED";
ChangeType["FieldDeprecationReasonAdded"] = "FIELD_DEPRECATION_REASON_ADDED";
ChangeType["FieldDeprecationReasonRemoved"] = "FIELD_DEPRECATION_REASON_REMOVED";
ChangeType["FieldTypeChanged"] = "FIELD_TYPE_CHANGED";
ChangeType["FieldArgumentAdded"] = "FIELD_ARGUMENT_ADDED";
ChangeType["FieldArgumentRemoved"] = "FIELD_ARGUMENT_REMOVED";
FieldRemoved: 'FIELD_REMOVED',
FieldAdded: 'FIELD_ADDED',
FieldDescriptionChanged: 'FIELD_DESCRIPTION_CHANGED',
FieldDescriptionAdded: 'FIELD_DESCRIPTION_ADDED',
FieldDescriptionRemoved: 'FIELD_DESCRIPTION_REMOVED',
FieldDeprecationAdded: 'FIELD_DEPRECATION_ADDED',
FieldDeprecationRemoved: 'FIELD_DEPRECATION_REMOVED',
FieldDeprecationReasonChanged: 'FIELD_DEPRECATION_REASON_CHANGED',
FieldDeprecationReasonAdded: 'FIELD_DEPRECATION_REASON_ADDED',
FieldDeprecationReasonRemoved: 'FIELD_DEPRECATION_REASON_REMOVED',
FieldTypeChanged: 'FIELD_TYPE_CHANGED',
FieldArgumentAdded: 'FIELD_ARGUMENT_ADDED',
FieldArgumentRemoved: 'FIELD_ARGUMENT_REMOVED',
// Input
ChangeType["InputFieldRemoved"] = "INPUT_FIELD_REMOVED";
ChangeType["InputFieldAdded"] = "INPUT_FIELD_ADDED";
ChangeType["InputFieldDescriptionAdded"] = "INPUT_FIELD_DESCRIPTION_ADDED";
ChangeType["InputFieldDescriptionRemoved"] = "INPUT_FIELD_DESCRIPTION_REMOVED";
ChangeType["InputFieldDescriptionChanged"] = "INPUT_FIELD_DESCRIPTION_CHANGED";
ChangeType["InputFieldDefaultValueChanged"] = "INPUT_FIELD_DEFAULT_VALUE_CHANGED";
ChangeType["InputFieldTypeChanged"] = "INPUT_FIELD_TYPE_CHANGED";
InputFieldRemoved: 'INPUT_FIELD_REMOVED',
InputFieldAdded: 'INPUT_FIELD_ADDED',
InputFieldDescriptionAdded: 'INPUT_FIELD_DESCRIPTION_ADDED',
InputFieldDescriptionRemoved: 'INPUT_FIELD_DESCRIPTION_REMOVED',
InputFieldDescriptionChanged: 'INPUT_FIELD_DESCRIPTION_CHANGED',
InputFieldDefaultValueChanged: 'INPUT_FIELD_DEFAULT_VALUE_CHANGED',
InputFieldTypeChanged: 'INPUT_FIELD_TYPE_CHANGED',
// Type
ChangeType["ObjectTypeInterfaceAdded"] = "OBJECT_TYPE_INTERFACE_ADDED";
ChangeType["ObjectTypeInterfaceRemoved"] = "OBJECT_TYPE_INTERFACE_REMOVED";
ObjectTypeInterfaceAdded: 'OBJECT_TYPE_INTERFACE_ADDED',
ObjectTypeInterfaceRemoved: 'OBJECT_TYPE_INTERFACE_REMOVED',
// Schema
ChangeType["SchemaQueryTypeChanged"] = "SCHEMA_QUERY_TYPE_CHANGED";
ChangeType["SchemaMutationTypeChanged"] = "SCHEMA_MUTATION_TYPE_CHANGED";
ChangeType["SchemaSubscriptionTypeChanged"] = "SCHEMA_SUBSCRIPTION_TYPE_CHANGED";
SchemaQueryTypeChanged: 'SCHEMA_QUERY_TYPE_CHANGED',
SchemaMutationTypeChanged: 'SCHEMA_MUTATION_TYPE_CHANGED',
SchemaSubscriptionTypeChanged: 'SCHEMA_SUBSCRIPTION_TYPE_CHANGED',
// Type
ChangeType["TypeRemoved"] = "TYPE_REMOVED";
ChangeType["TypeAdded"] = "TYPE_ADDED";
ChangeType["TypeKindChanged"] = "TYPE_KIND_CHANGED";
ChangeType["TypeDescriptionChanged"] = "TYPE_DESCRIPTION_CHANGED";
TypeRemoved: 'TYPE_REMOVED',
TypeAdded: 'TYPE_ADDED',
TypeKindChanged: 'TYPE_KIND_CHANGED',
TypeDescriptionChanged: 'TYPE_DESCRIPTION_CHANGED',
// TODO
ChangeType["TypeDescriptionRemoved"] = "TYPE_DESCRIPTION_REMOVED";
TypeDescriptionRemoved: 'TYPE_DESCRIPTION_REMOVED',
// TODO
ChangeType["TypeDescriptionAdded"] = "TYPE_DESCRIPTION_ADDED";
TypeDescriptionAdded: 'TYPE_DESCRIPTION_ADDED',
// Union
ChangeType["UnionMemberRemoved"] = "UNION_MEMBER_REMOVED";
ChangeType["UnionMemberAdded"] = "UNION_MEMBER_ADDED";
})(ChangeType || (ChangeType = {}));
export var CriticalityLevel;
(function (CriticalityLevel) {
CriticalityLevel["Breaking"] = "BREAKING";
CriticalityLevel["NonBreaking"] = "NON_BREAKING";
CriticalityLevel["Dangerous"] = "DANGEROUS";
})(CriticalityLevel || (CriticalityLevel = {}));
UnionMemberRemoved: 'UNION_MEMBER_REMOVED',
UnionMemberAdded: 'UNION_MEMBER_ADDED',
};
{
"name": "@graphql-inspector/core",
"version": "5.0.2",
"version": "5.0.3-alpha-20231130103259-437fc41f",
"description": "Tooling for GraphQL. Compare GraphQL Schemas, check documents, find breaking changes, find similar types.",

@@ -5,0 +5,0 @@ "sideEffects": false,

import { GraphQLArgument, GraphQLField, GraphQLInterfaceType, GraphQLObjectType } from 'graphql';
import { Change, ChangeType, CriticalityLevel, FieldArgumentDefaultChangedChange, FieldArgumentDescriptionChangedChange, FieldArgumentTypeChangedChange } from './change.js';
export declare function fieldArgumentDescriptionChangedFromMeta(args: FieldArgumentDescriptionChangedChange): {
readonly type: ChangeType.FieldArgumentDescriptionChanged;
readonly type: "FIELD_ARGUMENT_DESCRIPTION_CHANGED";
readonly criticality: {

@@ -18,5 +18,5 @@ readonly level: CriticalityLevel.NonBreaking;

};
export declare function fieldArgumentDescriptionChanged(type: GraphQLObjectType | GraphQLInterfaceType, field: GraphQLField<any, any, any>, oldArg: GraphQLArgument, newArg: GraphQLArgument): Change<ChangeType.FieldArgumentDescriptionChanged>;
export declare function fieldArgumentDescriptionChanged(type: GraphQLObjectType | GraphQLInterfaceType, field: GraphQLField<any, any, any>, oldArg: GraphQLArgument, newArg: GraphQLArgument): Change<typeof ChangeType.FieldArgumentDescriptionChanged>;
export declare function fieldArgumentDefaultChangedFromMeta(args: FieldArgumentDefaultChangedChange): {
readonly type: ChangeType.FieldArgumentDefaultChanged;
readonly type: "FIELD_ARGUMENT_DEFAULT_CHANGED";
readonly criticality: {

@@ -36,5 +36,5 @@ readonly level: CriticalityLevel.Dangerous;

};
export declare function fieldArgumentDefaultChanged(type: GraphQLObjectType | GraphQLInterfaceType, field: GraphQLField<any, any, any>, oldArg: GraphQLArgument, newArg: GraphQLArgument): Change<ChangeType.FieldArgumentDefaultChanged>;
export declare function fieldArgumentDefaultChanged(type: GraphQLObjectType | GraphQLInterfaceType, field: GraphQLField<any, any, any>, oldArg: GraphQLArgument, newArg: GraphQLArgument): Change<typeof ChangeType.FieldArgumentDefaultChanged>;
export declare function fieldArgumentTypeChangedFromMeta(args: FieldArgumentTypeChangedChange): {
readonly type: ChangeType.FieldArgumentTypeChanged;
readonly type: "FIELD_ARGUMENT_TYPE_CHANGED";
readonly criticality: {

@@ -55,2 +55,2 @@ level: CriticalityLevel;

};
export declare function fieldArgumentTypeChanged(type: GraphQLObjectType | GraphQLInterfaceType, field: GraphQLField<any, any, any>, oldArg: GraphQLArgument, newArg: GraphQLArgument): Change<ChangeType.FieldArgumentTypeChanged>;
export declare function fieldArgumentTypeChanged(type: GraphQLObjectType | GraphQLInterfaceType, field: GraphQLField<any, any, any>, oldArg: GraphQLArgument, newArg: GraphQLArgument): Change<typeof ChangeType.FieldArgumentTypeChanged>;

@@ -1,55 +0,1 @@

export declare enum ChangeType {
FieldArgumentDescriptionChanged = "FIELD_ARGUMENT_DESCRIPTION_CHANGED",
FieldArgumentDefaultChanged = "FIELD_ARGUMENT_DEFAULT_CHANGED",
FieldArgumentTypeChanged = "FIELD_ARGUMENT_TYPE_CHANGED",
DirectiveRemoved = "DIRECTIVE_REMOVED",
DirectiveAdded = "DIRECTIVE_ADDED",
DirectiveDescriptionChanged = "DIRECTIVE_DESCRIPTION_CHANGED",
DirectiveLocationAdded = "DIRECTIVE_LOCATION_ADDED",
DirectiveLocationRemoved = "DIRECTIVE_LOCATION_REMOVED",
DirectiveArgumentAdded = "DIRECTIVE_ARGUMENT_ADDED",
DirectiveArgumentRemoved = "DIRECTIVE_ARGUMENT_REMOVED",
DirectiveArgumentDescriptionChanged = "DIRECTIVE_ARGUMENT_DESCRIPTION_CHANGED",
DirectiveArgumentDefaultValueChanged = "DIRECTIVE_ARGUMENT_DEFAULT_VALUE_CHANGED",
DirectiveArgumentTypeChanged = "DIRECTIVE_ARGUMENT_TYPE_CHANGED",
EnumValueRemoved = "ENUM_VALUE_REMOVED",
EnumValueAdded = "ENUM_VALUE_ADDED",
EnumValueDescriptionChanged = "ENUM_VALUE_DESCRIPTION_CHANGED",
EnumValueDeprecationReasonChanged = "ENUM_VALUE_DEPRECATION_REASON_CHANGED",
EnumValueDeprecationReasonAdded = "ENUM_VALUE_DEPRECATION_REASON_ADDED",
EnumValueDeprecationReasonRemoved = "ENUM_VALUE_DEPRECATION_REASON_REMOVED",
FieldRemoved = "FIELD_REMOVED",
FieldAdded = "FIELD_ADDED",
FieldDescriptionChanged = "FIELD_DESCRIPTION_CHANGED",
FieldDescriptionAdded = "FIELD_DESCRIPTION_ADDED",
FieldDescriptionRemoved = "FIELD_DESCRIPTION_REMOVED",
FieldDeprecationAdded = "FIELD_DEPRECATION_ADDED",
FieldDeprecationRemoved = "FIELD_DEPRECATION_REMOVED",
FieldDeprecationReasonChanged = "FIELD_DEPRECATION_REASON_CHANGED",
FieldDeprecationReasonAdded = "FIELD_DEPRECATION_REASON_ADDED",
FieldDeprecationReasonRemoved = "FIELD_DEPRECATION_REASON_REMOVED",
FieldTypeChanged = "FIELD_TYPE_CHANGED",
FieldArgumentAdded = "FIELD_ARGUMENT_ADDED",
FieldArgumentRemoved = "FIELD_ARGUMENT_REMOVED",
InputFieldRemoved = "INPUT_FIELD_REMOVED",
InputFieldAdded = "INPUT_FIELD_ADDED",
InputFieldDescriptionAdded = "INPUT_FIELD_DESCRIPTION_ADDED",
InputFieldDescriptionRemoved = "INPUT_FIELD_DESCRIPTION_REMOVED",
InputFieldDescriptionChanged = "INPUT_FIELD_DESCRIPTION_CHANGED",
InputFieldDefaultValueChanged = "INPUT_FIELD_DEFAULT_VALUE_CHANGED",
InputFieldTypeChanged = "INPUT_FIELD_TYPE_CHANGED",
ObjectTypeInterfaceAdded = "OBJECT_TYPE_INTERFACE_ADDED",
ObjectTypeInterfaceRemoved = "OBJECT_TYPE_INTERFACE_REMOVED",
SchemaQueryTypeChanged = "SCHEMA_QUERY_TYPE_CHANGED",
SchemaMutationTypeChanged = "SCHEMA_MUTATION_TYPE_CHANGED",
SchemaSubscriptionTypeChanged = "SCHEMA_SUBSCRIPTION_TYPE_CHANGED",
TypeRemoved = "TYPE_REMOVED",
TypeAdded = "TYPE_ADDED",
TypeKindChanged = "TYPE_KIND_CHANGED",
TypeDescriptionChanged = "TYPE_DESCRIPTION_CHANGED",
TypeDescriptionRemoved = "TYPE_DESCRIPTION_REMOVED",
TypeDescriptionAdded = "TYPE_DESCRIPTION_ADDED",
UnionMemberRemoved = "UNION_MEMBER_REMOVED",
UnionMemberAdded = "UNION_MEMBER_ADDED"
}
export declare enum CriticalityLevel {

@@ -73,4 +19,59 @@ Breaking = "BREAKING",

}
export declare const ChangeType: {
readonly FieldArgumentDescriptionChanged: "FIELD_ARGUMENT_DESCRIPTION_CHANGED";
readonly FieldArgumentDefaultChanged: "FIELD_ARGUMENT_DEFAULT_CHANGED";
readonly FieldArgumentTypeChanged: "FIELD_ARGUMENT_TYPE_CHANGED";
readonly DirectiveRemoved: "DIRECTIVE_REMOVED";
readonly DirectiveAdded: "DIRECTIVE_ADDED";
readonly DirectiveDescriptionChanged: "DIRECTIVE_DESCRIPTION_CHANGED";
readonly DirectiveLocationAdded: "DIRECTIVE_LOCATION_ADDED";
readonly DirectiveLocationRemoved: "DIRECTIVE_LOCATION_REMOVED";
readonly DirectiveArgumentAdded: "DIRECTIVE_ARGUMENT_ADDED";
readonly DirectiveArgumentRemoved: "DIRECTIVE_ARGUMENT_REMOVED";
readonly DirectiveArgumentDescriptionChanged: "DIRECTIVE_ARGUMENT_DESCRIPTION_CHANGED";
readonly DirectiveArgumentDefaultValueChanged: "DIRECTIVE_ARGUMENT_DEFAULT_VALUE_CHANGED";
readonly DirectiveArgumentTypeChanged: "DIRECTIVE_ARGUMENT_TYPE_CHANGED";
readonly EnumValueRemoved: "ENUM_VALUE_REMOVED";
readonly EnumValueAdded: "ENUM_VALUE_ADDED";
readonly EnumValueDescriptionChanged: "ENUM_VALUE_DESCRIPTION_CHANGED";
readonly EnumValueDeprecationReasonChanged: "ENUM_VALUE_DEPRECATION_REASON_CHANGED";
readonly EnumValueDeprecationReasonAdded: "ENUM_VALUE_DEPRECATION_REASON_ADDED";
readonly EnumValueDeprecationReasonRemoved: "ENUM_VALUE_DEPRECATION_REASON_REMOVED";
readonly FieldRemoved: "FIELD_REMOVED";
readonly FieldAdded: "FIELD_ADDED";
readonly FieldDescriptionChanged: "FIELD_DESCRIPTION_CHANGED";
readonly FieldDescriptionAdded: "FIELD_DESCRIPTION_ADDED";
readonly FieldDescriptionRemoved: "FIELD_DESCRIPTION_REMOVED";
readonly FieldDeprecationAdded: "FIELD_DEPRECATION_ADDED";
readonly FieldDeprecationRemoved: "FIELD_DEPRECATION_REMOVED";
readonly FieldDeprecationReasonChanged: "FIELD_DEPRECATION_REASON_CHANGED";
readonly FieldDeprecationReasonAdded: "FIELD_DEPRECATION_REASON_ADDED";
readonly FieldDeprecationReasonRemoved: "FIELD_DEPRECATION_REASON_REMOVED";
readonly FieldTypeChanged: "FIELD_TYPE_CHANGED";
readonly FieldArgumentAdded: "FIELD_ARGUMENT_ADDED";
readonly FieldArgumentRemoved: "FIELD_ARGUMENT_REMOVED";
readonly InputFieldRemoved: "INPUT_FIELD_REMOVED";
readonly InputFieldAdded: "INPUT_FIELD_ADDED";
readonly InputFieldDescriptionAdded: "INPUT_FIELD_DESCRIPTION_ADDED";
readonly InputFieldDescriptionRemoved: "INPUT_FIELD_DESCRIPTION_REMOVED";
readonly InputFieldDescriptionChanged: "INPUT_FIELD_DESCRIPTION_CHANGED";
readonly InputFieldDefaultValueChanged: "INPUT_FIELD_DEFAULT_VALUE_CHANGED";
readonly InputFieldTypeChanged: "INPUT_FIELD_TYPE_CHANGED";
readonly ObjectTypeInterfaceAdded: "OBJECT_TYPE_INTERFACE_ADDED";
readonly ObjectTypeInterfaceRemoved: "OBJECT_TYPE_INTERFACE_REMOVED";
readonly SchemaQueryTypeChanged: "SCHEMA_QUERY_TYPE_CHANGED";
readonly SchemaMutationTypeChanged: "SCHEMA_MUTATION_TYPE_CHANGED";
readonly SchemaSubscriptionTypeChanged: "SCHEMA_SUBSCRIPTION_TYPE_CHANGED";
readonly TypeRemoved: "TYPE_REMOVED";
readonly TypeAdded: "TYPE_ADDED";
readonly TypeKindChanged: "TYPE_KIND_CHANGED";
readonly TypeDescriptionChanged: "TYPE_DESCRIPTION_CHANGED";
readonly TypeDescriptionRemoved: "TYPE_DESCRIPTION_REMOVED";
readonly TypeDescriptionAdded: "TYPE_DESCRIPTION_ADDED";
readonly UnionMemberRemoved: "UNION_MEMBER_REMOVED";
readonly UnionMemberAdded: "UNION_MEMBER_ADDED";
};
export type ChangeType = (typeof ChangeType)[keyof typeof ChangeType];
export type FieldArgumentDescriptionChangedChange = {
type: ChangeType.FieldArgumentDescriptionChanged;
type: typeof ChangeType.FieldArgumentDescriptionChanged;
meta: {

@@ -85,3 +86,3 @@ typeName: string;

export type FieldArgumentDefaultChangedChange = {
type: ChangeType.FieldArgumentDefaultChanged;
type: typeof ChangeType.FieldArgumentDefaultChanged;
meta: {

@@ -96,3 +97,3 @@ typeName: string;

export type FieldArgumentTypeChangedChange = {
type: ChangeType.FieldArgumentTypeChanged;
type: typeof ChangeType.FieldArgumentTypeChanged;
meta: {

@@ -108,3 +109,3 @@ typeName: string;

export type DirectiveRemovedChange = {
type: ChangeType.DirectiveRemoved;
type: typeof ChangeType.DirectiveRemoved;
meta: {

@@ -115,3 +116,3 @@ removedDirectiveName: string;

export type DirectiveAddedChange = {
type: ChangeType.DirectiveAdded;
type: typeof ChangeType.DirectiveAdded;
meta: {

@@ -122,3 +123,3 @@ addedDirectiveName: string;

export type DirectiveDescriptionChangedChange = {
type: ChangeType.DirectiveDescriptionChanged;
type: typeof ChangeType.DirectiveDescriptionChanged;
meta: {

@@ -131,3 +132,3 @@ directiveName: string;

export type DirectiveLocationAddedChange = {
type: ChangeType.DirectiveLocationAdded;
type: typeof ChangeType.DirectiveLocationAdded;
meta: {

@@ -139,3 +140,3 @@ directiveName: string;

export type DirectiveLocationRemovedChange = {
type: ChangeType.DirectiveLocationRemoved;
type: typeof ChangeType.DirectiveLocationRemoved;
meta: {

@@ -147,3 +148,3 @@ directiveName: string;

export type DirectiveArgumentAddedChange = {
type: ChangeType.DirectiveArgumentAdded;
type: typeof ChangeType.DirectiveArgumentAdded;
meta: {

@@ -156,3 +157,3 @@ directiveName: string;

export type DirectiveArgumentRemovedChange = {
type: ChangeType.DirectiveArgumentRemoved;
type: typeof ChangeType.DirectiveArgumentRemoved;
meta: {

@@ -164,3 +165,3 @@ directiveName: string;

export type DirectiveArgumentDescriptionChangedChange = {
type: ChangeType.DirectiveArgumentDescriptionChanged;
type: typeof ChangeType.DirectiveArgumentDescriptionChanged;
meta: {

@@ -174,3 +175,3 @@ directiveName: string;

export type DirectiveArgumentDefaultValueChangedChange = {
type: ChangeType.DirectiveArgumentDefaultValueChanged;
type: typeof ChangeType.DirectiveArgumentDefaultValueChanged;
meta: {

@@ -184,3 +185,3 @@ directiveName: string;

export type DirectiveArgumentTypeChangedChange = {
type: ChangeType.DirectiveArgumentTypeChanged;
type: typeof ChangeType.DirectiveArgumentTypeChanged;
meta: {

@@ -196,3 +197,3 @@ directiveName: string;

export type EnumValueRemovedChange = {
type: ChangeType.EnumValueRemoved;
type: typeof ChangeType.EnumValueRemoved;
meta: {

@@ -205,3 +206,3 @@ enumName: string;

export type EnumValueAddedChange = {
type: ChangeType.EnumValueAdded;
type: typeof ChangeType.EnumValueAdded;
meta: {

@@ -213,3 +214,3 @@ enumName: string;

export type EnumValueDescriptionChangedChange = {
type: ChangeType.EnumValueDescriptionChanged;
type: typeof ChangeType.EnumValueDescriptionChanged;
meta: {

@@ -223,3 +224,3 @@ enumName: string;

export type EnumValueDeprecationReasonChangedChange = {
type: ChangeType.EnumValueDeprecationReasonChanged;
type: typeof ChangeType.EnumValueDeprecationReasonChanged;
meta: {

@@ -233,3 +234,3 @@ enumName: string;

export type EnumValueDeprecationReasonAddedChange = {
type: ChangeType.EnumValueDeprecationReasonAdded;
type: typeof ChangeType.EnumValueDeprecationReasonAdded;
meta: {

@@ -242,3 +243,3 @@ enumName: string;

export type EnumValueDeprecationReasonRemovedChange = {
type: ChangeType.EnumValueDeprecationReasonRemoved;
type: typeof ChangeType.EnumValueDeprecationReasonRemoved;
meta: {

@@ -251,3 +252,3 @@ enumName: string;

export type FieldRemovedChange = {
type: ChangeType.FieldRemoved;
type: typeof ChangeType.FieldRemoved;
meta: {

@@ -261,3 +262,3 @@ typeName: string;

export type FieldAddedChange = {
type: ChangeType.FieldAdded;
type: typeof ChangeType.FieldAdded;
meta: {

@@ -270,3 +271,3 @@ typeName: string;

export type FieldDescriptionChangedChange = {
type: ChangeType.FieldDescriptionChanged;
type: typeof ChangeType.FieldDescriptionChanged;
meta: {

@@ -280,3 +281,3 @@ typeName: string;

export type FieldDescriptionAddedChange = {
type: ChangeType.FieldDescriptionAdded;
type: typeof ChangeType.FieldDescriptionAdded;
meta: {

@@ -289,3 +290,3 @@ typeName: string;

export type FieldDescriptionRemovedChange = {
type: ChangeType.FieldDescriptionRemoved;
type: typeof ChangeType.FieldDescriptionRemoved;
meta: {

@@ -297,3 +298,3 @@ typeName: string;

export type FieldDeprecationAddedChange = {
type: ChangeType.FieldDeprecationAdded;
type: typeof ChangeType.FieldDeprecationAdded;
meta: {

@@ -305,3 +306,3 @@ typeName: string;

export type FieldDeprecationRemovedChange = {
type: ChangeType.FieldDeprecationRemoved;
type: typeof ChangeType.FieldDeprecationRemoved;
meta: {

@@ -313,3 +314,3 @@ typeName: string;

export type FieldDeprecationReasonChangedChange = {
type: ChangeType.FieldDeprecationReasonChanged;
type: typeof ChangeType.FieldDeprecationReasonChanged;
meta: {

@@ -323,3 +324,3 @@ typeName: string;

export type FieldDeprecationReasonAddedChange = {
type: ChangeType.FieldDeprecationReasonAdded;
type: typeof ChangeType.FieldDeprecationReasonAdded;
meta: {

@@ -332,3 +333,3 @@ typeName: string;

export type FieldDeprecationReasonRemovedChange = {
type: ChangeType.FieldDeprecationReasonRemoved;
type: typeof ChangeType.FieldDeprecationReasonRemoved;
meta: {

@@ -340,3 +341,3 @@ typeName: string;

export type FieldTypeChangedChange = {
type: ChangeType.FieldTypeChanged;
type: typeof ChangeType.FieldTypeChanged;
meta: {

@@ -351,3 +352,3 @@ typeName: string;

export type FieldArgumentAddedChange = {
type: ChangeType.FieldArgumentAdded;
type: typeof ChangeType.FieldArgumentAdded;
meta: {

@@ -363,3 +364,3 @@ typeName: string;

export type FieldArgumentRemovedChange = {
type: ChangeType.FieldArgumentRemoved;
type: typeof ChangeType.FieldArgumentRemoved;
meta: {

@@ -373,3 +374,3 @@ typeName: string;

export type InputFieldRemovedChange = {
type: ChangeType.InputFieldRemoved;
type: typeof ChangeType.InputFieldRemoved;
meta: {

@@ -382,3 +383,3 @@ inputName: string;

export type InputFieldAddedChange = {
type: ChangeType.InputFieldAdded;
type: typeof ChangeType.InputFieldAdded;
meta: {

@@ -392,3 +393,3 @@ inputName: string;

export type InputFieldDescriptionAddedChange = {
type: ChangeType.InputFieldDescriptionAdded;
type: typeof ChangeType.InputFieldDescriptionAdded;
meta: {

@@ -401,3 +402,3 @@ inputName: string;

export type InputFieldDescriptionRemovedChange = {
type: ChangeType.InputFieldDescriptionRemoved;
type: typeof ChangeType.InputFieldDescriptionRemoved;
meta: {

@@ -410,3 +411,3 @@ inputName: string;

export type InputFieldDescriptionChangedChange = {
type: ChangeType.InputFieldDescriptionChanged;
type: typeof ChangeType.InputFieldDescriptionChanged;
meta: {

@@ -420,3 +421,3 @@ inputName: string;

export type InputFieldDefaultValueChangedChange = {
type: ChangeType.InputFieldDefaultValueChanged;
type: typeof ChangeType.InputFieldDefaultValueChanged;
meta: {

@@ -430,3 +431,3 @@ inputName: string;

export type InputFieldTypeChangedChange = {
type: ChangeType.InputFieldTypeChanged;
type: typeof ChangeType.InputFieldTypeChanged;
meta: {

@@ -441,3 +442,3 @@ inputName: string;

export type ObjectTypeInterfaceAddedChange = {
type: ChangeType.ObjectTypeInterfaceAdded;
type: typeof ChangeType.ObjectTypeInterfaceAdded;
meta: {

@@ -449,3 +450,3 @@ objectTypeName: string;

export type ObjectTypeInterfaceRemovedChange = {
type: ChangeType.ObjectTypeInterfaceRemoved;
type: typeof ChangeType.ObjectTypeInterfaceRemoved;
meta: {

@@ -457,3 +458,3 @@ objectTypeName: string;

export type SchemaQueryTypeChangedChange = {
type: ChangeType.SchemaQueryTypeChanged;
type: typeof ChangeType.SchemaQueryTypeChanged;
meta: {

@@ -465,3 +466,3 @@ oldQueryTypeName: string;

export type SchemaMutationTypeChangedChange = {
type: ChangeType.SchemaMutationTypeChanged;
type: typeof ChangeType.SchemaMutationTypeChanged;
meta: {

@@ -473,3 +474,3 @@ oldMutationTypeName: string;

export type SchemaSubscriptionTypeChangedChange = {
type: ChangeType.SchemaSubscriptionTypeChanged;
type: typeof ChangeType.SchemaSubscriptionTypeChanged;
meta: {

@@ -481,3 +482,3 @@ oldSubscriptionTypeName: string;

export type TypeRemovedChange = {
type: ChangeType.TypeRemoved;
type: typeof ChangeType.TypeRemoved;
meta: {

@@ -488,3 +489,3 @@ removedTypeName: string;

export type TypeAddedChange = {
type: ChangeType.TypeAdded;
type: typeof ChangeType.TypeAdded;
meta: {

@@ -495,3 +496,3 @@ addedTypeName: string;

export type TypeKindChangedChange = {
type: ChangeType.TypeKindChanged;
type: typeof ChangeType.TypeKindChanged;
meta: {

@@ -504,3 +505,3 @@ typeName: string;

export type TypeDescriptionChangedChange = {
type: ChangeType.TypeDescriptionChanged;
type: typeof ChangeType.TypeDescriptionChanged;
meta: {

@@ -513,3 +514,3 @@ typeName: string;

export type TypeDescriptionAddedChange = {
type: ChangeType.TypeDescriptionAdded;
type: typeof ChangeType.TypeDescriptionAdded;
meta: {

@@ -521,3 +522,3 @@ typeName: string;

export type TypeDescriptionRemovedChange = {
type: ChangeType.TypeDescriptionRemoved;
type: typeof ChangeType.TypeDescriptionRemoved;
meta: {

@@ -529,3 +530,3 @@ typeName: string;

export type UnionMemberRemovedChange = {
type: ChangeType.UnionMemberRemoved;
type: typeof ChangeType.UnionMemberRemoved;
meta: {

@@ -537,3 +538,3 @@ unionName: string;

export type UnionMemberAddedChange = {
type: ChangeType.UnionMemberAdded;
type: typeof ChangeType.UnionMemberAdded;
meta: {

@@ -545,27 +546,32 @@ unionName: string;

type Changes = {
[ChangeType.TypeAdded]: TypeAddedChange;
[ChangeType.TypeRemoved]: TypeRemovedChange;
[ChangeType.TypeKindChanged]: TypeKindChangedChange;
[ChangeType.TypeDescriptionChanged]: TypeDescriptionChangedChange;
[ChangeType.TypeDescriptionAdded]: TypeDescriptionAddedChange;
[ChangeType.TypeDescriptionRemoved]: TypeDescriptionRemovedChange;
[ChangeType.UnionMemberRemoved]: UnionMemberRemovedChange;
[ChangeType.UnionMemberAdded]: UnionMemberAddedChange;
[ChangeType.SchemaQueryTypeChanged]: SchemaQueryTypeChangedChange;
[ChangeType.SchemaMutationTypeChanged]: SchemaMutationTypeChangedChange;
[ChangeType.SchemaSubscriptionTypeChanged]: SchemaSubscriptionTypeChangedChange;
[ChangeType.ObjectTypeInterfaceAdded]: ObjectTypeInterfaceAddedChange;
[ChangeType.ObjectTypeInterfaceRemoved]: ObjectTypeInterfaceRemovedChange;
[ChangeType.InputFieldRemoved]: InputFieldRemovedChange;
[ChangeType.InputFieldAdded]: InputFieldAddedChange;
[ChangeType.InputFieldDescriptionAdded]: InputFieldDescriptionAddedChange;
[ChangeType.InputFieldDescriptionRemoved]: InputFieldDescriptionRemovedChange;
[ChangeType.InputFieldDescriptionChanged]: InputFieldDescriptionChangedChange;
[ChangeType.InputFieldDefaultValueChanged]: InputFieldDefaultValueChangedChange;
[ChangeType.InputFieldTypeChanged]: InputFieldTypeChangedChange;
[ChangeType.FieldArgumentDescriptionChanged]: FieldArgumentDescriptionChangedChange;
[ChangeType.FieldArgumentDefaultChanged]: FieldArgumentDefaultChangedChange;
[ChangeType.FieldArgumentTypeChanged]: FieldArgumentTypeChangedChange;
[ChangeType.DirectiveRemoved]: DirectiveRemovedChange;
[ChangeType.DirectiveAdded]: DirectiveAddedChange;
[ChangeType.DirectiveDescriptionChanged]: DirectiveDescriptionChangedChange;
[ChangeType.DirectiveLocationAdded]: DirectiveLocationAddedChange;
[ChangeType.DirectiveLocationRemoved]: DirectiveLocationRemovedChange;
[ChangeType.DirectiveArgumentAdded]: DirectiveArgumentAddedChange;
[ChangeType.DirectiveArgumentRemoved]: DirectiveArgumentRemovedChange;
[ChangeType.DirectiveArgumentDescriptionChanged]: DirectiveArgumentDescriptionChangedChange;
[ChangeType.DirectiveArgumentDefaultValueChanged]: DirectiveArgumentDefaultValueChangedChange;
[ChangeType.DirectiveArgumentTypeChanged]: DirectiveArgumentTypeChangedChange;
[ChangeType.EnumValueRemoved]: EnumValueRemovedChange;
[ChangeType.EnumValueAdded]: EnumValueAddedChange;
[ChangeType.EnumValueDescriptionChanged]: EnumValueDescriptionChangedChange;
[ChangeType.EnumValueDeprecationReasonChanged]: EnumValueDeprecationReasonChangedChange;
[ChangeType.EnumValueDeprecationReasonAdded]: EnumValueDeprecationReasonAddedChange;
[ChangeType.EnumValueDeprecationReasonRemoved]: EnumValueDeprecationReasonRemovedChange;
[ChangeType.FieldRemoved]: FieldRemovedChange;
[ChangeType.FieldAdded]: FieldAddedChange;
[ChangeType.FieldDescriptionChanged]: FieldDescriptionChangedChange;
[ChangeType.FieldDescriptionAdded]: FieldDescriptionAddedChange;
[ChangeType.FieldDescriptionRemoved]: FieldDescriptionRemovedChange;
[ChangeType.FieldDescriptionChanged]: FieldDescriptionChangedChange;
[ChangeType.FieldDeprecationAdded]: FieldDeprecationAddedChange;
[ChangeType.FieldDeprecationRemoved]: FieldDeprecationRemovedChange;
[ChangeType.FieldDeprecationReasonChanged]: FieldDeprecationReasonChangedChange;
[ChangeType.FieldDeprecationReasonAdded]: FieldDeprecationReasonAddedChange;
[ChangeType.FieldDeprecationReasonRemoved]: FieldDeprecationReasonRemovedChange;
[ChangeType.FieldTypeChanged]: FieldTypeChangedChange;
[ChangeType.FieldArgumentAdded]: FieldArgumentAddedChange;

@@ -585,4 +591,4 @@ [ChangeType.FieldArgumentRemoved]: FieldArgumentRemovedChange;

[ChangeType.SchemaSubscriptionTypeChanged]: SchemaSubscriptionTypeChangedChange;
[ChangeType.TypeRemoved]: TypeRemovedChange;
[ChangeType.TypeAdded]: TypeAddedChange;
[ChangeType.TypeRemoved]: TypeRemovedChange;
[ChangeType.TypeKindChanged]: TypeKindChangedChange;

@@ -592,31 +598,6 @@ [ChangeType.TypeDescriptionChanged]: TypeDescriptionChangedChange;

[ChangeType.TypeDescriptionAdded]: TypeDescriptionAddedChange;
[ChangeType.UnionMemberRemoved]: UnionMemberRemovedChange;
[ChangeType.UnionMemberAdded]: UnionMemberAddedChange;
[ChangeType.UnionMemberRemoved]: UnionMemberRemovedChange;
[ChangeType.DirectiveRemoved]: DirectiveRemovedChange;
[ChangeType.DirectiveAdded]: DirectiveAddedChange;
[ChangeType.DirectiveArgumentAdded]: DirectiveArgumentAddedChange;
[ChangeType.DirectiveArgumentRemoved]: DirectiveArgumentRemovedChange;
[ChangeType.DirectiveArgumentDescriptionChanged]: DirectiveArgumentDescriptionChangedChange;
[ChangeType.DirectiveArgumentDefaultValueChanged]: DirectiveArgumentDefaultValueChangedChange;
[ChangeType.DirectiveArgumentTypeChanged]: DirectiveArgumentTypeChangedChange;
[ChangeType.DirectiveDescriptionChanged]: DirectiveDescriptionChangedChange;
[ChangeType.FieldArgumentDescriptionChanged]: FieldArgumentDescriptionChangedChange;
[ChangeType.FieldArgumentDefaultChanged]: FieldArgumentDefaultChangedChange;
[ChangeType.FieldArgumentTypeChanged]: FieldArgumentTypeChangedChange;
[ChangeType.DirectiveLocationAdded]: DirectiveLocationAddedChange;
[ChangeType.DirectiveLocationRemoved]: DirectiveLocationRemovedChange;
[ChangeType.EnumValueRemoved]: EnumValueRemovedChange;
[ChangeType.EnumValueDescriptionChanged]: EnumValueDescriptionChangedChange;
[ChangeType.EnumValueDeprecationReasonChanged]: EnumValueDeprecationReasonChangedChange;
[ChangeType.EnumValueDeprecationReasonAdded]: EnumValueDeprecationReasonAddedChange;
[ChangeType.EnumValueDeprecationReasonRemoved]: EnumValueDeprecationReasonRemovedChange;
[ChangeType.EnumValueAdded]: EnumValueAddedChange;
[ChangeType.FieldDeprecationAdded]: FieldDeprecationAddedChange;
[ChangeType.FieldDeprecationRemoved]: FieldDeprecationRemovedChange;
[ChangeType.FieldDeprecationReasonChanged]: FieldDeprecationReasonChangedChange;
[ChangeType.FieldDeprecationReasonAdded]: FieldDeprecationReasonAddedChange;
[ChangeType.FieldDeprecationReasonRemoved]: FieldDeprecationReasonRemovedChange;
[ChangeType.FieldTypeChanged]: FieldTypeChangedChange;
};
export type SerializableChange = Changes[keyof Changes];
export {};

@@ -8,3 +8,3 @@ import { DirectiveLocationEnum, GraphQLArgument, GraphQLDirective } from 'graphql';

};
readonly type: ChangeType.DirectiveRemoved;
readonly type: "DIRECTIVE_REMOVED";
readonly message: string;

@@ -16,3 +16,3 @@ readonly path: `@${string}`;

};
export declare function directiveRemoved(directive: GraphQLDirective): Change<ChangeType.DirectiveRemoved>;
export declare function directiveRemoved(directive: GraphQLDirective): Change<typeof ChangeType.DirectiveRemoved>;
export declare function directiveAddedFromMeta(args: DirectiveAddedChange): {

@@ -22,3 +22,3 @@ readonly criticality: {

};
readonly type: ChangeType.DirectiveAdded;
readonly type: "DIRECTIVE_ADDED";
readonly message: string;

@@ -30,3 +30,3 @@ readonly path: `@${string}`;

};
export declare function directiveAdded(directive: GraphQLDirective): Change<ChangeType.DirectiveAdded>;
export declare function directiveAdded(directive: GraphQLDirective): Change<typeof ChangeType.DirectiveAdded>;
export declare function directiveDescriptionChangedFromMeta(args: DirectiveDescriptionChangedChange): {

@@ -36,3 +36,3 @@ readonly criticality: {

};
readonly type: ChangeType.DirectiveDescriptionChanged;
readonly type: "DIRECTIVE_DESCRIPTION_CHANGED";
readonly message: string;

@@ -46,3 +46,3 @@ readonly path: `@${string}`;

};
export declare function directiveDescriptionChanged(oldDirective: GraphQLDirective, newDirective: GraphQLDirective): Change<ChangeType.DirectiveDescriptionChanged>;
export declare function directiveDescriptionChanged(oldDirective: GraphQLDirective, newDirective: GraphQLDirective): Change<typeof ChangeType.DirectiveDescriptionChanged>;
export declare function directiveLocationAddedFromMeta(args: DirectiveLocationAddedChange): {

@@ -52,3 +52,3 @@ readonly criticality: {

};
readonly type: ChangeType.DirectiveLocationAdded;
readonly type: "DIRECTIVE_LOCATION_ADDED";
readonly message: string;

@@ -61,3 +61,3 @@ readonly path: `@${string}`;

};
export declare function directiveLocationAdded(directive: GraphQLDirective, location: DirectiveLocationEnum): Change<ChangeType.DirectiveLocationAdded>;
export declare function directiveLocationAdded(directive: GraphQLDirective, location: DirectiveLocationEnum): Change<typeof ChangeType.DirectiveLocationAdded>;
export declare function directiveLocationRemovedFromMeta(args: DirectiveLocationRemovedChange): {

@@ -68,3 +68,3 @@ readonly criticality: {

};
readonly type: ChangeType.DirectiveLocationRemoved;
readonly type: "DIRECTIVE_LOCATION_REMOVED";
readonly message: string;

@@ -77,3 +77,3 @@ readonly path: `@${string}`;

};
export declare function directiveLocationRemoved(directive: GraphQLDirective, location: DirectiveLocationEnum): Change<ChangeType.DirectiveLocationRemoved>;
export declare function directiveLocationRemoved(directive: GraphQLDirective, location: DirectiveLocationEnum): Change<typeof ChangeType.DirectiveLocationRemoved>;
export declare function directiveArgumentAddedFromMeta(args: DirectiveArgumentAddedChange): {

@@ -84,3 +84,3 @@ readonly criticality: {

};
readonly type: ChangeType.DirectiveArgumentAdded;
readonly type: "DIRECTIVE_ARGUMENT_ADDED";
readonly message: `Argument '${string}' was added to directive '${string}'`;

@@ -94,3 +94,3 @@ readonly path: `@${string}`;

};
export declare function directiveArgumentAdded(directive: GraphQLDirective, arg: GraphQLArgument): Change<ChangeType.DirectiveArgumentAdded>;
export declare function directiveArgumentAdded(directive: GraphQLDirective, arg: GraphQLArgument): Change<typeof ChangeType.DirectiveArgumentAdded>;
export declare function directiveArgumentRemovedFromMeta(args: DirectiveArgumentRemovedChange): {

@@ -101,3 +101,3 @@ readonly criticality: {

};
readonly type: ChangeType.DirectiveArgumentRemoved;
readonly type: "DIRECTIVE_ARGUMENT_REMOVED";
readonly message: string;

@@ -110,3 +110,3 @@ readonly path: `@${string}.${string}`;

};
export declare function directiveArgumentRemoved(directive: GraphQLDirective, arg: GraphQLArgument): Change<ChangeType.DirectiveArgumentRemoved>;
export declare function directiveArgumentRemoved(directive: GraphQLDirective, arg: GraphQLArgument): Change<typeof ChangeType.DirectiveArgumentRemoved>;
export declare function directiveArgumentDescriptionChangedFromMeta(args: DirectiveArgumentDescriptionChangedChange): {

@@ -116,3 +116,3 @@ readonly criticality: {

};
readonly type: ChangeType.DirectiveArgumentDescriptionChanged;
readonly type: "DIRECTIVE_ARGUMENT_DESCRIPTION_CHANGED";
readonly message: string;

@@ -127,3 +127,3 @@ readonly path: `@${string}.${string}`;

};
export declare function directiveArgumentDescriptionChanged(directive: GraphQLDirective, oldArg: GraphQLArgument, newArg: GraphQLArgument): Change<ChangeType.DirectiveArgumentDescriptionChanged>;
export declare function directiveArgumentDescriptionChanged(directive: GraphQLDirective, oldArg: GraphQLArgument, newArg: GraphQLArgument): Change<typeof ChangeType.DirectiveArgumentDescriptionChanged>;
export declare function directiveArgumentDefaultValueChangedFromMeta(args: DirectiveArgumentDefaultValueChangedChange): {

@@ -134,3 +134,3 @@ readonly criticality: {

};
readonly type: ChangeType.DirectiveArgumentDefaultValueChanged;
readonly type: "DIRECTIVE_ARGUMENT_DEFAULT_VALUE_CHANGED";
readonly message: string;

@@ -145,3 +145,3 @@ readonly path: `@${string}.${string}`;

};
export declare function directiveArgumentDefaultValueChanged(directive: GraphQLDirective, oldArg: GraphQLArgument, newArg: GraphQLArgument): Change<ChangeType.DirectiveArgumentDefaultValueChanged>;
export declare function directiveArgumentDefaultValueChanged(directive: GraphQLDirective, oldArg: GraphQLArgument, newArg: GraphQLArgument): Change<typeof ChangeType.DirectiveArgumentDefaultValueChanged>;
export declare function directiveArgumentTypeChangedFromMeta(args: DirectiveArgumentTypeChangedChange): {

@@ -155,3 +155,3 @@ readonly criticality: {

};
readonly type: ChangeType.DirectiveArgumentTypeChanged;
readonly type: "DIRECTIVE_ARGUMENT_TYPE_CHANGED";
readonly message: string;

@@ -167,2 +167,2 @@ readonly path: `@${string}.${string}`;

};
export declare function directiveArgumentTypeChanged(directive: GraphQLDirective, oldArg: GraphQLArgument, newArg: GraphQLArgument): Change<ChangeType.DirectiveArgumentTypeChanged>;
export declare function directiveArgumentTypeChanged(directive: GraphQLDirective, oldArg: GraphQLArgument, newArg: GraphQLArgument): Change<typeof ChangeType.DirectiveArgumentTypeChanged>;
import { GraphQLEnumType, GraphQLEnumValue } from 'graphql';
import { Change, ChangeType, CriticalityLevel, EnumValueAddedChange, EnumValueDeprecationReasonAddedChange, EnumValueDeprecationReasonChangedChange, EnumValueDeprecationReasonRemovedChange, EnumValueDescriptionChangedChange, EnumValueRemovedChange } from './change.js';
export declare function enumValueRemovedFromMeta(args: EnumValueRemovedChange): {
readonly type: ChangeType.EnumValueRemoved;
readonly type: "ENUM_VALUE_REMOVED";
readonly criticality: {

@@ -17,5 +17,5 @@ readonly level: CriticalityLevel.Breaking;

};
export declare function enumValueRemoved(oldEnum: GraphQLEnumType, value: GraphQLEnumValue): Change<ChangeType.EnumValueRemoved>;
export declare function enumValueRemoved(oldEnum: GraphQLEnumType, value: GraphQLEnumValue): Change<typeof ChangeType.EnumValueRemoved>;
export declare function enumValueAddedFromMeta(args: EnumValueAddedChange): {
readonly type: ChangeType.EnumValueAdded;
readonly type: "ENUM_VALUE_ADDED";
readonly criticality: {

@@ -32,5 +32,5 @@ readonly level: CriticalityLevel.Dangerous;

};
export declare function enumValueAdded(newEnum: GraphQLEnumType, value: GraphQLEnumValue): Change<ChangeType.EnumValueAdded>;
export declare function enumValueDescriptionChangedFromMeta(args: EnumValueDescriptionChangedChange): Change<ChangeType.EnumValueDescriptionChanged>;
export declare function enumValueDescriptionChanged(newEnum: GraphQLEnumType, oldValue: GraphQLEnumValue, newValue: GraphQLEnumValue): Change<ChangeType.EnumValueDescriptionChanged>;
export declare function enumValueAdded(newEnum: GraphQLEnumType, value: GraphQLEnumValue): Change<typeof ChangeType.EnumValueAdded>;
export declare function enumValueDescriptionChangedFromMeta(args: EnumValueDescriptionChangedChange): Change<typeof ChangeType.EnumValueDescriptionChanged>;
export declare function enumValueDescriptionChanged(newEnum: GraphQLEnumType, oldValue: GraphQLEnumValue, newValue: GraphQLEnumValue): Change<typeof ChangeType.EnumValueDescriptionChanged>;
export declare function enumValueDeprecationReasonChangedFromMeta(args: EnumValueDeprecationReasonChangedChange): {

@@ -40,3 +40,3 @@ readonly criticality: {

};
readonly type: ChangeType.EnumValueDeprecationReasonChanged;
readonly type: "ENUM_VALUE_DEPRECATION_REASON_CHANGED";
readonly message: string;

@@ -51,3 +51,3 @@ readonly path: string;

};
export declare function enumValueDeprecationReasonChanged(newEnum: GraphQLEnumType, oldValue: GraphQLEnumValue, newValue: GraphQLEnumValue): Change<ChangeType.EnumValueDeprecationReasonChanged>;
export declare function enumValueDeprecationReasonChanged(newEnum: GraphQLEnumType, oldValue: GraphQLEnumValue, newValue: GraphQLEnumValue): Change<typeof ChangeType.EnumValueDeprecationReasonChanged>;
export declare function enumValueDeprecationReasonAddedFromMeta(args: EnumValueDeprecationReasonAddedChange): {

@@ -57,3 +57,3 @@ readonly criticality: {

};
readonly type: ChangeType.EnumValueDeprecationReasonAdded;
readonly type: "ENUM_VALUE_DEPRECATION_REASON_ADDED";
readonly message: string;

@@ -67,3 +67,3 @@ readonly path: string;

};
export declare function enumValueDeprecationReasonAdded(newEnum: GraphQLEnumType, oldValue: GraphQLEnumValue, newValue: GraphQLEnumValue): Change<ChangeType.EnumValueDeprecationReasonAdded>;
export declare function enumValueDeprecationReasonAdded(newEnum: GraphQLEnumType, oldValue: GraphQLEnumValue, newValue: GraphQLEnumValue): Change<typeof ChangeType.EnumValueDeprecationReasonAdded>;
export declare function enumValueDeprecationReasonRemovedFromMeta(args: EnumValueDeprecationReasonRemovedChange): {

@@ -73,3 +73,3 @@ readonly criticality: {

};
readonly type: ChangeType.EnumValueDeprecationReasonRemoved;
readonly type: "ENUM_VALUE_DEPRECATION_REASON_REMOVED";
readonly message: string;

@@ -83,2 +83,2 @@ readonly path: string;

};
export declare function enumValueDeprecationReasonRemoved(newEnum: GraphQLEnumType, oldValue: GraphQLEnumValue, _newValue: GraphQLEnumValue): Change<ChangeType.EnumValueDeprecationReasonRemoved>;
export declare function enumValueDeprecationReasonRemoved(newEnum: GraphQLEnumType, oldValue: GraphQLEnumValue, _newValue: GraphQLEnumValue): Change<typeof ChangeType.EnumValueDeprecationReasonRemoved>;
import { GraphQLArgument, GraphQLField, GraphQLInterfaceType, GraphQLObjectType } from 'graphql';
import { Change, ChangeType, CriticalityLevel, FieldAddedChange, FieldArgumentAddedChange, FieldArgumentRemovedChange, FieldDeprecationAddedChange, FieldDeprecationReasonAddedChange, FieldDeprecationReasonChangedChange, FieldDeprecationReasonRemovedChange, FieldDeprecationRemovedChange, FieldDescriptionAddedChange, FieldDescriptionChangedChange, FieldDescriptionRemovedChange, FieldRemovedChange, FieldTypeChangedChange } from './change.js';
export declare function fieldRemovedFromMeta(args: FieldRemovedChange): {
readonly type: ChangeType.FieldRemoved;
readonly type: "FIELD_REMOVED";
readonly criticality: {

@@ -18,5 +18,5 @@ readonly level: CriticalityLevel.Breaking;

};
export declare function fieldRemoved(type: GraphQLObjectType | GraphQLInterfaceType, field: GraphQLField<any, any, any>): Change<ChangeType.FieldRemoved>;
export declare function fieldRemoved(type: GraphQLObjectType | GraphQLInterfaceType, field: GraphQLField<any, any, any>): Change<typeof ChangeType.FieldRemoved>;
export declare function fieldAddedFromMeta(args: FieldAddedChange): {
readonly type: ChangeType.FieldAdded;
readonly type: "FIELD_ADDED";
readonly criticality: {

@@ -33,5 +33,5 @@ readonly level: CriticalityLevel.NonBreaking;

};
export declare function fieldAdded(type: GraphQLObjectType | GraphQLInterfaceType, field: GraphQLField<any, any, any>): Change<ChangeType.FieldAdded>;
export declare function fieldAdded(type: GraphQLObjectType | GraphQLInterfaceType, field: GraphQLField<any, any, any>): Change<typeof ChangeType.FieldAdded>;
export declare function fieldDescriptionChangedFromMeta(args: FieldDescriptionChangedChange): {
readonly type: ChangeType.FieldDescriptionChanged;
readonly type: "FIELD_DESCRIPTION_CHANGED";
readonly criticality: {

@@ -49,5 +49,5 @@ readonly level: CriticalityLevel.NonBreaking;

};
export declare function fieldDescriptionChanged(type: GraphQLObjectType | GraphQLInterfaceType, oldField: GraphQLField<any, any>, newField: GraphQLField<any, any>): Change<ChangeType.FieldDescriptionChanged>;
export declare function fieldDescriptionChanged(type: GraphQLObjectType | GraphQLInterfaceType, oldField: GraphQLField<any, any>, newField: GraphQLField<any, any>): Change<typeof ChangeType.FieldDescriptionChanged>;
export declare function fieldDescriptionAddedFromMeta(args: FieldDescriptionAddedChange): {
readonly type: ChangeType.FieldDescriptionAdded;
readonly type: "FIELD_DESCRIPTION_ADDED";
readonly criticality: {

@@ -64,5 +64,5 @@ readonly level: CriticalityLevel.NonBreaking;

};
export declare function fieldDescriptionAdded(type: GraphQLObjectType | GraphQLInterfaceType, field: GraphQLField<any, any>): Change<ChangeType.FieldDescriptionAdded>;
export declare function fieldDescriptionAdded(type: GraphQLObjectType | GraphQLInterfaceType, field: GraphQLField<any, any>): Change<typeof ChangeType.FieldDescriptionAdded>;
export declare function fieldDescriptionRemovedFromMeta(args: FieldDescriptionRemovedChange): {
readonly type: ChangeType.FieldDescriptionRemoved;
readonly type: "FIELD_DESCRIPTION_REMOVED";
readonly criticality: {

@@ -78,5 +78,5 @@ readonly level: CriticalityLevel.NonBreaking;

};
export declare function fieldDescriptionRemoved(type: GraphQLObjectType | GraphQLInterfaceType, field: GraphQLField<any, any>): Change<ChangeType.FieldDescriptionRemoved>;
export declare function fieldDescriptionRemoved(type: GraphQLObjectType | GraphQLInterfaceType, field: GraphQLField<any, any>): Change<typeof ChangeType.FieldDescriptionRemoved>;
export declare function fieldDeprecationAddedFromMeta(args: FieldDeprecationAddedChange): {
readonly type: ChangeType.FieldDeprecationAdded;
readonly type: "FIELD_DEPRECATION_ADDED";
readonly criticality: {

@@ -92,5 +92,5 @@ readonly level: CriticalityLevel.NonBreaking;

};
export declare function fieldDeprecationAdded(type: GraphQLObjectType | GraphQLInterfaceType, field: GraphQLField<any, any>): Change<ChangeType.FieldDeprecationAdded>;
export declare function fieldDeprecationAdded(type: GraphQLObjectType | GraphQLInterfaceType, field: GraphQLField<any, any>): Change<typeof ChangeType.FieldDeprecationAdded>;
export declare function fieldDeprecationRemovedFromMeta(args: FieldDeprecationRemovedChange): {
readonly type: ChangeType.FieldDeprecationRemoved;
readonly type: "FIELD_DEPRECATION_REMOVED";
readonly criticality: {

@@ -106,5 +106,5 @@ readonly level: CriticalityLevel.Dangerous;

};
export declare function fieldDeprecationRemoved(type: GraphQLObjectType | GraphQLInterfaceType, field: GraphQLField<any, any>): Change<ChangeType.FieldDeprecationRemoved>;
export declare function fieldDeprecationRemoved(type: GraphQLObjectType | GraphQLInterfaceType, field: GraphQLField<any, any>): Change<typeof ChangeType.FieldDeprecationRemoved>;
export declare function fieldDeprecationReasonChangedFromMeta(args: FieldDeprecationReasonChangedChange): {
readonly type: ChangeType.FieldDeprecationReasonChanged;
readonly type: "FIELD_DEPRECATION_REASON_CHANGED";
readonly criticality: {

@@ -122,5 +122,5 @@ readonly level: CriticalityLevel.NonBreaking;

};
export declare function fieldDeprecationReasonChanged(type: GraphQLObjectType | GraphQLInterfaceType, oldField: GraphQLField<any, any>, newField: GraphQLField<any, any>): Change<ChangeType.FieldDeprecationReasonChanged>;
export declare function fieldDeprecationReasonChanged(type: GraphQLObjectType | GraphQLInterfaceType, oldField: GraphQLField<any, any>, newField: GraphQLField<any, any>): Change<typeof ChangeType.FieldDeprecationReasonChanged>;
export declare function fieldDeprecationReasonAddedFromMeta(args: FieldDeprecationReasonAddedChange): {
readonly type: ChangeType.FieldDeprecationReasonAdded;
readonly type: "FIELD_DEPRECATION_REASON_ADDED";
readonly criticality: {

@@ -137,5 +137,5 @@ readonly level: CriticalityLevel.NonBreaking;

};
export declare function fieldDeprecationReasonAdded(type: GraphQLObjectType | GraphQLInterfaceType, field: GraphQLField<any, any>): Change<ChangeType.FieldDeprecationReasonAdded>;
export declare function fieldDeprecationReasonAdded(type: GraphQLObjectType | GraphQLInterfaceType, field: GraphQLField<any, any>): Change<typeof ChangeType.FieldDeprecationReasonAdded>;
export declare function fieldDeprecationReasonRemovedFromMeta(args: FieldDeprecationReasonRemovedChange): {
readonly type: ChangeType.FieldDeprecationReasonRemoved;
readonly type: "FIELD_DEPRECATION_REASON_REMOVED";
readonly criticality: {

@@ -151,5 +151,5 @@ readonly level: CriticalityLevel.NonBreaking;

};
export declare function fieldDeprecationReasonRemoved(type: GraphQLObjectType | GraphQLInterfaceType, field: GraphQLField<any, any>): Change<ChangeType.FieldDeprecationReasonRemoved>;
export declare function fieldDeprecationReasonRemoved(type: GraphQLObjectType | GraphQLInterfaceType, field: GraphQLField<any, any>): Change<typeof ChangeType.FieldDeprecationReasonRemoved>;
export declare function fieldTypeChangedFromMeta(args: FieldTypeChangedChange): {
readonly type: ChangeType.FieldTypeChanged;
readonly type: "FIELD_TYPE_CHANGED";
readonly criticality: {

@@ -168,5 +168,5 @@ readonly level: CriticalityLevel.Breaking | CriticalityLevel.NonBreaking;

};
export declare function fieldTypeChanged(type: GraphQLObjectType | GraphQLInterfaceType, oldField: GraphQLField<any, any, any>, newField: GraphQLField<any, any, any>): Change<ChangeType.FieldTypeChanged>;
export declare function fieldTypeChanged(type: GraphQLObjectType | GraphQLInterfaceType, oldField: GraphQLField<any, any, any>, newField: GraphQLField<any, any, any>): Change<typeof ChangeType.FieldTypeChanged>;
export declare function fieldArgumentAddedFromMeta(args: FieldArgumentAddedChange): {
readonly type: ChangeType.FieldArgumentAdded;
readonly type: "FIELD_ARGUMENT_ADDED";
readonly criticality: {

@@ -186,5 +186,5 @@ readonly level: CriticalityLevel.Breaking | CriticalityLevel.Dangerous;

};
export declare function fieldArgumentAdded(type: GraphQLObjectType | GraphQLInterfaceType, field: GraphQLField<any, any, any>, arg: GraphQLArgument): Change<ChangeType.FieldArgumentAdded>;
export declare function fieldArgumentAdded(type: GraphQLObjectType | GraphQLInterfaceType, field: GraphQLField<any, any, any>, arg: GraphQLArgument): Change<typeof ChangeType.FieldArgumentAdded>;
export declare function fieldArgumentRemovedFromMeta(args: FieldArgumentRemovedChange): {
readonly type: ChangeType.FieldArgumentRemoved;
readonly type: "FIELD_ARGUMENT_REMOVED";
readonly criticality: {

@@ -202,2 +202,2 @@ readonly level: CriticalityLevel.Breaking;

};
export declare function fieldArgumentRemoved(type: GraphQLObjectType | GraphQLInterfaceType, field: GraphQLField<any, any, any>, arg: GraphQLArgument): Change<ChangeType.FieldArgumentRemoved>;
export declare function fieldArgumentRemoved(type: GraphQLObjectType | GraphQLInterfaceType, field: GraphQLField<any, any, any>, arg: GraphQLArgument): Change<typeof ChangeType.FieldArgumentRemoved>;
import { GraphQLInputField, GraphQLInputObjectType } from 'graphql';
import { Change, ChangeType, CriticalityLevel, InputFieldAddedChange, InputFieldDefaultValueChangedChange, InputFieldDescriptionAddedChange, InputFieldDescriptionChangedChange, InputFieldDescriptionRemovedChange, InputFieldRemovedChange, InputFieldTypeChangedChange } from './change.js';
export declare function inputFieldRemovedFromMeta(args: InputFieldRemovedChange): {
readonly type: ChangeType.InputFieldRemoved;
readonly type: "INPUT_FIELD_REMOVED";
readonly criticality: {

@@ -17,6 +17,6 @@ readonly level: CriticalityLevel.Breaking;

};
export declare function inputFieldRemoved(input: GraphQLInputObjectType, field: GraphQLInputField): Change<ChangeType.InputFieldRemoved>;
export declare function inputFieldRemoved(input: GraphQLInputObjectType, field: GraphQLInputField): Change<typeof ChangeType.InputFieldRemoved>;
export declare function buildInputFieldAddedMessage(args: InputFieldAddedChange['meta']): string;
export declare function inputFieldAddedFromMeta(args: InputFieldAddedChange): {
readonly type: ChangeType.InputFieldAdded;
readonly type: "INPUT_FIELD_ADDED";
readonly criticality: {

@@ -38,5 +38,5 @@ level: CriticalityLevel;

};
export declare function inputFieldAdded(input: GraphQLInputObjectType, field: GraphQLInputField): Change<ChangeType.InputFieldAdded>;
export declare function inputFieldAdded(input: GraphQLInputObjectType, field: GraphQLInputField): Change<typeof ChangeType.InputFieldAdded>;
export declare function inputFieldDescriptionAddedFromMeta(args: InputFieldDescriptionAddedChange): {
readonly type: ChangeType.InputFieldDescriptionAdded;
readonly type: "INPUT_FIELD_DESCRIPTION_ADDED";
readonly criticality: {

@@ -53,5 +53,5 @@ readonly level: CriticalityLevel.NonBreaking;

};
export declare function inputFieldDescriptionAdded(type: GraphQLInputObjectType, field: GraphQLInputField): Change<ChangeType.InputFieldDescriptionAdded>;
export declare function inputFieldDescriptionAdded(type: GraphQLInputObjectType, field: GraphQLInputField): Change<typeof ChangeType.InputFieldDescriptionAdded>;
export declare function inputFieldDescriptionRemovedFromMeta(args: InputFieldDescriptionRemovedChange): {
readonly type: ChangeType.InputFieldDescriptionRemoved;
readonly type: "INPUT_FIELD_DESCRIPTION_REMOVED";
readonly criticality: {

@@ -68,5 +68,5 @@ readonly level: CriticalityLevel.NonBreaking;

};
export declare function inputFieldDescriptionRemoved(type: GraphQLInputObjectType, field: GraphQLInputField): Change<ChangeType.InputFieldDescriptionRemoved>;
export declare function inputFieldDescriptionRemoved(type: GraphQLInputObjectType, field: GraphQLInputField): Change<typeof ChangeType.InputFieldDescriptionRemoved>;
export declare function inputFieldDescriptionChangedFromMeta(args: InputFieldDescriptionChangedChange): {
readonly type: ChangeType.InputFieldDescriptionChanged;
readonly type: "INPUT_FIELD_DESCRIPTION_CHANGED";
readonly criticality: {

@@ -84,5 +84,5 @@ readonly level: CriticalityLevel.NonBreaking;

};
export declare function inputFieldDescriptionChanged(input: GraphQLInputObjectType, oldField: GraphQLInputField, newField: GraphQLInputField): Change<ChangeType.InputFieldDescriptionChanged>;
export declare function inputFieldDescriptionChanged(input: GraphQLInputObjectType, oldField: GraphQLInputField, newField: GraphQLInputField): Change<typeof ChangeType.InputFieldDescriptionChanged>;
export declare function inputFieldDefaultValueChangedFromMeta(args: InputFieldDefaultValueChangedChange): {
readonly type: ChangeType.InputFieldDefaultValueChanged;
readonly type: "INPUT_FIELD_DEFAULT_VALUE_CHANGED";
readonly criticality: {

@@ -101,5 +101,5 @@ readonly level: CriticalityLevel.Dangerous;

};
export declare function inputFieldDefaultValueChanged(input: GraphQLInputObjectType, oldField: GraphQLInputField, newField: GraphQLInputField): Change<ChangeType.InputFieldDefaultValueChanged>;
export declare function inputFieldDefaultValueChanged(input: GraphQLInputObjectType, oldField: GraphQLInputField, newField: GraphQLInputField): Change<typeof ChangeType.InputFieldDefaultValueChanged>;
export declare function inputFieldTypeChangedFromMeta(args: InputFieldTypeChangedChange): {
readonly type: ChangeType.InputFieldTypeChanged;
readonly type: "INPUT_FIELD_TYPE_CHANGED";
readonly criticality: {

@@ -119,2 +119,2 @@ level: CriticalityLevel;

};
export declare function inputFieldTypeChanged(input: GraphQLInputObjectType, oldField: GraphQLInputField, newField: GraphQLInputField): Change<ChangeType.InputFieldTypeChanged>;
export declare function inputFieldTypeChanged(input: GraphQLInputObjectType, oldField: GraphQLInputField, newField: GraphQLInputField): Change<typeof ChangeType.InputFieldTypeChanged>;
import { GraphQLInterfaceType, GraphQLObjectType } from 'graphql';
import { Change, ChangeType, CriticalityLevel, ObjectTypeInterfaceAddedChange, ObjectTypeInterfaceRemovedChange } from './change.js';
export declare function objectTypeInterfaceAddedFromMeta(args: ObjectTypeInterfaceAddedChange): {
readonly type: ChangeType.ObjectTypeInterfaceAdded;
readonly type: "OBJECT_TYPE_INTERFACE_ADDED";
readonly criticality: {

@@ -16,5 +16,5 @@ readonly level: CriticalityLevel.Dangerous;

};
export declare function objectTypeInterfaceAdded(iface: GraphQLInterfaceType, type: GraphQLObjectType): Change<ChangeType.ObjectTypeInterfaceAdded>;
export declare function objectTypeInterfaceAdded(iface: GraphQLInterfaceType, type: GraphQLObjectType): Change<typeof ChangeType.ObjectTypeInterfaceAdded>;
export declare function objectTypeInterfaceRemovedFromMeta(args: ObjectTypeInterfaceRemovedChange): {
readonly type: ChangeType.ObjectTypeInterfaceRemoved;
readonly type: "OBJECT_TYPE_INTERFACE_REMOVED";
readonly criticality: {

@@ -31,2 +31,2 @@ readonly level: CriticalityLevel.Breaking;

};
export declare function objectTypeInterfaceRemoved(iface: GraphQLInterfaceType, type: GraphQLObjectType): Change<ChangeType.ObjectTypeInterfaceRemoved>;
export declare function objectTypeInterfaceRemoved(iface: GraphQLInterfaceType, type: GraphQLObjectType): Change<typeof ChangeType.ObjectTypeInterfaceRemoved>;
import { GraphQLSchema } from 'graphql';
import { Change, ChangeType, CriticalityLevel, SchemaMutationTypeChangedChange, SchemaQueryTypeChangedChange, SchemaSubscriptionTypeChangedChange } from './change.js';
export declare function schemaQueryTypeChangedFromMeta(args: SchemaQueryTypeChangedChange): {
readonly type: ChangeType.SchemaQueryTypeChanged;
readonly type: "SCHEMA_QUERY_TYPE_CHANGED";
readonly criticality: {

@@ -14,5 +14,5 @@ readonly level: CriticalityLevel.Breaking;

};
export declare function schemaQueryTypeChanged(oldSchema: GraphQLSchema, newSchema: GraphQLSchema): Change<ChangeType.SchemaQueryTypeChanged>;
export declare function schemaQueryTypeChanged(oldSchema: GraphQLSchema, newSchema: GraphQLSchema): Change<typeof ChangeType.SchemaQueryTypeChanged>;
export declare function schemaMutationTypeChangedFromMeta(args: SchemaMutationTypeChangedChange): {
readonly type: ChangeType.SchemaMutationTypeChanged;
readonly type: "SCHEMA_MUTATION_TYPE_CHANGED";
readonly criticality: {

@@ -27,5 +27,5 @@ readonly level: CriticalityLevel.Breaking;

};
export declare function schemaMutationTypeChanged(oldSchema: GraphQLSchema, newSchema: GraphQLSchema): Change<ChangeType.SchemaMutationTypeChanged>;
export declare function schemaMutationTypeChanged(oldSchema: GraphQLSchema, newSchema: GraphQLSchema): Change<typeof ChangeType.SchemaMutationTypeChanged>;
export declare function schemaSubscriptionTypeChangedFromMeta(args: SchemaSubscriptionTypeChangedChange): {
readonly type: ChangeType.SchemaSubscriptionTypeChanged;
readonly type: "SCHEMA_SUBSCRIPTION_TYPE_CHANGED";
readonly criticality: {

@@ -40,2 +40,2 @@ readonly level: CriticalityLevel.Breaking;

};
export declare function schemaSubscriptionTypeChanged(oldSchema: GraphQLSchema, newSchema: GraphQLSchema): Change<ChangeType.SchemaSubscriptionTypeChanged>;
export declare function schemaSubscriptionTypeChanged(oldSchema: GraphQLSchema, newSchema: GraphQLSchema): Change<typeof ChangeType.SchemaSubscriptionTypeChanged>;

@@ -7,3 +7,3 @@ import { GraphQLNamedType } from 'graphql';

};
readonly type: ChangeType.TypeRemoved;
readonly type: "TYPE_REMOVED";
readonly message: string;

@@ -15,3 +15,3 @@ readonly meta: {

};
export declare function typeRemoved(type: GraphQLNamedType): Change<ChangeType.TypeRemoved>;
export declare function typeRemoved(type: GraphQLNamedType): Change<typeof ChangeType.TypeRemoved>;
export declare function typeAddedFromMeta(args: TypeAddedChange): {

@@ -21,3 +21,3 @@ readonly criticality: {

};
readonly type: ChangeType.TypeAdded;
readonly type: "TYPE_ADDED";
readonly message: string;

@@ -29,3 +29,3 @@ readonly meta: {

};
export declare function typeAdded(type: GraphQLNamedType): Change<ChangeType.TypeAdded>;
export declare function typeAdded(type: GraphQLNamedType): Change<typeof ChangeType.TypeAdded>;
export declare function typeKindChangedFromMeta(args: TypeKindChangedChange): {

@@ -36,3 +36,3 @@ readonly criticality: {

};
readonly type: ChangeType.TypeKindChanged;
readonly type: "TYPE_KIND_CHANGED";
readonly message: string;

@@ -46,3 +46,3 @@ readonly path: string;

};
export declare function typeKindChanged(oldType: GraphQLNamedType, newType: GraphQLNamedType): Change<ChangeType.TypeKindChanged>;
export declare function typeKindChanged(oldType: GraphQLNamedType, newType: GraphQLNamedType): Change<typeof ChangeType.TypeKindChanged>;
export declare function typeDescriptionChangedFromMeta(args: TypeDescriptionChangedChange): {

@@ -52,3 +52,3 @@ readonly criticality: {

};
readonly type: ChangeType.TypeDescriptionChanged;
readonly type: "TYPE_DESCRIPTION_CHANGED";
readonly message: string;

@@ -62,3 +62,3 @@ readonly path: string;

};
export declare function typeDescriptionChanged(oldType: GraphQLNamedType, newType: GraphQLNamedType): Change<ChangeType.TypeDescriptionChanged>;
export declare function typeDescriptionChanged(oldType: GraphQLNamedType, newType: GraphQLNamedType): Change<typeof ChangeType.TypeDescriptionChanged>;
export declare function typeDescriptionRemovedFromMeta(args: TypeDescriptionRemovedChange): {

@@ -68,3 +68,3 @@ readonly criticality: {

};
readonly type: ChangeType.TypeDescriptionRemoved;
readonly type: "TYPE_DESCRIPTION_REMOVED";
readonly message: string;

@@ -77,3 +77,3 @@ readonly path: string;

};
export declare function typeDescriptionRemoved(type: GraphQLNamedType): Change<ChangeType.TypeDescriptionRemoved>;
export declare function typeDescriptionRemoved(type: GraphQLNamedType): Change<typeof ChangeType.TypeDescriptionRemoved>;
export declare function typeDescriptionAddedFromMeta(args: TypeDescriptionAddedChange): {

@@ -83,3 +83,3 @@ readonly criticality: {

};
readonly type: ChangeType.TypeDescriptionAdded;
readonly type: "TYPE_DESCRIPTION_ADDED";
readonly message: string;

@@ -92,2 +92,2 @@ readonly path: string;

};
export declare function typeDescriptionAdded(type: GraphQLNamedType): Change<ChangeType.TypeDescriptionAdded>;
export declare function typeDescriptionAdded(type: GraphQLNamedType): Change<typeof ChangeType.TypeDescriptionAdded>;

@@ -8,3 +8,3 @@ import { GraphQLObjectType, GraphQLUnionType } from 'graphql';

};
readonly type: ChangeType.UnionMemberRemoved;
readonly type: "UNION_MEMBER_REMOVED";
readonly message: string;

@@ -17,3 +17,3 @@ readonly meta: {

};
export declare function unionMemberRemoved(union: GraphQLUnionType, type: GraphQLObjectType): Change<ChangeType.UnionMemberRemoved>;
export declare function unionMemberRemoved(union: GraphQLUnionType, type: GraphQLObjectType): Change<typeof ChangeType.UnionMemberRemoved>;
export declare function buildUnionMemberAddedMessageFromMeta(args: UnionMemberAddedChange): {

@@ -24,3 +24,3 @@ readonly criticality: {

};
readonly type: ChangeType.UnionMemberAdded;
readonly type: "UNION_MEMBER_ADDED";
readonly message: string;

@@ -33,2 +33,2 @@ readonly meta: {

};
export declare function unionMemberAdded(union: GraphQLUnionType, type: GraphQLObjectType): Change<ChangeType.UnionMemberAdded>;
export declare function unionMemberAdded(union: GraphQLUnionType, type: GraphQLObjectType): Change<typeof ChangeType.UnionMemberAdded>;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc