eligius 1.2.0 → 1.3.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/index.d.ts +55 -22
- package/dist/index.js +104 -40
- package/dist/index.js.map +1 -1
- package/jsonschema/endable-action-template.json +338 -326
- package/jsonschema/endable-action.json +338 -326
- package/jsonschema/event-action.json +199 -193
- package/jsonschema/operation-templates/add-class.json +40 -0
- package/jsonschema/operation-templates/add-controller-to-element.json +26 -0
- package/jsonschema/operation-templates/add-globals-to-operation.json +39 -0
- package/jsonschema/operation-templates/animate-with-class.json +46 -0
- package/jsonschema/operation-templates/animate.json +51 -0
- package/jsonschema/operation-templates/break-for-each.json +26 -0
- package/jsonschema/operation-templates/broadcast-event.json +51 -0
- package/jsonschema/operation-templates/calc.json +49 -0
- package/jsonschema/operation-templates/clear-element.json +26 -0
- package/jsonschema/operation-templates/clear-operation-data.json +39 -0
- package/jsonschema/operation-templates/continue-for-each.json +26 -0
- package/jsonschema/operation-templates/create-element.json +158 -0
- package/jsonschema/operation-templates/custom-function.json +39 -0
- package/jsonschema/operation-templates/end-action.json +39 -0
- package/jsonschema/operation-templates/end-for-each.json +26 -0
- package/jsonschema/operation-templates/end-when.json +26 -0
- package/jsonschema/operation-templates/extend-controller.json +39 -0
- package/jsonschema/operation-templates/for-each.json +40 -0
- package/jsonschema/operation-templates/get-attributes-from-element.json +39 -0
- package/jsonschema/operation-templates/get-controller-from-element.json +50 -0
- package/jsonschema/operation-templates/get-controller-instance.json +37 -0
- package/jsonschema/operation-templates/get-element-dimensions.json +39 -0
- package/jsonschema/operation-templates/get-import.json +39 -0
- package/jsonschema/operation-templates/get-query-params.json +39 -0
- package/jsonschema/operation-templates/invoke-object-method.json +45 -0
- package/jsonschema/operation-templates/load-json.json +45 -0
- package/jsonschema/operation-templates/log.json +49 -0
- package/jsonschema/operation-templates/math.json +45 -0
- package/jsonschema/operation-templates/otherwise.json +26 -0
- package/jsonschema/operation-templates/remove-class.json +40 -0
- package/jsonschema/operation-templates/remove-controller-from-element.json +50 -0
- package/jsonschema/operation-templates/remove-element.json +26 -0
- package/jsonschema/operation-templates/remove-properties-from-operation-data.json +39 -0
- package/jsonschema/operation-templates/reparent-element.json +39 -0
- package/jsonschema/operation-templates/request-action.json +39 -0
- package/jsonschema/operation-templates/select-element.json +45 -0
- package/jsonschema/operation-templates/set-data.json +39 -0
- package/jsonschema/operation-templates/set-element-attributes.json +39 -0
- package/jsonschema/operation-templates/set-element-content.json +41 -0
- package/jsonschema/operation-templates/set-global-data.json +39 -0
- package/jsonschema/operation-templates/set-operation-data.json +45 -0
- package/jsonschema/operation-templates/set-style.json +39 -0
- package/jsonschema/operation-templates/set-variable.json +49 -0
- package/jsonschema/operation-templates/start-action.json +39 -0
- package/jsonschema/operation-templates/toggle-class.json +40 -0
- package/jsonschema/operation-templates/toggle-element.json +26 -0
- package/jsonschema/operation-templates/wait.json +39 -0
- package/jsonschema/operation-templates/when.json +39 -0
- package/jsonschema/operations/add-class.json +44 -0
- package/jsonschema/operations/add-controller-to-element.json +26 -0
- package/jsonschema/operations/add-globals-to-operation.json +43 -0
- package/jsonschema/operations/animate-with-class.json +50 -0
- package/jsonschema/operations/animate.json +56 -0
- package/jsonschema/operations/break-for-each.json +26 -0
- package/jsonschema/operations/broadcast-event.json +56 -0
- package/jsonschema/operations/calc.json +55 -0
- package/jsonschema/operations/clear-element.json +26 -0
- package/jsonschema/operations/clear-operation-data.json +41 -0
- package/jsonschema/operations/continue-for-each.json +26 -0
- package/jsonschema/operations/create-element.json +162 -0
- package/jsonschema/operations/custom-function.json +43 -0
- package/jsonschema/operations/end-action.json +43 -0
- package/jsonschema/operations/end-for-each.json +26 -0
- package/jsonschema/operations/end-when.json +26 -0
- package/jsonschema/operations/extend-controller.json +43 -0
- package/jsonschema/operations/for-each.json +44 -0
- package/jsonschema/operations/get-attributes-from-element.json +43 -0
- package/jsonschema/operations/get-controller-from-element.json +54 -0
- package/jsonschema/operations/get-controller-instance.json +41 -0
- package/jsonschema/operations/get-element-dimensions.json +41 -0
- package/jsonschema/operations/get-import.json +43 -0
- package/jsonschema/operations/get-query-params.json +41 -0
- package/jsonschema/operations/invoke-object-method.json +49 -0
- package/jsonschema/operations/load-json.json +49 -0
- package/jsonschema/operations/log.json +51 -0
- package/jsonschema/operations/math.json +50 -0
- package/jsonschema/operations/otherwise.json +26 -0
- package/jsonschema/operations/remove-class.json +44 -0
- package/jsonschema/operations/remove-controller-from-element.json +54 -0
- package/jsonschema/operations/remove-element.json +26 -0
- package/jsonschema/operations/remove-properties-from-operation-data.json +43 -0
- package/jsonschema/operations/reparent-element.json +43 -0
- package/jsonschema/operations/request-action.json +43 -0
- package/jsonschema/operations/select-element.json +49 -0
- package/jsonschema/operations/set-data.json +43 -0
- package/jsonschema/operations/set-element-attributes.json +43 -0
- package/jsonschema/operations/set-element-content.json +43 -0
- package/jsonschema/operations/set-global-data.json +43 -0
- package/jsonschema/operations/set-operation-data.json +49 -0
- package/jsonschema/operations/set-style.json +43 -0
- package/jsonschema/operations/set-variable.json +54 -0
- package/jsonschema/operations/start-action.json +41 -0
- package/jsonschema/operations/toggle-class.json +44 -0
- package/jsonschema/operations/toggle-element.json +26 -0
- package/jsonschema/operations/wait.json +43 -0
- package/jsonschema/operations/when.json +43 -0
- package/jsonschema/timeline-action.json +353 -341
- package/package.json +2 -2
|
@@ -1,194 +1,200 @@
|
|
|
1
|
-
{
|
|
2
|
-
"definitions": {},
|
|
3
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
-
"$id": "https://rolandzwaga.github.io/eligius/jsonschema/event-action.json",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"title": "The Event Action Schema",
|
|
7
|
-
"required": [
|
|
8
|
-
"name",
|
|
9
|
-
"startOperations",
|
|
10
|
-
"eventName"
|
|
11
|
-
],
|
|
12
|
-
"properties": {
|
|
13
|
-
"id": {
|
|
14
|
-
"$id": "#/properties/id",
|
|
15
|
-
"type": "string",
|
|
16
|
-
"title": "The Id Schema",
|
|
17
|
-
"examples": [
|
|
18
|
-
"123e4567-e89b-12d3-a456-426614174000"
|
|
19
|
-
],
|
|
20
|
-
"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}$"
|
|
21
|
-
},
|
|
22
|
-
"eventName": {
|
|
23
|
-
"$id": "#/properties/eventName",
|
|
24
|
-
"type": "string",
|
|
25
|
-
"title": "The eventName Schema",
|
|
26
|
-
"examples": [
|
|
27
|
-
"PLAY_TOGGLE_REQUEST"
|
|
28
|
-
]
|
|
29
|
-
},
|
|
30
|
-
"eventTopic": {
|
|
31
|
-
"$id": "#/properties/eventTopic",
|
|
32
|
-
"type": "string",
|
|
33
|
-
"title": "The eventTopic Schema",
|
|
34
|
-
"examples": [
|
|
35
|
-
"SOME_UNIQUE_STRING"
|
|
36
|
-
]
|
|
37
|
-
},
|
|
38
|
-
"name": {
|
|
39
|
-
"$id": "#/properties/name",
|
|
40
|
-
"type": "string",
|
|
41
|
-
"title": "The Name Schema",
|
|
42
|
-
"examples": [
|
|
43
|
-
"ProgressbarSetup"
|
|
44
|
-
]
|
|
45
|
-
},
|
|
46
|
-
"startOperations": {
|
|
47
|
-
"$id": "#/properties/startOperations",
|
|
48
|
-
"type": "array",
|
|
49
|
-
"title": "The Startoperations Schema",
|
|
50
|
-
"items": {
|
|
51
|
-
"anyOf": [
|
|
52
|
-
{
|
|
53
|
-
"$ref": "operations/add-class.json"
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
"$ref": "operations/add-controller-to-element.json"
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
"$ref": "operations/add-globals-to-operation.json"
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
"$ref": "operations/animate.json"
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
"$ref": "operations/animate-with-class.json"
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
"$ref": "operations/
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
"$ref": "operations/
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
"$ref": "operations/
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
"$ref": "operations/clear-
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
"$ref": "operations/
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
"$ref": "operations/
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
"$ref": "operations/
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
"$ref": "operations/
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
"$ref": "operations/end-
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
"$ref": "operations/
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
"$ref": "operations/
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
"$ref": "operations/
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
"$ref": "operations/
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
"$ref": "operations/get-
|
|
108
|
-
},
|
|
109
|
-
{
|
|
110
|
-
"$ref": "operations/get-element
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
"$ref": "operations/get-
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
"$ref": "operations/get-
|
|
117
|
-
},
|
|
118
|
-
{
|
|
119
|
-
"$ref": "operations/
|
|
120
|
-
},
|
|
121
|
-
{
|
|
122
|
-
"$ref": "operations/
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
"$ref": "operations/
|
|
126
|
-
},
|
|
127
|
-
{
|
|
128
|
-
"$ref": "operations/
|
|
129
|
-
},
|
|
130
|
-
{
|
|
131
|
-
"$ref": "operations/
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
"$ref": "operations/
|
|
135
|
-
},
|
|
136
|
-
{
|
|
137
|
-
"$ref": "operations/
|
|
138
|
-
},
|
|
139
|
-
{
|
|
140
|
-
"$ref": "operations/remove-
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
"$ref": "operations/remove-
|
|
144
|
-
},
|
|
145
|
-
{
|
|
146
|
-
"$ref": "operations/
|
|
147
|
-
},
|
|
148
|
-
{
|
|
149
|
-
"$ref": "operations/
|
|
150
|
-
},
|
|
151
|
-
{
|
|
152
|
-
"$ref": "operations/
|
|
153
|
-
},
|
|
154
|
-
{
|
|
155
|
-
"$ref": "operations/
|
|
156
|
-
},
|
|
157
|
-
{
|
|
158
|
-
"$ref": "operations/
|
|
159
|
-
},
|
|
160
|
-
{
|
|
161
|
-
"$ref": "operations/set-
|
|
162
|
-
},
|
|
163
|
-
{
|
|
164
|
-
"$ref": "operations/set-
|
|
165
|
-
},
|
|
166
|
-
{
|
|
167
|
-
"$ref": "operations/set-
|
|
168
|
-
},
|
|
169
|
-
{
|
|
170
|
-
"$ref": "operations/set-
|
|
171
|
-
},
|
|
172
|
-
{
|
|
173
|
-
"$ref": "operations/set-
|
|
174
|
-
},
|
|
175
|
-
{
|
|
176
|
-
"$ref": "operations/
|
|
177
|
-
},
|
|
178
|
-
{
|
|
179
|
-
"$ref": "operations/
|
|
180
|
-
},
|
|
181
|
-
{
|
|
182
|
-
"$ref": "operations/
|
|
183
|
-
},
|
|
184
|
-
{
|
|
185
|
-
"$ref": "operations/
|
|
186
|
-
},
|
|
187
|
-
{
|
|
188
|
-
"$ref": "operations/
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
1
|
+
{
|
|
2
|
+
"definitions": {},
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"$id": "https://rolandzwaga.github.io/eligius/jsonschema/event-action.json",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"title": "The Event Action Schema",
|
|
7
|
+
"required": [
|
|
8
|
+
"name",
|
|
9
|
+
"startOperations",
|
|
10
|
+
"eventName"
|
|
11
|
+
],
|
|
12
|
+
"properties": {
|
|
13
|
+
"id": {
|
|
14
|
+
"$id": "#/properties/id",
|
|
15
|
+
"type": "string",
|
|
16
|
+
"title": "The Id Schema",
|
|
17
|
+
"examples": [
|
|
18
|
+
"123e4567-e89b-12d3-a456-426614174000"
|
|
19
|
+
],
|
|
20
|
+
"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}$"
|
|
21
|
+
},
|
|
22
|
+
"eventName": {
|
|
23
|
+
"$id": "#/properties/eventName",
|
|
24
|
+
"type": "string",
|
|
25
|
+
"title": "The eventName Schema",
|
|
26
|
+
"examples": [
|
|
27
|
+
"PLAY_TOGGLE_REQUEST"
|
|
28
|
+
]
|
|
29
|
+
},
|
|
30
|
+
"eventTopic": {
|
|
31
|
+
"$id": "#/properties/eventTopic",
|
|
32
|
+
"type": "string",
|
|
33
|
+
"title": "The eventTopic Schema",
|
|
34
|
+
"examples": [
|
|
35
|
+
"SOME_UNIQUE_STRING"
|
|
36
|
+
]
|
|
37
|
+
},
|
|
38
|
+
"name": {
|
|
39
|
+
"$id": "#/properties/name",
|
|
40
|
+
"type": "string",
|
|
41
|
+
"title": "The Name Schema",
|
|
42
|
+
"examples": [
|
|
43
|
+
"ProgressbarSetup"
|
|
44
|
+
]
|
|
45
|
+
},
|
|
46
|
+
"startOperations": {
|
|
47
|
+
"$id": "#/properties/startOperations",
|
|
48
|
+
"type": "array",
|
|
49
|
+
"title": "The Startoperations Schema",
|
|
50
|
+
"items": {
|
|
51
|
+
"anyOf": [
|
|
52
|
+
{
|
|
53
|
+
"$ref": "operations/add-class.json"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"$ref": "operations/add-controller-to-element.json"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"$ref": "operations/add-globals-to-operation.json"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"$ref": "operations/animate.json"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"$ref": "operations/animate-with-class.json"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"$ref": "operations/break-for-each.json"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"$ref": "operations/broadcast-event.json"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"$ref": "operations/calc.json"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"$ref": "operations/clear-element.json"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"$ref": "operations/clear-operation-data.json"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"$ref": "operations/continue-for-each.json"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"$ref": "operations/create-element.json"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"$ref": "operations/custom-function.json"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"$ref": "operations/end-action.json"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"$ref": "operations/end-for-each.json"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"$ref": "operations/end-when.json"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"$ref": "operations/extend-controller.json"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"$ref": "operations/for-each.json"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"$ref": "operations/get-attributes-from-element.json"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"$ref": "operations/get-controller-from-element.json"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"$ref": "operations/get-controller-instance.json"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"$ref": "operations/get-element-dimensions.json"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"$ref": "operations/get-import.json"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"$ref": "operations/get-query-params.json"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"$ref": "operations/invoke-object-method.json"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"$ref": "operations/load-json.json"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"$ref": "operations/log.json"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"$ref": "operations/math.json"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"$ref": "operations/otherwise.json"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"$ref": "operations/remove-class.json"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"$ref": "operations/remove-controller-from-element.json"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"$ref": "operations/remove-element.json"
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"$ref": "operations/remove-properties-from-operation-data.json"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"$ref": "operations/reparent-element.json"
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"$ref": "operations/request-action.json"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"$ref": "operations/select-element.json"
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"$ref": "operations/set-data.json"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"$ref": "operations/set-element-attributes.json"
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"$ref": "operations/set-element-content.json"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"$ref": "operations/set-global-data.json"
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"$ref": "operations/set-operation-data.json"
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"$ref": "operations/set-style.json"
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"$ref": "operations/set-variable.json"
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"$ref": "operations/start-action.json"
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"$ref": "operations/toggle-class.json"
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"$ref": "operations/toggle-element.json"
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"$ref": "operations/wait.json"
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"$ref": "operations/when.json"
|
|
195
|
+
}
|
|
196
|
+
]
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
}
|
|
194
200
|
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"definitions": {},
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"$id": "http://eligius.com/schema/add-class-operation.json",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"title": "The addClass schema",
|
|
7
|
+
"description": "This operation adds the specified class name to the specified selected element.",
|
|
8
|
+
"required": [
|
|
9
|
+
"systemName"
|
|
10
|
+
],
|
|
11
|
+
"properties": {
|
|
12
|
+
"id": {
|
|
13
|
+
"$id": "#/properties/id",
|
|
14
|
+
"type": "string",
|
|
15
|
+
"title": "The Id Schema",
|
|
16
|
+
"examples": [
|
|
17
|
+
"123e4567-e89b-12d3-a456-426614174000"
|
|
18
|
+
],
|
|
19
|
+
"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}$"
|
|
20
|
+
},
|
|
21
|
+
"systemName": {
|
|
22
|
+
"$id": "#/properties/systemName",
|
|
23
|
+
"const": "addClass"
|
|
24
|
+
},
|
|
25
|
+
"operationData": {
|
|
26
|
+
"$id": "#/properties/operationData",
|
|
27
|
+
"type": "object",
|
|
28
|
+
"title": "The Operationdata Schema",
|
|
29
|
+
"properties": {
|
|
30
|
+
"className": {
|
|
31
|
+
"$id": "#/properties/operationData/className",
|
|
32
|
+
"type": [
|
|
33
|
+
"string"
|
|
34
|
+
],
|
|
35
|
+
"pattern": ".-?[_a-zA-Z]+[_a-zA-Z0-9-]*"
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"definitions": {},
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"$id": "http://eligius.com/schema/add-controller-to-element-operation.json",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"title": "The addControllerToElement schema",
|
|
7
|
+
"description": "This operation adds the specified controller instance to the given selected element.",
|
|
8
|
+
"required": [
|
|
9
|
+
"systemName"
|
|
10
|
+
],
|
|
11
|
+
"properties": {
|
|
12
|
+
"id": {
|
|
13
|
+
"$id": "#/properties/id",
|
|
14
|
+
"type": "string",
|
|
15
|
+
"title": "The Id Schema",
|
|
16
|
+
"examples": [
|
|
17
|
+
"123e4567-e89b-12d3-a456-426614174000"
|
|
18
|
+
],
|
|
19
|
+
"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}$"
|
|
20
|
+
},
|
|
21
|
+
"systemName": {
|
|
22
|
+
"$id": "#/properties/systemName",
|
|
23
|
+
"const": "addControllerToElement"
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"definitions": {},
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"$id": "http://eligius.com/schema/add-globals-to-operation-operation.json",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"title": "The addGlobalsToOperation schema",
|
|
7
|
+
"description": "This operation adds the specified global property names to the current operation data.\nIt finally removes the `globalProperties` property from the current operation data.",
|
|
8
|
+
"required": [
|
|
9
|
+
"systemName"
|
|
10
|
+
],
|
|
11
|
+
"properties": {
|
|
12
|
+
"id": {
|
|
13
|
+
"$id": "#/properties/id",
|
|
14
|
+
"type": "string",
|
|
15
|
+
"title": "The Id Schema",
|
|
16
|
+
"examples": [
|
|
17
|
+
"123e4567-e89b-12d3-a456-426614174000"
|
|
18
|
+
],
|
|
19
|
+
"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}$"
|
|
20
|
+
},
|
|
21
|
+
"systemName": {
|
|
22
|
+
"$id": "#/properties/systemName",
|
|
23
|
+
"const": "addGlobalsToOperation"
|
|
24
|
+
},
|
|
25
|
+
"operationData": {
|
|
26
|
+
"$id": "#/properties/operationData",
|
|
27
|
+
"type": "object",
|
|
28
|
+
"title": "The Operationdata Schema",
|
|
29
|
+
"properties": {
|
|
30
|
+
"globalProperties": {
|
|
31
|
+
"$id": "#/properties/operationData/globalProperties",
|
|
32
|
+
"type": [
|
|
33
|
+
"array"
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
{
|
|
2
|
+
"definitions": {},
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"$id": "http://eligius.com/schema/animate-with-class-operation.json",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"title": "The animateWithClass schema",
|
|
7
|
+
"description": "This operation adds the specified class name to the specified selected element and assumes that this\nclass triggers and animation on the selected element. It then waits for this animation to complete\nbefore it resolves.",
|
|
8
|
+
"required": [
|
|
9
|
+
"systemName"
|
|
10
|
+
],
|
|
11
|
+
"properties": {
|
|
12
|
+
"id": {
|
|
13
|
+
"$id": "#/properties/id",
|
|
14
|
+
"type": "string",
|
|
15
|
+
"title": "The Id Schema",
|
|
16
|
+
"examples": [
|
|
17
|
+
"123e4567-e89b-12d3-a456-426614174000"
|
|
18
|
+
],
|
|
19
|
+
"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}$"
|
|
20
|
+
},
|
|
21
|
+
"systemName": {
|
|
22
|
+
"$id": "#/properties/systemName",
|
|
23
|
+
"const": "animateWithClass"
|
|
24
|
+
},
|
|
25
|
+
"operationData": {
|
|
26
|
+
"$id": "#/properties/operationData",
|
|
27
|
+
"type": "object",
|
|
28
|
+
"title": "The Operationdata Schema",
|
|
29
|
+
"properties": {
|
|
30
|
+
"className": {
|
|
31
|
+
"$id": "#/properties/operationData/className",
|
|
32
|
+
"type": [
|
|
33
|
+
"string"
|
|
34
|
+
],
|
|
35
|
+
"pattern": ".-?[_a-zA-Z]+[_a-zA-Z0-9-]*"
|
|
36
|
+
},
|
|
37
|
+
"removeClass": {
|
|
38
|
+
"$id": "#/properties/operationData/removeClass",
|
|
39
|
+
"type": [
|
|
40
|
+
"boolean"
|
|
41
|
+
]
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"definitions": {},
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"$id": "http://eligius.com/schema/animate-operation.json",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"title": "The animate schema",
|
|
7
|
+
"description": "This operation animates the specified selected element with the given [jQuery animation](https://api.jquery.com/animate/) properties, duration and easing.\nIt resolves after the animation completes.",
|
|
8
|
+
"required": [
|
|
9
|
+
"systemName"
|
|
10
|
+
],
|
|
11
|
+
"properties": {
|
|
12
|
+
"id": {
|
|
13
|
+
"$id": "#/properties/id",
|
|
14
|
+
"type": "string",
|
|
15
|
+
"title": "The Id Schema",
|
|
16
|
+
"examples": [
|
|
17
|
+
"123e4567-e89b-12d3-a456-426614174000"
|
|
18
|
+
],
|
|
19
|
+
"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}$"
|
|
20
|
+
},
|
|
21
|
+
"systemName": {
|
|
22
|
+
"$id": "#/properties/systemName",
|
|
23
|
+
"const": "animate"
|
|
24
|
+
},
|
|
25
|
+
"operationData": {
|
|
26
|
+
"$id": "#/properties/operationData",
|
|
27
|
+
"type": "object",
|
|
28
|
+
"title": "The Operationdata Schema",
|
|
29
|
+
"properties": {
|
|
30
|
+
"animationEasing": {
|
|
31
|
+
"$id": "#/properties/operationData/animationEasing",
|
|
32
|
+
"type": [
|
|
33
|
+
"boolean"
|
|
34
|
+
]
|
|
35
|
+
},
|
|
36
|
+
"animationProperties": {
|
|
37
|
+
"$id": "#/properties/operationData/animationProperties",
|
|
38
|
+
"type": [
|
|
39
|
+
"object"
|
|
40
|
+
]
|
|
41
|
+
},
|
|
42
|
+
"animationDuration": {
|
|
43
|
+
"$id": "#/properties/operationData/animationDuration",
|
|
44
|
+
"type": [
|
|
45
|
+
"number"
|
|
46
|
+
]
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"definitions": {},
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"$id": "http://eligius.com/schema/break-for-each-operation.json",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"title": "The breakForEach schema",
|
|
7
|
+
"description": "\nThis operation should only be used within a loop, so between a {@link forEach} and {@link endForEach}\noperation. This operation immediately moves to the loop end index, effectively stopping the loop.",
|
|
8
|
+
"required": [
|
|
9
|
+
"systemName"
|
|
10
|
+
],
|
|
11
|
+
"properties": {
|
|
12
|
+
"id": {
|
|
13
|
+
"$id": "#/properties/id",
|
|
14
|
+
"type": "string",
|
|
15
|
+
"title": "The Id Schema",
|
|
16
|
+
"examples": [
|
|
17
|
+
"123e4567-e89b-12d3-a456-426614174000"
|
|
18
|
+
],
|
|
19
|
+
"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}$"
|
|
20
|
+
},
|
|
21
|
+
"systemName": {
|
|
22
|
+
"$id": "#/properties/systemName",
|
|
23
|
+
"const": "breakForEach"
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|