graphql

Search for an npm package
/**
* The set of allowed directive location values.
*/
var DirectiveLocation;
(function (DirectiveLocation) {
DirectiveLocation['QUERY'] = 'QUERY';
DirectiveLocation['MUTATION'] = 'MUTATION';
DirectiveLocation['SUBSCRIPTION'] = 'SUBSCRIPTION';
DirectiveLocation['FIELD'] = 'FIELD';
DirectiveLocation['FRAGMENT_DEFINITION'] = 'FRAGMENT_DEFINITION';
DirectiveLocation['FRAGMENT_SPREAD'] = 'FRAGMENT_SPREAD';
DirectiveLocation['INLINE_FRAGMENT'] = 'INLINE_FRAGMENT';
DirectiveLocation['VARIABLE_DEFINITION'] = 'VARIABLE_DEFINITION';
DirectiveLocation['SCHEMA'] = 'SCHEMA';
DirectiveLocation['SCALAR'] = 'SCALAR';
DirectiveLocation['OBJECT'] = 'OBJECT';
DirectiveLocation['FIELD_DEFINITION'] = 'FIELD_DEFINITION';
DirectiveLocation['ARGUMENT_DEFINITION'] = 'ARGUMENT_DEFINITION';
DirectiveLocation['INTERFACE'] = 'INTERFACE';
DirectiveLocation['UNION'] = 'UNION';
DirectiveLocation['ENUM'] = 'ENUM';
DirectiveLocation['ENUM_VALUE'] = 'ENUM_VALUE';
DirectiveLocation['INPUT_OBJECT'] = 'INPUT_OBJECT';
DirectiveLocation['INPUT_FIELD_DEFINITION'] = 'INPUT_FIELD_DEFINITION';
})(DirectiveLocation || (DirectiveLocation = {}));
export { DirectiveLocation };
/**
* The enum type representing the directive location values.
*
* @deprecated Please use `DirectiveLocation`. Will be remove in v17.
*/