@digipair/skill-cron 0.25.6 → 0.26.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 +160 -0
- package/schema.json +28 -28
package/package.json
CHANGED
package/schema.fr.json
ADDED
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
{
|
|
2
|
+
"openapi": "3.0.0",
|
|
3
|
+
"info": {
|
|
4
|
+
"title": "@digipair/skill-cron",
|
|
5
|
+
"summary": "Gestion des taches planifiées",
|
|
6
|
+
"description": "La compétence permet de gérer l'exécutions des taches planifiées",
|
|
7
|
+
"version": "0.1.0",
|
|
8
|
+
"x-icon": "📆"
|
|
9
|
+
},
|
|
10
|
+
"paths": {
|
|
11
|
+
"/crons": {
|
|
12
|
+
"post": {
|
|
13
|
+
"tags": ["service"],
|
|
14
|
+
"summary": "Liste des taches planifiées",
|
|
15
|
+
"parameters": [
|
|
16
|
+
{
|
|
17
|
+
"name": "path",
|
|
18
|
+
"summary": "Chemin d'accès",
|
|
19
|
+
"required": false,
|
|
20
|
+
"description": "Chemin d'accès vers le répertoire des digipairs",
|
|
21
|
+
"schema": {
|
|
22
|
+
"type": "string"
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
],
|
|
26
|
+
"x-events": []
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"/addCron": {
|
|
30
|
+
"post": {
|
|
31
|
+
"tags": ["service"],
|
|
32
|
+
"summary": "Ajoute une plannification",
|
|
33
|
+
"parameters": [
|
|
34
|
+
{
|
|
35
|
+
"name": "path",
|
|
36
|
+
"summary": "Chemin d'accès",
|
|
37
|
+
"required": false,
|
|
38
|
+
"description": "Chemin d'accès vers le répertoire des digipairs",
|
|
39
|
+
"schema": {
|
|
40
|
+
"type": "string"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "time",
|
|
45
|
+
"summary": "Plannification",
|
|
46
|
+
"required": true,
|
|
47
|
+
"description": "Plannification au format cron",
|
|
48
|
+
"schema": {
|
|
49
|
+
"type": "string"
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"name": "digipair",
|
|
54
|
+
"summary": "Digipair",
|
|
55
|
+
"required": true,
|
|
56
|
+
"description": "Nom du digipair qui exécute le raisonnement",
|
|
57
|
+
"schema": {
|
|
58
|
+
"type": "string"
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"name": "reasoning",
|
|
63
|
+
"summary": "Raisonnement",
|
|
64
|
+
"required": true,
|
|
65
|
+
"description": "Nom du raisonnement à exécuter",
|
|
66
|
+
"schema": {
|
|
67
|
+
"type": "string"
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
],
|
|
71
|
+
"x-events": []
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"/deleteCron": {
|
|
75
|
+
"post": {
|
|
76
|
+
"tags": ["service"],
|
|
77
|
+
"summary": "Supprime une plannification",
|
|
78
|
+
"parameters": [
|
|
79
|
+
{
|
|
80
|
+
"name": "path",
|
|
81
|
+
"summary": "Chemin d'accès",
|
|
82
|
+
"required": false,
|
|
83
|
+
"description": "Chemin d'accès vers le répertoire des digipairs",
|
|
84
|
+
"schema": {
|
|
85
|
+
"type": "string"
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"name": "id",
|
|
90
|
+
"summary": "Identifiant",
|
|
91
|
+
"required": true,
|
|
92
|
+
"description": "Identifiant de la plannification",
|
|
93
|
+
"schema": {
|
|
94
|
+
"type": "string"
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
],
|
|
98
|
+
"x-events": []
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
"/enableCron": {
|
|
102
|
+
"post": {
|
|
103
|
+
"tags": ["service"],
|
|
104
|
+
"summary": "Active une plannification",
|
|
105
|
+
"parameters": [
|
|
106
|
+
{
|
|
107
|
+
"name": "path",
|
|
108
|
+
"summary": "Chemin d'accès",
|
|
109
|
+
"required": false,
|
|
110
|
+
"description": "Chemin d'accès vers le répertoire des digipairs",
|
|
111
|
+
"schema": {
|
|
112
|
+
"type": "string"
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"name": "id",
|
|
117
|
+
"summary": "Identifiant",
|
|
118
|
+
"required": true,
|
|
119
|
+
"description": "Identifiant de la plannification",
|
|
120
|
+
"schema": {
|
|
121
|
+
"type": "string"
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
],
|
|
125
|
+
"x-events": []
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
"/disableCron": {
|
|
129
|
+
"post": {
|
|
130
|
+
"tags": ["service"],
|
|
131
|
+
"summary": "Désactive une plannification",
|
|
132
|
+
"parameters": [
|
|
133
|
+
{
|
|
134
|
+
"name": "path",
|
|
135
|
+
"summary": "Chemin d'accès",
|
|
136
|
+
"required": false,
|
|
137
|
+
"description": "Chemin d'accès vers le répertoire des digipairs",
|
|
138
|
+
"schema": {
|
|
139
|
+
"type": "string"
|
|
140
|
+
}
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"name": "id",
|
|
144
|
+
"summary": "Identifiant",
|
|
145
|
+
"required": true,
|
|
146
|
+
"description": "Identifiant de la plannification",
|
|
147
|
+
"schema": {
|
|
148
|
+
"type": "string"
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
],
|
|
152
|
+
"x-events": []
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
"components": {
|
|
157
|
+
"schemas": {}
|
|
158
|
+
},
|
|
159
|
+
"x-scene-blocks": {}
|
|
160
|
+
}
|
package/schema.json
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
"openapi": "3.0.0",
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "@digipair/skill-cron",
|
|
5
|
-
"summary": "
|
|
6
|
-
"description": "
|
|
5
|
+
"summary": "Scheduled Task Management",
|
|
6
|
+
"description": "The skill allows for the management of scheduled task executions.",
|
|
7
7
|
"version": "0.1.0",
|
|
8
8
|
"x-icon": "📆"
|
|
9
9
|
},
|
|
@@ -11,13 +11,13 @@
|
|
|
11
11
|
"/crons": {
|
|
12
12
|
"post": {
|
|
13
13
|
"tags": ["service"],
|
|
14
|
-
"summary": "
|
|
14
|
+
"summary": "List of Scheduled Tasks",
|
|
15
15
|
"parameters": [
|
|
16
16
|
{
|
|
17
17
|
"name": "path",
|
|
18
|
-
"summary": "
|
|
18
|
+
"summary": "Access Path",
|
|
19
19
|
"required": false,
|
|
20
|
-
"description": "
|
|
20
|
+
"description": "Access path to the digipairs directory",
|
|
21
21
|
"schema": {
|
|
22
22
|
"type": "string"
|
|
23
23
|
}
|
|
@@ -29,22 +29,22 @@
|
|
|
29
29
|
"/addCron": {
|
|
30
30
|
"post": {
|
|
31
31
|
"tags": ["service"],
|
|
32
|
-
"summary": "
|
|
32
|
+
"summary": "Adds a Schedule",
|
|
33
33
|
"parameters": [
|
|
34
34
|
{
|
|
35
35
|
"name": "path",
|
|
36
|
-
"summary": "
|
|
36
|
+
"summary": "Access Path",
|
|
37
37
|
"required": false,
|
|
38
|
-
"description": "
|
|
38
|
+
"description": "Access path to the digipairs directory",
|
|
39
39
|
"schema": {
|
|
40
40
|
"type": "string"
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
43
|
{
|
|
44
44
|
"name": "time",
|
|
45
|
-
"summary": "
|
|
45
|
+
"summary": "Schedule",
|
|
46
46
|
"required": true,
|
|
47
|
-
"description": "
|
|
47
|
+
"description": "Schedule in cron format",
|
|
48
48
|
"schema": {
|
|
49
49
|
"type": "string"
|
|
50
50
|
}
|
|
@@ -53,16 +53,16 @@
|
|
|
53
53
|
"name": "digipair",
|
|
54
54
|
"summary": "Digipair",
|
|
55
55
|
"required": true,
|
|
56
|
-
"description": "
|
|
56
|
+
"description": "Name of the digipair executing the reasoning",
|
|
57
57
|
"schema": {
|
|
58
58
|
"type": "string"
|
|
59
59
|
}
|
|
60
60
|
},
|
|
61
61
|
{
|
|
62
62
|
"name": "reasoning",
|
|
63
|
-
"summary": "
|
|
63
|
+
"summary": "Reasoning",
|
|
64
64
|
"required": true,
|
|
65
|
-
"description": "
|
|
65
|
+
"description": "Name of the reasoning to be executed",
|
|
66
66
|
"schema": {
|
|
67
67
|
"type": "string"
|
|
68
68
|
}
|
|
@@ -74,22 +74,22 @@
|
|
|
74
74
|
"/deleteCron": {
|
|
75
75
|
"post": {
|
|
76
76
|
"tags": ["service"],
|
|
77
|
-
"summary": "
|
|
77
|
+
"summary": "Deletes a Schedule",
|
|
78
78
|
"parameters": [
|
|
79
79
|
{
|
|
80
80
|
"name": "path",
|
|
81
|
-
"summary": "
|
|
81
|
+
"summary": "Access Path",
|
|
82
82
|
"required": false,
|
|
83
|
-
"description": "
|
|
83
|
+
"description": "Access path to the digipairs directory",
|
|
84
84
|
"schema": {
|
|
85
85
|
"type": "string"
|
|
86
86
|
}
|
|
87
87
|
},
|
|
88
88
|
{
|
|
89
89
|
"name": "id",
|
|
90
|
-
"summary": "
|
|
90
|
+
"summary": "Identifier",
|
|
91
91
|
"required": true,
|
|
92
|
-
"description": "
|
|
92
|
+
"description": "Identifier of the schedule",
|
|
93
93
|
"schema": {
|
|
94
94
|
"type": "string"
|
|
95
95
|
}
|
|
@@ -101,22 +101,22 @@
|
|
|
101
101
|
"/enableCron": {
|
|
102
102
|
"post": {
|
|
103
103
|
"tags": ["service"],
|
|
104
|
-
"summary": "
|
|
104
|
+
"summary": "Enables a Schedule",
|
|
105
105
|
"parameters": [
|
|
106
106
|
{
|
|
107
107
|
"name": "path",
|
|
108
|
-
"summary": "
|
|
108
|
+
"summary": "Access Path",
|
|
109
109
|
"required": false,
|
|
110
|
-
"description": "
|
|
110
|
+
"description": "Access path to the digipairs directory",
|
|
111
111
|
"schema": {
|
|
112
112
|
"type": "string"
|
|
113
113
|
}
|
|
114
114
|
},
|
|
115
115
|
{
|
|
116
116
|
"name": "id",
|
|
117
|
-
"summary": "
|
|
117
|
+
"summary": "Identifier",
|
|
118
118
|
"required": true,
|
|
119
|
-
"description": "
|
|
119
|
+
"description": "Identifier of the schedule",
|
|
120
120
|
"schema": {
|
|
121
121
|
"type": "string"
|
|
122
122
|
}
|
|
@@ -128,22 +128,22 @@
|
|
|
128
128
|
"/disableCron": {
|
|
129
129
|
"post": {
|
|
130
130
|
"tags": ["service"],
|
|
131
|
-
"summary": "
|
|
131
|
+
"summary": "Disables a Schedule",
|
|
132
132
|
"parameters": [
|
|
133
133
|
{
|
|
134
134
|
"name": "path",
|
|
135
|
-
"summary": "
|
|
135
|
+
"summary": "Access Path",
|
|
136
136
|
"required": false,
|
|
137
|
-
"description": "
|
|
137
|
+
"description": "Access path to the digipairs directory",
|
|
138
138
|
"schema": {
|
|
139
139
|
"type": "string"
|
|
140
140
|
}
|
|
141
141
|
},
|
|
142
142
|
{
|
|
143
143
|
"name": "id",
|
|
144
|
-
"summary": "
|
|
144
|
+
"summary": "Identifier",
|
|
145
145
|
"required": true,
|
|
146
|
-
"description": "
|
|
146
|
+
"description": "Identifier of the schedule",
|
|
147
147
|
"schema": {
|
|
148
148
|
"type": "string"
|
|
149
149
|
}
|