eligius 1.2.0 → 1.2.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/dist/index.d.ts +1 -1
- package/jsonschema/endable-action-template.json +326 -326
- package/jsonschema/endable-action.json +326 -326
- package/jsonschema/event-action.json +193 -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/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/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 +39 -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 +45 -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/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/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 +41 -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 +50 -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 +341 -341
- package/package.json +2 -2
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"definitions": {},
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"$id": "http://eligius.com/schema/calc-operation.json",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"title": "The calc schema",
|
|
7
|
+
"description": "This operation calculates the given left and right hand operands using the specified operator.",
|
|
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": "calc"
|
|
24
|
+
},
|
|
25
|
+
"operationData": {
|
|
26
|
+
"$id": "#/properties/operationData",
|
|
27
|
+
"type": "object",
|
|
28
|
+
"title": "The Operationdata Schema",
|
|
29
|
+
"properties": {
|
|
30
|
+
"left": {
|
|
31
|
+
"$id": "#/properties/operationData/left",
|
|
32
|
+
"type": [
|
|
33
|
+
"number"
|
|
34
|
+
]
|
|
35
|
+
},
|
|
36
|
+
"right": {
|
|
37
|
+
"$id": "#/properties/operationData/right",
|
|
38
|
+
"type": [
|
|
39
|
+
"number"
|
|
40
|
+
]
|
|
41
|
+
},
|
|
42
|
+
"operator": {
|
|
43
|
+
"$id": "#/properties/operationData/operator",
|
|
44
|
+
"type": "array"
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"definitions": {},
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"$id": "http://eligius.com/schema/clear-element-operation.json",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"title": "The clearElement schema",
|
|
7
|
+
"description": "This operation removes all of the children from 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": "clearElement"
|
|
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/clear-operation-data-operation.json",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"title": "The clearOperationData schema",
|
|
7
|
+
"description": "This operation removes all of the properties on the current operation date.\nOr, if the `properties` property is set only removes the properties defined by that list.",
|
|
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": "clearOperationData"
|
|
24
|
+
},
|
|
25
|
+
"operationData": {
|
|
26
|
+
"$id": "#/properties/operationData",
|
|
27
|
+
"type": "object",
|
|
28
|
+
"title": "The Operationdata Schema",
|
|
29
|
+
"properties": {
|
|
30
|
+
"properties": {
|
|
31
|
+
"$id": "#/properties/operationData/properties",
|
|
32
|
+
"type": [
|
|
33
|
+
"array"
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
{
|
|
2
|
+
"definitions": {},
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"$id": "http://eligius.com/schema/create-element-operation.json",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"title": "The createElement schema",
|
|
7
|
+
"description": "This operation creates the DOM element described by the given elementName and attributes and assigns\nthe instance to the `template` property on 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": "createElement"
|
|
24
|
+
},
|
|
25
|
+
"operationData": {
|
|
26
|
+
"$id": "#/properties/operationData",
|
|
27
|
+
"type": "object",
|
|
28
|
+
"title": "The Operationdata Schema",
|
|
29
|
+
"properties": {
|
|
30
|
+
"elementName": {
|
|
31
|
+
"$id": "#/properties/operationData/elementName",
|
|
32
|
+
"type": [
|
|
33
|
+
{
|
|
34
|
+
"type": "string",
|
|
35
|
+
"enum": [
|
|
36
|
+
"a",
|
|
37
|
+
"abbr",
|
|
38
|
+
"address",
|
|
39
|
+
"area",
|
|
40
|
+
"article",
|
|
41
|
+
"aside",
|
|
42
|
+
"audio",
|
|
43
|
+
"b",
|
|
44
|
+
"base",
|
|
45
|
+
"bdi",
|
|
46
|
+
"bdo",
|
|
47
|
+
"blockquote",
|
|
48
|
+
"body",
|
|
49
|
+
"br",
|
|
50
|
+
"button",
|
|
51
|
+
"canvas",
|
|
52
|
+
"caption",
|
|
53
|
+
"cite",
|
|
54
|
+
"code",
|
|
55
|
+
"col",
|
|
56
|
+
"colgroup",
|
|
57
|
+
"data",
|
|
58
|
+
"datalist",
|
|
59
|
+
"dd",
|
|
60
|
+
"del",
|
|
61
|
+
"details",
|
|
62
|
+
"dfn",
|
|
63
|
+
"dialog",
|
|
64
|
+
"div",
|
|
65
|
+
"dl",
|
|
66
|
+
"dt",
|
|
67
|
+
"em",
|
|
68
|
+
"embed",
|
|
69
|
+
"fieldset",
|
|
70
|
+
"figcaption",
|
|
71
|
+
"figure",
|
|
72
|
+
"footer",
|
|
73
|
+
"form",
|
|
74
|
+
"h1,",
|
|
75
|
+
"head",
|
|
76
|
+
"header",
|
|
77
|
+
"hr",
|
|
78
|
+
"html",
|
|
79
|
+
"i",
|
|
80
|
+
"iframe",
|
|
81
|
+
"img",
|
|
82
|
+
"input",
|
|
83
|
+
"ins",
|
|
84
|
+
"kbd",
|
|
85
|
+
"keygen",
|
|
86
|
+
"label",
|
|
87
|
+
"legend",
|
|
88
|
+
"li",
|
|
89
|
+
"link",
|
|
90
|
+
"main",
|
|
91
|
+
"map",
|
|
92
|
+
"mark",
|
|
93
|
+
"meta",
|
|
94
|
+
"meter",
|
|
95
|
+
"nav",
|
|
96
|
+
"noscript",
|
|
97
|
+
"object",
|
|
98
|
+
"ol",
|
|
99
|
+
"optgroup",
|
|
100
|
+
"option",
|
|
101
|
+
"output",
|
|
102
|
+
"p",
|
|
103
|
+
"param",
|
|
104
|
+
"pre",
|
|
105
|
+
"progress",
|
|
106
|
+
"q",
|
|
107
|
+
"rp",
|
|
108
|
+
"rt",
|
|
109
|
+
"ruby",
|
|
110
|
+
"s",
|
|
111
|
+
"samp",
|
|
112
|
+
"script",
|
|
113
|
+
"section",
|
|
114
|
+
"select",
|
|
115
|
+
"small",
|
|
116
|
+
"source",
|
|
117
|
+
"span",
|
|
118
|
+
"strong",
|
|
119
|
+
"style",
|
|
120
|
+
"sub",
|
|
121
|
+
"summary",
|
|
122
|
+
"sup",
|
|
123
|
+
"table",
|
|
124
|
+
"tbody",
|
|
125
|
+
"td",
|
|
126
|
+
"textarea",
|
|
127
|
+
"tfoot",
|
|
128
|
+
"th",
|
|
129
|
+
"thead",
|
|
130
|
+
"time",
|
|
131
|
+
"title",
|
|
132
|
+
"tr",
|
|
133
|
+
"track",
|
|
134
|
+
"u",
|
|
135
|
+
"ul",
|
|
136
|
+
"var",
|
|
137
|
+
"video",
|
|
138
|
+
"wbr"
|
|
139
|
+
]
|
|
140
|
+
}
|
|
141
|
+
]
|
|
142
|
+
},
|
|
143
|
+
"text": {
|
|
144
|
+
"$id": "#/properties/operationData/text",
|
|
145
|
+
"type": [
|
|
146
|
+
"string"
|
|
147
|
+
]
|
|
148
|
+
},
|
|
149
|
+
"attributes": {
|
|
150
|
+
"$id": "#/properties/operationData/attributes",
|
|
151
|
+
"type": [
|
|
152
|
+
"object"
|
|
153
|
+
]
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"definitions": {},
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"$id": "http://eligius.com/schema/custom-function-operation.json",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"title": "The customFunction schema",
|
|
7
|
+
"description": "This operation retrieves a custom function defined by the given system name\nand invokes it with the current operation data and eventbus.",
|
|
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": "customFunction"
|
|
24
|
+
},
|
|
25
|
+
"operationData": {
|
|
26
|
+
"$id": "#/properties/operationData",
|
|
27
|
+
"type": "object",
|
|
28
|
+
"title": "The Operationdata Schema",
|
|
29
|
+
"properties": {
|
|
30
|
+
"systemName": {
|
|
31
|
+
"$id": "#/properties/operationData/systemName",
|
|
32
|
+
"type": [
|
|
33
|
+
"string"
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"definitions": {},
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"$id": "http://eligius.com/schema/end-action-operation.json",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"title": "The endAction schema",
|
|
7
|
+
"description": "This operation invokes the {@link EndableAction}.end method on the specified action instance.\n\nThe action operation data is first merged with the current operation data before it is\npassed on to the action. After the action has completed the action operation data properties\nare removed 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": "endAction"
|
|
24
|
+
},
|
|
25
|
+
"operationData": {
|
|
26
|
+
"$id": "#/properties/operationData",
|
|
27
|
+
"type": "object",
|
|
28
|
+
"title": "The Operationdata Schema",
|
|
29
|
+
"properties": {
|
|
30
|
+
"actionOperationData": {
|
|
31
|
+
"$id": "#/properties/operationData/actionOperationData",
|
|
32
|
+
"type": [
|
|
33
|
+
"object"
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"definitions": {},
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"$id": "http://eligius.com/schema/end-for-each-operation.json",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"title": "The endForEach schema",
|
|
7
|
+
"description": "This operation checks if the current loop should end or start the next iteration.",
|
|
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": "endForEach"
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"definitions": {},
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"$id": "http://eligius.com/schema/end-when-operation.json",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"title": "The endWhen schema",
|
|
7
|
+
"description": "This operation cleans up after the {@link when}/{@link otherwise}/{@link endWhen} control flow ends.",
|
|
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": "endWhen"
|
|
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/extend-controller-operation.json",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"title": "The extendController schema",
|
|
7
|
+
"description": "Extends the current controller with given extension.",
|
|
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": "extendController"
|
|
24
|
+
},
|
|
25
|
+
"operationData": {
|
|
26
|
+
"$id": "#/properties/operationData",
|
|
27
|
+
"type": "object",
|
|
28
|
+
"title": "The Operationdata Schema",
|
|
29
|
+
"properties": {
|
|
30
|
+
"controllerExtension": {
|
|
31
|
+
"$id": "#/properties/operationData/controllerExtension",
|
|
32
|
+
"type": [
|
|
33
|
+
"object"
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"definitions": {},
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"$id": "http://eligius.com/schema/for-each-operation.json",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"title": "The forEach schema",
|
|
7
|
+
"description": "This operation iterates over the given collection.\n\nEach iteration the current item from the specified collection is\nassigned to the {@link IOperationScope.currentItem} property on the operation scope.\n\nAt the start of the loop, the associated {@link endForEach} operation is determined and when\nthe last iteration is completed the flow control is set to the index of that operation.",
|
|
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": "forEach"
|
|
24
|
+
},
|
|
25
|
+
"operationData": {
|
|
26
|
+
"$id": "#/properties/operationData",
|
|
27
|
+
"type": "object",
|
|
28
|
+
"title": "The Operationdata Schema",
|
|
29
|
+
"properties": {
|
|
30
|
+
"collection": {
|
|
31
|
+
"$id": "#/properties/operationData/collection",
|
|
32
|
+
"type": [
|
|
33
|
+
"array",
|
|
34
|
+
"string"
|
|
35
|
+
]
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"definitions": {},
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"$id": "http://eligius.com/schema/get-attributes-from-element-operation.json",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"title": "The getAttributesFromElement schema",
|
|
7
|
+
"description": "This operation retrieves the values for the specified attribute names from 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": "getAttributesFromElement"
|
|
24
|
+
},
|
|
25
|
+
"operationData": {
|
|
26
|
+
"$id": "#/properties/operationData",
|
|
27
|
+
"type": "object",
|
|
28
|
+
"title": "The Operationdata Schema",
|
|
29
|
+
"properties": {
|
|
30
|
+
"attributeNames": {
|
|
31
|
+
"$id": "#/properties/operationData/attributeNames",
|
|
32
|
+
"type": [
|
|
33
|
+
"array"
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
{
|
|
2
|
+
"definitions": {},
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"$id": "http://eligius.com/schema/get-controller-from-element-operation.json",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"title": "The getControllerFromElement schema",
|
|
7
|
+
"description": "This operation retrieves the controller instance with the specified name that is assigned 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": "getControllerFromElement"
|
|
24
|
+
},
|
|
25
|
+
"operationData": {
|
|
26
|
+
"$id": "#/properties/operationData",
|
|
27
|
+
"type": "object",
|
|
28
|
+
"title": "The Operationdata Schema",
|
|
29
|
+
"properties": {
|
|
30
|
+
"controllerName": {
|
|
31
|
+
"$id": "#/properties/operationData/controllerName",
|
|
32
|
+
"type": [
|
|
33
|
+
{
|
|
34
|
+
"type": "string",
|
|
35
|
+
"enum": [
|
|
36
|
+
"EventListenerController",
|
|
37
|
+
"LabelController",
|
|
38
|
+
"LottieController",
|
|
39
|
+
"NavigationController",
|
|
40
|
+
"ProgressbarController",
|
|
41
|
+
"RoutingController",
|
|
42
|
+
"SubtitlesController"
|
|
43
|
+
]
|
|
44
|
+
}
|
|
45
|
+
]
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"definitions": {},
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"$id": "http://eligius.com/schema/get-controller-instance-operation.json",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"title": "The getControllerInstance schema",
|
|
7
|
+
"description": "This operation retrieves an instance of the given controller name.\nIt assigns this instance to the `controllerInstance` property on 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": "getControllerInstance"
|
|
24
|
+
},
|
|
25
|
+
"operationData": {
|
|
26
|
+
"$id": "#/properties/operationData",
|
|
27
|
+
"type": "object",
|
|
28
|
+
"title": "The Operationdata Schema",
|
|
29
|
+
"properties": {
|
|
30
|
+
"systemName": {
|
|
31
|
+
"$id": "#/properties/operationData/systemName",
|
|
32
|
+
"type": "array"
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"definitions": {},
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"$id": "http://eligius.com/schema/get-element-dimensions-operation.json",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"title": "The getElementDimensions schema",
|
|
7
|
+
"description": "This operation calculates the width and height of the given selected element.\nIt assigns this struct to the dimensions property on the current operation data.\nOptionally the width and height can be modified using the given modifier string.\n\nThe modifier string is formatted in the following way:\n\n<operator><amount><optional-side><optional-precentage>|<ratio-definition>\n\nWhere the ratio modifier is formatted in the following way:\n<side>[ar=<ratio-left>-<ratio-right>]\n\nFor example, this modifier '+100h|w[ar=8-1]' will modifiy the dimensions like this:\nit will add a value of 100 to the height and modify the width by a ratio of 8 to 1 relative to the height.",
|
|
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": "getElementDimensions"
|
|
24
|
+
},
|
|
25
|
+
"operationData": {
|
|
26
|
+
"$id": "#/properties/operationData",
|
|
27
|
+
"type": "object",
|
|
28
|
+
"title": "The Operationdata Schema",
|
|
29
|
+
"properties": {
|
|
30
|
+
"modifier": {
|
|
31
|
+
"$id": "#/properties/operationData/modifier",
|
|
32
|
+
"type": [
|
|
33
|
+
"string"
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|