import type { BuilderScreen } from "@/lib/admin/builder/types";
import { 
  buildDefaultHeader,
  buildDefaultTitle,
  buildDefaultSubtitle,
  buildDefaultBottomActionButton,
  buildDefaultNavigation,
} from "./blocks";

export function buildListDefaults(id: string): BuilderScreen {
  return {
    id,
    template: "list",
    header: buildDefaultHeader(),
    title: buildDefaultTitle(),
    subtitle: buildDefaultSubtitle(),
    list: {
      selectionType: "single",
      options: [
        {
          id: "option-1",
          label: "Вариант 1",
        },
        {
          id: "option-2",
          label: "Вариант 2",
        },
      ],
    },
    bottomActionButton: buildDefaultBottomActionButton(),
    navigation: buildDefaultNavigation(),
  } as BuilderScreen;
}
