eligius 2.3.1 → 3.0.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 (92) hide show
  1. package/README.md +158 -33
  2. package/dist/configuration-api.d.mts +6095 -0
  3. package/dist/configuration-api.mjs +3876 -0
  4. package/dist/configuration-api.mjs.map +1 -0
  5. package/dist/index.d.mts +4075 -1392
  6. package/dist/index.mjs +10421 -4818
  7. package/dist/index.mjs.map +1 -1
  8. package/dist/metadata.d.mts +1040 -281
  9. package/dist/metadata.mjs +541 -277
  10. package/dist/metadata.mjs.map +1 -1
  11. package/dist/{chunk-w6R9maHv.mjs → rolldown-runtime-BOlb2svz.mjs} +1 -0
  12. package/jsonschema/eligius-configuration.json +120 -9
  13. package/jsonschema/operations/add-class.json +2 -7
  14. package/jsonschema/operations/add-controller-to-element.json +4 -3
  15. package/jsonschema/operations/add-globals-to-operation.json +40 -0
  16. package/jsonschema/operations/animate-with-class.json +8 -8
  17. package/jsonschema/operations/animate.json +10 -9
  18. package/jsonschema/operations/announce-to-screen-reader.json +2 -2
  19. package/jsonschema/operations/break-for-each.json +27 -0
  20. package/jsonschema/operations/broadcast-event.json +2 -2
  21. package/jsonschema/operations/calc.json +16 -3
  22. package/jsonschema/operations/clear-element.json +5 -14
  23. package/jsonschema/operations/clear-operation-data.json +3 -4
  24. package/jsonschema/operations/clear-storage.json +48 -0
  25. package/jsonschema/operations/compare-date.json +2 -2
  26. package/jsonschema/operations/concatenate-strings.json +2 -2
  27. package/jsonschema/operations/continue-for-each.json +27 -0
  28. package/jsonschema/operations/create-element.json +21 -5
  29. package/jsonschema/operations/custom-function.json +2 -2
  30. package/jsonschema/operations/end-action.json +5 -13
  31. package/jsonschema/operations/end-for-each.json +27 -0
  32. package/jsonschema/operations/end-when.json +27 -0
  33. package/jsonschema/operations/extend-controller.json +9 -7
  34. package/jsonschema/operations/filter-array.json +4 -12
  35. package/jsonschema/operations/find-in-array.json +4 -12
  36. package/jsonschema/operations/for-each.json +2 -3
  37. package/jsonschema/operations/format-date.json +2 -17
  38. package/jsonschema/operations/format-text.json +15 -7
  39. package/jsonschema/operations/get-attributes-from-element.json +9 -8
  40. package/jsonschema/operations/get-controller-from-element.json +2 -7
  41. package/jsonschema/operations/get-controller-instance.json +18 -5
  42. package/jsonschema/operations/get-current-time.json +3 -4
  43. package/jsonschema/operations/get-element-dimensions.json +4 -12
  44. package/jsonschema/operations/get-focused-element.json +3 -4
  45. package/jsonschema/operations/get-form-data.json +4 -12
  46. package/jsonschema/operations/get-import.json +2 -2
  47. package/jsonschema/operations/get-query-params.json +12 -5
  48. package/jsonschema/operations/get-scroll-position.json +3 -4
  49. package/jsonschema/operations/get-text-content.json +4 -12
  50. package/jsonschema/operations/http-delete.json +11 -3
  51. package/jsonschema/operations/http-post.json +11 -3
  52. package/jsonschema/operations/http-put.json +11 -3
  53. package/jsonschema/operations/invoke-object-method.json +2 -6
  54. package/jsonschema/operations/is-element-in-viewport.json +4 -12
  55. package/jsonschema/operations/load-from-storage.json +12 -3
  56. package/jsonschema/operations/load-json.json +5 -5
  57. package/jsonschema/operations/log.json +4 -7
  58. package/jsonschema/operations/map-array.json +2 -7
  59. package/jsonschema/operations/math.json +18 -3
  60. package/jsonschema/operations/otherwise.json +27 -0
  61. package/jsonschema/operations/remove-class.json +2 -7
  62. package/jsonschema/operations/remove-controller-from-element.json +2 -7
  63. package/jsonschema/operations/remove-element.json +5 -14
  64. package/jsonschema/operations/remove-properties-from-operation-data.json +2 -2
  65. package/jsonschema/operations/reparent-element.json +2 -7
  66. package/jsonschema/operations/replace-string.json +2 -6
  67. package/jsonschema/operations/replace-text.json +2 -6
  68. package/jsonschema/operations/request-action.json +2 -2
  69. package/jsonschema/operations/save-to-storage.json +12 -3
  70. package/jsonschema/operations/scroll-to-element.json +23 -13
  71. package/jsonschema/operations/scroll-to-position.json +12 -3
  72. package/jsonschema/operations/select-element.json +2 -2
  73. package/jsonschema/operations/set-data.json +8 -3
  74. package/jsonschema/operations/set-element-attributes.json +10 -9
  75. package/jsonschema/operations/set-element-content.json +5 -15
  76. package/jsonschema/operations/set-focus.json +5 -14
  77. package/jsonschema/operations/set-form-value.json +2 -7
  78. package/jsonschema/operations/set-global-data.json +2 -2
  79. package/jsonschema/operations/{set.json → set-operation-data.json} +12 -7
  80. package/jsonschema/operations/set-style.json +3 -8
  81. package/jsonschema/operations/set-variable.json +3 -5
  82. package/jsonschema/operations/sort-array.json +14 -13
  83. package/jsonschema/operations/split-string.json +2 -6
  84. package/jsonschema/operations/start-action.json +4 -12
  85. package/jsonschema/operations/substring-text.json +2 -6
  86. package/jsonschema/operations/toggle-class.json +2 -7
  87. package/jsonschema/operations/toggle-element.json +5 -14
  88. package/jsonschema/operations/toggle-form-element.json +2 -7
  89. package/jsonschema/operations/validate-form.json +41 -13
  90. package/jsonschema/operations/wait.json +2 -2
  91. package/jsonschema/operations/when.json +2 -2
  92. package/package.json +49 -24
