defKindToExtKind top-level constant

Map<Kind, Kind> const defKindToExtKind

A map from type definition to type extension node kind

Implementation

const defKindToExtKind = {
  Kind.ScalarTypeDefinition: Kind.ScalarTypeExtension,
  Kind.ObjectTypeDefinition: Kind.ObjectTypeExtension,
  Kind.InterfaceTypeDefinition: Kind.InterfaceTypeExtension,
  Kind.UnionTypeDefinition: Kind.UnionTypeExtension,
  Kind.EnumTypeDefinition: Kind.EnumTypeExtension,
  Kind.InputObjectTypeDefinition: Kind.InputObjectTypeExtension,
};