cedar-embeddable-editor 2.0.1 → 2.0.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/CHANGELOG.md +19 -0
- package/README.md +78 -634
- package/bundle-manifest.json +2 -2
- package/cedar-embeddable-editor.d.ts +22 -6
- package/cedar-embeddable-editor.js +78 -78
- package/license.txt +1 -1
- package/package.json +1 -1
package/bundle-manifest.json
CHANGED
|
@@ -147,16 +147,32 @@ export interface CeeValidationProblem {
|
|
|
147
147
|
/**
|
|
148
148
|
* What CEE thinks of the instance currently in the form.
|
|
149
149
|
*
|
|
150
|
-
* Read through `dataQualityReport`.
|
|
151
|
-
*
|
|
152
|
-
*
|
|
150
|
+
* Read through `dataQualityReport`. These four members are the whole object: it
|
|
151
|
+
* carried three of CEE's internal working views as well, and the interface was a
|
|
152
|
+
* subset of what a host actually received.
|
|
153
153
|
*/
|
|
154
154
|
export interface CeeDataQualityReport {
|
|
155
|
-
/**
|
|
155
|
+
/**
|
|
156
|
+
* How many required fields the template declares.
|
|
157
|
+
*
|
|
158
|
+
* One per declaration, whatever its cardinality — a required field repeated
|
|
159
|
+
* five times counts once, as does a required field inside an element repeated
|
|
160
|
+
* five times.
|
|
161
|
+
*/
|
|
156
162
|
requiredFieldValueCount: number;
|
|
157
|
-
/**
|
|
163
|
+
/**
|
|
164
|
+
* How many of those the instance fills.
|
|
165
|
+
*
|
|
166
|
+
* A requirement is met when any occurrence carries a value, so this is
|
|
167
|
+
* unaffected by which page the form is showing.
|
|
168
|
+
*/
|
|
158
169
|
nonNullRequiredFieldValueCount: number;
|
|
159
|
-
/**
|
|
170
|
+
/**
|
|
171
|
+
* Validation problems.
|
|
172
|
+
*
|
|
173
|
+
* Includes one `required` problem for each unsatisfied required field
|
|
174
|
+
* declaration, while the two counters retain their existing aggregate view.
|
|
175
|
+
*/
|
|
160
176
|
problems: CeeValidationProblem[];
|
|
161
177
|
/** True when every required field is filled and no constraint is violated. */
|
|
162
178
|
isValid: boolean;
|