@objectstack/spec 2.0.0 → 2.0.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/dist/api/index.d.mts +1 -1
- package/dist/api/index.d.ts +1 -1
- package/dist/api/index.js +28 -159
- package/dist/api/index.js.map +1 -1
- package/dist/api/index.mjs +27 -158
- package/dist/api/index.mjs.map +1 -1
- package/dist/{index-XO8S5zL2.d.ts → index-BvKdac5U.d.ts} +144 -111
- package/dist/{index-CgljqRyc.d.mts → index-CR1mxRt5.d.mts} +8 -9
- package/dist/{index-BIc5QtGI.d.mts → index-Ch3NLQeS.d.mts} +144 -111
- package/dist/{index-DpraDphg.d.ts → index-op6pEi6m.d.ts} +8 -9
- package/dist/index.d.mts +3 -15
- package/dist/index.d.ts +3 -15
- package/dist/index.js +27 -159
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +27 -159
- package/dist/index.mjs.map +1 -1
- package/dist/system/index.d.mts +1 -1
- package/dist/system/index.d.ts +1 -1
- package/dist/system/index.js +0 -3
- package/dist/system/index.js.map +1 -1
- package/dist/system/index.mjs +0 -3
- package/dist/system/index.mjs.map +1 -1
- package/json-schema/api/ApiCapabilities.json +0 -5
- package/json-schema/api/ApiRoutes.json +1 -6
- package/json-schema/api/Discovery.json +40 -11
- package/json-schema/api/DispatcherConfig.json +0 -1
- package/json-schema/api/DispatcherRoute.json +0 -1
- package/json-schema/api/GetDiscoveryResponse.json +1 -11
- package/json-schema/api/RestApiEndpoint.json +1 -2
- package/json-schema/api/RestApiPluginConfig.json +2 -4
- package/json-schema/api/RestApiRouteCategory.json +1 -2
- package/json-schema/api/RestApiRouteRegistration.json +2 -4
- package/json-schema/api/RouterConfig.json +0 -6
- package/json-schema/api/ServiceInfo.json +41 -0
- package/json-schema/system/CoreServiceName.json +0 -1
- package/json-schema/system/KernelServiceMap.json +0 -1
- package/json-schema/system/ServiceConfig.json +0 -1
- package/json-schema/system/ServiceStatus.json +0 -1
- package/package.json +1 -1
|
@@ -32,10 +32,6 @@
|
|
|
32
32
|
"type": "string",
|
|
33
33
|
"description": "e.g. /api/v1/analytics"
|
|
34
34
|
},
|
|
35
|
-
"hub": {
|
|
36
|
-
"type": "string",
|
|
37
|
-
"description": "e.g. /api/v1/hub"
|
|
38
|
-
},
|
|
39
35
|
"graphql": {
|
|
40
36
|
"type": "string",
|
|
41
37
|
"description": "e.g. /graphql"
|
|
@@ -67,8 +63,7 @@
|
|
|
67
63
|
},
|
|
68
64
|
"required": [
|
|
69
65
|
"data",
|
|
70
|
-
"metadata"
|
|
71
|
-
"auth"
|
|
66
|
+
"metadata"
|
|
72
67
|
],
|
|
73
68
|
"additionalProperties": false
|
|
74
69
|
}
|
|
@@ -49,10 +49,6 @@
|
|
|
49
49
|
"type": "string",
|
|
50
50
|
"description": "e.g. /api/v1/analytics"
|
|
51
51
|
},
|
|
52
|
-
"hub": {
|
|
53
|
-
"type": "string",
|
|
54
|
-
"description": "e.g. /api/v1/hub"
|
|
55
|
-
},
|
|
56
52
|
"graphql": {
|
|
57
53
|
"type": "string",
|
|
58
54
|
"description": "e.g. /graphql"
|
|
@@ -84,8 +80,7 @@
|
|
|
84
80
|
},
|
|
85
81
|
"required": [
|
|
86
82
|
"data",
|
|
87
|
-
"metadata"
|
|
88
|
-
"auth"
|
|
83
|
+
"metadata"
|
|
89
84
|
],
|
|
90
85
|
"additionalProperties": false
|
|
91
86
|
},
|
|
@@ -113,11 +108,6 @@
|
|
|
113
108
|
"default": false,
|
|
114
109
|
"description": "Is the Analytics/BI engine enabled?"
|
|
115
110
|
},
|
|
116
|
-
"hub": {
|
|
117
|
-
"type": "boolean",
|
|
118
|
-
"default": false,
|
|
119
|
-
"description": "Is Hub management enabled?"
|
|
120
|
-
},
|
|
121
111
|
"ai": {
|
|
122
112
|
"type": "boolean",
|
|
123
113
|
"default": false,
|
|
@@ -164,6 +154,45 @@
|
|
|
164
154
|
],
|
|
165
155
|
"additionalProperties": false
|
|
166
156
|
},
|
|
157
|
+
"services": {
|
|
158
|
+
"type": "object",
|
|
159
|
+
"additionalProperties": {
|
|
160
|
+
"type": "object",
|
|
161
|
+
"properties": {
|
|
162
|
+
"enabled": {
|
|
163
|
+
"type": "boolean"
|
|
164
|
+
},
|
|
165
|
+
"status": {
|
|
166
|
+
"type": "string",
|
|
167
|
+
"enum": [
|
|
168
|
+
"available",
|
|
169
|
+
"unavailable",
|
|
170
|
+
"degraded",
|
|
171
|
+
"stub"
|
|
172
|
+
],
|
|
173
|
+
"description": "available = fully operational, unavailable = not installed, degraded = partial, stub = placeholder that throws"
|
|
174
|
+
},
|
|
175
|
+
"route": {
|
|
176
|
+
"type": "string",
|
|
177
|
+
"description": "e.g. /api/v1/analytics"
|
|
178
|
+
},
|
|
179
|
+
"provider": {
|
|
180
|
+
"type": "string",
|
|
181
|
+
"description": "e.g. \"objectql\", \"plugin-redis\", \"driver-memory\""
|
|
182
|
+
},
|
|
183
|
+
"message": {
|
|
184
|
+
"type": "string",
|
|
185
|
+
"description": "e.g. \"Install plugin-workflow to enable\""
|
|
186
|
+
}
|
|
187
|
+
},
|
|
188
|
+
"required": [
|
|
189
|
+
"enabled",
|
|
190
|
+
"status"
|
|
191
|
+
],
|
|
192
|
+
"additionalProperties": false
|
|
193
|
+
},
|
|
194
|
+
"description": "Per-service availability map keyed by CoreServiceName"
|
|
195
|
+
},
|
|
167
196
|
"metadata": {
|
|
168
197
|
"type": "object",
|
|
169
198
|
"additionalProperties": {},
|
|
@@ -36,11 +36,6 @@
|
|
|
36
36
|
"default": false,
|
|
37
37
|
"description": "Is the Analytics/BI engine enabled?"
|
|
38
38
|
},
|
|
39
|
-
"hub": {
|
|
40
|
-
"type": "boolean",
|
|
41
|
-
"default": false,
|
|
42
|
-
"description": "Is Hub management enabled?"
|
|
43
|
-
},
|
|
44
39
|
"ai": {
|
|
45
40
|
"type": "boolean",
|
|
46
41
|
"default": false,
|
|
@@ -96,10 +91,6 @@
|
|
|
96
91
|
"type": "string",
|
|
97
92
|
"description": "e.g. /api/v1/analytics"
|
|
98
93
|
},
|
|
99
|
-
"hub": {
|
|
100
|
-
"type": "string",
|
|
101
|
-
"description": "e.g. /api/v1/hub"
|
|
102
|
-
},
|
|
103
94
|
"graphql": {
|
|
104
95
|
"type": "string",
|
|
105
96
|
"description": "e.g. /graphql"
|
|
@@ -131,8 +122,7 @@
|
|
|
131
122
|
},
|
|
132
123
|
"required": [
|
|
133
124
|
"data",
|
|
134
|
-
"metadata"
|
|
135
|
-
"auth"
|
|
125
|
+
"metadata"
|
|
136
126
|
],
|
|
137
127
|
"additionalProperties": false,
|
|
138
128
|
"description": "Available endpoint paths"
|
|
@@ -48,8 +48,7 @@
|
|
|
48
48
|
"realtime",
|
|
49
49
|
"notification",
|
|
50
50
|
"ai",
|
|
51
|
-
"i18n"
|
|
52
|
-
"hub"
|
|
51
|
+
"i18n"
|
|
53
52
|
],
|
|
54
53
|
"description": "Primary category for this route group"
|
|
55
54
|
},
|
|
@@ -101,8 +100,7 @@
|
|
|
101
100
|
"realtime",
|
|
102
101
|
"notification",
|
|
103
102
|
"ai",
|
|
104
|
-
"i18n"
|
|
105
|
-
"hub"
|
|
103
|
+
"i18n"
|
|
106
104
|
],
|
|
107
105
|
"description": "Route category"
|
|
108
106
|
},
|
|
@@ -28,8 +28,7 @@
|
|
|
28
28
|
"realtime",
|
|
29
29
|
"notification",
|
|
30
30
|
"ai",
|
|
31
|
-
"i18n"
|
|
32
|
-
"hub"
|
|
31
|
+
"i18n"
|
|
33
32
|
],
|
|
34
33
|
"description": "Primary category for this route group"
|
|
35
34
|
},
|
|
@@ -81,8 +80,7 @@
|
|
|
81
80
|
"realtime",
|
|
82
81
|
"notification",
|
|
83
82
|
"ai",
|
|
84
|
-
"i18n"
|
|
85
|
-
"hub"
|
|
83
|
+
"i18n"
|
|
86
84
|
],
|
|
87
85
|
"description": "Route category"
|
|
88
86
|
},
|
|
@@ -42,11 +42,6 @@
|
|
|
42
42
|
"default": "/analytics",
|
|
43
43
|
"description": "Analytics Protocol"
|
|
44
44
|
},
|
|
45
|
-
"hub": {
|
|
46
|
-
"type": "string",
|
|
47
|
-
"default": "/hub",
|
|
48
|
-
"description": "Hub Management Protocol"
|
|
49
|
-
},
|
|
50
45
|
"graphql": {
|
|
51
46
|
"type": "string",
|
|
52
47
|
"default": "/graphql",
|
|
@@ -96,7 +91,6 @@
|
|
|
96
91
|
"automation": "/automation",
|
|
97
92
|
"storage": "/storage",
|
|
98
93
|
"analytics": "/analytics",
|
|
99
|
-
"hub": "/hub",
|
|
100
94
|
"graphql": "/graphql",
|
|
101
95
|
"ui": "/ui",
|
|
102
96
|
"workflow": "/workflow",
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/ServiceInfo",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"ServiceInfo": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"enabled": {
|
|
8
|
+
"type": "boolean"
|
|
9
|
+
},
|
|
10
|
+
"status": {
|
|
11
|
+
"type": "string",
|
|
12
|
+
"enum": [
|
|
13
|
+
"available",
|
|
14
|
+
"unavailable",
|
|
15
|
+
"degraded",
|
|
16
|
+
"stub"
|
|
17
|
+
],
|
|
18
|
+
"description": "available = fully operational, unavailable = not installed, degraded = partial, stub = placeholder that throws"
|
|
19
|
+
},
|
|
20
|
+
"route": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"description": "e.g. /api/v1/analytics"
|
|
23
|
+
},
|
|
24
|
+
"provider": {
|
|
25
|
+
"type": "string",
|
|
26
|
+
"description": "e.g. \"objectql\", \"plugin-redis\", \"driver-memory\""
|
|
27
|
+
},
|
|
28
|
+
"message": {
|
|
29
|
+
"type": "string",
|
|
30
|
+
"description": "e.g. \"Install plugin-workflow to enable\""
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"required": [
|
|
34
|
+
"enabled",
|
|
35
|
+
"status"
|
|
36
|
+
],
|
|
37
|
+
"additionalProperties": false
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
41
|
+
}
|
package/package.json
CHANGED