@digipair/skill-web-inputs 0.25.6 → 0.27.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/package.json +1 -1
- package/schema.fr.json +228 -0
- package/schema.json +48 -48
package/package.json
CHANGED
package/schema.fr.json
ADDED
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
{
|
|
2
|
+
"openapi": "3.0.0",
|
|
3
|
+
"info": {
|
|
4
|
+
"title": "@digipair/skill-web-inputs",
|
|
5
|
+
"summary": "Saisie de données dans les boosts",
|
|
6
|
+
"description": "Cette compétence permet de saisir des données dans les boosts.",
|
|
7
|
+
"version": "0.1.0",
|
|
8
|
+
"x-icon": "📥"
|
|
9
|
+
},
|
|
10
|
+
"paths": {
|
|
11
|
+
"/digipair-input-dom-attribute": {
|
|
12
|
+
"post": {
|
|
13
|
+
"tags": ["boost"],
|
|
14
|
+
"summary": "Lire un attribut d'un élément du DOM",
|
|
15
|
+
"description": "Lire un attribut d'un élément du DOM",
|
|
16
|
+
"parameters": [
|
|
17
|
+
{
|
|
18
|
+
"name": "selector",
|
|
19
|
+
"summary": "Sélecteur CSS",
|
|
20
|
+
"required": true,
|
|
21
|
+
"description": "Sélecteur CSS de l'élément du DOM",
|
|
22
|
+
"schema": {
|
|
23
|
+
"type": "string"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"name": "attribute",
|
|
28
|
+
"summary": "Attribut",
|
|
29
|
+
"required": true,
|
|
30
|
+
"description": "Nom de l'attribut à lire",
|
|
31
|
+
"schema": {
|
|
32
|
+
"type": "string"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "required",
|
|
37
|
+
"summary": "Requis ?",
|
|
38
|
+
"required": false,
|
|
39
|
+
"description": "Champs requis pour exécuter le boost",
|
|
40
|
+
"schema": {
|
|
41
|
+
"type": "boolean"
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
],
|
|
45
|
+
"x-events": []
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"/digipair-input-fetch": {
|
|
49
|
+
"post": {
|
|
50
|
+
"tags": ["boost"],
|
|
51
|
+
"summary": "Récupérer les données d'une URL",
|
|
52
|
+
"description": "Récupérer les données à partir d'une URL",
|
|
53
|
+
"parameters": [
|
|
54
|
+
{
|
|
55
|
+
"name": "url",
|
|
56
|
+
"summary": "URL du service web",
|
|
57
|
+
"required": true,
|
|
58
|
+
"description": "Adresse du service web à appeler",
|
|
59
|
+
"schema": {
|
|
60
|
+
"type": "string"
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"name": "type",
|
|
65
|
+
"summary": "Type de données",
|
|
66
|
+
"required": true,
|
|
67
|
+
"description": "Type de données à récupérer (json ou text)",
|
|
68
|
+
"schema": {
|
|
69
|
+
"type": "string"
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"name": "required",
|
|
74
|
+
"summary": "Requis ?",
|
|
75
|
+
"required": false,
|
|
76
|
+
"description": "Champs requis pour exécuter le boost",
|
|
77
|
+
"schema": {
|
|
78
|
+
"type": "boolean"
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
],
|
|
82
|
+
"x-events": []
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"/digipair-input-file": {
|
|
86
|
+
"post": {
|
|
87
|
+
"tags": ["boost"],
|
|
88
|
+
"summary": "Lecture d'un fichier binaire",
|
|
89
|
+
"description": "Lecture d'un fichier binaire au format base 64",
|
|
90
|
+
"parameters": [
|
|
91
|
+
{
|
|
92
|
+
"name": "label",
|
|
93
|
+
"summary": "Texte affiché",
|
|
94
|
+
"required": false,
|
|
95
|
+
"description": "Texte affiché à l'utilisateur pour le guider dans sa saisie",
|
|
96
|
+
"schema": {
|
|
97
|
+
"type": "string"
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"name": "accept",
|
|
102
|
+
"summary": "Type de fichier",
|
|
103
|
+
"required": false,
|
|
104
|
+
"description": "Type de fichiers acceptés",
|
|
105
|
+
"schema": {
|
|
106
|
+
"type": "string"
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"name": "required",
|
|
111
|
+
"summary": "Requis ?",
|
|
112
|
+
"required": false,
|
|
113
|
+
"description": "Champs requis pour exécuter le boost",
|
|
114
|
+
"schema": {
|
|
115
|
+
"type": "boolean"
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
],
|
|
119
|
+
"x-events": []
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
"/digipair-input-hidden": {
|
|
123
|
+
"post": {
|
|
124
|
+
"tags": ["boost"],
|
|
125
|
+
"summary": "Retourne les données cachées",
|
|
126
|
+
"description": "Retourne au boost les données cachées",
|
|
127
|
+
"parameters": [
|
|
128
|
+
{
|
|
129
|
+
"name": "value",
|
|
130
|
+
"summary": "Données",
|
|
131
|
+
"required": true,
|
|
132
|
+
"description": "Données à envoyer au boost",
|
|
133
|
+
"schema": {
|
|
134
|
+
"type": "object"
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"name": "required",
|
|
139
|
+
"summary": "Requis ?",
|
|
140
|
+
"required": false,
|
|
141
|
+
"description": "Champs requis pour exécuter le boost",
|
|
142
|
+
"schema": {
|
|
143
|
+
"type": "boolean"
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
],
|
|
147
|
+
"x-events": []
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
"/digipair-input-json": {
|
|
151
|
+
"post": {
|
|
152
|
+
"tags": ["boost"],
|
|
153
|
+
"summary": "Lecture d'un fichier JSON",
|
|
154
|
+
"description": "Lecture d'un fichier JSON",
|
|
155
|
+
"parameters": [
|
|
156
|
+
{
|
|
157
|
+
"name": "label",
|
|
158
|
+
"summary": "Texte affiché",
|
|
159
|
+
"required": false,
|
|
160
|
+
"description": "Texte affiché à l'utilisateur pour le guider dans sa saisie",
|
|
161
|
+
"schema": {
|
|
162
|
+
"type": "string"
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"name": "accept",
|
|
167
|
+
"summary": "Type de fichier",
|
|
168
|
+
"required": false,
|
|
169
|
+
"description": "Type de fichiers acceptés",
|
|
170
|
+
"schema": {
|
|
171
|
+
"type": "string"
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"name": "required",
|
|
176
|
+
"summary": "Requis ?",
|
|
177
|
+
"required": false,
|
|
178
|
+
"description": "Champs requis pour exécuter le boost",
|
|
179
|
+
"schema": {
|
|
180
|
+
"type": "boolean"
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
],
|
|
184
|
+
"x-events": []
|
|
185
|
+
}
|
|
186
|
+
},
|
|
187
|
+
"/digipair-input-text": {
|
|
188
|
+
"post": {
|
|
189
|
+
"tags": ["boost"],
|
|
190
|
+
"summary": "Lecture d'un fichier texte",
|
|
191
|
+
"description": "Lecture d'un fichier texte",
|
|
192
|
+
"parameters": [
|
|
193
|
+
{
|
|
194
|
+
"name": "label",
|
|
195
|
+
"summary": "Texte affiché",
|
|
196
|
+
"required": false,
|
|
197
|
+
"description": "Texte affiché à l'utilisateur pour le guider dans sa saisie",
|
|
198
|
+
"schema": {
|
|
199
|
+
"type": "string"
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"name": "accept",
|
|
204
|
+
"summary": "Type de fichier",
|
|
205
|
+
"required": false,
|
|
206
|
+
"description": "Type de fichiers acceptés",
|
|
207
|
+
"schema": {
|
|
208
|
+
"type": "string"
|
|
209
|
+
}
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"name": "required",
|
|
213
|
+
"summary": "Requis ?",
|
|
214
|
+
"required": false,
|
|
215
|
+
"description": "Champs requis pour exécuter le boost",
|
|
216
|
+
"schema": {
|
|
217
|
+
"type": "boolean"
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
],
|
|
221
|
+
"x-events": []
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
},
|
|
225
|
+
"components": {
|
|
226
|
+
"schemas": {}
|
|
227
|
+
}
|
|
228
|
+
}
|
package/schema.json
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
"openapi": "3.0.0",
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "@digipair/skill-web-inputs",
|
|
5
|
-
"summary": "
|
|
6
|
-
"description": "
|
|
5
|
+
"summary": "Data entry in boosts",
|
|
6
|
+
"description": "This skill allows data entry in boosts.",
|
|
7
7
|
"version": "0.1.0",
|
|
8
8
|
"x-icon": "📥"
|
|
9
9
|
},
|
|
@@ -11,32 +11,32 @@
|
|
|
11
11
|
"/digipair-input-dom-attribute": {
|
|
12
12
|
"post": {
|
|
13
13
|
"tags": ["boost"],
|
|
14
|
-
"summary": "
|
|
15
|
-
"description": "
|
|
14
|
+
"summary": "Read a DOM element attribute",
|
|
15
|
+
"description": "Read an attribute of a DOM element",
|
|
16
16
|
"parameters": [
|
|
17
17
|
{
|
|
18
18
|
"name": "selector",
|
|
19
|
-
"summary": "
|
|
19
|
+
"summary": "CSS Selector",
|
|
20
20
|
"required": true,
|
|
21
|
-
"description": "
|
|
21
|
+
"description": "CSS selector of the DOM element",
|
|
22
22
|
"schema": {
|
|
23
23
|
"type": "string"
|
|
24
24
|
}
|
|
25
25
|
},
|
|
26
26
|
{
|
|
27
27
|
"name": "attribute",
|
|
28
|
-
"summary": "
|
|
28
|
+
"summary": "Attribute",
|
|
29
29
|
"required": true,
|
|
30
|
-
"description": "
|
|
30
|
+
"description": "Name of the attribute to read",
|
|
31
31
|
"schema": {
|
|
32
32
|
"type": "string"
|
|
33
33
|
}
|
|
34
34
|
},
|
|
35
35
|
{
|
|
36
36
|
"name": "required",
|
|
37
|
-
"summary": "
|
|
37
|
+
"summary": "Required?",
|
|
38
38
|
"required": false,
|
|
39
|
-
"description": "
|
|
39
|
+
"description": "Fields required to execute the boost",
|
|
40
40
|
"schema": {
|
|
41
41
|
"type": "boolean"
|
|
42
42
|
}
|
|
@@ -48,32 +48,32 @@
|
|
|
48
48
|
"/digipair-input-fetch": {
|
|
49
49
|
"post": {
|
|
50
50
|
"tags": ["boost"],
|
|
51
|
-
"summary": "
|
|
52
|
-
"description": "
|
|
51
|
+
"summary": "Fetch data from a URL",
|
|
52
|
+
"description": "Fetch data from a URL",
|
|
53
53
|
"parameters": [
|
|
54
54
|
{
|
|
55
55
|
"name": "url",
|
|
56
|
-
"summary": "
|
|
56
|
+
"summary": "Web service URL",
|
|
57
57
|
"required": true,
|
|
58
|
-
"description": "
|
|
58
|
+
"description": "Address of the web service to call",
|
|
59
59
|
"schema": {
|
|
60
60
|
"type": "string"
|
|
61
61
|
}
|
|
62
62
|
},
|
|
63
63
|
{
|
|
64
64
|
"name": "type",
|
|
65
|
-
"summary": "
|
|
65
|
+
"summary": "Data type",
|
|
66
66
|
"required": true,
|
|
67
|
-
"description": "Type
|
|
67
|
+
"description": "Type of data to fetch (json or text)",
|
|
68
68
|
"schema": {
|
|
69
69
|
"type": "string"
|
|
70
70
|
}
|
|
71
71
|
},
|
|
72
72
|
{
|
|
73
73
|
"name": "required",
|
|
74
|
-
"summary": "
|
|
74
|
+
"summary": "Required?",
|
|
75
75
|
"required": false,
|
|
76
|
-
"description": "
|
|
76
|
+
"description": "Fields required to execute the boost",
|
|
77
77
|
"schema": {
|
|
78
78
|
"type": "boolean"
|
|
79
79
|
}
|
|
@@ -85,32 +85,32 @@
|
|
|
85
85
|
"/digipair-input-file": {
|
|
86
86
|
"post": {
|
|
87
87
|
"tags": ["boost"],
|
|
88
|
-
"summary": "
|
|
89
|
-
"description": "
|
|
88
|
+
"summary": "Read a binary file",
|
|
89
|
+
"description": "Read a binary file in base 64 format",
|
|
90
90
|
"parameters": [
|
|
91
91
|
{
|
|
92
92
|
"name": "label",
|
|
93
|
-
"summary": "
|
|
93
|
+
"summary": "Displayed text",
|
|
94
94
|
"required": false,
|
|
95
|
-
"description": "
|
|
95
|
+
"description": "Text displayed to the user to guide them in their input",
|
|
96
96
|
"schema": {
|
|
97
97
|
"type": "string"
|
|
98
98
|
}
|
|
99
99
|
},
|
|
100
100
|
{
|
|
101
101
|
"name": "accept",
|
|
102
|
-
"summary": "
|
|
102
|
+
"summary": "File type",
|
|
103
103
|
"required": false,
|
|
104
|
-
"description": "
|
|
104
|
+
"description": "Accepted file types",
|
|
105
105
|
"schema": {
|
|
106
106
|
"type": "string"
|
|
107
107
|
}
|
|
108
108
|
},
|
|
109
109
|
{
|
|
110
110
|
"name": "required",
|
|
111
|
-
"summary": "
|
|
111
|
+
"summary": "Required?",
|
|
112
112
|
"required": false,
|
|
113
|
-
"description": "
|
|
113
|
+
"description": "Fields required to execute the boost",
|
|
114
114
|
"schema": {
|
|
115
115
|
"type": "boolean"
|
|
116
116
|
}
|
|
@@ -122,23 +122,23 @@
|
|
|
122
122
|
"/digipair-input-hidden": {
|
|
123
123
|
"post": {
|
|
124
124
|
"tags": ["boost"],
|
|
125
|
-
"summary": "
|
|
126
|
-
"description": "
|
|
125
|
+
"summary": "Return hidden data",
|
|
126
|
+
"description": "Return hidden data to the boost",
|
|
127
127
|
"parameters": [
|
|
128
128
|
{
|
|
129
129
|
"name": "value",
|
|
130
|
-
"summary": "
|
|
130
|
+
"summary": "Data",
|
|
131
131
|
"required": true,
|
|
132
|
-
"description": "
|
|
132
|
+
"description": "Data to send to the boost",
|
|
133
133
|
"schema": {
|
|
134
134
|
"type": "object"
|
|
135
135
|
}
|
|
136
136
|
},
|
|
137
137
|
{
|
|
138
138
|
"name": "required",
|
|
139
|
-
"summary": "
|
|
139
|
+
"summary": "Required?",
|
|
140
140
|
"required": false,
|
|
141
|
-
"description": "
|
|
141
|
+
"description": "Fields required to execute the boost",
|
|
142
142
|
"schema": {
|
|
143
143
|
"type": "boolean"
|
|
144
144
|
}
|
|
@@ -150,32 +150,32 @@
|
|
|
150
150
|
"/digipair-input-json": {
|
|
151
151
|
"post": {
|
|
152
152
|
"tags": ["boost"],
|
|
153
|
-
"summary": "
|
|
154
|
-
"description": "
|
|
153
|
+
"summary": "Read a JSON file",
|
|
154
|
+
"description": "Read a JSON file",
|
|
155
155
|
"parameters": [
|
|
156
156
|
{
|
|
157
157
|
"name": "label",
|
|
158
|
-
"summary": "
|
|
158
|
+
"summary": "Displayed text",
|
|
159
159
|
"required": false,
|
|
160
|
-
"description": "
|
|
160
|
+
"description": "Text displayed to the user to guide them in their input",
|
|
161
161
|
"schema": {
|
|
162
162
|
"type": "string"
|
|
163
163
|
}
|
|
164
164
|
},
|
|
165
165
|
{
|
|
166
166
|
"name": "accept",
|
|
167
|
-
"summary": "
|
|
167
|
+
"summary": "File type",
|
|
168
168
|
"required": false,
|
|
169
|
-
"description": "
|
|
169
|
+
"description": "Accepted file types",
|
|
170
170
|
"schema": {
|
|
171
171
|
"type": "string"
|
|
172
172
|
}
|
|
173
173
|
},
|
|
174
174
|
{
|
|
175
175
|
"name": "required",
|
|
176
|
-
"summary": "
|
|
176
|
+
"summary": "Required?",
|
|
177
177
|
"required": false,
|
|
178
|
-
"description": "
|
|
178
|
+
"description": "Fields required to execute the boost",
|
|
179
179
|
"schema": {
|
|
180
180
|
"type": "boolean"
|
|
181
181
|
}
|
|
@@ -187,32 +187,32 @@
|
|
|
187
187
|
"/digipair-input-text": {
|
|
188
188
|
"post": {
|
|
189
189
|
"tags": ["boost"],
|
|
190
|
-
"summary": "
|
|
191
|
-
"description": "
|
|
190
|
+
"summary": "Read a text file",
|
|
191
|
+
"description": "Read a text file",
|
|
192
192
|
"parameters": [
|
|
193
193
|
{
|
|
194
194
|
"name": "label",
|
|
195
|
-
"summary": "
|
|
195
|
+
"summary": "Displayed text",
|
|
196
196
|
"required": false,
|
|
197
|
-
"description": "
|
|
197
|
+
"description": "Text displayed to the user to guide them in their input",
|
|
198
198
|
"schema": {
|
|
199
199
|
"type": "string"
|
|
200
200
|
}
|
|
201
201
|
},
|
|
202
202
|
{
|
|
203
203
|
"name": "accept",
|
|
204
|
-
"summary": "
|
|
204
|
+
"summary": "File type",
|
|
205
205
|
"required": false,
|
|
206
|
-
"description": "
|
|
206
|
+
"description": "Accepted file types",
|
|
207
207
|
"schema": {
|
|
208
208
|
"type": "string"
|
|
209
209
|
}
|
|
210
210
|
},
|
|
211
211
|
{
|
|
212
212
|
"name": "required",
|
|
213
|
-
"summary": "
|
|
213
|
+
"summary": "Required?",
|
|
214
214
|
"required": false,
|
|
215
|
-
"description": "
|
|
215
|
+
"description": "Fields required to execute the boost",
|
|
216
216
|
"schema": {
|
|
217
217
|
"type": "boolean"
|
|
218
218
|
}
|