@digipair/skill-client-sse 0.36.6
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.cjs.d.ts +1 -0
- package/index.cjs.js +38 -0
- package/index.d.ts +1 -0
- package/index.esm.js +27485 -0
- package/libs/skill-client-sse/src/index.d.ts +1 -0
- package/libs/skill-client-sse/src/lib/skill-client-sse.d.ts +2 -0
- package/package.json +7 -0
- package/schema.fr.json +56 -0
- package/schema.json +56 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './lib/skill-client-sse';
|
package/package.json
ADDED
package/schema.fr.json
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
{
|
|
2
|
+
"openapi": "3.0.0",
|
|
3
|
+
"info": {
|
|
4
|
+
"title": "@digipair/skill-client-sse",
|
|
5
|
+
"summary": "Affichage des Server Sent Events",
|
|
6
|
+
"description": "Cette compétence permet de gérer les communications en temps réel coté client.",
|
|
7
|
+
"version": "0.1.0",
|
|
8
|
+
"x-icon": "🔗"
|
|
9
|
+
},
|
|
10
|
+
"paths": {
|
|
11
|
+
"/connect": {
|
|
12
|
+
"post": {
|
|
13
|
+
"tags": ["web", "service"],
|
|
14
|
+
"summary": "Connexion à un SSE",
|
|
15
|
+
"parameters": [
|
|
16
|
+
{
|
|
17
|
+
"name": "url",
|
|
18
|
+
"summary": "URL",
|
|
19
|
+
"required": false,
|
|
20
|
+
"description": "URL du serveur SSE",
|
|
21
|
+
"schema": {
|
|
22
|
+
"type": "string"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "connection",
|
|
27
|
+
"summary": "Nom",
|
|
28
|
+
"required": false,
|
|
29
|
+
"description": "Nom de la connexion",
|
|
30
|
+
"schema": {
|
|
31
|
+
"type": "string"
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"x-events": [
|
|
36
|
+
{
|
|
37
|
+
"name": "message",
|
|
38
|
+
"summary": "Lors de la réception d'un message",
|
|
39
|
+
"required": false,
|
|
40
|
+
"description": "Action déclenchée lors de la réception d'un message",
|
|
41
|
+
"schema": {
|
|
42
|
+
"type": "array",
|
|
43
|
+
"items": {
|
|
44
|
+
"$ref": "https://schemas.digipair.ai/pinsSettings"
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
]
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"components": {
|
|
53
|
+
"schemas": {}
|
|
54
|
+
},
|
|
55
|
+
"x-scene-blocks": {}
|
|
56
|
+
}
|
package/schema.json
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
{
|
|
2
|
+
"openapi": "3.0.0",
|
|
3
|
+
"info": {
|
|
4
|
+
"title": "@digipair/skill-client-sse",
|
|
5
|
+
"summary": "Displaying Server Sent Events",
|
|
6
|
+
"description": "This skill enables managing real-time communications on the client side.",
|
|
7
|
+
"version": "0.1.0",
|
|
8
|
+
"x-icon": "🔗"
|
|
9
|
+
},
|
|
10
|
+
"paths": {
|
|
11
|
+
"/connect": {
|
|
12
|
+
"post": {
|
|
13
|
+
"tags": ["web", "service"],
|
|
14
|
+
"summary": "Connect to an SSE",
|
|
15
|
+
"parameters": [
|
|
16
|
+
{
|
|
17
|
+
"name": "url",
|
|
18
|
+
"summary": "URL",
|
|
19
|
+
"required": false,
|
|
20
|
+
"description": "SSE server URL",
|
|
21
|
+
"schema": {
|
|
22
|
+
"type": "string"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "connection",
|
|
27
|
+
"summary": "Name",
|
|
28
|
+
"required": false,
|
|
29
|
+
"description": "Name of the connection",
|
|
30
|
+
"schema": {
|
|
31
|
+
"type": "string"
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"x-events": [
|
|
36
|
+
{
|
|
37
|
+
"name": "message",
|
|
38
|
+
"summary": "Upon receiving a message",
|
|
39
|
+
"required": false,
|
|
40
|
+
"description": "Action triggered upon receiving a message",
|
|
41
|
+
"schema": {
|
|
42
|
+
"type": "array",
|
|
43
|
+
"items": {
|
|
44
|
+
"$ref": "https://schemas.digipair.ai/pinsSettings"
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
]
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"components": {
|
|
53
|
+
"schemas": {}
|
|
54
|
+
},
|
|
55
|
+
"x-scene-blocks": {}
|
|
56
|
+
}
|