@opencrvs/toolkit 2.0.0-rc.07776ed → 2.0.0-rc.0811ec9

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.
@@ -1500,6 +1500,7 @@ var NumberField = BaseField.extend({
1500
1500
  configuration: import_v43.default.object({
1501
1501
  min: import_v43.default.number().optional().describe("Minimum value"),
1502
1502
  max: import_v43.default.number().optional().describe("Maximum value"),
1503
+ integer: import_v43.default.boolean().optional().describe("When true, only whole numbers are allowed"),
1503
1504
  prefix: TranslationConfig.optional(),
1504
1505
  postfix: TranslationConfig.optional()
1505
1506
  }).optional()
@@ -267,6 +267,7 @@ declare const NumberField: z.ZodObject<{
267
267
  configuration: z.ZodOptional<z.ZodObject<{
268
268
  min: z.ZodOptional<z.ZodNumber>;
269
269
  max: z.ZodOptional<z.ZodNumber>;
270
+ integer: z.ZodOptional<z.ZodBoolean>;
270
271
  prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
271
272
  postfix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
272
273
  }, z.core.$strip>>;
@@ -2298,6 +2298,7 @@ var NumberField = BaseField.extend({
2298
2298
  configuration: import_v43.default.object({
2299
2299
  min: import_v43.default.number().optional().describe("Minimum value"),
2300
2300
  max: import_v43.default.number().optional().describe("Maximum value"),
2301
+ integer: import_v43.default.boolean().optional().describe("When true, only whole numbers are allowed"),
2301
2302
  prefix: TranslationConfig.optional(),
2302
2303
  postfix: TranslationConfig.optional()
2303
2304
  }).optional()
@@ -1755,6 +1755,7 @@ var NumberField = BaseField.extend({
1755
1755
  configuration: import_v43.default.object({
1756
1756
  min: import_v43.default.number().optional().describe("Minimum value"),
1757
1757
  max: import_v43.default.number().optional().describe("Maximum value"),
1758
+ integer: import_v43.default.boolean().optional().describe("When true, only whole numbers are allowed"),
1758
1759
  prefix: TranslationConfig.optional(),
1759
1760
  postfix: TranslationConfig.optional()
1760
1761
  }).optional()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opencrvs/toolkit",
3
- "version": "2.0.0-rc.07776ed",
3
+ "version": "2.0.0-rc.0811ec9",
4
4
  "description": "OpenCRVS toolkit for building country configurations",
5
5
  "license": "MPL-2.0",
6
6
  "bin": {