[] {
return [
{
accessorKey: "uuid",
header: "UUID",
cell: ({ getValue }) => ({String(getValue())}
),
},
{
accessorKey: "areaName",
header: "Area Name",
},
{
accessorKey: "areaCode",
header: "Area Code",
},
{
accessorKey: "areaType",
header: "Area Type",
},
{
accessorKey: "areaDirection",
header: "Area Direction",
},
{
accessorKey: "areaGrossSize",
header: "Area Gross Size",
},
{
accessorKey: "areaNetSize",
header: "Area Net Size",
},
{
accessorKey: "width",
header: "Width",
},
{
accessorKey: "size",
header: "Size",
},
{
accessorKey: "createdAt",
header: "Created",
cell: ({ getValue }) => dateToLocaleString(getValue() as string),
},
{
accessorKey: "updatedAt",
header: "Updated",
cell: ({ getValue }) => dateToLocaleString(getValue() as string),
},
{
accessorKey: "expiryStarts",
header: "Expiry Starts",
cell: ({ getValue }) => getValue() ? dateToLocaleString(getValue() as string) : "-",
},
{
accessorKey: "expiryEnds",
header: "Expiry Ends",
cell: ({ getValue }) => getValue() ? dateToLocaleString(getValue() as string) : "-",
},
{
id: "actions",
header: "Actions",
cell: ({ row }) => {
return (
);
},
}
]
}
export { getColumns };