@digipair/skill-web-notification 0.96.0 → 0.97.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/index.esm.js +5 -5
- package/package.json +1 -1
- package/schema.fr.json +69 -9
- package/schema.json +69 -9
package/index.esm.js
CHANGED
|
@@ -23899,14 +23899,14 @@ function indent(str, spaces) {
|
|
|
23899
23899
|
var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
|
|
23900
23900
|
// match is required
|
|
23901
23901
|
if (!match) {
|
|
23902
|
-
return
|
|
23902
|
+
return i = i1, nextMatch = nextMatch1, tokens = tokens1, {
|
|
23903
23903
|
v: nextMatch1
|
|
23904
23904
|
};
|
|
23905
23905
|
}
|
|
23906
23906
|
var token = match.token, offset = match.offset;
|
|
23907
23907
|
i1 += offset;
|
|
23908
23908
|
if (token === " ") {
|
|
23909
|
-
return
|
|
23909
|
+
return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
|
|
23910
23910
|
}
|
|
23911
23911
|
tokens1 = _to_consumable_array$1(tokens1).concat([
|
|
23912
23912
|
token
|
|
@@ -23925,7 +23925,7 @@ function indent(str, spaces) {
|
|
|
23925
23925
|
if (contextKeys.some(function(el) {
|
|
23926
23926
|
return el.startsWith(name);
|
|
23927
23927
|
})) {
|
|
23928
|
-
return
|
|
23928
|
+
return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
|
|
23929
23929
|
}
|
|
23930
23930
|
if (dateTimeIdentifiers.some(function(el) {
|
|
23931
23931
|
return el === name;
|
|
@@ -23944,9 +23944,9 @@ function indent(str, spaces) {
|
|
|
23944
23944
|
if (dateTimeIdentifiers.some(function(el) {
|
|
23945
23945
|
return el.startsWith(name);
|
|
23946
23946
|
})) {
|
|
23947
|
-
return
|
|
23947
|
+
return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
|
|
23948
23948
|
}
|
|
23949
|
-
return
|
|
23949
|
+
return i = i1, nextMatch = nextMatch1, tokens = tokens1, {
|
|
23950
23950
|
v: nextMatch1
|
|
23951
23951
|
};
|
|
23952
23952
|
};
|
package/package.json
CHANGED
package/schema.fr.json
CHANGED
|
@@ -10,7 +10,9 @@
|
|
|
10
10
|
"paths": {
|
|
11
11
|
"/information": {
|
|
12
12
|
"post": {
|
|
13
|
-
"tags": [
|
|
13
|
+
"tags": [
|
|
14
|
+
"web"
|
|
15
|
+
],
|
|
14
16
|
"summary": "Affiche d'une information",
|
|
15
17
|
"description": "Affiche une notification d'information",
|
|
16
18
|
"parameters": [
|
|
@@ -24,12 +26,27 @@
|
|
|
24
26
|
}
|
|
25
27
|
}
|
|
26
28
|
],
|
|
27
|
-
"x-events": []
|
|
29
|
+
"x-events": [],
|
|
30
|
+
"responses": {
|
|
31
|
+
"200": {
|
|
32
|
+
"description": "Notification d'information affichée avec succès",
|
|
33
|
+
"content": {
|
|
34
|
+
"application/json": {
|
|
35
|
+
"schema": {
|
|
36
|
+
"type": "null",
|
|
37
|
+
"description": "Aucune valeur de retour - la notification est affichée à l'utilisateur"
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
28
43
|
}
|
|
29
44
|
},
|
|
30
45
|
"/error": {
|
|
31
46
|
"post": {
|
|
32
|
-
"tags": [
|
|
47
|
+
"tags": [
|
|
48
|
+
"web"
|
|
49
|
+
],
|
|
33
50
|
"summary": "Affiche d'une erreur",
|
|
34
51
|
"description": "Affiche une notification d'erreur",
|
|
35
52
|
"parameters": [
|
|
@@ -43,12 +60,27 @@
|
|
|
43
60
|
}
|
|
44
61
|
}
|
|
45
62
|
],
|
|
46
|
-
"x-events": []
|
|
63
|
+
"x-events": [],
|
|
64
|
+
"responses": {
|
|
65
|
+
"200": {
|
|
66
|
+
"description": "Notification d'erreur affichée avec succès",
|
|
67
|
+
"content": {
|
|
68
|
+
"application/json": {
|
|
69
|
+
"schema": {
|
|
70
|
+
"type": "null",
|
|
71
|
+
"description": "Aucune valeur de retour - la notification d'erreur est affichée à l'utilisateur"
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
47
77
|
}
|
|
48
78
|
},
|
|
49
79
|
"/confirm": {
|
|
50
80
|
"post": {
|
|
51
|
-
"tags": [
|
|
81
|
+
"tags": [
|
|
82
|
+
"web"
|
|
83
|
+
],
|
|
52
84
|
"summary": "Affiche une confirmation",
|
|
53
85
|
"description": "Affiche une notification de confirmation",
|
|
54
86
|
"parameters": [
|
|
@@ -86,12 +118,27 @@
|
|
|
86
118
|
}
|
|
87
119
|
}
|
|
88
120
|
],
|
|
89
|
-
"x-events": []
|
|
121
|
+
"x-events": [],
|
|
122
|
+
"responses": {
|
|
123
|
+
"200": {
|
|
124
|
+
"description": "Dialogue de confirmation affiché et réponse utilisateur traitée",
|
|
125
|
+
"content": {
|
|
126
|
+
"application/json": {
|
|
127
|
+
"schema": {
|
|
128
|
+
"type": "boolean",
|
|
129
|
+
"description": "Vrai si l'utilisateur a confirmé, faux si l'utilisateur a annulé"
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
90
135
|
}
|
|
91
136
|
},
|
|
92
137
|
"/alert": {
|
|
93
138
|
"post": {
|
|
94
|
-
"tags": [
|
|
139
|
+
"tags": [
|
|
140
|
+
"web"
|
|
141
|
+
],
|
|
95
142
|
"summary": "Affiche une alerte",
|
|
96
143
|
"description": "Affiche une notification d'alerte",
|
|
97
144
|
"parameters": [
|
|
@@ -105,11 +152,24 @@
|
|
|
105
152
|
}
|
|
106
153
|
}
|
|
107
154
|
],
|
|
108
|
-
"x-events": []
|
|
155
|
+
"x-events": [],
|
|
156
|
+
"responses": {
|
|
157
|
+
"200": {
|
|
158
|
+
"description": "Notification d'alerte affichée avec succès",
|
|
159
|
+
"content": {
|
|
160
|
+
"application/json": {
|
|
161
|
+
"schema": {
|
|
162
|
+
"type": "null",
|
|
163
|
+
"description": "Aucune valeur de retour - l'alerte est affichée à l'utilisateur"
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
}
|
|
109
169
|
}
|
|
110
170
|
}
|
|
111
171
|
},
|
|
112
172
|
"components": {
|
|
113
173
|
"schemas": {}
|
|
114
174
|
}
|
|
115
|
-
}
|
|
175
|
+
}
|
package/schema.json
CHANGED
|
@@ -10,7 +10,9 @@
|
|
|
10
10
|
"paths": {
|
|
11
11
|
"/information": {
|
|
12
12
|
"post": {
|
|
13
|
-
"tags": [
|
|
13
|
+
"tags": [
|
|
14
|
+
"web"
|
|
15
|
+
],
|
|
14
16
|
"summary": "Displays an information",
|
|
15
17
|
"description": "Displays an information notification",
|
|
16
18
|
"parameters": [
|
|
@@ -24,12 +26,27 @@
|
|
|
24
26
|
}
|
|
25
27
|
}
|
|
26
28
|
],
|
|
27
|
-
"x-events": []
|
|
29
|
+
"x-events": [],
|
|
30
|
+
"responses": {
|
|
31
|
+
"200": {
|
|
32
|
+
"description": "Information notification displayed successfully",
|
|
33
|
+
"content": {
|
|
34
|
+
"application/json": {
|
|
35
|
+
"schema": {
|
|
36
|
+
"type": "null",
|
|
37
|
+
"description": "No return value - notification is displayed to the user"
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
28
43
|
}
|
|
29
44
|
},
|
|
30
45
|
"/error": {
|
|
31
46
|
"post": {
|
|
32
|
-
"tags": [
|
|
47
|
+
"tags": [
|
|
48
|
+
"web"
|
|
49
|
+
],
|
|
33
50
|
"summary": "Displays an error",
|
|
34
51
|
"description": "Displays an error notification",
|
|
35
52
|
"parameters": [
|
|
@@ -43,12 +60,27 @@
|
|
|
43
60
|
}
|
|
44
61
|
}
|
|
45
62
|
],
|
|
46
|
-
"x-events": []
|
|
63
|
+
"x-events": [],
|
|
64
|
+
"responses": {
|
|
65
|
+
"200": {
|
|
66
|
+
"description": "Error notification displayed successfully",
|
|
67
|
+
"content": {
|
|
68
|
+
"application/json": {
|
|
69
|
+
"schema": {
|
|
70
|
+
"type": "null",
|
|
71
|
+
"description": "No return value - error notification is displayed to the user"
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
47
77
|
}
|
|
48
78
|
},
|
|
49
79
|
"/confirm": {
|
|
50
80
|
"post": {
|
|
51
|
-
"tags": [
|
|
81
|
+
"tags": [
|
|
82
|
+
"web"
|
|
83
|
+
],
|
|
52
84
|
"summary": "Displays a confirmation",
|
|
53
85
|
"description": "Displays a confirmation notification",
|
|
54
86
|
"parameters": [
|
|
@@ -86,12 +118,27 @@
|
|
|
86
118
|
}
|
|
87
119
|
}
|
|
88
120
|
],
|
|
89
|
-
"x-events": []
|
|
121
|
+
"x-events": [],
|
|
122
|
+
"responses": {
|
|
123
|
+
"200": {
|
|
124
|
+
"description": "Confirmation dialog displayed and user response processed",
|
|
125
|
+
"content": {
|
|
126
|
+
"application/json": {
|
|
127
|
+
"schema": {
|
|
128
|
+
"type": "boolean",
|
|
129
|
+
"description": "True if user confirmed, false if user cancelled"
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
90
135
|
}
|
|
91
136
|
},
|
|
92
137
|
"/alert": {
|
|
93
138
|
"post": {
|
|
94
|
-
"tags": [
|
|
139
|
+
"tags": [
|
|
140
|
+
"web"
|
|
141
|
+
],
|
|
95
142
|
"summary": "Displays an alert",
|
|
96
143
|
"description": "Displays an alert notification",
|
|
97
144
|
"parameters": [
|
|
@@ -105,11 +152,24 @@
|
|
|
105
152
|
}
|
|
106
153
|
}
|
|
107
154
|
],
|
|
108
|
-
"x-events": []
|
|
155
|
+
"x-events": [],
|
|
156
|
+
"responses": {
|
|
157
|
+
"200": {
|
|
158
|
+
"description": "Alert notification displayed successfully",
|
|
159
|
+
"content": {
|
|
160
|
+
"application/json": {
|
|
161
|
+
"schema": {
|
|
162
|
+
"type": "null",
|
|
163
|
+
"description": "No return value - alert is displayed to the user"
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
}
|
|
109
169
|
}
|
|
110
170
|
}
|
|
111
171
|
},
|
|
112
172
|
"components": {
|
|
113
173
|
"schemas": {}
|
|
114
174
|
}
|
|
115
|
-
}
|
|
175
|
+
}
|