@@ -5,14 +5,13 @@
5
5
  "title": "getFormData Operation",
6
6
  "description": "Schema for the getFormData operation",
7
7
  "required": [
8
- "systemName",
9
- "operationData"
8
+ "id",
9
+ "systemName"
10
10
  ],
11
11
  "properties": {
12
12
  "id": {
13
13
  "type": "string",
14
- "description": "Unique identifier for the operation (UUID format)",
15
- "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
14
+ "description": "Unique identifier for the operation"
16
15
  },
17
16
  "systemName": {
18
17
  "const": "getFormData",
@@ -22,18 +21,11 @@
22
21
  "type": "object",
23
22
  "description": "Operation-specific configuration data",
24
23
  "properties": {
25
- "selectedElement": {
26
- "type": "object",
27
- "description": "DOM element (JQuery)"
28
- },
29
24
  "formData": {
30
25
  "type": "object"
31
26
  }
32
27
  },
33
- "additionalProperties": true,
34
- "required": [
35
- "selectedElement"
36
- ]
28
+ "additionalProperties": true
37
29
  }
38
30
  },
39
31
  "additionalProperties": false
@@ -5,14 +5,14 @@
5
5
  "title": "getImport Operation",
6
6
  "description": "Schema for the getImport operation",
7
7
  "required": [
8
+ "id",
8
9
  "systemName",
9
10
  "operationData"
10
11
  ],
