fix: add missing column patterns to types

This commit is contained in:
Christian Vidal Wolf
2026-04-28 09:22:03 +02:00
parent 69f9773410
commit 3d89b2538a
2 changed files with 14 additions and 5 deletions
+7
View File
@@ -74,6 +74,13 @@ export const COLUMN_PATTERNS: Record<keyof typeof COLUMNS, string[]> = {
OUTER_W: ['outer', 'w'],
OUTER_L: ['outer', 'l'],
OUTER_H: ['outer', 'h'],
VERIFIED_DIMS: ['verified', 'dims'],
VALIDATED_CHECK: ['validated', 'check'],
VALIDATED_NOTE: ['validated', 'note'],
PRODUCT_TYPE: ['product', 'type'],
ITEM_TO_LOGISTIC: ['item', 'logistic'],
ANNA_CHECK: ['anna', 'check'],
ANNA_NOTE: ['anna', 'note'],
// Virtual/Extra columns stay hardcoded and are NOT auto-detected from headers
// to prevent internal data from being shifted or overwritten by Excel column shifts.
};