@digipair/skill-web-editor 0.28.13 → 0.29.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/schema.en.json +88 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/skill-web-editor",
3
- "version": "0.28.13",
3
+ "version": "0.29.2",
4
4
  "dependencies": {},
5
5
  "main": "./index.cjs.js",
6
6
  "module": "./index.esm.js"
package/schema.en.json ADDED
@@ -0,0 +1,88 @@
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
+ }