@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/README.md +75 -1
- package/dist/destinations.cjs +210 -33
- package/dist/destinations.cjs.map +1 -1
- package/dist/destinations.js +210 -33
- package/dist/destinations.js.map +1 -1
- package/dist/{engine-CPLtKVew.d.cts → engine-BkNuzlna.d.cts} +2 -1
- package/dist/{engine-DOrPgFDw.d.ts → engine-Dz9J5ej2.d.ts} +2 -1
- package/dist/index.cjs +758 -23
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +195 -4
- package/dist/index.d.ts +195 -4
- package/dist/index.js +739 -24
- package/dist/index.js.map +1 -1
- package/dist/server.cjs +672 -19
- package/dist/server.cjs.map +1 -1
- package/dist/server.d.cts +5 -1
- package/dist/server.d.ts +5 -1
- package/dist/server.js +672 -19
- package/dist/server.js.map +1 -1
- package/dist/testing.cjs +674 -19
- package/dist/testing.cjs.map +1 -1
- package/dist/testing.d.cts +2 -2
- package/dist/testing.d.ts +2 -2
- package/dist/testing.js +674 -19
- package/dist/testing.js.map +1 -1
- package/package.json +1 -1
|
@@ -56,7 +56,8 @@ interface FormEngine {
|
|
|
56
56
|
/**
|
|
57
57
|
* Set an answer. Like `next`, `back` and `submit`, it does nothing once the
|
|
58
58
|
* response is completed: a completed response is final, so its stored
|
|
59
|
-
* answers are the ones that were validated.
|
|
59
|
+
* answers are the ones that were validated. It does nothing for a
|
|
60
|
+
* `calculated` field either: the engine works that value out.
|
|
60
61
|
*/
|
|
61
62
|
setValue(id: string, value: Json | undefined): void;
|
|
62
63
|
/** Validate the current step and move on. Returns false if it has errors. */
|
|
@@ -56,7 +56,8 @@ interface FormEngine {
|
|
|
56
56
|
/**
|
|
57
57
|
* Set an answer. Like `next`, `back` and `submit`, it does nothing once the
|
|
58
58
|
* response is completed: a completed response is final, so its stored
|
|
59
|
-
* answers are the ones that were validated.
|
|
59
|
+
* answers are the ones that were validated. It does nothing for a
|
|
60
|
+
* `calculated` field either: the engine works that value out.
|
|
60
61
|
*/
|
|
61
62
|
setValue(id: string, value: Json | undefined): void;
|
|
62
63
|
/** Validate the current step and move on. Returns false if it has errors. */
|