diff options
| author | joonhoekim <26rote@gmail.com> | 2025-03-25 15:55:45 +0900 |
|---|---|---|
| committer | joonhoekim <26rote@gmail.com> | 2025-03-25 15:55:45 +0900 |
| commit | 1a2241c40e10193c5ff7008a7b7b36cc1d855d96 (patch) | |
| tree | 8a5587f10ca55b162d7e3254cb088b323a34c41b /config/itemsColumnsConfig.ts | |
initial commit
Diffstat (limited to 'config/itemsColumnsConfig.ts')
| -rw-r--r-- | config/itemsColumnsConfig.ts | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/config/itemsColumnsConfig.ts b/config/itemsColumnsConfig.ts new file mode 100644 index 00000000..f2b9a61b --- /dev/null +++ b/config/itemsColumnsConfig.ts @@ -0,0 +1,42 @@ +import { Item } from "@/db/schema/items" + +export interface ItemColumnConfig { + id: keyof Item + label: string + group?: string + excelHeader?: string + type?: string +} + +export const itemsColumnsConfig: ItemColumnConfig[] = [ + { + id: "itemCode", + label: "Item Code", + excelHeader: "Item Code", + // group: "Basic Info", + }, + { + id: "itemName", + label: "Item Name", + excelHeader: "Item Name", + // group: "Basic Info", + }, + { + id: "description", + label: "Description", + excelHeader: "Description", + // group: "Basic Info", + }, + { + id: "createdAt", + label: "Created At", + excelHeader: "Created At", + // group: "Metadata",a + }, + { + id: "updatedAt", + label: "Updated At", + excelHeader: "Updated At", + // group: "Metadata", + }, +]
\ No newline at end of file |
