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.
TypeScript accessibilityalternativecloudflarecloudflare-workersdesignfreefrontendopen-sourceradix-uireactremixweb-developmentwebflowwebsite-builderwebsite-developmentwebsiteswebstudio
fix rebase
Roman Pominovda1e8d50561f
diff --git a/apps/designer/app/shared/copy-paste/serialize.ts b/apps/designer/app/shared/copy-paste/serialize.tsindex 449581c56b..f018e46566 100644--- a/apps/designer/app/shared/copy-paste/serialize.ts+++ b/apps/designer/app/shared/copy-paste/serialize.ts@@ -1,11 +1,11 @@-import { Instance, UserProp } from "@webstudio-is/react-sdk";+import { Instance, UserUserProp } from "@webstudio-is/react-sdk";import { z } from "zod";const TYPE = "@webstudio/instance/v0.1" as const;const InstanceCopyData = z.object({instance: Instance,- props: z.array(UserProp).optional(),+ props: z.array(UserUserProp).optional(),});export type InstanceCopyData = z.infer<typeof InstanceCopyData>;diff --git a/packages/react-sdk/src/user-props/schema.ts b/packages/react-sdk/src/user-props/schema.tsindex 1fb83cf08e..a76f3def2e 100644--- a/packages/react-sdk/src/user-props/schema.ts+++ b/packages/react-sdk/src/user-props/schema.ts@@ -11,7 +11,7 @@ const UserPropDb = z.object({export const UserDbProps = z.array(UserPropDb);-const UserUserProp = z+export const UserUserProp = z.object({id: z.string(),prop: z.string(),