MCPcopy Create free account
hub / github.com/HelloCSV/HelloCSV / getSubmittedSheetData

Function getSubmittedSheetData

src/utils/index.ts:199–207  ·  view source on GitHub ↗
(
  sheets: SheetDefinition[],
  sheetData: SheetState[]
)

Source from the content-addressed store, hash-verified

197}
198
199export function getSubmittedSheetData(
200 sheets: SheetDefinition[],
201 sheetData: SheetState[]
202) {
203 return applyTransformations(
204 sheets,
205 sheetData.map((d) => ({ ...d, rows: filterEmptyRows(d) }))
206 );
207}

Callers 3

onSubmitFunction · 0.90
SummaryInfoFunction · 0.90
CompletedFunction · 0.90

Calls 2

applyTransformationsFunction · 0.90
filterEmptyRowsFunction · 0.85

Tested by

no test coverage detected