{"version":3,"sources":["/home/renatorib/p/publissue/packages/api/dist/__chunks/PL64GBNX.cjs","../../src/types/Reaction.ts"],"names":["Reaction","type","graphql","reactionGroup"],"mappings":"AAAA,sHAAkC,6CAAmC,ICExDA,CAAAA,CAAWC,4BAAAA,4BACtBC,CAAQ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAA,CAOP,CACH,CAAA,CAAE,OAAA,CAASC,CAAAA,EAAAA,CACF,CACL,IAAA,CAAMA,CAAAA,CAAc,OAAA,CACpB,KAAA,CAAOA,CAAAA,CAAc,QAAA,CAAS,UAChC,CAAA,CACD,CAAA,CAAA,cAAA","file":"/home/renatorib/p/publissue/packages/api/dist/__chunks/PL64GBNX.cjs","sourcesContent":[null,"import { graphql, type } from \"../lib/graphql\";\n\nexport const Reaction = type(\n  graphql(`\n    fragment Reaction_ReactionGroup on ReactionGroup {\n      content\n      reactors {\n        totalCount\n      }\n    }\n  `),\n).withMap((reactionGroup) => {\n  return {\n    name: reactionGroup.content,\n    count: reactionGroup.reactors.totalCount,\n  };\n});\n"]}