evo360-types 1.1.64 → 1.1.65
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.
|
@@ -429,8 +429,8 @@ export declare const zSurveyQuestionDateSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
429
429
|
}>, "many">>;
|
|
430
430
|
}>, {
|
|
431
431
|
type: z.ZodLiteral<"date">;
|
|
432
|
-
date_min: z.ZodOptional<z.ZodDate
|
|
433
|
-
date_max: z.ZodOptional<z.ZodDate
|
|
432
|
+
date_min: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
433
|
+
date_max: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
434
434
|
}>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
435
435
|
id: z.ZodString;
|
|
436
436
|
ref: z.ZodAny;
|
|
@@ -462,8 +462,8 @@ export declare const zSurveyQuestionDateSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
462
462
|
}>, "many">>;
|
|
463
463
|
}>, {
|
|
464
464
|
type: z.ZodLiteral<"date">;
|
|
465
|
-
date_min: z.ZodOptional<z.ZodDate
|
|
466
|
-
date_max: z.ZodOptional<z.ZodDate
|
|
465
|
+
date_min: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
466
|
+
date_max: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
467
467
|
}>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
468
468
|
id: z.ZodString;
|
|
469
469
|
ref: z.ZodAny;
|
|
@@ -495,8 +495,8 @@ export declare const zSurveyQuestionDateSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
495
495
|
}>, "many">>;
|
|
496
496
|
}>, {
|
|
497
497
|
type: z.ZodLiteral<"date">;
|
|
498
|
-
date_min: z.ZodOptional<z.ZodDate
|
|
499
|
-
date_max: z.ZodOptional<z.ZodDate
|
|
498
|
+
date_min: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
499
|
+
date_max: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
500
500
|
}>, z.ZodTypeAny, "passthrough">>;
|
|
501
501
|
export declare const zSurveyQuestionPhoneSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
502
502
|
id: z.ZodString;
|
|
@@ -529,7 +529,7 @@ export declare const zSurveyQuestionPhoneSchema: z.ZodObject<z.objectUtil.extend
|
|
|
529
529
|
}>, "many">>;
|
|
530
530
|
}>, {
|
|
531
531
|
type: z.ZodLiteral<"phone">;
|
|
532
|
-
maska: z.ZodOptional<z.ZodAny
|
|
532
|
+
maska: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
533
533
|
}>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
534
534
|
id: z.ZodString;
|
|
535
535
|
ref: z.ZodAny;
|
|
@@ -561,7 +561,7 @@ export declare const zSurveyQuestionPhoneSchema: z.ZodObject<z.objectUtil.extend
|
|
|
561
561
|
}>, "many">>;
|
|
562
562
|
}>, {
|
|
563
563
|
type: z.ZodLiteral<"phone">;
|
|
564
|
-
maska: z.ZodOptional<z.ZodAny
|
|
564
|
+
maska: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
565
565
|
}>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
566
566
|
id: z.ZodString;
|
|
567
567
|
ref: z.ZodAny;
|
|
@@ -593,7 +593,7 @@ export declare const zSurveyQuestionPhoneSchema: z.ZodObject<z.objectUtil.extend
|
|
|
593
593
|
}>, "many">>;
|
|
594
594
|
}>, {
|
|
595
595
|
type: z.ZodLiteral<"phone">;
|
|
596
|
-
maska: z.ZodOptional<z.ZodAny
|
|
596
|
+
maska: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
597
597
|
}>, z.ZodTypeAny, "passthrough">>;
|
|
598
598
|
export declare const zSurveyQuestionMaskSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
599
599
|
id: z.ZodString;
|
|
@@ -626,7 +626,7 @@ export declare const zSurveyQuestionMaskSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
626
626
|
}>, "many">>;
|
|
627
627
|
}>, {
|
|
628
628
|
type: z.ZodLiteral<"mask">;
|
|
629
|
-
maska: z.ZodOptional<z.ZodAny
|
|
629
|
+
maska: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
630
630
|
}>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
631
631
|
id: z.ZodString;
|
|
632
632
|
ref: z.ZodAny;
|
|
@@ -658,7 +658,7 @@ export declare const zSurveyQuestionMaskSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
658
658
|
}>, "many">>;
|
|
659
659
|
}>, {
|
|
660
660
|
type: z.ZodLiteral<"mask">;
|
|
661
|
-
maska: z.ZodOptional<z.ZodAny
|
|
661
|
+
maska: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
662
662
|
}>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
663
663
|
id: z.ZodString;
|
|
664
664
|
ref: z.ZodAny;
|
|
@@ -690,7 +690,7 @@ export declare const zSurveyQuestionMaskSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
690
690
|
}>, "many">>;
|
|
691
691
|
}>, {
|
|
692
692
|
type: z.ZodLiteral<"mask">;
|
|
693
|
-
maska: z.ZodOptional<z.ZodAny
|
|
693
|
+
maska: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
694
694
|
}>, z.ZodTypeAny, "passthrough">>;
|
|
695
695
|
export declare const zSurveySectionSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
696
696
|
id: z.ZodString;
|
|
@@ -79,20 +79,20 @@ exports.zSurveyQuestionMultipleChoiceSchema = exports.zSurveyQuestionSchema // E
|
|
|
79
79
|
exports.zSurveyQuestionDateSchema = exports.zSurveyQuestionSchema // Extend from zSurveyQuestionSchema
|
|
80
80
|
.extend({
|
|
81
81
|
type: zod_1.z.literal("date"),
|
|
82
|
-
date_min: zod_1.z.coerce.date().optional(),
|
|
83
|
-
date_max: zod_1.z.coerce.date().optional(),
|
|
82
|
+
date_min: zod_1.z.coerce.date().nullable().optional(),
|
|
83
|
+
date_max: zod_1.z.coerce.date().nullable().optional(),
|
|
84
84
|
});
|
|
85
85
|
// Question Phone
|
|
86
86
|
exports.zSurveyQuestionPhoneSchema = exports.zSurveyQuestionSchema // Extend from zSurveyQuestionSchema
|
|
87
87
|
.extend({
|
|
88
88
|
type: zod_1.z.literal("phone"),
|
|
89
|
-
maska: zod_1.z.any().optional(), // it might be more specific schema for MaskOptions
|
|
89
|
+
maska: zod_1.z.any().nullable().optional(), // it might be more specific schema for MaskOptions
|
|
90
90
|
});
|
|
91
91
|
// Question Mask
|
|
92
92
|
exports.zSurveyQuestionMaskSchema = exports.zSurveyQuestionSchema // Extend from zSurveyQuestionSchema
|
|
93
93
|
.extend({
|
|
94
94
|
type: zod_1.z.literal("mask"),
|
|
95
|
-
maska: zod_1.z.any().optional(), // it might be more specific schema for MaskOptions
|
|
95
|
+
maska: zod_1.z.any().nullable().optional(), // it might be more specific schema for MaskOptions
|
|
96
96
|
});
|
|
97
97
|
// Survey Section
|
|
98
98
|
exports.zSurveySectionSchema = zod_schemas_1.zFireDocSchema // Extend from FireDocSchema
|
|
@@ -89,22 +89,22 @@ export const zSurveyQuestionMultipleChoiceSchema = zSurveyQuestionSchema // Exte
|
|
|
89
89
|
export const zSurveyQuestionDateSchema = zSurveyQuestionSchema // Extend from zSurveyQuestionSchema
|
|
90
90
|
.extend({
|
|
91
91
|
type: z.literal("date"),
|
|
92
|
-
date_min: z.coerce.date().optional(),
|
|
93
|
-
date_max: z.coerce.date().optional(),
|
|
92
|
+
date_min: z.coerce.date().nullable().optional(),
|
|
93
|
+
date_max: z.coerce.date().nullable().optional(),
|
|
94
94
|
});
|
|
95
95
|
|
|
96
96
|
// Question Phone
|
|
97
97
|
export const zSurveyQuestionPhoneSchema = zSurveyQuestionSchema // Extend from zSurveyQuestionSchema
|
|
98
98
|
.extend({
|
|
99
99
|
type: z.literal("phone"),
|
|
100
|
-
maska: z.any().optional(), // it might be more specific schema for MaskOptions
|
|
100
|
+
maska: z.any().nullable().optional(), // it might be more specific schema for MaskOptions
|
|
101
101
|
});
|
|
102
102
|
|
|
103
103
|
// Question Mask
|
|
104
104
|
export const zSurveyQuestionMaskSchema = zSurveyQuestionSchema // Extend from zSurveyQuestionSchema
|
|
105
105
|
.extend({
|
|
106
106
|
type: z.literal("mask"),
|
|
107
|
-
maska: z.any().optional(), // it might be more specific schema for MaskOptions
|
|
107
|
+
maska: z.any().nullable().optional(), // it might be more specific schema for MaskOptions
|
|
108
108
|
});
|
|
109
109
|
|
|
110
110
|
// Survey Section
|