11
12
  "properties": {
12
13
  "id": {
13
14
  "type": "string",
14
- "description": "Unique identifier for the operation (UUID format)",
15
- "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
15
+ "description": "Unique identifier for the operation"
16
16
  },
17
17
  "systemName": {
18
18
  "const": "getImport",
@@ -5,14 +5,13 @@
5
5
  "title": "getQueryParams Operation",
6
6
  "description": "Schema for the getQueryParams operation",
7
7
  "required": [
8
- "systemName",
9
- "operationData"
8
+ "id",
9
+ "systemName"
10
10
  ],
11
11
  "properties": {
12
12
  "id": {
13
13
  "type": "string",
14
- "description": "Unique identifier for the operation (UUID format)",
15
- "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
14
+ "description": "Unique identifier for the operation"
16
15
  },
17
16
  "systemName": {
18
17
  "const": "getQueryParams",
@@ -34,5 +33,13 @@
34
33
  "additionalProperties": true
35
34
  }
36
35
  },
37
- "additionalProperties": false
36
+ "additionalProperties": false,
37
+ "definitions": {
38
+ "Record<string,string>": {
39
+ "type": "object",
40
+ "additionalProperties": {
41
+ "type": "string"
42
+ }
43
+ }
44
+ }
38
45
  }
@@ -5,14 +5,13 @@
5
5
  "title": "getScrollPosition Operation",
6
6
  "description": "Schema for the getScrollPosition operation",
7
7
  "required": [
8
- "systemName",
9
- "operationData"
8
+ "id",
9
+ "systemName"
10
10
  ],
11
11
  "properties": {
12
12
  "id": {
13
13
  "type": "string",
14
- "description": "Unique identifier for the operation (UUID format)",
15
- "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
14
+ "description": "Unique identifier for the operation"
16
15
  },
17
16
  "systemName": {
18
17
  "const": "getScrollPosition",
@@ -5,14 +5,13 @@
5
5
  "title": "getTextContent Operation",
6
6
  "description": "Schema for the getTextContent operation",
7
7
  "required": [
8
- "systemName",
9
- "operationData"
8
+ "id",
9
+ "systemName"
10
10
  ],
11
11
  "properties": {
12
12
  "id": {
13
13
  "type": "string",
14
- "description": "Unique identifier for the operation (UUID format)",
15
- "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
14
+ "description": "Unique identifier for the operation"
16
15
  },
17
16
  "systemName": {
18
17
  "const": "getTextContent",
@@ -22,18 +21,11 @@
22
21
  "type": "object",
23
22
  "description": "Operation-specific configuration data",
24
23
  "properties": {
25
- "selectedElement": {
26
- "type": "object",
27
- "description": "DOM element (JQuery)"
28
- },
29
24
  "textContent": {
30
25
  "type": "string"
31
26
  }
32
27
  },
33
- "additionalProperties": true,
34
- "required": [
35
- "selectedElement"
36
- ]
28
+ "additionalProperties": true
37
29
  }
38
30
  },
39
31
  "additionalProperties": false
@@ -5,14 +5,14 @@
5
5
  "title": "httpDelete Operation",
6
6
  "description": "Schema for the httpDelete operation",
7
7
  "required": [
8
+ "id",
8
9
  "systemName",
9
10
  "operationData"
10
11
  ],
11
12
  "properties": {
12
13
  "id": {
13
14
  "type": "string",
14
- "description": "Unique identifier for the operation (UUID format)",
15
- "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
15
+ "description": "Unique identifier for the operation"
16
16
  },
17
17
  "systemName": {
18
18
  "const": "httpDelete",
@@ -39,5 +39,13 @@
39
39
  ]
40
40
  }
41
41
  },
42
- "additionalProperties": false
42
+ "additionalProperties": false,
43
+ "definitions": {
44
+ "Record<string,string>": {
45
+ "type": "object",
46
+ "additionalProperties": {
47
+ "type": "string"
48
+ }
49
+ }
50
+ }
43
51
  }
@@ -5,14 +5,14 @@
5
5
  "title": "httpPost Operation",
6
6
  "description": "Schema for the httpPost operation",
7
7
  "required": [
8
+ "id",
8
9
  "systemName",
9
10
  "operationData"
10
11
  ],
11
12
  "properties": {
12
13
  "id": {
13
14
  "type": "string",
14
- "description": "Unique identifier for the operation (UUID format)",
15
- "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
15
+ "description": "Unique identifier for the operation"
16
16
  },
17
17
  "systemName": {
18
18
  "const": "httpPost",
@@ -40,5 +40,13 @@
40
40
  ]
41
41
  }
42
42
  },
43
- "additionalProperties": false
43
+ "additionalProperties": false,
44
+ "definitions": {
45
+ "Record<string,string>": {
46
+ "type": "object",
47
+ "additionalProperties": {
48
+ "type": "string"
49
+ }
50
+ }
51
+ }
44
52
  }
@@ -5,14 +5,14 @@
5
5
  "title": "httpPut Operation",
6
6
  "description": "Schema for the httpPut operation",
7
7
  "required": [
8
+ "id",
8
9
  "systemName",
9
10
  "operationData"
10
11
  ],
11
12
  "properties": {
12
13
  "id": {
13
14
  "type": "string",
14
- "description": "Unique identifier for the operation (UUID format)",
15
- "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
15
+ "description": "Unique identifier for the operation"
16
16
  },
17
17
  "systemName": {
18
18
  "const": "httpPut",
@@ -40,5 +40,13 @@
40
40
  ]
41
41
  }
42
42
  },
