(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0c4c28"],{"3bcf":function(e,r,t){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0});var n=a(t("56b3")),i=t("f4ed"),o=["error","warning","information","hint"],s={"GraphQL: Validation":"validation","GraphQL: Deprecation":"deprecation","GraphQL: Syntax":"syntax"};n.default.registerHelper("lint","graphql",(function(e,r){var t=r.schema,a=(0,i.getDiagnostics)(e,t,r.validationRules,void 0,r.externalFragments),c=a.map((function(e){return{message:e.message,severity:e.severity?o[e.severity-1]:o[0],type:e.source?s[e.source]:void 0,from:n.default.Pos(e.range.start.line,e.range.start.character),to:n.default.Pos(e.range.end.line,e.range.end.character)}}));return c}))}}]);