@marktiderman/genesis-forms 0.3.0 → 0.4.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/server.d.cts CHANGED
@@ -20,7 +20,11 @@ interface SubmissionOptions {
20
20
  }
21
21
  interface CheckedSubmission {
22
22
  status: "draft" | "completed";
23
- /** Visible answers only, keyed by field id (kept hidden answers too, with `clearHiddenValues: false`). */
23
+ /**
24
+ * Visible answers only, keyed by field id (kept hidden answers too, with
25
+ * `clearHiddenValues: false`). Calculated fields hold the value worked out
26
+ * here from these answers.
27
+ */
24
28
  answers: Record<string, Json>;
25
29
  /** Untrusted URL and host inputs, coerced to their declared types. Identifying ones are left out on anonymous forms. */
26
30
  hidden: Record<string, Json>;
package/dist/server.d.ts CHANGED
@@ -20,7 +20,11 @@ interface SubmissionOptions {
20
20
  }
21
21
  interface CheckedSubmission {
22
22
  status: "draft" | "completed";
23
- /** Visible answers only, keyed by field id (kept hidden answers too, with `clearHiddenValues: false`). */
23
+ /**
24
+ * Visible answers only, keyed by field id (kept hidden answers too, with
25
+ * `clearHiddenValues: false`). Calculated fields hold the value worked out
26
+ * here from these answers.
27
+ */
24
28
  answers: Record<string, Json>;
25
29
  /** Untrusted URL and host inputs, coerced to their declared types. Identifying ones are left out on anonymous forms. */
26
30
  hidden: Record<string, Json>;