UNPKG

@gqlts/runtime

Version:

Gqlts runtime client

1 lines 4.3 kB
{"version":3,"file":"generateGraphqlOperation.js","sourceRoot":"","sources":["../../src/client/generateGraphqlOperation.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAgCtD,SAAS,YAAY,CAAC,OAA4B,EAAE,GAAY,EAAE,IAAc;IAC9E,IAAI,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC;QACrB,IAAA,KAAA,OAAiB,OAAO,IAAA,EAAvB,MAAI,QAAA,EAAE,MAAM,QAAW,CAAC;QAC/B,IAAM,QAAQ,GAAG,MAAM,CAAC,IAAI,CAAC,MAAI,CAAC,CAAC;QAEnC,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YAC1B,OAAO,YAAY,CAAC,MAAM,EAAE,GAAG,EAAE,IAAI,CAAC,CAAC;QACzC,CAAC;QAED,IAAM,OAAK,GAAG,gBAAgB,CAAC,GAAG,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;QAE/C,OAAO,WAAI,QAAQ,CAAC,GAAG,CAAC,UAAC,OAAO;YAC9B,GAAG,CAAC,UAAU,EAAE,CAAC;YACjB,IAAM,OAAO,GAAG,WAAI,GAAG,CAAC,UAAU,CAAE,CAAC;YAErC,IAAM,MAAM,GAAG,OAAK,CAAC,IAAI,IAAI,OAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,2BAA2B;YAE7E,IAAI,CAAC,MAAM,EAAE,CAAC;gBACZ,MAAM,IAAI,KAAK,CAAC,0CAAoC,OAAO,wBAAgB,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,MAAI,CAAC,CAAC;YACjG,CAAC;YAED,GAAG,CAAC,SAAS,CAAC,OAAO,CAAC,GAAG;gBACvB,KAAK,EAAE,MAAI,CAAC,OAAO,CAAC;gBACpB,MAAM,QAAA;aACP,CAAC;YAEF,OAAO,UAAG,OAAO,eAA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