summaryrefslogtreecommitdiff
path: root/config/formListsColumnsConfig.ts
blob: b79992aabc40dd5e3aa69167f174bc751dd5aa89 (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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
import { FormListsView } from "@/db/schema/vendorData"

export interface FormListsColumnConfig {
  id: keyof FormListsView
  label: string
  group?: string
  excelHeader?: string
  type?: string
}

export const formListsColumnsConfig: FormListsColumnConfig[] = [
  {
    id: "projectCode",
    label: "Project Code",
    excelHeader: "Project Code",
    // group: "Basic Info",
  },
  {
    id: "projectName",
    label: "Project Name",
    excelHeader: "Project Name",
    // group: "Basic Info",
  },
  {
    id: "formCode",
    label: "Register ID",
    excelHeader: "Register ID",
    // group: "Basic Info",
  },
  {
    id: "formName",
    label: "Register Description",
    excelHeader: "Register Description",
    // group: "Basic Info",
  },
  {
    id: "tagTypeLabel",
    label: "TAG TYPE ID",
    excelHeader: "TAG TYPE ID",
    // group: "Basic Info",
  },
  {
    id: "classLabel",
    label: "Class Description",
    excelHeader: "Class Description",
    // group: "Basic Info",
  },
  {
    id: "ep",
    label: "EP_ID",
    excelHeader: "EP_ID",
    // group: "Basic Info",
  },
  {
    id: "remark",
    label: "Remark",
    excelHeader: "Remark",
    // group: "Basic Info",
  },

  {
    id: "createdAt",
    label: "Created At",
    excelHeader: "Created At",
    // group: "Metadata",a
  },
  {
    id: "updatedAt",
    label: "Updated At",
    excelHeader: "Updated At",
    // group: "Metadata",
  },
]