export type ExcelRow = any[];

export interface AppState {
  headers: string[];
  data: ExcelRow[];
  fileName: string;
  fileDate: Date | null;
  hasUnsavedChanges: boolean;
  asinColumnIndex: number | null;
}

export const COLUMNS = {
  ARTICLE_NO: 0,
  ARTICLE_NAME: 2,
  LINE: 7,
  LICENSE: 8,
  DETAILS_EN: 9,
  DETAILS_DE: 10,
  BARCODE: 28,
  TARIFF_CODE: 58,
  COUNTRY_ORIGIN: 60,
  LONG_DE: 62,
  LONG_EN: 63,
  SHORT_DE: 64,
  SHORT_EN: 65,
  RECOMMENDED_AGE: 67,
  CLASSIFICATION: 11,
  ITEM_AVAILABLE: 14,
  MOQ: 27,
  UNITS_INNER: 31,
  UNITS_OUTER: 32,
  ASIN: 33,
  INNER_W: 42,
  INNER_L: 43,
  INNER_H: 44,
  OUTER_W: 47,
  OUTER_L: 48,
  OUTER_H: 49
};