import { collectYardData } from "../lib/yard-features.js";
import { boundaryFeatures } from "./boundaries.js";
import { buildingFeatures, buildingGroups } from "./buildings.js";
import { gridFeatures, gridGroups } from "./grid.js";
import { irrigationFeatures } from "./irrigation.js";
import { pavementFeatures } from "./pavement.js";
import { plantFeatures, plantGroups } from "./plants.js";

export const yardGeoJSON = collectYardData(
  [
    ...boundaryFeatures,
    ...gridFeatures,
    ...buildingFeatures,
    ...pavementFeatures,
    ...plantFeatures,
    ...irrigationFeatures,
  ],
  [
    ...buildingGroups,
    ...gridGroups,
    ...plantGroups,
  ],
);
