Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

433 B
Raw Blame
import { z } from "zod";

const instanceId = z.string();

const styleSourceId = z.string();

export const styleSourceSelection = z.object({
  instanceId: instanceId,
  values: z.array(styleSourceId),
});

export type StyleSourceSelection = z.infer<typeof styleSourceSelection>;

export const styleSourceSelections = z.map(instanceId, styleSourceSelection);

export type StyleSourceSelections = z.infer<typeof styleSourceSelections>;