payload-live-preview 1.6.0 → 1.7.0

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.cts CHANGED
@@ -103,6 +103,17 @@ interface InspectionBindings {
103
103
  * to update: a name here is a markup problem, a name absent from here and
104
104
  * from `fieldNames` was never sent.
105
105
  */
106
+ /**
107
+ * Bound fields that some update since start carried no value for, so the
108
+ * binding kept whatever text it already had. Cumulative, like
109
+ * `orphanFields`, and the exact opposite of it: a binding with no value
110
+ * rather than a value with no binding.
111
+ *
112
+ * This is why a binding can stay stale while its siblings update. Without
113
+ * it the two cases are indistinguishable from the DOM, since neither
114
+ * leaves a trace.
115
+ */
116
+ readonly absentFields: readonly string[];
106
117
  readonly orphanFields: readonly string[];
107
118
  /** Whether `scopeBindingsByOwner` is active. */
108
119
  readonly ownerScoped: boolean;
package/dist/index.d.ts CHANGED
@@ -103,6 +103,17 @@ interface InspectionBindings {
103
103
  * to update: a name here is a markup problem, a name absent from here and
104
104
  * from `fieldNames` was never sent.
105
105
  */
106
+ /**
107
+ * Bound fields that some update since start carried no value for, so the
108
+ * binding kept whatever text it already had. Cumulative, like
109
+ * `orphanFields`, and the exact opposite of it: a binding with no value
110
+ * rather than a value with no binding.
111
+ *
112
+ * This is why a binding can stay stale while its siblings update. Without
113
+ * it the two cases are indistinguishable from the DOM, since neither
114
+ * leaves a trace.
115
+ */
116
+ readonly absentFields: readonly string[];
106
117
  readonly orphanFields: readonly string[];
107
118
  /** Whether `scopeBindingsByOwner` is active. */
108
119
  readonly ownerScoped: boolean;