@json-eval-rs/webcore 0.0.65 → 0.0.67
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.
- package/dist/index.d.ts +2 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -37,7 +37,7 @@ export interface ValidationError {
|
|
|
37
37
|
/** Field path with the error */
|
|
38
38
|
path: string;
|
|
39
39
|
/** Type of validation rule that failed (e.g., 'required', 'min', 'max', 'pattern') */
|
|
40
|
-
|
|
40
|
+
type: string;
|
|
41
41
|
/** Error message */
|
|
42
42
|
message: string;
|
|
43
43
|
/** Optional error code */
|
|
@@ -45,7 +45,7 @@ export interface ValidationError {
|
|
|
45
45
|
/** Optional regex pattern (for pattern validation errors) */
|
|
46
46
|
pattern?: string;
|
|
47
47
|
/** Optional field value that failed validation (as string) */
|
|
48
|
-
|
|
48
|
+
fieldValue?: string;
|
|
49
49
|
/** Optional additional data context for the error */
|
|
50
50
|
data?: any;
|
|
51
51
|
}
|