evo360-types 1.1.66 → 1.1.68
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.
|
@@ -229,6 +229,7 @@ export declare const zSurveyQuestionEssaySchema: z.ZodObject<z.objectUtil.extend
|
|
|
229
229
|
}>, "many">>;
|
|
230
230
|
}>, {
|
|
231
231
|
type: z.ZodLiteral<"essay">;
|
|
232
|
+
multiple_lines: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
232
233
|
length_min: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
233
234
|
length_max: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
234
235
|
}>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -262,6 +263,7 @@ export declare const zSurveyQuestionEssaySchema: z.ZodObject<z.objectUtil.extend
|
|
|
262
263
|
}>, "many">>;
|
|
263
264
|
}>, {
|
|
264
265
|
type: z.ZodLiteral<"essay">;
|
|
266
|
+
multiple_lines: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
265
267
|
length_min: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
266
268
|
length_max: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
267
269
|
}>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -295,6 +297,7 @@ export declare const zSurveyQuestionEssaySchema: z.ZodObject<z.objectUtil.extend
|
|
|
295
297
|
}>, "many">>;
|
|
296
298
|
}>, {
|
|
297
299
|
type: z.ZodLiteral<"essay">;
|
|
300
|
+
multiple_lines: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
298
301
|
length_min: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
299
302
|
length_max: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
300
303
|
}>, z.ZodTypeAny, "passthrough">>;
|
|
@@ -65,6 +65,7 @@ exports.zSurveyQuestionScaleSchema = exports.zSurveyQuestionSchema // Extend fro
|
|
|
65
65
|
exports.zSurveyQuestionEssaySchema = exports.zSurveyQuestionSchema // Extend from zSurveyQuestionSchema
|
|
66
66
|
.extend({
|
|
67
67
|
type: zod_1.z.literal("essay"),
|
|
68
|
+
multiple_lines: zod_1.z.boolean().optional().default(false),
|
|
68
69
|
length_min: zod_1.z.number().int().min(0).max(2000).optional().default(0),
|
|
69
70
|
length_max: zod_1.z.number().int().min(0).max(5000).optional().default(1000),
|
|
70
71
|
});
|
|
@@ -73,6 +73,7 @@ export const zSurveyQuestionScaleSchema = zSurveyQuestionSchema // Extend from z
|
|
|
73
73
|
export const zSurveyQuestionEssaySchema = zSurveyQuestionSchema // Extend from zSurveyQuestionSchema
|
|
74
74
|
.extend({
|
|
75
75
|
type: z.literal("essay"),
|
|
76
|
+
multiple_lines: z.boolean().optional().default(false),
|
|
76
77
|
length_min: z.number().int().min(0).max(2000).optional().default(0),
|
|
77
78
|
length_max: z.number().int().min(0).max(5000).optional().default(1000),
|
|
78
79
|
});
|