@encatch/schema 1.2.0-beta.7 → 1.2.0-beta.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/esm/index.js CHANGED
@@ -534,7 +534,9 @@ var questionSchema = z2.object({
534
534
  nextButtonLabel: z2.string().min(1).max(50).default("Next").describe(
535
535
  "Label for the next button when advancing past this question (overrides section or form defaults when set)"
536
536
  ),
537
- showQuestionTitle: z2.boolean().default(true).describe("Whether to display the question title; defaults to true")
537
+ showQuestionTitle: z2.boolean().default(true).describe("Whether to display the question title; defaults to true"),
538
+ questionMediaUrl: z2.string().url().optional().describe("Optional URL for media (image or video) displayed alongside the question"),
539
+ questionMediaType: z2.enum(["image", "video", "youtube", "vimeo"]).optional().describe("Type of media referenced by questionMediaUrl; one of 'image', 'video', 'youtube', or 'vimeo'")
538
540
  }).describe("Base schema for all question types with common properties");
539
541
  var ratingQuestionSchema = questionSchema.extend({
540
542
  type: z2.literal("rating").describe("Must be exactly 'rating'"),