import { z } from "zod/mini" import type { GroupLegacy } from "./group" import { GroupLegacySchema } from "./group" import type { NestableLegacy } from "./nestable" import { NestableLegacySchema } from "./nestable" import type { SlicesLegacy } from "./slices" import { SlicesLegacySchema } from "./slices" import type { UIDLegacy } from "./uid" import { UIDLegacySchema } from "./uid" export const WidgetLegacySchema: z.ZodMiniType = z.union([ UIDLegacySchema, GroupLegacySchema, SlicesLegacySchema, NestableLegacySchema, ]) export type WidgetLegacy = UIDLegacy | GroupLegacy | SlicesLegacy | NestableLegacy