@regle/schemas 1.5.0 → 1.5.1

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.
@@ -2204,6 +2204,10 @@ interface RegleCommonStatus<TValue = any> {
2204
2204
  $id?: string;
2205
2205
  /** A reference to the original validated model. It can be used to bind your form with v-model.*/
2206
2206
  $value: JoinDiscriminatedUnions<UnwrapNestedRefs<TValue>>;
2207
+ /**
2208
+ * Initial value of the field.
2209
+ */
2210
+ readonly $initialValue: JoinDiscriminatedUnions<UnwrapNestedRefs<TValue>>;
2207
2211
  /** $value variant that will not "touch" the field and update the value silently, running only the rules, so you can easily swap values without impacting user interaction. */
2208
2212
  $silentValue: JoinDiscriminatedUnions<UnwrapNestedRefs<TValue>>;
2209
2213
  /** Marks the field and all nested properties as $dirty. */
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@regle/schemas",
3
- "version": "1.5.0",
3
+ "version": "1.5.1",
4
4
  "description": "Schemas adapter for Regle",
5
5
  "dependencies": {
6
6
  "@standard-schema/spec": "1.0.0",
7
- "@regle/core": "1.5.0",
8
- "@regle/rules": "1.5.0"
7
+ "@regle/core": "1.5.1",
8
+ "@regle/rules": "1.5.1"
9
9
  },
10
10
  "peerDependencies": {
11
11
  "valibot": "^1.0.0",