summaryrefslogtreecommitdiff
path: root/config/projectsColumnsConfig.ts
diff options
context:
space:
mode:
Diffstat (limited to 'config/projectsColumnsConfig.ts')
-rw-r--r--config/projectsColumnsConfig.ts42
1 files changed, 42 insertions, 0 deletions
diff --git a/config/projectsColumnsConfig.ts b/config/projectsColumnsConfig.ts
new file mode 100644
index 00000000..d5fd2f99
--- /dev/null
+++ b/config/projectsColumnsConfig.ts
@@ -0,0 +1,42 @@
+import { Project } from "@/db/schema"
+
+export interface ProjectColumnConfig {
+ id: keyof Project
+ label: string
+ group?: string
+ excelHeader?: string
+ type?: string
+}
+
+export const projectsColumnsConfig: ProjectColumnConfig[] = [
+ {
+ id: "code",
+ label: "Project Code",
+ excelHeader: "Project Code",
+ // group: "Basic Info",
+ },
+ {
+ id: "name",
+ label: "Project Name",
+ excelHeader: "Project Name",
+ // group: "Basic Info",
+ },
+ {
+ id: "type",
+ label: "Project Type",
+ excelHeader: "Project Type",
+ // 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