UNPKG

@gqlts/cli

Version:

Generate a client sdk from your GraphQl API

1 lines 3.98 kB
{"version":3,"file":"renderTypeMap.js","sourceRoot":"","sources":["../../../src/render/typeMap/renderTypeMap.ts"],"names":[],"mappings":";;AAeA,sCA6CC;AAED,kEAoDC;AAjHD,2DAAwD;AACxD,6CAA0C;AAC1C,2CAAwC;AAExC,qCAQiB;AAEjB,SAAgB,aAAa,CAAC,MAAqB,EAAE,GAAkB;IACrE,qBAAqB;IACrB,gEAAgE;IAChE,sBAAsB;IACtB,oKAAoK;IACpK,MAAM,MAAM,GAAoB;QAC9B,OAAO,EAAE,EAAE;QACX,KAAK,EAAE,EAAE;KACV,CAAC;IAEF,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,UAAU,EAAE,CAAC;SAC7B,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,6BAAa,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;SACzC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,MAAM,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC,CAAC;SAClC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE;QACT,IAAI,IAAA,sBAAY,EAAC,CAAC,CAAC,IAAI,IAAA,yBAAe,EAAC,CAAC,CAAC,IAAI,IAAA,2BAAiB,EAAC,CAAC,CAAC;YAAE,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,IAAA,uBAAU,EAAC,CAAC,EAAE,GAAG,CAAC,CAAC;aACxG,IAAI,IAAA,qBAAW,EAAC,CAAC,CAAC;YAAE,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,IAAA,qBAAS,EAAC,CAAC,EAAE,GAAG,CAAC,CAAC;aAC7D,IAAI,IAAA,sBAAY,EAAC,CAAC,CAAC,IAAI,IAAA,oBAAU,EAAC,CAAC,CAAC,EAAE,CAAC;YAC1C,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC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