import * as z from "zod"; export const slideLayoutId = "bullet-list-slide"; export const slideLayoutName = "Two Column Bullet List Slide"; export const slideLayoutDescription = "A two-column numbered string list with items."; export const Schema = z.object({ title: z.string().min(6).max(30).default("Usecase").meta({ description: "Slide title shown above the numbered list.", }), items: z .array(z.string().min(1).max(200)) .min(1) .max(8) .default([ "Use pre-built component library for UI consistency", "Integrate REST API with TypeScript for type safety", "Implement real-time updates using WebSocket", "Deploy to production with automated CI/CD pipeline", "Enable role-based permissions for protected actions", "Generate docs automatically from route contracts", "Track release health with telemetry dashboards", "Add rollback strategy for high-risk deployments", ]) .meta({ description: "Eight use-case items shown in two columns.", }), pageLabel: z.string().min(3).max(8).optional().default("7 / 11").meta({ description: "Bottom pagination label.", }), }); export type SchemaType = z.infer; const CodeSlide07UseCaseList = ({ data }: { data: Partial }) => { return ( <>

{data.title}

{data?.items?.map((item, index) => (
{index + 1}

{item}

))}
{data.pageLabel}
); }; export default CodeSlide07UseCaseList;