summaryrefslogtreecommitdiff
path: root/config/itemsColumnsConfig.ts
blob: f2b9a61b42862ec7f43bb9d77e9aa330b9c9e106 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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",
  },
]