UNPKG

@graphql-hive/cli

Version:

A CLI util to manage and control your GraphQL Hive

1 lines 8.04 kB
{"version":3,"file":"publish.js","sourceRoot":"","sources":["../../../src/commands/schema/publish.ts"],"names":[],"mappings":";;;AAAA,2BAA8C;AAC9C,qCAA8C;AAC9C,gDAAuE;AACvE,sCAAkD;AAClD,8EAAyC;AACzC,mCAAkD;AAClD,iDAAuD;AACvD,2CAA4C;AAC5C,iDAA6F;AAC7F,yDAAqD;AAErD,MAAM,qBAAqB,GAAG,IAAA,aAAO,EAAC,aAAa,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuDnD,CAAC,CAAC;AAEH,MAAqB,aAAc,SAAQ,sBAA6B;IA4EtE,eAAe,CAAC,QAA4B;QAC1C,IAAI,CAAC,QAAQ,EAAE,CAAC;YACd,OAAO;QACT,CAAC;QAED,IAAI,CAAC;YACH,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;YACrB,6EAA6E;YAE7E,OAAO,QAAQ,CAAC;QAClB,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACX,sDAAsD;YACtD,MAAM,MAAM,GAAG,IAAA,eAAU,EAAC,QAAQ,CAAC,CAAC;YAEpC,IAAI,CAAC,MAAM,EAAE,CAAC;gBACZ,MAAM,IAAI,KAAK,CACb,iCAAiC,QAAQ,4EAA4E,CACtH,CAAC;YACJ,CAAC;YAED,IAAI,CAAC;gBACH,MAAM,WAAW,GAAG,IAAA,iBAAY,EAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;gBACpD,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC;gBAExB,OAAO,WAAW,CAAC;YACrB,CAAC;YAAC,OAAO,CAAC,EAAE,CAAC;gBACX,MAAM,IAAI,KAAK,CACb,sCAAsC,QAAQ,oEAAoE,CACnH,CAAC;YACJ,CAAC;QACH,CAAC;IACH,CAAC;IAED,KAAK,CAAC,GAAG;;QACP,IAAI,CAA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