message: feat: add insertions csv into "download all"  zip file
diff: @@ -129,6 +129,19 @@ export function* exportPeptidesWorker() {
  yield* call(saveZip, { files, filename: exportParams.filenamePeptidesZip })
  }
  +export function* prepareInsertionsCsvStr() {
  + const results = yield* select(selectResultsArray)
  + const resultsGood = results.filter(notUndefinedOrNull)
  + const resultsGoodStr = serializeResults(resultsGood)
  + return yield* call(serializeInsertionsToCsv, resultsGoodStr)
  +}
  +
  +export function* exportInsertionsCsv() {
  + const exportParams = yield* select(selectExportParams)
  + const csvStr = yield* prepareInsertionsCsvStr()
  + saveFile(csvStr, exportParams.filenameInsertionsCsv, 'text/csv;charset=utf-8')
  +}
  +
  export function* exportAllWorker() {
  const exportParams = yield* select(selectExportParams)
  @@ -137,6 +150,7 @@ export function* exportAllWorker() {
  const jsonStr = yield* prepareResultsJsonStr()
  const treeJsonStr = yield* prepareResultTreeJsonStr()
  const fastaStr = yield* prepareResultFastaStr()
  + const insertionsCsvStr = yield* prepareInsertionsCsvStr()
  const peptideFiles = yield* prepareResultPeptideFiles()
  @@ -147,24 +161,12 @@ export function* exportAllWorker() {
  { filename: exportParams.filenameJson, data: jsonStr },
  { filename: exportParams.filenameTreeJson, data: treeJsonStr },
  { filename: exportParams.filenameFasta, data: fastaStr },
  + { filename: exportParams.filenameInsertionsCsv, data: insertionsCsvStr },
  ]
  yield* call(saveZip, { files: allFiles, filename: exportParams.filenameZip })
  }
  -export function* prepareInsertionsCsvStr() {
  - const results = yield* select(selectResultsArray)
  - const resultsGood = results.filter(notUndefinedOrNull)
  - const resultsGoodStr = serializeResults(resultsGood)
  - return yield* call(serializeInsertionsToCsv, resultsGoodStr)
  -}
  -
  -export function* exportInsertionsCsv() {
  - const exportParams = yield* select(selectExportParams)
  - const csvStr = yield* prepareInsertionsCsvStr()
  - saveFile(csvStr, exportParams.filenameInsertionsCsv, 'text/csv;charset=utf-8')
  -}
  -
  export default [
  takeEvery(exportCsvTrigger, exportCsv),
  takeEvery(exportTsvTrigger, exportTsv),
  