@opencrvs/toolkit 2.0.0-rc.e3b49a8 → 2.0.0-rc.e41c07d
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.
|
@@ -324,7 +324,7 @@ var PlainDate = import_zod.z.string().date().brand("PlainDate").describe("Date i
|
|
|
324
324
|
// ../commons/src/events/FieldValue.ts
|
|
325
325
|
var TextValue = z7.string();
|
|
326
326
|
var HiddenFieldValue = z7.string();
|
|
327
|
-
var NonEmptyTextValue =
|
|
327
|
+
var NonEmptyTextValue = TextValue.min(1);
|
|
328
328
|
var DateValue = z7.iso.date().describe("Date in the format YYYY-MM-DD");
|
|
329
329
|
var AgeValue = z7.object({
|
|
330
330
|
age: z7.number(),
|
package/dist/events/index.js
CHANGED
|
@@ -1321,7 +1321,7 @@ function plainDateToLocalDate(date) {
|
|
|
1321
1321
|
// ../commons/src/events/FieldValue.ts
|
|
1322
1322
|
var TextValue = z12.string();
|
|
1323
1323
|
var HiddenFieldValue = z12.string();
|
|
1324
|
-
var NonEmptyTextValue =
|
|
1324
|
+
var NonEmptyTextValue = TextValue.min(1);
|
|
1325
1325
|
var DateValue = z12.iso.date().describe("Date in the format YYYY-MM-DD");
|
|
1326
1326
|
var AgeValue = z12.object({
|
|
1327
1327
|
age: z12.number(),
|
|
@@ -888,7 +888,7 @@ var PlainDate = import_zod.z.string().date().brand("PlainDate").describe("Date i
|
|
|
888
888
|
// ../commons/src/events/FieldValue.ts
|
|
889
889
|
var TextValue = z12.string();
|
|
890
890
|
var HiddenFieldValue = z12.string();
|
|
891
|
-
var NonEmptyTextValue =
|
|
891
|
+
var NonEmptyTextValue = TextValue.min(1);
|
|
892
892
|
var DateValue = z12.iso.date().describe("Date in the format YYYY-MM-DD");
|
|
893
893
|
var AgeValue = z12.object({
|
|
894
894
|
age: z12.number(),
|
|
Binary file
|
package/package.json
CHANGED
|
Binary file
|