Files
Craze-Data-check/src/types.ts
T

29 lines
522 B
TypeScript
Raw Normal View History

export type ExcelRow = any[];
export interface AppState {
headers: string[];
data: ExcelRow[];
fileName: string;
fileDate: Date | null;
hasUnsavedChanges: boolean;
}
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: 1, // Classification
ITEM_AVAILABLE: 14 // Item Available
};