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
experimental: Relax asset schema for wf data (#3688)
Oleg Isonencc596bb969fa
diff --git a/apps/builder/app/shared/copy-paste/plugin-webflow/schema.ts b/apps/builder/app/shared/copy-paste/plugin-webflow/schema.tsindex 3403a0196c..41934f9234 100644--- a/apps/builder/app/shared/copy-paste/plugin-webflow/schema.ts+++ b/apps/builder/app/shared/copy-paste/plugin-webflow/schema.ts@@ -292,9 +292,10 @@ const WfErrorAssetVariant = z.object({origFileName: z.string(),fileName: z.string(),format: z.string(),- size: z.number(),- width: z.number(),- quality: z.number(),+ size: z.number().optional(),+ width: z.number().optional(),+ height: z.number().optional(),+ quality: z.number().optional(),error: z.string(),_id: z.string(),});@@ -303,10 +304,10 @@ const WfAssetVariant = z.object({origFileName: z.string(),fileName: z.string(),format: z.string(),- size: z.number(),- width: z.number(),+ size: z.number().optional(),+ width: z.number().optional(),height: z.number().optional(),- quality: z.number(),+ quality: z.number().optional(),cdnUrl: z.string().url(),s3Url: z.string().url(),});@@ -314,8 +315,8 @@ const WfAssetVariant = z.object({const WfAsset = z.object({cdnUrl: z.string().url(),siteId: z.string(),- width: z.number(),- height: z.number(),+ width: z.number().optional(),+ height: z.number().optional(),fileName: z.string(),createdOn: z.string(),origFileName: z.string(),