@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 +3 -1
- package/dist/esm/index.js.map +2 -2
- package/dist/types/schemas/api/fetch-feedback-schema.d.ts +452 -4
- package/dist/types/schemas/api/submit-feedback-schema.d.ts +6 -6
- package/dist/types/schemas/fields/answer-schema.d.ts +3 -3
- package/dist/types/schemas/fields/app-props-schema.d.ts +226 -2
- package/dist/types/schemas/fields/field-schema.d.ts +460 -5
- package/dist/types/schemas/fields/form-properties-schema.d.ts +226 -2
- package/package.json +1 -1
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'"),
|