{
  "version": 3,
  "sources": ["../src/relayCompilerLanguagePlugin.ts"],
  "sourcesContent": ["import type { PluginInitializer } from \"relay-compiler/lib/language/RelayLanguagePluginInterface\";\n\nimport { findGraphQLTagsFactory } from \"./findGraphQLTags\";\nimport { formatModuleFactory } from \"./formatModule\";\nimport { generateFactory } from \"./typeGenerator\";\nimport type { FormatModuleOptions } from \"./formatModule\";\nimport * as TypeScriptGenerator from \"./typescriptTransforms/TypeScriptGenerator\";\n\nexport async function pluginFactory(\n  formatModuleOptions: FormatModuleOptions,\n): Promise<PluginInitializer> {\n  const formatModule = await formatModuleFactory(formatModuleOptions);\n  return () => {\n    return {\n      inputExtensions: [\"ts\", \"tsx\"],\n      outputExtension: \"ts\",\n      findGraphQLTags: findGraphQLTagsFactory(\n        !formatModuleOptions.emitDocuments,\n      ),\n      formatModule,\n      typeGenerator: {\n        ...TypeScriptGenerator,\n        generate: generateFactory(TypeScriptGenerator.generate),\n      },\n    };\n  };\n}\n"],
  "mappings": ";AAEA,SAAS,8BAA8B;AACvC,SAAS,2BAA2B;AACpC,SAAS,uBAAuB;AAEhC,YAAY,yBAAyB;AAErC,eAAsB,cACpB,qBAC4B;AAC5B,QAAM,eAAe,MAAM,oBAAoB,mBAAmB;AAClE,SAAO,MAAM;AACX,WAAO;AAAA,MACL,iBAAiB,CAAC,MAAM,KAAK;AAAA,MAC7B,iBAAiB;AAAA,MACjB,iBAAiB;AAAA,QACf,CAAC,oBAAoB;AAAA,MACvB;AAAA,MACA;AAAA,MACA,eAAe;AAAA,QACb,GAAG;AAAA,QACH,UAAU,gBAAoC,4BAAQ;AAAA,MACxD;AAAA,IACF;AAAA,EACF;AACF;",
  "names": []
}
