@json-layout/core 2.7.1 → 2.8.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.
Files changed (79) hide show
  1. package/package.json +1 -1
  2. package/src/state/index.js +6 -1
  3. package/src/state/state-node.js +46 -2
  4. package/types/compile/index.d.ts +0 -16
  5. package/types/compile/index.d.ts.map +0 -1
  6. package/types/compile/options.d.ts +0 -6
  7. package/types/compile/options.d.ts.map +0 -1
  8. package/types/compile/serialize.d.ts +0 -6
  9. package/types/compile/serialize.d.ts.map +0 -1
  10. package/types/compile/skeleton-node.d.ts +0 -21
  11. package/types/compile/skeleton-node.d.ts.map +0 -1
  12. package/types/compile/skeleton-tree.d.ts +0 -19
  13. package/types/compile/skeleton-tree.d.ts.map +0 -1
  14. package/types/compile/types.d.ts +0 -61
  15. package/types/compile/types.d.ts.map +0 -1
  16. package/types/compile/utils/resolve-refs.d.ts +0 -17
  17. package/types/compile/utils/resolve-refs.d.ts.map +0 -1
  18. package/types/compile/utils/x-i18n.d.ts +0 -2
  19. package/types/compile/utils/x-i18n.d.ts.map +0 -1
  20. package/types/i18n/de.d.ts +0 -24
  21. package/types/i18n/de.d.ts.map +0 -1
  22. package/types/i18n/en.d.ts +0 -24
  23. package/types/i18n/en.d.ts.map +0 -1
  24. package/types/i18n/fr.d.ts +0 -24
  25. package/types/i18n/fr.d.ts.map +0 -1
  26. package/types/i18n/index.d.ts +0 -8
  27. package/types/i18n/index.d.ts.map +0 -1
  28. package/types/i18n/nl.d.ts +0 -24
  29. package/types/i18n/nl.d.ts.map +0 -1
  30. package/types/i18n/types.d.ts +0 -23
  31. package/types/i18n/types.d.ts.map +0 -1
  32. package/types/index.d.ts +0 -5
  33. package/types/index.d.ts.map +0 -1
  34. package/types/state/index.d.ts +0 -303
  35. package/types/state/index.d.ts.map +0 -1
  36. package/types/state/options.d.ts +0 -11
  37. package/types/state/options.d.ts.map +0 -1
  38. package/types/state/state-node.d.ts +0 -40
  39. package/types/state/state-node.d.ts.map +0 -1
  40. package/types/state/state-tree.d.ts +0 -13
  41. package/types/state/state-tree.d.ts.map +0 -1
  42. package/types/state/types.d.ts +0 -198
  43. package/types/state/types.d.ts.map +0 -1
  44. package/types/state/utils/display.d.ts +0 -51
  45. package/types/state/utils/display.d.ts.map +0 -1
  46. package/types/state/utils/immutable.d.ts +0 -21
  47. package/types/state/utils/immutable.d.ts.map +0 -1
  48. package/types/state/utils/modified.d.ts +0 -17
  49. package/types/state/utils/modified.d.ts.map +0 -1
  50. package/types/state/utils/regexps.d.ts +0 -6
  51. package/types/state/utils/regexps.d.ts.map +0 -1
  52. package/types/state/utils/urls.d.ts +0 -2
  53. package/types/state/utils/urls.d.ts.map +0 -1
  54. package/types/utils/build.d.ts +0 -5
  55. package/types/utils/build.d.ts.map +0 -1
  56. package/types/utils/clone.d.ts +0 -2
  57. package/types/utils/clone.d.ts.map +0 -1
  58. package/types/utils/doc-options.d.ts +0 -14
  59. package/types/utils/doc-options.d.ts.map +0 -1
  60. package/types/webmcp/index.d.ts +0 -90
  61. package/types/webmcp/index.d.ts.map +0 -1
  62. package/types/webmcp/project.d.ts +0 -111
  63. package/types/webmcp/project.d.ts.map +0 -1
  64. package/types/webmcp/resolve.d.ts +0 -11
  65. package/types/webmcp/resolve.d.ts.map +0 -1
  66. package/types/webmcp/tools/describe-state.d.ts +0 -79
  67. package/types/webmcp/tools/describe-state.d.ts.map +0 -1
  68. package/types/webmcp/tools/edit-array.d.ts +0 -88
  69. package/types/webmcp/tools/edit-array.d.ts.map +0 -1
  70. package/types/webmcp/tools/fill-form-skill.d.ts +0 -24
  71. package/types/webmcp/tools/fill-form-skill.d.ts.map +0 -1
  72. package/types/webmcp/tools/get-data.d.ts +0 -31
  73. package/types/webmcp/tools/get-data.d.ts.map +0 -1
  74. package/types/webmcp/tools/get-field-suggestions.d.ts +0 -66
  75. package/types/webmcp/tools/get-field-suggestions.d.ts.map +0 -1
  76. package/types/webmcp/tools/set-data.d.ts +0 -60
  77. package/types/webmcp/tools/set-data.d.ts.map +0 -1
  78. package/types/webmcp/tools/set-field-value.d.ts +0 -91
  79. package/types/webmcp/tools/set-field-value.d.ts.map +0 -1
