index.js 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. Object.defineProperty(exports, "validate", {
  6. enumerable: true,
  7. get: function get() {
  8. return _validate.validate;
  9. }
  10. });
  11. Object.defineProperty(exports, "ValidationContext", {
  12. enumerable: true,
  13. get: function get() {
  14. return _ValidationContext.ValidationContext;
  15. }
  16. });
  17. Object.defineProperty(exports, "specifiedRules", {
  18. enumerable: true,
  19. get: function get() {
  20. return _specifiedRules.specifiedRules;
  21. }
  22. });
  23. Object.defineProperty(exports, "ExecutableDefinitionsRule", {
  24. enumerable: true,
  25. get: function get() {
  26. return _ExecutableDefinitionsRule.ExecutableDefinitionsRule;
  27. }
  28. });
  29. Object.defineProperty(exports, "FieldsOnCorrectTypeRule", {
  30. enumerable: true,
  31. get: function get() {
  32. return _FieldsOnCorrectTypeRule.FieldsOnCorrectTypeRule;
  33. }
  34. });
  35. Object.defineProperty(exports, "FragmentsOnCompositeTypesRule", {
  36. enumerable: true,
  37. get: function get() {
  38. return _FragmentsOnCompositeTypesRule.FragmentsOnCompositeTypesRule;
  39. }
  40. });
  41. Object.defineProperty(exports, "KnownArgumentNamesRule", {
  42. enumerable: true,
  43. get: function get() {
  44. return _KnownArgumentNamesRule.KnownArgumentNamesRule;
  45. }
  46. });
  47. Object.defineProperty(exports, "KnownDirectivesRule", {
  48. enumerable: true,
  49. get: function get() {
  50. return _KnownDirectivesRule.KnownDirectivesRule;
  51. }
  52. });
  53. Object.defineProperty(exports, "KnownFragmentNamesRule", {
  54. enumerable: true,
  55. get: function get() {
  56. return _KnownFragmentNamesRule.KnownFragmentNamesRule;
  57. }
  58. });
  59. Object.defineProperty(exports, "KnownTypeNamesRule", {
  60. enumerable: true,
  61. get: function get() {
  62. return _KnownTypeNamesRule.KnownTypeNamesRule;
  63. }
  64. });
  65. Object.defineProperty(exports, "LoneAnonymousOperationRule", {
  66. enumerable: true,
  67. get: function get() {
  68. return _LoneAnonymousOperationRule.LoneAnonymousOperationRule;
  69. }
  70. });
  71. Object.defineProperty(exports, "NoFragmentCyclesRule", {
  72. enumerable: true,
  73. get: function get() {
  74. return _NoFragmentCyclesRule.NoFragmentCyclesRule;
  75. }
  76. });
  77. Object.defineProperty(exports, "NoUndefinedVariablesRule", {
  78. enumerable: true,
  79. get: function get() {
  80. return _NoUndefinedVariablesRule.NoUndefinedVariablesRule;
  81. }
  82. });
  83. Object.defineProperty(exports, "NoUnusedFragmentsRule", {
  84. enumerable: true,
  85. get: function get() {
  86. return _NoUnusedFragmentsRule.NoUnusedFragmentsRule;
  87. }
  88. });
  89. Object.defineProperty(exports, "NoUnusedVariablesRule", {
  90. enumerable: true,
  91. get: function get() {
  92. return _NoUnusedVariablesRule.NoUnusedVariablesRule;
  93. }
  94. });
  95. Object.defineProperty(exports, "OverlappingFieldsCanBeMergedRule", {
  96. enumerable: true,
  97. get: function get() {
  98. return _OverlappingFieldsCanBeMergedRule.OverlappingFieldsCanBeMergedRule;
  99. }
  100. });
  101. Object.defineProperty(exports, "PossibleFragmentSpreadsRule", {
  102. enumerable: true,
  103. get: function get() {
  104. return _PossibleFragmentSpreadsRule.PossibleFragmentSpreadsRule;
  105. }
  106. });
  107. Object.defineProperty(exports, "ProvidedRequiredArgumentsRule", {
  108. enumerable: true,
  109. get: function get() {
  110. return _ProvidedRequiredArgumentsRule.ProvidedRequiredArgumentsRule;
  111. }
  112. });
  113. Object.defineProperty(exports, "ScalarLeafsRule", {
  114. enumerable: true,
  115. get: function get() {
  116. return _ScalarLeafsRule.ScalarLeafsRule;
  117. }
  118. });
  119. Object.defineProperty(exports, "SingleFieldSubscriptionsRule", {
  120. enumerable: true,
  121. get: function get() {
  122. return _SingleFieldSubscriptionsRule.SingleFieldSubscriptionsRule;
  123. }
  124. });
  125. Object.defineProperty(exports, "UniqueArgumentNamesRule", {
  126. enumerable: true,
  127. get: function get() {
  128. return _UniqueArgumentNamesRule.UniqueArgumentNamesRule;
  129. }
  130. });
  131. Object.defineProperty(exports, "UniqueDirectivesPerLocationRule", {
  132. enumerable: true,
  133. get: function get() {
  134. return _UniqueDirectivesPerLocationRule.UniqueDirectivesPerLocationRule;
  135. }
  136. });
  137. Object.defineProperty(exports, "UniqueFragmentNamesRule", {
  138. enumerable: true,
  139. get: function get() {
  140. return _UniqueFragmentNamesRule.UniqueFragmentNamesRule;
  141. }
  142. });
  143. Object.defineProperty(exports, "UniqueInputFieldNamesRule", {
  144. enumerable: true,
  145. get: function get() {
  146. return _UniqueInputFieldNamesRule.UniqueInputFieldNamesRule;
  147. }
  148. });
  149. Object.defineProperty(exports, "UniqueOperationNamesRule", {
  150. enumerable: true,
  151. get: function get() {
  152. return _UniqueOperationNamesRule.UniqueOperationNamesRule;
  153. }
  154. });
  155. Object.defineProperty(exports, "UniqueVariableNamesRule", {
  156. enumerable: true,
  157. get: function get() {
  158. return _UniqueVariableNamesRule.UniqueVariableNamesRule;
  159. }
  160. });
  161. Object.defineProperty(exports, "ValuesOfCorrectTypeRule", {
  162. enumerable: true,
  163. get: function get() {
  164. return _ValuesOfCorrectTypeRule.ValuesOfCorrectTypeRule;
  165. }
  166. });
  167. Object.defineProperty(exports, "VariablesAreInputTypesRule", {
  168. enumerable: true,
  169. get: function get() {
  170. return _VariablesAreInputTypesRule.VariablesAreInputTypesRule;
  171. }
  172. });
  173. Object.defineProperty(exports, "VariablesInAllowedPositionRule", {
  174. enumerable: true,
  175. get: function get() {
  176. return _VariablesInAllowedPositionRule.VariablesInAllowedPositionRule;
  177. }
  178. });
  179. Object.defineProperty(exports, "LoneSchemaDefinitionRule", {
  180. enumerable: true,
  181. get: function get() {
  182. return _LoneSchemaDefinitionRule.LoneSchemaDefinitionRule;
  183. }
  184. });
  185. Object.defineProperty(exports, "UniqueOperationTypesRule", {
  186. enumerable: true,
  187. get: function get() {
  188. return _UniqueOperationTypesRule.UniqueOperationTypesRule;
  189. }
  190. });
  191. Object.defineProperty(exports, "UniqueTypeNamesRule", {
  192. enumerable: true,
  193. get: function get() {
  194. return _UniqueTypeNamesRule.UniqueTypeNamesRule;
  195. }
  196. });
  197. Object.defineProperty(exports, "UniqueEnumValueNamesRule", {
  198. enumerable: true,
  199. get: function get() {
  200. return _UniqueEnumValueNamesRule.UniqueEnumValueNamesRule;
  201. }
  202. });
  203. Object.defineProperty(exports, "UniqueFieldDefinitionNamesRule", {
  204. enumerable: true,
  205. get: function get() {
  206. return _UniqueFieldDefinitionNamesRule.UniqueFieldDefinitionNamesRule;
  207. }
  208. });
  209. Object.defineProperty(exports, "UniqueDirectiveNamesRule", {
  210. enumerable: true,
  211. get: function get() {
  212. return _UniqueDirectiveNamesRule.UniqueDirectiveNamesRule;
  213. }
  214. });
  215. Object.defineProperty(exports, "PossibleTypeExtensionsRule", {
  216. enumerable: true,
  217. get: function get() {
  218. return _PossibleTypeExtensionsRule.PossibleTypeExtensionsRule;
  219. }
  220. });
  221. Object.defineProperty(exports, "NoDeprecatedCustomRule", {
  222. enumerable: true,
  223. get: function get() {
  224. return _NoDeprecatedCustomRule.NoDeprecatedCustomRule;
  225. }
  226. });
  227. Object.defineProperty(exports, "NoSchemaIntrospectionCustomRule", {
  228. enumerable: true,
  229. get: function get() {
  230. return _NoSchemaIntrospectionCustomRule.NoSchemaIntrospectionCustomRule;
  231. }
  232. });
  233. var _validate = require("./validate.js");
  234. var _ValidationContext = require("./ValidationContext.js");
  235. var _specifiedRules = require("./specifiedRules.js");
  236. var _ExecutableDefinitionsRule = require("./rules/ExecutableDefinitionsRule.js");
  237. var _FieldsOnCorrectTypeRule = require("./rules/FieldsOnCorrectTypeRule.js");
  238. var _FragmentsOnCompositeTypesRule = require("./rules/FragmentsOnCompositeTypesRule.js");
  239. var _KnownArgumentNamesRule = require("./rules/KnownArgumentNamesRule.js");
  240. var _KnownDirectivesRule = require("./rules/KnownDirectivesRule.js");
  241. var _KnownFragmentNamesRule = require("./rules/KnownFragmentNamesRule.js");
  242. var _KnownTypeNamesRule = require("./rules/KnownTypeNamesRule.js");
  243. var _LoneAnonymousOperationRule = require("./rules/LoneAnonymousOperationRule.js");
  244. var _NoFragmentCyclesRule = require("./rules/NoFragmentCyclesRule.js");
  245. var _NoUndefinedVariablesRule = require("./rules/NoUndefinedVariablesRule.js");
  246. var _NoUnusedFragmentsRule = require("./rules/NoUnusedFragmentsRule.js");
  247. var _NoUnusedVariablesRule = require("./rules/NoUnusedVariablesRule.js");
  248. var _OverlappingFieldsCanBeMergedRule = require("./rules/OverlappingFieldsCanBeMergedRule.js");
  249. var _PossibleFragmentSpreadsRule = require("./rules/PossibleFragmentSpreadsRule.js");
  250. var _ProvidedRequiredArgumentsRule = require("./rules/ProvidedRequiredArgumentsRule.js");
  251. var _ScalarLeafsRule = require("./rules/ScalarLeafsRule.js");
  252. var _SingleFieldSubscriptionsRule = require("./rules/SingleFieldSubscriptionsRule.js");
  253. var _UniqueArgumentNamesRule = require("./rules/UniqueArgumentNamesRule.js");
  254. var _UniqueDirectivesPerLocationRule = require("./rules/UniqueDirectivesPerLocationRule.js");
  255. var _UniqueFragmentNamesRule = require("./rules/UniqueFragmentNamesRule.js");
  256. var _UniqueInputFieldNamesRule = require("./rules/UniqueInputFieldNamesRule.js");
  257. var _UniqueOperationNamesRule = require("./rules/UniqueOperationNamesRule.js");
  258. var _UniqueVariableNamesRule = require("./rules/UniqueVariableNamesRule.js");
  259. var _ValuesOfCorrectTypeRule = require("./rules/ValuesOfCorrectTypeRule.js");
  260. var _VariablesAreInputTypesRule = require("./rules/VariablesAreInputTypesRule.js");
  261. var _VariablesInAllowedPositionRule = require("./rules/VariablesInAllowedPositionRule.js");
  262. var _LoneSchemaDefinitionRule = require("./rules/LoneSchemaDefinitionRule.js");
  263. var _UniqueOperationTypesRule = require("./rules/UniqueOperationTypesRule.js");
  264. var _UniqueTypeNamesRule = require("./rules/UniqueTypeNamesRule.js");
  265. var _UniqueEnumValueNamesRule = require("./rules/UniqueEnumValueNamesRule.js");
  266. var _UniqueFieldDefinitionNamesRule = require("./rules/UniqueFieldDefinitionNamesRule.js");
  267. var _UniqueDirectiveNamesRule = require("./rules/UniqueDirectiveNamesRule.js");
  268. var _PossibleTypeExtensionsRule = require("./rules/PossibleTypeExtensionsRule.js");
  269. var _NoDeprecatedCustomRule = require("./rules/custom/NoDeprecatedCustomRule.js");
  270. var _NoSchemaIntrospectionCustomRule = require("./rules/custom/NoSchemaIntrospectionCustomRule.js");