@mhome/app-facade-protocol 1.61.0 → 1.62.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/fixtures/presentation/cases.json +22 -22
- package/fixtures/routing/cases.json +4 -4
- package/manifest/app-facade.v1.json +1 -1
- package/manifest/authorization.v1.json +20 -20
- package/manifest/host-provision-targets.v1.json +1 -1
- package/manifest/hub-targets.v1.json +1 -1
- package/manifest/pod-targets.v1.json +1 -1
- package/manifest/routing.v1.json +3 -3
- package/manifest/targets.v1.json +1 -1
- package/package.json +1 -1
- package/protocol.json +1 -1
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"name": "dashboard-detail",
|
|
4
4
|
"target": "/app/dashboard/card/detail/get",
|
|
5
5
|
"data": {
|
|
6
|
-
"
|
|
6
|
+
"spaceId": "space-1",
|
|
7
7
|
"items": [
|
|
8
8
|
{
|
|
9
9
|
"cardId": "card-1",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
},
|
|
53
53
|
"status": "success",
|
|
54
54
|
"essential": {
|
|
55
|
-
"
|
|
55
|
+
"spaceId": "space-1",
|
|
56
56
|
"items": [
|
|
57
57
|
{
|
|
58
58
|
"cardId": "card-1",
|
|
@@ -1008,10 +1008,10 @@
|
|
|
1008
1008
|
},
|
|
1009
1009
|
{
|
|
1010
1010
|
"name": "space-preference-update",
|
|
1011
|
-
"target": "/app/
|
|
1011
|
+
"target": "/app/space/preference/update",
|
|
1012
1012
|
"data": {
|
|
1013
1013
|
"action": "Updated",
|
|
1014
|
-
"
|
|
1014
|
+
"spaceId": "space-demo",
|
|
1015
1015
|
"updatedFields": [
|
|
1016
1016
|
"temperatureUnit"
|
|
1017
1017
|
],
|
|
@@ -1027,7 +1027,7 @@
|
|
|
1027
1027
|
"status": "success",
|
|
1028
1028
|
"essential": {
|
|
1029
1029
|
"action": "Updated",
|
|
1030
|
-
"
|
|
1030
|
+
"spaceId": "space-demo",
|
|
1031
1031
|
"updatedFields": [
|
|
1032
1032
|
"temperatureUnit"
|
|
1033
1033
|
],
|
|
@@ -1038,7 +1038,7 @@
|
|
|
1038
1038
|
},
|
|
1039
1039
|
{
|
|
1040
1040
|
"name": "space-preference-empty-keys",
|
|
1041
|
-
"target": "/app/
|
|
1041
|
+
"target": "/app/space/preference/update",
|
|
1042
1042
|
"data": {
|
|
1043
1043
|
"updatedFields": [],
|
|
1044
1044
|
"preferences": {
|
|
@@ -1058,7 +1058,7 @@
|
|
|
1058
1058
|
},
|
|
1059
1059
|
{
|
|
1060
1060
|
"name": "space-preference-no-key-list",
|
|
1061
|
-
"target": "/app/
|
|
1061
|
+
"target": "/app/space/preference/update",
|
|
1062
1062
|
"data": {
|
|
1063
1063
|
"preferences": {
|
|
1064
1064
|
"temperatureUnit": "F",
|
|
@@ -1083,7 +1083,7 @@
|
|
|
1083
1083
|
},
|
|
1084
1084
|
{
|
|
1085
1085
|
"name": "space-preference-invalid-key-list",
|
|
1086
|
-
"target": "/app/
|
|
1086
|
+
"target": "/app/space/preference/update",
|
|
1087
1087
|
"data": {
|
|
1088
1088
|
"updatedFields": [
|
|
1089
1089
|
null
|
|
@@ -1114,10 +1114,10 @@
|
|
|
1114
1114
|
},
|
|
1115
1115
|
{
|
|
1116
1116
|
"name": "space-location-update",
|
|
1117
|
-
"target": "/app/
|
|
1117
|
+
"target": "/app/space/location/update",
|
|
1118
1118
|
"data": {
|
|
1119
1119
|
"action": "Updated",
|
|
1120
|
-
"
|
|
1120
|
+
"spaceId": "space-demo",
|
|
1121
1121
|
"locationId": "l:office",
|
|
1122
1122
|
"name": "Office",
|
|
1123
1123
|
"address": "Example address",
|
|
@@ -1135,7 +1135,7 @@
|
|
|
1135
1135
|
"status": "success",
|
|
1136
1136
|
"essential": {
|
|
1137
1137
|
"action": "Updated",
|
|
1138
|
-
"
|
|
1138
|
+
"spaceId": "space-demo",
|
|
1139
1139
|
"locationId": "l:office",
|
|
1140
1140
|
"name": "Office",
|
|
1141
1141
|
"address": "Example address",
|
|
@@ -1151,11 +1151,11 @@
|
|
|
1151
1151
|
},
|
|
1152
1152
|
{
|
|
1153
1153
|
"name": "space-list",
|
|
1154
|
-
"target": "/app/
|
|
1154
|
+
"target": "/app/space/list",
|
|
1155
1155
|
"data": {
|
|
1156
1156
|
"spaces": [
|
|
1157
1157
|
{
|
|
1158
|
-
"
|
|
1158
|
+
"spaceId": "space-demo",
|
|
1159
1159
|
"name": "Home",
|
|
1160
1160
|
"mode": "local",
|
|
1161
1161
|
"agentMode": "cloud",
|
|
@@ -1167,7 +1167,7 @@
|
|
|
1167
1167
|
"essential": {
|
|
1168
1168
|
"spaces": [
|
|
1169
1169
|
{
|
|
1170
|
-
"
|
|
1170
|
+
"spaceId": "space-demo",
|
|
1171
1171
|
"name": "Home",
|
|
1172
1172
|
"mode": "local",
|
|
1173
1173
|
"agentMode": "cloud",
|
|
@@ -1178,10 +1178,10 @@
|
|
|
1178
1178
|
},
|
|
1179
1179
|
{
|
|
1180
1180
|
"name": "space-current",
|
|
1181
|
-
"target": "/app/
|
|
1181
|
+
"target": "/app/space/detail/get",
|
|
1182
1182
|
"data": {
|
|
1183
1183
|
"space": {
|
|
1184
|
-
"
|
|
1184
|
+
"spaceId": "space-demo",
|
|
1185
1185
|
"name": "Home",
|
|
1186
1186
|
"mode": "local",
|
|
1187
1187
|
"agentMode": "cloud",
|
|
@@ -1189,7 +1189,7 @@
|
|
|
1189
1189
|
},
|
|
1190
1190
|
"locations": [
|
|
1191
1191
|
{
|
|
1192
|
-
"
|
|
1192
|
+
"spaceId": "space-demo",
|
|
1193
1193
|
"locationId": "l:office",
|
|
1194
1194
|
"name": "Office",
|
|
1195
1195
|
"address": "Example address",
|
|
@@ -1204,7 +1204,7 @@
|
|
|
1204
1204
|
"status": "success",
|
|
1205
1205
|
"essential": {
|
|
1206
1206
|
"space": {
|
|
1207
|
-
"
|
|
1207
|
+
"spaceId": "space-demo",
|
|
1208
1208
|
"name": "Home",
|
|
1209
1209
|
"mode": "local",
|
|
1210
1210
|
"agentMode": "cloud",
|
|
@@ -1212,7 +1212,7 @@
|
|
|
1212
1212
|
},
|
|
1213
1213
|
"locations": [
|
|
1214
1214
|
{
|
|
1215
|
-
"
|
|
1215
|
+
"spaceId": "space-demo",
|
|
1216
1216
|
"locationId": "l:office",
|
|
1217
1217
|
"name": "Office",
|
|
1218
1218
|
"address": "Example address",
|
|
@@ -1227,10 +1227,10 @@
|
|
|
1227
1227
|
},
|
|
1228
1228
|
{
|
|
1229
1229
|
"name": "space-invite-outcomes",
|
|
1230
|
-
"target": "/app/
|
|
1230
|
+
"target": "/app/space/member/invite",
|
|
1231
1231
|
"data": {
|
|
1232
1232
|
"action": "Invited",
|
|
1233
|
-
"
|
|
1233
|
+
"spaceId": "space-demo",
|
|
1234
1234
|
"requested": [
|
|
1235
1235
|
"new@example.com",
|
|
1236
1236
|
"pending@example.com",
|
|
@@ -1253,7 +1253,7 @@
|
|
|
1253
1253
|
"status": "success",
|
|
1254
1254
|
"essential": {
|
|
1255
1255
|
"action": "Invited",
|
|
1256
|
-
"
|
|
1256
|
+
"spaceId": "space-demo",
|
|
1257
1257
|
"requested": [
|
|
1258
1258
|
"new@example.com",
|
|
1259
1259
|
"pending@example.com",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[
|
|
2
2
|
{
|
|
3
|
-
"target": "/app/
|
|
3
|
+
"target": "/app/space/create",
|
|
4
4
|
"execution": "cloud",
|
|
5
5
|
"placement": null,
|
|
6
6
|
"hubReady": true,
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"entry": "cloud"
|
|
9
9
|
},
|
|
10
10
|
{
|
|
11
|
-
"target": "/app/
|
|
11
|
+
"target": "/app/space/create",
|
|
12
12
|
"execution": "cloud",
|
|
13
13
|
"placement": null,
|
|
14
14
|
"hubReady": true,
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"entry": "unavailable"
|
|
17
17
|
},
|
|
18
18
|
{
|
|
19
|
-
"target": "/app/
|
|
19
|
+
"target": "/app/space/create",
|
|
20
20
|
"execution": "cloud",
|
|
21
21
|
"placement": null,
|
|
22
22
|
"hubReady": false,
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"entry": "cloud"
|
|
25
25
|
},
|
|
26
26
|
{
|
|
27
|
-
"target": "/app/
|
|
27
|
+
"target": "/app/space/create",
|
|
28
28
|
"execution": "cloud",
|
|
29
29
|
"placement": null,
|
|
30
30
|
"hubReady": false,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"contractVersion": "1.
|
|
2
|
+
"contractVersion": "1.62.0",
|
|
3
3
|
"operations": {
|
|
4
4
|
"/app/agent/context/get": "spaceRead",
|
|
5
5
|
"/app/agent/credit/usage": "spaceRead",
|
|
@@ -223,25 +223,25 @@
|
|
|
223
223
|
"/app/room/reorder": "spaceWrite",
|
|
224
224
|
"/app/runtime/status/list": "spaceRead",
|
|
225
225
|
"/app/schedule/list": "spaceRead",
|
|
226
|
-
"/app/
|
|
227
|
-
"/app/
|
|
228
|
-
"/app/
|
|
229
|
-
"/app/
|
|
230
|
-
"/app/
|
|
231
|
-
"/app/
|
|
232
|
-
"/app/
|
|
233
|
-
"/app/
|
|
234
|
-
"/app/
|
|
235
|
-
"/app/
|
|
236
|
-
"/app/
|
|
237
|
-
"/app/
|
|
238
|
-
"/app/
|
|
239
|
-
"/app/
|
|
240
|
-
"/app/
|
|
241
|
-
"/app/
|
|
242
|
-
"/app/
|
|
243
|
-
"/app/
|
|
244
|
-
"/app/
|
|
226
|
+
"/app/space/context/get": "spaceRead",
|
|
227
|
+
"/app/space/create": "userWrite",
|
|
228
|
+
"/app/space/delete": "userWrite",
|
|
229
|
+
"/app/space/detail/get": "spaceRead",
|
|
230
|
+
"/app/space/invitation/accept": "userWrite",
|
|
231
|
+
"/app/space/invitation/list": "userRead",
|
|
232
|
+
"/app/space/invitation/reject": "userWrite",
|
|
233
|
+
"/app/space/leave": "userWrite",
|
|
234
|
+
"/app/space/list": "userRead",
|
|
235
|
+
"/app/space/location/create": "spaceManage",
|
|
236
|
+
"/app/space/location/delete": "spaceManage",
|
|
237
|
+
"/app/space/location/search": "userRead",
|
|
238
|
+
"/app/space/location/update": "spaceManage",
|
|
239
|
+
"/app/space/member/invite": "spaceManage",
|
|
240
|
+
"/app/space/member/list": "spaceManage",
|
|
241
|
+
"/app/space/member/remove": "spaceManage",
|
|
242
|
+
"/app/space/preference/get": "spaceRead",
|
|
243
|
+
"/app/space/preference/update": "userWrite",
|
|
244
|
+
"/app/space/rename": "spaceManage",
|
|
245
245
|
"/app/system/clients/get": "spaceRead",
|
|
246
246
|
"/app/system/feedback/submit": "userWrite",
|
|
247
247
|
"/app/system/hosts/get": "userRead",
|
package/manifest/routing.v1.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"manifest": "mhome.app-facade.routing.v1",
|
|
3
|
-
"contractVersion": "1.
|
|
3
|
+
"contractVersion": "1.62.0",
|
|
4
4
|
"targetPrefix": "/app/",
|
|
5
5
|
"default": {
|
|
6
6
|
"execution": "scopeMode"
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"placementJsonPointer": "/input/placement",
|
|
10
10
|
"rules": {
|
|
11
11
|
"cloudPrefixes": [
|
|
12
|
-
"/app/
|
|
12
|
+
"/app/space/",
|
|
13
13
|
"/app/inspire/",
|
|
14
14
|
"/app/user/",
|
|
15
15
|
"/app/card-skins/catalog/"
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
],
|
|
39
39
|
"scopeModeTargets": [
|
|
40
40
|
"/app/artifact/resolve",
|
|
41
|
-
"/app/
|
|
41
|
+
"/app/space/context/get",
|
|
42
42
|
"/app/artifact/put",
|
|
43
43
|
"/app/artifact/import",
|
|
44
44
|
"/app/artifact/delete",
|
package/manifest/targets.v1.json
CHANGED
package/package.json
CHANGED