UNPKG

@graphql-hive/cli

Version:

A CLI util to manage and control your GraphQL Hive

1 lines 5.85 kB
{"version":3,"file":"check.js","sourceRoot":"","sources":["../../../src/commands/schema/check.ts"],"names":[],"mappings":";;;AAAA,sCAAkD;AAClD,8EAAyC;AACzC,mCAAoC;AACpC,iDAAuD;AACvD,2CAA4C;AAC5C,iDAM8B;AAE9B,MAAM,mBAAmB,GAAG,IAAA,aAAO,EAAC,aAAa,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyEjD,CAAC,CAAC;AAEH,MAAqB,WAAY,SAAQ,sBAA2B;IA6DlE,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,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,MAAM,QAAQ,GAAG,IAAI,CAAC,MAAM,CAAC;gBAC3B,GAAG,EAAE,mBAAmB;gBACxB,IAAI,EAAE,KAAK;gBACX,cAAc,EAAE,UAAU;gBAC1B,YAAY,EAAE,wBAAe;gBAC7B,GAAG,EAAE,eAAe;aACrB,CAAC,CAAC;YACH,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC;YACvB,MAAM,WAAW,GAAG,IAAI,CAAC,MAAM,CAAC;gBAC9B,GAAG,EAAE,sBAAsB;gBAC3B,IAAI,EAAE,KAAK;gBACX,cAAc,EAAE,OAAO;gBACvB,GAAG,EAAE,YAAY;aAClB,CAAC,CAAC;YACH,MAAM,GAAG,GAAG,MAAM,IAAA,mBAA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