UNPKG

@gqlts/cli

Version:

Generate a client sdk from your GraphQl API

1 lines 2.53 kB
{"version":3,"file":"renderClient.js","sourceRoot":"","sources":["../../../src/render/client/renderClient.ts"],"names":[],"mappings":";;;;;AA0BA,0CAwCC;AAED,0CAuCC;AAED,0CAkCC;AA/ID,yCAAgD;AAEhD,2DAAwD;AACxD,qCAAqE;AACrE,iEAAyC;AAEzC,MAAM,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAAC;AAErD,SAAS,gBAAgB,CAAC,GAAkB;;IAC1C,MAAM,GAAG,GAAG,CAAA,MAAA,GAAG,CAAC,MAAM,0CAAE,QAAQ,EAAC,CAAC,CAAC,IAAI,GAAG,CAAC,MAAM,CAAC,QAAQ,GAAG,CAAC,CAAC,CAAC,WAAW,CAAC;IAC5E,OAAO;;;;aAII,GAAG;;;;;;;;;EASd,CAAC;AACH,CAAC;AAED,SAAgB,eAAe,CAAC,MAAqB,EAAE,UAAkC;IACvF,IAAI,OAAO,GAAG,MAAM,CAAC,UAAU,EAAE,CAAC;IAElC,MAAM,KAAK,GAAsB,EAAE,CAAC;IACpC,KAAK,MAAM,IAAI,IAAI,OAAO,EAAE,CAAC;QAC3B,IAAI,6BAAa,CAAC,QAAQ,CAAC,IAAI,CAAC;YAAE,SAAS;QAE3C,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;QAE3B,IAAI,IAAA,oBAAU,EAAC,IAAI,CAAC,EAAE,CAAC;YACrB,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACnB,CAAC;IACH,CAAC;IACD,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,EAAE,CAAC;IAClC,MAAM,WAAW,GAAG,CAAC,GAAG,EAAE;QACxB,IAAI,UAAU,KAAK,KAAK,EAAE,CAAC;YACzB,OAAO,eAAe,CAAC;QACzB,CAAC;aAAM,IAAI,UAAU,KAAK,KAAK,EAAE,CAAC;YAChC,OAAO,i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