mirror of
https://github.com/Hestia-Homes/assessment-model.git
synced 2026-07-12 13:28:55 +00:00
adding missing file
This commit is contained in:
parent
36c6e33a38
commit
28a8308215
1 changed files with 46 additions and 0 deletions
|
|
@ -0,0 +1,46 @@
|
|||
// components/roof-segments-table.ts
|
||||
import { RoofSegment } from "@/app/db/schema/solar";
|
||||
import { ColumnDef } from "@tanstack/react-table";
|
||||
|
||||
export const roofSegmentsColumns: ColumnDef<RoofSegment>[] = [
|
||||
{
|
||||
accessorKey: "areaMeters2",
|
||||
header: "Area (m²)",
|
||||
size: 100,
|
||||
},
|
||||
{
|
||||
accessorKey: "groundAreaMeters2",
|
||||
header: "Ground Area (m²)",
|
||||
size: 100,
|
||||
},
|
||||
{
|
||||
accessorKey: "center.latitude",
|
||||
header: "Latitude",
|
||||
size: 100,
|
||||
},
|
||||
{
|
||||
accessorKey: "center.longitude",
|
||||
header: "Longitude",
|
||||
size: 100,
|
||||
},
|
||||
{
|
||||
accessorKey: "pitchDegrees",
|
||||
header: "Pitch Degrees",
|
||||
size: 100,
|
||||
},
|
||||
{
|
||||
accessorKey: "azimuthDegrees",
|
||||
header: "Azimuth Degrees",
|
||||
size: 100,
|
||||
},
|
||||
{
|
||||
accessorKey: "direction",
|
||||
header: "Direction",
|
||||
size: 50,
|
||||
},
|
||||
{
|
||||
accessorKey: "planeHeightAtCenterMeters",
|
||||
header: "Plane Height at Center (m)",
|
||||
size: 100,
|
||||
},
|
||||
];
|
||||
Loading…
Add table
Reference in a new issue