@srimandir/old-dosha-calculator 2.0.3 → 2.0.4
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.
|
@@ -21274,12 +21274,12 @@ function Dg({
|
|
|
21274
21274
|
const Lg = cd({
|
|
21275
21275
|
problemArea: mr().max(500, "Maximum 500 characters allowed").optional(),
|
|
21276
21276
|
otherProblem: mr().max(100, "Maximum 100 characters allowed").optional(),
|
|
21277
|
-
name: mr().min(1, "Name is required").max(100, "Name must be less than 100 characters"),
|
|
21277
|
+
name: mr().trim().min(1, "Name is required").max(100, "Name must be less than 100 characters"),
|
|
21278
21278
|
gender: Ri(["M", "F"], { required_error: "Gender is required" }),
|
|
21279
21279
|
date: mr().regex(/^\d{4}-\d{2}-\d{2}$/, "Invalid date format (YYYY-MM-DD)"),
|
|
21280
21280
|
time: mr().optional().nullable(),
|
|
21281
21281
|
unknownTime: ld().default(!1),
|
|
21282
|
-
place: mr().min(1, "Birth place is required"),
|
|
21282
|
+
place: mr().trim().min(1, "Birth place is required"),
|
|
21283
21283
|
lat: Ti().optional(),
|
|
21284
21284
|
lon: Ti().optional(),
|
|
21285
21285
|
tz: mr().optional(),
|