@schema-engine/forms 0.5.0 → 0.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.
- package/README.md +1 -1
- package/dist/actions/index.js +4 -4
- package/dist/actions/plugins/index.js +3 -3
- package/dist/actions/plugins/registrations.js +3 -3
- package/dist/agent-tool/index.js +1 -1
- package/dist/{chunk-U2X3IYSD.js → chunk-6EYX257T.js} +1 -1
- package/dist/{chunk-HEAKWS27.js → chunk-A5VLMQAK.js} +693 -643
- package/dist/chunk-A5VLMQAK.js.map +7 -0
- package/dist/{chunk-5QXT7YAJ.js → chunk-CANRZY5A.js} +1 -1
- package/dist/{chunk-2VKEOE2L.js → chunk-GQHMU3AR.js} +12 -12
- package/dist/{chunk-WS7SLVXL.js → chunk-JA5ET6MC.js} +4 -4
- package/dist/{chunk-2PTM54FQ.js → chunk-KH6QWB5Y.js} +2 -2
- package/dist/chunk-PCL2KNHC.js.map +7 -0
- package/dist/{chunk-56CJ2UZ7.js → chunk-TSKELYW7.js} +2 -2
- package/dist/chunk-U3YHTQHR.js +215 -0
- package/dist/chunk-U3YHTQHR.js.map +7 -0
- package/dist/{chunk-XPQRHO5E.js → chunk-V5H7L5PJ.js} +1 -1
- package/dist/engine/build-form-engine.js +7 -7
- package/dist/engine/create-form-engine.js +8 -8
- package/dist/engine/form-engine.js +7 -7
- package/dist/engine/index.js +8 -8
- package/dist/engine/step-machine.js +1 -1
- package/dist/engine/submission-schema.js +1 -1
- package/dist/engine/value-validation.js +1 -1
- package/dist/index.js +26 -26
- package/dist/lib/validate-form.js +4 -4
- package/dist/recipes/index.js +1 -1
- package/dist/recipes/view-model.js +1 -1
- package/dist/runtime/create-form-runtime.js +7 -7
- package/dist/runtime/index.js +7 -7
- package/dist/schemas/base-field.js +2 -2
- package/dist/schemas/form-config-shape.js +2 -2
- package/dist/schemas/form-config.js +2 -2
- package/dist/schemas/index.js +5 -5
- package/dist/schemas/validation/dependencies.js +1 -1
- package/dist/schemas/validation/index.js +5 -5
- package/dist/schemas/validation/utils.js +1 -1
- package/dist/schemas/validation/validation-registry.js +1 -1
- package/dist/server-errors/from-json-api-errors.js +3 -3
- package/dist/server-errors/from-problem-details.js +3 -3
- package/dist/server-errors/index.js +6 -6
- package/dist/server-errors/shared.js +2 -2
- package/dist/state-container/create-form-state-container.js +5 -5
- package/dist/state-container/index.d.ts +1 -1
- package/dist/state-container/index.js +12 -12
- package/dist/state-container/selectors.js +1 -1
- package/dist/state-container/submission.js +1 -1
- package/dist/state-container/types.d.ts +1 -1
- package/dist/state-container/types.js +1 -1
- package/dist/testing/assert.d.ts +92 -0
- package/dist/testing/assert.js +42 -0
- package/dist/testing/assert.js.map +7 -0
- package/dist/testing/form-state-container-conformance.d.ts +15 -3
- package/dist/testing/form-state-container-conformance.js +4 -3
- package/dist/testing/index.d.ts +3 -2
- package/dist/testing/index.js +4 -3
- package/package.json +7 -13
- package/skill/reference/forms.md +3 -2
- package/dist/chunk-HEAKWS27.js.map +0 -7
- package/dist/chunk-PXWVKJGF.js.map +0 -7
- package/dist/{chunk-U2X3IYSD.js.map → chunk-6EYX257T.js.map} +0 -0
- package/dist/{chunk-5QXT7YAJ.js.map → chunk-CANRZY5A.js.map} +0 -0
- package/dist/{chunk-GY657L56.js → chunk-DP7SYLLI.js} +5 -5
- /package/dist/{chunk-GY657L56.js.map → chunk-DP7SYLLI.js.map} +0 -0
- /package/dist/{chunk-2VKEOE2L.js.map → chunk-GQHMU3AR.js.map} +0 -0
- /package/dist/{chunk-WS7SLVXL.js.map → chunk-JA5ET6MC.js.map} +0 -0
- /package/dist/{chunk-2PTM54FQ.js.map → chunk-KH6QWB5Y.js.map} +0 -0
- /package/dist/{chunk-PXWVKJGF.js → chunk-PCL2KNHC.js} +0 -0
- /package/dist/{chunk-56CJ2UZ7.js.map → chunk-TSKELYW7.js.map} +0 -0
- /package/dist/{chunk-XPQRHO5E.js.map → chunk-V5H7L5PJ.js.map} +0 -0
package/README.md
CHANGED
|
@@ -52,7 +52,7 @@ const result = engine.safeValidateForm({
|
|
|
52
52
|
| `@schema-engine/forms/recipes/built-in` | The built-in recipe specs and their slot schemas |
|
|
53
53
|
| `@schema-engine/forms/browser` | Browser actions: auto-save, reset and analytics, with consent |
|
|
54
54
|
| `@schema-engine/forms/agent-tool` | Offers a form to a browser agent as a WebMCP tool (experimental) |
|
|
55
|
-
| `@schema-engine/forms/testing` | A conformance suite for a form state container
|
|
55
|
+
| `@schema-engine/forms/testing` | A conformance suite for a form state container, for any test runner |
|
|
56
56
|
|
|
57
57
|
## Documentation
|
|
58
58
|
|
package/dist/actions/index.js
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
import "../chunk-4FELFUCD.js";
|
|
1
2
|
import "../chunk-QH7VW7IY.js";
|
|
2
3
|
import "../chunk-BIHEIJG3.js";
|
|
3
|
-
import
|
|
4
|
+
import {
|
|
5
|
+
NotificationActionRegistration
|
|
6
|
+
} from "../chunk-6FUGK5HQ.js";
|
|
4
7
|
import {
|
|
5
8
|
SubmitActionRegistration
|
|
6
9
|
} from "../chunk-Z6DQLJS2.js";
|
|
@@ -8,9 +11,6 @@ import {
|
|
|
8
11
|
FormSubmitActionSchema,
|
|
9
12
|
formSubmitPlugin
|
|
10
13
|
} from "../chunk-GT2LARKT.js";
|
|
11
|
-
import {
|
|
12
|
-
NotificationActionRegistration
|
|
13
|
-
} from "../chunk-6FUGK5HQ.js";
|
|
14
14
|
import {
|
|
15
15
|
NotificationActionSchema,
|
|
16
16
|
notificationPlugin
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import "../../chunk-QH7VW7IY.js";
|
|
2
2
|
import "../../chunk-BIHEIJG3.js";
|
|
3
|
+
import {
|
|
4
|
+
NotificationActionRegistration
|
|
5
|
+
} from "../../chunk-6FUGK5HQ.js";
|
|
3
6
|
import {
|
|
4
7
|
SubmitActionRegistration
|
|
5
8
|
} from "../../chunk-Z6DQLJS2.js";
|
|
@@ -7,9 +10,6 @@ import {
|
|
|
7
10
|
FormSubmitActionSchema,
|
|
8
11
|
formSubmitPlugin
|
|
9
12
|
} from "../../chunk-GT2LARKT.js";
|
|
10
|
-
import {
|
|
11
|
-
NotificationActionRegistration
|
|
12
|
-
} from "../../chunk-6FUGK5HQ.js";
|
|
13
13
|
import {
|
|
14
14
|
NotificationActionSchema,
|
|
15
15
|
notificationPlugin
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "../../chunk-BIHEIJG3.js";
|
|
2
|
+
import {
|
|
3
|
+
NotificationActionRegistration
|
|
4
|
+
} from "../../chunk-6FUGK5HQ.js";
|
|
2
5
|
import {
|
|
3
6
|
SubmitActionRegistration
|
|
4
7
|
} from "../../chunk-Z6DQLJS2.js";
|
|
5
8
|
import "../../chunk-GT2LARKT.js";
|
|
6
|
-
import {
|
|
7
|
-
NotificationActionRegistration
|
|
8
|
-
} from "../../chunk-6FUGK5HQ.js";
|
|
9
9
|
import "../../chunk-QT3EYUL5.js";
|
|
10
10
|
import "../../chunk-VGGERKV2.js";
|
|
11
11
|
export {
|
package/dist/agent-tool/index.js
CHANGED