"use strict";(self.webpackChunkdashboard=self.webpackChunkdashboard||[]).push([[725],{2725:function(e,a,r){var t=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(a,"__esModule",{value:!0});var n=t(r(6246)),i=r(7350),s=["error","warning","information","hint"],o={"GraphQL: Validation":"validation","GraphQL: Deprecation":"deprecation","GraphQL: Syntax":"syntax"};n.default.registerHelper("lint","graphql",(function(e,a){var r=a.schema;return i.getDiagnostics(e,r,a.validationRules,void 0,a.externalFragments).map((function(e){return{message:e.message,severity:e.severity?s[e.severity-1]:s[0],type:e.source?o[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)}}))}))}}]);
//# sourceMappingURL=725.a57ff2f3.chunk.js.map