@regle/schemas 1.4.0-beta.1 → 1.4.0-beta.2
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/regle-schemas.d.ts +13 -1
- package/package.json +3 -3
package/dist/regle-schemas.d.ts
CHANGED
|
@@ -2065,9 +2065,13 @@ type RegleFieldStatus<TState extends any = any, TRules extends RegleFormProperty
|
|
|
2065
2065
|
/** Collection of all the error messages, collected for all children properties and nested forms. */
|
|
2066
2066
|
readonly $silentErrors: string[];
|
|
2067
2067
|
/**
|
|
2068
|
-
* Collect all metadata of validators,
|
|
2068
|
+
* Collect all metadata of validators, Only contains errors from properties where $dirty equals true.
|
|
2069
2069
|
*/
|
|
2070
2070
|
readonly $issues: RegleFieldIssue[];
|
|
2071
|
+
/**
|
|
2072
|
+
* Collect all metadata of validators, including the error message.
|
|
2073
|
+
*/
|
|
2074
|
+
readonly $silentIssues: RegleFieldIssue[];
|
|
2071
2075
|
/** Stores external errors of the current field */
|
|
2072
2076
|
readonly $externalErrors: string[];
|
|
2073
2077
|
/** Stores active tooltips messages of the current field */
|
|
@@ -3106,6 +3110,14 @@ type InferRegleSchemaStatusType<TSchema extends unknown, TState extends unknown,
|
|
|
3106
3110
|
* @public
|
|
3107
3111
|
*/
|
|
3108
3112
|
type RegleSchemaFieldStatus<TSchema extends unknown, TState = any, TShortcuts extends RegleShortcutDefinition = {}> = Omit<RegleCommonStatus<TState>, '$pending'> & {
|
|
3113
|
+
/**
|
|
3114
|
+
* Collect all metadata of validators, Only contains errors from properties where $dirty equals true.
|
|
3115
|
+
*/
|
|
3116
|
+
readonly $issues: (RegleFieldIssue & StandardSchemaV1.Issue)[];
|
|
3117
|
+
/**
|
|
3118
|
+
* Collect all metadata of validators, including the error message.
|
|
3119
|
+
*/
|
|
3120
|
+
readonly $silentIssues: (RegleFieldIssue & StandardSchemaV1.Issue)[];
|
|
3109
3121
|
/** Collection of all the error messages, collected for all children properties and nested forms.
|
|
3110
3122
|
*
|
|
3111
3123
|
* Only contains errors from properties where $dirty equals true. */
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@regle/schemas",
|
|
3
|
-
"version": "1.4.0-beta.
|
|
3
|
+
"version": "1.4.0-beta.2",
|
|
4
4
|
"description": "Schemas adapter for Regle",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@standard-schema/spec": "1.0.0",
|
|
7
|
-
"@regle/core": "1.4.0-beta.
|
|
8
|
-
"@regle/rules": "1.4.0-beta.
|
|
7
|
+
"@regle/core": "1.4.0-beta.2",
|
|
8
|
+
"@regle/rules": "1.4.0-beta.2"
|
|
9
9
|
},
|
|
10
10
|
"peerDependencies": {
|
|
11
11
|
"valibot": "^1.0.0",
|