43
- "additionalProperties": false
43
+ "additionalProperties": false,
44
+ "definitions": {
45
+ "Record<string,string>": {
46
+ "type": "object",
47
+ "additionalProperties": {
48
+ "type": "string"
49
+ }
50
+ }
51
+ }
44
52
  }
@@ -5,14 +5,14 @@
5
5
  "title": "invokeObjectMethod Operation",
6
6
  "description": "Schema for the invokeObjectMethod operation",
7
7
  "required": [
8
+ "id",
8
9
  "systemName",
9
10
  "operationData"
10
11
  ],
11
12
  "properties": {
12
13
  "id": {
13
14
  "type": "string",
14
- "description": "Unique identifier for the operation (UUID format)",
15
- "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
15
+ "description": "Unique identifier for the operation"
16
16
  },
17
17
  "systemName": {
18
18
  "const": "invokeObjectMethod",
@@ -22,9 +22,6 @@
22
22
  "type": "object",
23
23
  "description": "Operation-specific configuration data",
24
24
  "properties": {
25
- "instance": {
26
- "description": "The given object instance"
27
- },
28
25
  "methodName": {
29
26
  "type": "string",
30
27
  "description": "The method name on the given object that will be invoked"
@@ -40,7 +37,6 @@
40
37
  },
41
38
  "additionalProperties": true,
42
39
  "required": [
43
- "instance",
44
40
  "methodName"
45
41
  ]
46
42
  }
@@ -5,14 +5,13 @@
5
5
  "title": "isElementInViewport Operation",
6
6
  "description": "Schema for the isElementInViewport operation",
7
7
  "required": [
8
- "systemName",
9
- "operationData"
8
+ "id",
9
+ "systemName"
10
10
  ],
11
11
  "properties": {
12
12
  "id": {
13
13
  "type": "string",
14
- "description": "Unique identifier for the operation (UUID format)",
15
- "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
14
+ "description": "Unique identifier for the operation"
16
15
  },
17
16
  "systemName": {
18
17
  "const": "isElementInViewport",
@@ -22,18 +21,11 @@
22
21
  "type": "object",
23
22
  "description": "Operation-specific configuration data",
24
23
  "properties": {
25
- "selectedElement": {
26
- "type": "object",
27
- "description": "DOM element (JQuery)"
28
- },
29
24
  "isInViewport": {
30
25
  "type": "boolean"
31
26
  }
32
27
  },
33
- "additionalProperties": true,
34
- "required": [
35
- "selectedElement"
36
- ]
28
+ "additionalProperties": true
37
29
  }
38
30
  },
39
31
  "additionalProperties": false
@@ -5,14 +5,14 @@
5
5
  "title": "loadFromStorage Operation",
6
6
  "description": "Schema for the loadFromStorage operation",
7
7
  "required": [
8
+ "id",
8
9
  "systemName",
9
10
  "operationData"
10
11
  ],
11
12
  "properties": {
12
13
  "id": {
13
14
  "type": "string",
14
- "description": "Unique identifier for the operation (UUID format)",
15
- "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
15
+ "description": "Unique identifier for the operation"
16
16
  },
17
17
  "systemName": {
18
18
  "const": "loadFromStorage",
@@ -37,5 +37,14 @@
37
37
  ]
38
38
  }
39
39
  },
40
- "additionalProperties": false
40
+ "additionalProperties": false,
41
+ "definitions": {
42
+ "StorageType": {
43
+ "type": "string",
44
+ "enum": [
45
+ "local",
46
+ "session"
47
+ ]
48
+ }
49
+ }
41
50
  }
@@ -2,20 +2,20 @@
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
3
  "$id": "https://rolandzwaga.github.io/eligius/jsonschema/operations/load-json.json",
4
4
  "type": "object",
5
- "title": "loadJSON Operation",
6
- "description": "Schema for the loadJSON operation",
5
+ "title": "loadJson Operation",
6
+ "description": "Schema for the loadJson operation",
7
7
  "required": [
8
+ "id",
8
9
  "systemName",
9
10
  "operationData"
10
11
  ],
