mirror of
https://github.com/christianvidalwolf-prog/Craze-Data-check.git
synced 2026-08-03 14:55:24 +02:00
fix: restore internal control columns and protect them from Dropbox sync overrides
This commit is contained in:
+2
-8
@@ -74,14 +74,8 @@ export const COLUMN_PATTERNS: Record<keyof typeof COLUMNS, string[]> = {
|
||||
OUTER_W: ['outer', 'w'],
|
||||
OUTER_L: ['outer', 'l'],
|
||||
OUTER_H: ['outer', 'h'],
|
||||
// Virtual/Extra columns stay hardcoded or managed elsewhere
|
||||
VERIFIED_DIMS: ['verified'],
|
||||
VALIDATED_CHECK: ['validated'],
|
||||
VALIDATED_NOTE: ['note'],
|
||||
PRODUCT_TYPE: ['type'],
|
||||
ITEM_TO_LOGISTIC: ['item', 'to', '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.
|
||||
};
|
||||
|
||||
export function resolveColumnIndices(headers: string[]): typeof COLUMNS {
|
||||
|
||||
Reference in New Issue
Block a user