@opencrvs/toolkit 1.8.0-rc.f9911ed → 1.8.0-rc.faacbde

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.
@@ -99,6 +99,13 @@ export declare function field(fieldId: string): {
99
99
  isUndefined: () => JSONSchema;
100
100
  inArray: (values: string[]) => JSONSchema;
101
101
  isValidEnglishName: () => JSONSchema;
102
+ /**
103
+ * Checks if the field value matches a given regular expression pattern.
104
+ * @param pattern - The regular expression pattern to match the field value against.
105
+ * @returns A JSONSchema conditional that validates the field value against the pattern.
106
+ */
107
+ matches: (pattern: string) => JSONSchema;
108
+ isBetween: (min: number, max: number) => JSONSchema;
102
109
  };
103
110
  export {};
104
111
  //# sourceMappingURL=conditionals.d.ts.map