@opencrvs/toolkit 1.9.12-rc.f94f0c1 → 1.9.12-rc.fb627ca

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.
@@ -1738,7 +1738,7 @@ var LocationInput = BaseField.extend({
1738
1738
  configuration: import_v43.default.object({
1739
1739
  locationTypes: import_v43.default.array(import_v43.default.string()).optional().describe("Types of the locations that are available for selection."),
1740
1740
  allowedLocations: AllowedLocations
1741
- })
1741
+ }).optional()
1742
1742
  }).describe("Input field for a location");
1743
1743
  var FileUploadWithOptions = BaseField.extend({
1744
1744
  type: import_v43.default.literal(FieldType.FILE_WITH_OPTIONS),
@@ -1799,7 +1799,7 @@ declare const LocationInput: z.ZodObject<{
1799
1799
  }>;
1800
1800
  $location: z.ZodOptional<z.ZodString>;
1801
1801
  }, z.core.$strip>]>>;
1802
- configuration: z.ZodObject<{
1802
+ configuration: z.ZodOptional<z.ZodObject<{
1803
1803
  locationTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
1804
1804
  allowedLocations: z.ZodOptional<z.ZodObject<{
1805
1805
  $jurisdiction: z.ZodUnion<[z.ZodEnum<{
@@ -1856,7 +1856,7 @@ declare const LocationInput: z.ZodObject<{
1856
1856
  }>;
1857
1857
  }, z.core.$strip>]>;
1858
1858
  }, z.core.$strip>>;
1859
- }, z.core.$strip>;
1859
+ }, z.core.$strip>>;
1860
1860
  }, z.core.$strip>;
1861
1861
  export type LocationInput = z.infer<typeof LocationInput>;
1862
1862
  declare const FileUploadWithOptions: z.ZodObject<{
@@ -2500,7 +2500,7 @@ var LocationInput = BaseField.extend({
2500
2500
  configuration: import_v43.default.object({
2501
2501
  locationTypes: import_v43.default.array(import_v43.default.string()).optional().describe("Types of the locations that are available for selection."),
2502
2502
  allowedLocations: AllowedLocations
2503
- })
2503
+ }).optional()
2504
2504
  }).describe("Input field for a location");
2505
2505
  var FileUploadWithOptions = BaseField.extend({
2506
2506
  type: import_v43.default.literal(FieldType.FILE_WITH_OPTIONS),
@@ -1992,7 +1992,7 @@ var LocationInput = BaseField.extend({
1992
1992
  configuration: import_v43.default.object({
1993
1993
  locationTypes: import_v43.default.array(import_v43.default.string()).optional().describe("Types of the locations that are available for selection."),
1994
1994
  allowedLocations: AllowedLocations
1995
- })
1995
+ }).optional()
1996
1996
  }).describe("Input field for a location");
1997
1997
  var FileUploadWithOptions = BaseField.extend({
1998
1998
  type: import_v43.default.literal(FieldType.FILE_WITH_OPTIONS),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opencrvs/toolkit",
3
- "version": "1.9.12-rc.f94f0c1",
3
+ "version": "1.9.12-rc.fb627ca",
4
4
  "description": "OpenCRVS toolkit for building country configurations",
5
5
  "license": "MPL-2.0",
6
6
  "bin": {