@@ -1,60 +0,0 @@
1
- /**
2
- * @param {string} dataTitle
3
- * @param {"small"|"medium"|"large"} [complexity]
4
- * @returns {string}
5
- */
6
- export function getDescription(dataTitle: string, complexity?: "small" | "medium" | "large"): string;
7
- /**
8
- * @param {import('../../state/index.js').StatefulLayout} statefulLayout
9
- * @param {{ data: unknown }} args
10
- * @returns {{ valid: boolean, errors: Array<{path: string, message: string}> }}
11
- */
12
- export function execute(statefulLayout: import("../../state/index.js").StatefulLayout, args: {
13
- data: unknown;
14
- }): {
15
- valid: boolean;
16
- errors: Array<{
17
- path: string;
18
- message: string;
19
- }>;
20
- };
21
- export namespace inputSchema {
22
- let type: string;
23
- namespace properties {
24
- namespace data {
25
- let description: string;
26
- }
27
- }
28
- let required: string[];
29
- }
30
- export namespace outputSchema {
31
- let type_1: string;
32
- export { type_1 as type };
33
- export namespace properties_1 {
34
- namespace valid {
35
- let type_2: string;
36
- export { type_2 as type };
37
- }
38
- namespace errors {
39
- let type_3: string;
40
- export { type_3 as type };
41
- export namespace items {
42
- let type_4: string;
43
- export { type_4 as type };
44
- export namespace properties_2 {
45
- namespace path {
46
- let type_5: string;
47
- export { type_5 as type };
48
- }
49
- namespace message {
50
- let type_6: string;
51
- export { type_6 as type };
52
- }
53
- }
54
- export { properties_2 as properties };
55
- }
56
- }
57
- }
58
- export { properties_1 as properties };
59
- }
60
- //# sourceMappingURL=set-data.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"set-data.d.ts","sourceRoot":"","sources":["../../../src/webmcp/tools/set-data.js"],"names":[],"mappings":"AAiCA;;;;GAIG;AACH,0CAJW,MAAM,eACN,OAAO,GAAC,QAAQ,GAAC,OAAO,GACtB,MAAM,CAOlB;AAED;;;;GAIG;AACH,wCAJW,OAAO,sBAAsB,EAAE,cAAc,QAC7C;IAAE,IAAI,EAAE,OAAO,CAAA;CAAE,GACf;IAAE,KAAK,EAAE,OAAO,CAAC;IAAC,MAAM,EAAE,KAAK,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAC,CAAC,CAAA;CAAE,CAS9E"}
@@ -1,91 +0,0 @@
1
- /**
2
- * @param {string} dataTitle
3
- * @returns {string}
4
- */
5
- export function getDescription(dataTitle: string): string;
6
- /**
7
- * @param {import('../../state/index.js').StatefulLayout} statefulLayout
8
- * @param {{ path: string, value: unknown }} args
9
- * @returns {{ valid: boolean, field: ReturnType<typeof projectFieldResult>, errors: Array<{path: string, message: string}> }}
10
- */
11
- export function execute(statefulLayout: import("../../state/index.js").StatefulLayout, args: {
12
- path: string;
13
- value: unknown;
14
- }): {
15
- valid: boolean;
16
- field: ReturnType<typeof projectFieldResult>;
17
- errors: Array<{
18
- path: string;
19
- message: string;
20
- }>;
21
- };
22
- export namespace inputSchema {
23
- let type: string;
24
- namespace properties {
25
- namespace path {
26
- let type_1: string;
27
- export { type_1 as type };
28
- export let description: string;
29
- }
30
- namespace value {
31
- let description_1: string;
32
- export { description_1 as description };
33
- }
34
- }
35
- let required: string[];
36
- }
37
- export namespace outputSchema {
38
- let type_2: string;
39
- export { type_2 as type };
40
- export namespace properties_1 {
41
- namespace valid {
42
- let type_3: string;
43
- export { type_3 as type };
44
- }
45
- namespace field {
46
- let type_4: string;
47
- export { type_4 as type };
48
- export namespace properties_2 {
49
- export namespace path_1 {
50
- let type_5: string;
51
- export { type_5 as type };
52
- }
53
- export { path_1 as path };
54
- export namespace type_6 {
55
- let type_7: string;
56
- export { type_7 as type };
57
- }
58
- export { type_6 as type };
59
- export let data: {};
60
- export namespace error {
61
- let type_8: string;
62
- export { type_8 as type };
63
- }
64
- }
65
- export { properties_2 as properties };
66
- }
67
- namespace errors {
68
- let type_9: string;
69
- export { type_9 as type };
70
- export namespace items {
71
- let type_10: string;
72
- export { type_10 as type };
73
- export namespace properties_3 {
74
- export namespace path_2 {
75
- let type_11: string;
76
- export { type_11 as type };
77
- }
78
- export { path_2 as path };
79
- export namespace message {
80
- let type_12: string;
81
- export { type_12 as type };
82
- }
83
- }
84
- export { properties_3 as properties };
85
- }
86
- }
87
- }
88
- export { properties_1 as properties };
89
- }
90
- import { projectFieldResult } from '../project.js';
91
- //# sourceMappingURL=set-field-value.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"set-field-value.d.ts","sourceRoot":"","sources":["../../../src/webmcp/tools/set-field-value.js"],"names":[],"mappings":"AA+CA;;;GAGG;AACH,0CAHW,MAAM,GACJ,MAAM,CAIlB;AAED;;;;GAIG;AACH,wCAJW,OAAO,sBAAsB,EAAE,cAAc,QAC7C;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,OAAO,CAAA;CAAE,GAC9B;IAAE,KAAK,EAAE,OAAO,CAAC;IAAC,KAAK,EAAE,UAAU,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAAC,MAAM,EAAE,KAAK,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAC,CAAC,CAAA;CAAE,CAwB5H;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mCA9EiD,eAAe"}