@opencrvs/toolkit 1.8.0-rc.feaeeb7 → 1.8.0-rc.ff62f9e

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.
@@ -98,6 +98,7 @@ export declare function field(fieldId: string): {
98
98
  isFalsy: () => JSONSchema;
99
99
  isUndefined: () => JSONSchema;
100
100
  inArray: (values: string[]) => JSONSchema;
101
+ isValidEnglishName: () => JSONSchema;
101
102
  };
102
103
  export {};
103
104
  //# sourceMappingURL=conditionals.d.ts.map
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=validate-address.test.d.ts.map
@@ -6,6 +6,33 @@ import { TranslationConfig } from '../events/TranslationConfig';
6
6
  export declare function validate(schema: JSONSchema, data: ConditionalParameters): boolean;
7
7
  export declare function isFieldVisible(field: FieldConfig, form: ActionUpdate | EventState): boolean;
8
8
  export declare function isFieldEnabled(field: FieldConfig, form: ActionUpdate | EventState): boolean;
9
+ export declare const errorMessages: {
10
+ hiddenField: {
11
+ id: string;
12
+ defaultMessage: string;
13
+ description: string;
14
+ };
15
+ invalidDate: {
16
+ defaultMessage: string;
17
+ description: string;
18
+ id: string;
19
+ };
20
+ invalidEmail: {
21
+ defaultMessage: string;
22
+ description: string;
23
+ id: string;
24
+ };
25
+ requiredField: {
26
+ defaultMessage: string;
27
+ description: string;
28
+ id: string;
29
+ };
30
+ invalidInput: {
31
+ defaultMessage: string;
32
+ description: string;
33
+ id: string;
34
+ };
35
+ };
9
36
  /**
10
37
  * Custom error map for Zod to override the default error messages in intl-formik format.
11
38
  */
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=validate.test.d.ts.map