11
12
  "properties": {
12
13
  "id": {
13
14
  "type": "string",
14
- "description": "Unique identifier for the operation (UUID format)",
15
- "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
15
+ "description": "Unique identifier for the operation"
16
16
  },
17
17
  "systemName": {
18
- "const": "loadJSON",
18
+ "const": "loadJson",
19
19
  "description": "The operation system name"
20
20
  },
21
21
  "operationData": {
@@ -5,14 +5,13 @@
5
5
  "title": "log Operation",
6
6
  "description": "Schema for the log operation",
7
7
  "required": [
8
- "systemName",
9
- "operationData"
8
+ "id",
9
+ "systemName"
10
10
  ],
11
11
  "properties": {
12
12
  "id": {
13
13
  "type": "string",
14
- "description": "Unique identifier for the operation (UUID format)",
15
- "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
14
+ "description": "Unique identifier for the operation"
16
15
  },
17
16
  "systemName": {
18
17
  "const": "log",
@@ -22,9 +21,7 @@
22
21
  "type": "object",
23
22
  "description": "Operation-specific configuration data",
24
23
  "properties": {
25
- "logValue": {
26
- "type": "string"
27
- },
24
+ "logValue": {},
28
25
  "logName": {
29
26
  "type": "string"
30
27
  }
@@ -5,14 +5,14 @@
5
5
  "title": "mapArray Operation",
6
6
  "description": "Schema for the mapArray operation",
7
7
  "required": [
8
+ "id",
8
9
  "systemName",
9
10
  "operationData"
10
11
  ],
11
12
  "properties": {
12
13
  "id": {
13
14
  "type": "string",
14
- "description": "Unique identifier for the operation (UUID format)",
15
- "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
15
+ "description": "Unique identifier for the operation"
16
16
  },
17
17
  "systemName": {
18
18
  "const": "mapArray",
@@ -22,10 +22,6 @@
22
22
  "type": "object",
23
23
  "description": "Operation-specific configuration data",
24
24
  "properties": {
25
- "arrayData": {
26
- "type": "array",
27
- "items": {}
28
- },
29
25
  "mapFunction": {
30
26
  "type": "object",
31
27
  "properties": {
@@ -51,7 +47,6 @@
51
47
  },
52
48
  "additionalProperties": true,
53
49
  "required": [
54
- "arrayData",
55
50
  "mapFunction"
56
51
  ]
57
52
  }
@@ -5,14 +5,14 @@
5
5
  "title": "math Operation",
6
6
  "description": "Schema for the math operation",
7
7
  "required": [
8
+ "id",
8
9
  "systemName",
9
10
  "operationData"
10
11
  ],
11
12
  "properties": {
12
13
  "id": {
13
14
  "type": "string",
14
- "description": "Unique identifier for the operation (UUID format)",
15
- "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
15
+ "description": "Unique identifier for the operation"
16
16
  },
17
17
  "systemName": {
18
18
  "const": "math",
@@ -52,5 +52,20 @@
52
52
  ]
53
53
  }
54
54
  },
55
- "additionalProperties": false
55
+ "additionalProperties": false,
56
+ "definitions": {
57
+ "MathNonFunctionKeys": {
58
+ "type": "string",
59
+ "enum": [
60
+ "E",
61
+ "LN10",
62
+ "LN2",
63
+ "LOG2E",
64
+ "LOG10E",
65
+ "PI",
66
+ "SQRT1_2",
67
+ "SQRT2"
68
+ ]
69
+ }
70
+ }
56
71
  }
@@ -0,0 +1,27 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "https://rolandzwaga.github.io/eligius/jsonschema/operations/otherwise.json",
4
+ "type": "object",
5
+ "title": "otherwise Operation",
6
+ "description": "Schema for the otherwise operation",
7
+ "required": [
8
+ "id",
9
+ "systemName"
10
+ ],
11
+ "properties": {
12
+ "id": {
13
+ "type": "string",
14
+ "description": "Unique identifier for the operation"
15
+ },
16
+ "systemName": {
17
+ "const": "otherwise",
18
+ "description": "The operation system name"
19
+ },
20
+ "operationData": {
21
+ "type": "object",
22
+ "description": "Operation-specific configuration data",
23
+ "additionalProperties": true
24
+ }
25
+ },
26
+ "additionalProperties": false
27
+ }
@@ -5,14 +5,14 @@
5
5
  "title": "removeClass Operation",
6
6
  "description": "Schema for the removeClass operation",
7
7
  "required": [
8
+ "id",
8
9
  "systemName",
9
10
  "operationData"
10
11
  ],
11
12
  "properties": {
12
13
  "id": {
13
14
  "type": "string",
14
- "description": "Unique identifier for the operation (UUID format)",
15
- "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
15
+ "description": "Unique identifier for the operation"
16
16
  },
17
17
  "systemName": {
18
18
  "const": "removeClass",
@@ -22,17 +22,12 @@
22
22
  "type": "object",
23
23
  "description": "Operation-specific configuration data",
24
24
  "properties": {
25
- "selectedElement": {
26
- "type": "object",
27
- "description": "DOM element (JQuery)"
28
- },
29
25
  "className": {
30
26
  "type": "string"
31
27
  }
32
28
  },
33
29
  "additionalProperties": true,
34
30
  "required": [
35
- "selectedElement",
36
31
  "className"
37
32
  ]
38
33
  }
@@ -5,14 +5,14 @@
5
5
  "title": "removeControllerFromElement Operation",
6
6
  "description": "Schema for the removeControllerFromElement operation",
7
7
  "required": [
8
+ "id",
8
9
  "systemName",
9
10
  "operationData"
10
11
  ],
11
12
  "properties": {
12
13
  "id": {
13
14
  "type": "string",
14
- "description": "Unique identifier for the operation (UUID format)",
15
- "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
15
+ "description": "Unique identifier for the operation"
16
16
  },
17
17
  "systemName": {
18
18
  "const": "removeControllerFromElement",
@@ -22,17 +22,12 @@
22
22
  "type": "object",
23
23
  "description": "Operation-specific configuration data",
24
24
  "properties": {
25
- "selectedElement": {
26
- "type": "object",
27
- "description": "DOM element (JQuery)"
28
- },
29
25
  "controllerName": {
30
26
  "type": "string"
31
27
  }
32
28
  },
33
29
  "additionalProperties": true,
34
30
  "required": [
35
- "selectedElement",
36
31
  "controllerName"
37
32
  ]
38
33
  }
@@ -5,14 +5,13 @@
5
5
  "title": "removeElement Operation",
6
6
  "description": "Schema for the removeElement operation",
7
7
  "required": [
8
- "systemName",
9
- "operationData"
8
+ "id",
9
+ "systemName"
10
10
  ],
11
11
  "properties": {
12
12
  "id": {
13
13
  "type": "string",
14
- "description": "Unique identifier for the operation (UUID format)",
15
- "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
14
+ "description": "Unique identifier for the operation"
16
15
  },
17
16
  "systemName": {
18
17
  "const": "removeElement",
@@ -21,16 +20,8 @@
21
20
  "operationData": {
22
21
  "type": "object",
23
22
  "description": "Operation-specific configuration data",
24
- "properties": {
25
- "selectedElement": {
26
- "type": "object",
27
- "description": "DOM element (JQuery)"
28
- }
29
- },
30
- "additionalProperties": true,
31
- "required": [
32
- "selectedElement"
33
- ]
23
+ "properties": {},
24
+ "additionalProperties": true
34
25
  }
35
26
  },
36
27
  "additionalProperties": false
@@ -5,14 +5,14 @@
5
5
  "title": "removePropertiesFromOperationData Operation",
6
6
  "description": "Schema for the removePropertiesFromOperationData operation",
7
7
  "required": [
8
+ "id",
8
9
  "systemName",
9
10
  "operationData"
10
11
  ],
11
12
  "properties": {
12
13
  "id": {
13
14
  "type": "string",
14
- "description": "Unique identifier for the operation (UUID format)",
15
- "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
15
+ "description": "Unique identifier for the operation"
16
16
  },
17
17
  "systemName": {
18
18
  "const": "removePropertiesFromOperationData",
@@ -5,14 +5,14 @@
5
5
  "title": "reparentElement Operation",
6
6
  "description": "Schema for the reparentElement operation",
7
7
  "required": [
8
+ "id",
8
9
  "systemName",
9
10
  "operationData"
10
11
  ],
11
12
  "properties": {
12
13
  "id": {
13
14
  "type": "string",
14
- "description": "Unique identifier for the operation (UUID format)",
15
- "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
15
+ "description": "Unique identifier for the operation"
16
16
  },
17
17
  "systemName": {
18
18
  "const": "reparentElement",
@@ -22,17 +22,12 @@
22
22
  "type": "object",
23
23
  "description": "Operation-specific configuration data",
24
24
  "properties": {
25
- "selectedElement": {
26
- "type": "object",
27
- "description": "DOM element (JQuery)"
28
- },
29
25
  "newParentSelector": {
30
26
  "type": "string"
31
27
  }
32
28
  },
33
29
  "additionalProperties": true,
34
30
  "required": [
35
- "selectedElement",
36
31
  "newParentSelector"
37
32
  ]
38
33
  }