@digipair/skill-web-editor 0.32.7 → 0.33.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.cjs2.js +2 -2
- package/index.esm2.js +2 -2
- package/package.json +1 -1
- package/schema.en.json +0 -88
package/index.cjs2.js
CHANGED
|
@@ -2959,8 +2959,8 @@ class EditorElement extends s {
|
|
|
2959
2959
|
const code = jsonGenerator.workspaceToCode(this.workspace);
|
|
2960
2960
|
try {
|
|
2961
2961
|
this.codeInWorkspace = _extends({
|
|
2962
|
-
|
|
2963
|
-
|
|
2962
|
+
description: this.reasoning.description,
|
|
2963
|
+
summary: this.reasoning.summary
|
|
2964
2964
|
}, JSON.parse(code));
|
|
2965
2965
|
return true;
|
|
2966
2966
|
} catch (e) {
|
package/index.esm2.js
CHANGED
|
@@ -2957,8 +2957,8 @@ class EditorElement extends s {
|
|
|
2957
2957
|
const code = jsonGenerator.workspaceToCode(this.workspace);
|
|
2958
2958
|
try {
|
|
2959
2959
|
this.codeInWorkspace = _extends({
|
|
2960
|
-
|
|
2961
|
-
|
|
2960
|
+
description: this.reasoning.description,
|
|
2961
|
+
summary: this.reasoning.summary
|
|
2962
2962
|
}, JSON.parse(code));
|
|
2963
2963
|
return true;
|
|
2964
2964
|
} catch (e) {
|
package/package.json
CHANGED
package/schema.en.json
DELETED
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"openapi": "3.0.0",
|
|
3
|
-
"info": {
|
|
4
|
-
"title": "@digipair/skill-web-editor",
|
|
5
|
-
"summary": "Display of the reasoning editor",
|
|
6
|
-
"description": "Editing of AI reasonings.",
|
|
7
|
-
"version": "0.1.0",
|
|
8
|
-
"x-icon": "🏗"
|
|
9
|
-
},
|
|
10
|
-
"paths": {
|
|
11
|
-
"/digipair-editor": {
|
|
12
|
-
"post": {
|
|
13
|
-
"tags": ["web"],
|
|
14
|
-
"summary": "Reasoning editor",
|
|
15
|
-
"description": "No-code editor for AI reasonings",
|
|
16
|
-
"parameters": [
|
|
17
|
-
{
|
|
18
|
-
"name": "digipair",
|
|
19
|
-
"summary": "Digipair",
|
|
20
|
-
"required": true,
|
|
21
|
-
"description": "Information of the digipair owning the reasoning",
|
|
22
|
-
"schema": {
|
|
23
|
-
"type": "object"
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
"name": "reasoning",
|
|
28
|
-
"summary": "Reasoning",
|
|
29
|
-
"required": true,
|
|
30
|
-
"description": "Information of the reasoning to be edited",
|
|
31
|
-
"schema": {
|
|
32
|
-
"type": "object"
|
|
33
|
-
}
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
"name": "schemas",
|
|
37
|
-
"summary": "Schemas",
|
|
38
|
-
"required": false,
|
|
39
|
-
"description": "List of private skill schemas",
|
|
40
|
-
"schema": {
|
|
41
|
-
"type": "object"
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
"name": "menuColor",
|
|
46
|
-
"summary": "Menu text color",
|
|
47
|
-
"required": false,
|
|
48
|
-
"description": "Color of the menu text",
|
|
49
|
-
"schema": {
|
|
50
|
-
"type": "string"
|
|
51
|
-
}
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
"name": "menuBackgroundColor",
|
|
55
|
-
"summary": "Menu background color",
|
|
56
|
-
"required": false,
|
|
57
|
-
"description": "Color of the menu background",
|
|
58
|
-
"schema": {
|
|
59
|
-
"type": "string"
|
|
60
|
-
}
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
"name": "contentStyle",
|
|
64
|
-
"summary": "Custom container style",
|
|
65
|
-
"required": false,
|
|
66
|
-
"description": "Custom style for the container",
|
|
67
|
-
"schema": {
|
|
68
|
-
"type": "string"
|
|
69
|
-
}
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
"name": "language",
|
|
73
|
-
"summary": "Language",
|
|
74
|
-
"required": false,
|
|
75
|
-
"description": "Editor language",
|
|
76
|
-
"schema": {
|
|
77
|
-
"type": "string"
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
],
|
|
81
|
-
"x-events": []
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
},
|
|
85
|
-
"components": {
|
|
86
|
-
"schemas": {}
|
|
87
|
-
}
|
|
88
|
-
}
|