chore(repo): initialize planarchy workspace

This commit is contained in:
2026-03-14 14:31:09 +01:00
commit dd55d0e78b
769 changed files with 166461 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
import type { ColumnDef } from "../types/columns.js";
export const RESOURCE_COLUMNS: ColumnDef[] = [
{ key: "displayName", label: "Name", defaultVisible: true, hideable: false },
{ key: "eid", label: "EID", defaultVisible: true, hideable: true },
{ key: "chapter", label: "Chapter", defaultVisible: true, hideable: true },
{ key: "roles", label: "Roles", defaultVisible: true, hideable: true },
{ key: "chargeability", label: "Chargeability", defaultVisible: true, hideable: true, sortable: true },
{ key: "lcr", label: "LCR", defaultVisible: false, hideable: true },
{ key: "valueScore", label: "Score", defaultVisible: false, hideable: true },
{ key: "isActive", label: "Status", defaultVisible: true, hideable: true },
];
export const PROJECT_COLUMNS: ColumnDef[] = [
{ key: "shortCode", label: "Code", defaultVisible: true, hideable: false },
{ key: "name", label: "Name", defaultVisible: true, hideable: false },
{ key: "status", label: "Status", defaultVisible: true, hideable: true },
{ key: "orderType", label: "Type", defaultVisible: true, hideable: true },
{ key: "dates", label: "Dates", defaultVisible: true, hideable: true },
{ key: "budget", label: "Budget", defaultVisible: false, hideable: true },
{ key: "allocations", label: "Allocations", defaultVisible: true, hideable: true },
{ key: "responsible", label: "Responsible", defaultVisible: false, hideable: true },
];
export const ALLOCATION_COLUMNS: ColumnDef[] = [
{ key: "resource", label: "Resource", defaultVisible: true, hideable: false },
{ key: "project", label: "Project", defaultVisible: true, hideable: false },
{ key: "dates", label: "Dates", defaultVisible: true, hideable: true },
{ key: "hoursPerDay", label: "h/day", defaultVisible: true, hideable: true },
{ key: "status", label: "Status", defaultVisible: true, hideable: true },
{ key: "cost", label: "Daily Cost", defaultVisible: false, hideable: true },
{ key: "role", label: "Role", defaultVisible: true, hideable: true },
];