Function
parseWatchColumns
(watchColumns: string | string[] | undefined)
Source from the content-addressed store, hash-verified
| 163 | } |
| 164 | |
| 165 | function parseWatchColumns(watchColumns: string | string[] | undefined): string[] { |
| 166 | if (!watchColumns) return [] |
| 167 | if (Array.isArray(watchColumns)) return watchColumns.filter(Boolean) |
| 168 | return watchColumns |
| 169 | .split(',') |
| 170 | .map((c) => c.trim()) |
| 171 | .filter(Boolean) |
| 172 | } |
| 173 | |
| 174 | function detectChangedColumns(oldData: RowData, newData: RowData): string[] { |
| 175 | const changed: string[] = [] |
Tested by
no test coverage detected