UNPKG

@graphql-hive/cli

Version:

A CLI util to manage and control your GraphQL Hive

1 lines 6.83 kB
{"version":3,"file":"check.js","sourceRoot":"","sources":["../../../src/commands/schema/check.ts"],"names":[],"mappings":";;;AAAA,8DAAyB;AACzB,sCAAkD;AAClD,8EAAyC;AACzC,mCAAoC;AAEpC,iDAAuD;AACvD,iDAU8B;AAC9B,2CAA4C;AAC5C,iDAM8B;AAC9B,gFAA0D;AAE1D,MAAM,mBAAmB,GAAG,IAAA,aAAO,EAAC,aAAa,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyEjD,CAAC,CAAC;AAEH,MAAqB,WAAY,SAAQ,sBAA2B;IA4ElE,KAAK,CAAC,GAAG;;QACP,IAAI,CAAC;YACH,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC;YAEtD,MAAM,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;YAE1B,IAAI,MAAM,GAA8C,IAAI,CAAC;YAC7D,IAAI,KAAK,CAAC,MAAM,EAAE,CAAC;gBACjB,MAAM,MAAM,GAAG,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;gBAC/C,IAAI,MAAM,CAAC,IAAI,KAAK,OAAO,EAAE,CAAC;oBAC5B,MAAM,IAAI,2BAAkB,EAAE,CAAC;gBACjC,CAAC;gBACD,MAAM,GAAG,MAAM,CAAC,IAAI,CAAC;YACvB,CAAC;YAED,MAAM,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC;YAC9B,MAAM,SAAS,GAAG,KAAK,CAAC,SAAS,CAAC;YAClC,MAAM,aAAa,GAAG,KAAK,CAAC,MAAM,KAAK,IAAI,CAAC;YAC5C,IAAI,QAAgB,EAAE,WAAmB,CAAC;YAC1C,IAAI,CAAC;gBACH,QAAQ,GAAG,IAAI,CAA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