@mhome/app-facade-protocol 1.22.0 → 1.25.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/manifest/app-facade.v1.json +6 -11
- package/manifest/hub-targets.v1.json +1 -1
- package/manifest/routing.v1.json +6 -11
- package/manifest/targets.v1.json +1 -1
- package/package.json +1 -1
- package/protocol.json +1 -1
- package/schema/person.v1.schema.json +52 -149
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"manifest": "mhome.app-facade.v1",
|
|
3
|
-
"contractVersion": "1.
|
|
3
|
+
"contractVersion": "1.25.1",
|
|
4
4
|
"callSchema": "schema/facade-call.v1.schema.json",
|
|
5
5
|
"routing": "manifest/routing.v1.json",
|
|
6
6
|
"routingSchema": "schema/routing.v1.schema.json",
|
|
@@ -101,20 +101,15 @@
|
|
|
101
101
|
"/app/person/backup/import/start",
|
|
102
102
|
"/app/person/backup/import/write",
|
|
103
103
|
"/app/person/backup/read",
|
|
104
|
-
"/app/person/
|
|
105
|
-
"/app/person/clusters/
|
|
104
|
+
"/app/person/backup/close",
|
|
105
|
+
"/app/person/clusters/name",
|
|
106
|
+
"/app/person/clusters/delete",
|
|
106
107
|
"/app/person/clusters/list",
|
|
107
|
-
"/app/person/clusters/merge",
|
|
108
|
-
"/app/person/clusters/split",
|
|
109
|
-
"/app/person/create",
|
|
110
|
-
"/app/person/delete",
|
|
111
108
|
"/app/person/get",
|
|
112
109
|
"/app/person/list",
|
|
113
110
|
"/app/person/reset",
|
|
114
|
-
"/app/person/
|
|
115
|
-
"/app/person/
|
|
116
|
-
"/app/person/status",
|
|
117
|
-
"/app/person/update"
|
|
111
|
+
"/app/person/clusters/image",
|
|
112
|
+
"/app/person/status"
|
|
118
113
|
],
|
|
119
114
|
"managementPermission": "spaceMember",
|
|
120
115
|
"owner": "scopeHub",
|
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.25.1",
|
|
4
4
|
"targetPrefix": "/app/",
|
|
5
5
|
"default": {
|
|
6
6
|
"execution": "scopeMode",
|
|
@@ -58,22 +58,17 @@
|
|
|
58
58
|
"/app/person/status",
|
|
59
59
|
"/app/person/list",
|
|
60
60
|
"/app/person/get",
|
|
61
|
-
"/app/person/create",
|
|
62
|
-
"/app/person/update",
|
|
63
|
-
"/app/person/delete",
|
|
64
61
|
"/app/person/reset",
|
|
65
62
|
"/app/person/clusters/list",
|
|
66
|
-
"/app/person/clusters/
|
|
67
|
-
"/app/person/clusters/assign",
|
|
68
|
-
"/app/person/clusters/merge",
|
|
69
|
-
"/app/person/clusters/split",
|
|
70
|
-
"/app/person/samples/review",
|
|
71
|
-
"/app/person/samples/image",
|
|
63
|
+
"/app/person/clusters/image",
|
|
72
64
|
"/app/person/backup/export",
|
|
73
65
|
"/app/person/backup/read",
|
|
66
|
+
"/app/person/backup/close",
|
|
74
67
|
"/app/person/backup/import/start",
|
|
75
68
|
"/app/person/backup/import/write",
|
|
76
|
-
"/app/person/backup/import/commit"
|
|
69
|
+
"/app/person/backup/import/commit",
|
|
70
|
+
"/app/person/clusters/name",
|
|
71
|
+
"/app/person/clusters/delete"
|
|
77
72
|
]
|
|
78
73
|
}
|
|
79
74
|
}
|
package/manifest/targets.v1.json
CHANGED
package/package.json
CHANGED
package/protocol.json
CHANGED
|
@@ -30,81 +30,7 @@
|
|
|
30
30
|
"id"
|
|
31
31
|
]
|
|
32
32
|
},
|
|
33
|
-
"PersonCreate": {
|
|
34
|
-
"type": "object",
|
|
35
|
-
"additionalProperties": false,
|
|
36
|
-
"properties": {
|
|
37
|
-
"name": {
|
|
38
|
-
"type": "string"
|
|
39
|
-
},
|
|
40
|
-
"tags": {
|
|
41
|
-
"type": "array",
|
|
42
|
-
"items": {
|
|
43
|
-
"type": "string"
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
"notes": {
|
|
47
|
-
"type": "string"
|
|
48
|
-
},
|
|
49
|
-
"idempotencyKey": {
|
|
50
|
-
"type": "string"
|
|
51
|
-
}
|
|
52
|
-
},
|
|
53
|
-
"required": [
|
|
54
|
-
"name",
|
|
55
|
-
"idempotencyKey"
|
|
56
|
-
]
|
|
57
|
-
},
|
|
58
|
-
"PersonUpdate": {
|
|
59
|
-
"type": "object",
|
|
60
|
-
"additionalProperties": false,
|
|
61
|
-
"properties": {
|
|
62
|
-
"id": {
|
|
63
|
-
"type": "string"
|
|
64
|
-
},
|
|
65
|
-
"expectedRevision": {
|
|
66
|
-
"type": "string",
|
|
67
|
-
"pattern": "^[0-9]+$"
|
|
68
|
-
},
|
|
69
|
-
"name": {
|
|
70
|
-
"type": "string"
|
|
71
|
-
},
|
|
72
|
-
"tags": {
|
|
73
|
-
"type": "array",
|
|
74
|
-
"items": {
|
|
75
|
-
"type": "string"
|
|
76
|
-
}
|
|
77
|
-
},
|
|
78
|
-
"notes": {
|
|
79
|
-
"type": "string"
|
|
80
|
-
}
|
|
81
|
-
},
|
|
82
|
-
"required": [
|
|
83
|
-
"id",
|
|
84
|
-
"expectedRevision",
|
|
85
|
-
"name",
|
|
86
|
-
"tags",
|
|
87
|
-
"notes"
|
|
88
|
-
]
|
|
89
|
-
},
|
|
90
33
|
"RevisionInput": {
|
|
91
|
-
"type": "object",
|
|
92
|
-
"additionalProperties": false,
|
|
93
|
-
"properties": {
|
|
94
|
-
"id": {
|
|
95
|
-
"type": "string"
|
|
96
|
-
},
|
|
97
|
-
"expectedRevision": {
|
|
98
|
-
"type": "string",
|
|
99
|
-
"pattern": "^[0-9]+$"
|
|
100
|
-
}
|
|
101
|
-
},
|
|
102
|
-
"required": [
|
|
103
|
-
"id",
|
|
104
|
-
"expectedRevision"
|
|
105
|
-
]
|
|
106
|
-
},
|
|
107
|
-
"ClusterAssign": {
|
|
108
34
|
"type": "object",
|
|
109
35
|
"additionalProperties": false,
|
|
110
36
|
"properties": {
|
|
@@ -115,87 +41,15 @@
|
|
|
115
41
|
"type": "string",
|
|
116
42
|
"pattern": "^[0-9]+$"
|
|
117
43
|
},
|
|
118
|
-
"
|
|
119
|
-
"type": [
|
|
120
|
-
"string",
|
|
121
|
-
"null"
|
|
122
|
-
]
|
|
123
|
-
}
|
|
124
|
-
},
|
|
125
|
-
"required": [
|
|
126
|
-
"id",
|
|
127
|
-
"expectedRevision"
|
|
128
|
-
]
|
|
129
|
-
},
|
|
130
|
-
"ClusterMerge": {
|
|
131
|
-
"type": "object",
|
|
132
|
-
"additionalProperties": false,
|
|
133
|
-
"properties": {
|
|
134
|
-
"sourceId": {
|
|
135
|
-
"type": "string"
|
|
136
|
-
},
|
|
137
|
-
"sourceRevision": {
|
|
138
|
-
"type": "string",
|
|
139
|
-
"pattern": "^[0-9]+$"
|
|
140
|
-
},
|
|
141
|
-
"targetId": {
|
|
142
|
-
"type": "string"
|
|
143
|
-
},
|
|
144
|
-
"targetRevision": {
|
|
145
|
-
"type": "string",
|
|
146
|
-
"pattern": "^[0-9]+$"
|
|
147
|
-
}
|
|
148
|
-
},
|
|
149
|
-
"required": [
|
|
150
|
-
"sourceId",
|
|
151
|
-
"sourceRevision",
|
|
152
|
-
"targetId",
|
|
153
|
-
"targetRevision"
|
|
154
|
-
]
|
|
155
|
-
},
|
|
156
|
-
"ClusterSplit": {
|
|
157
|
-
"type": "object",
|
|
158
|
-
"additionalProperties": false,
|
|
159
|
-
"properties": {
|
|
160
|
-
"id": {
|
|
161
|
-
"type": "string"
|
|
162
|
-
},
|
|
163
|
-
"expectedRevision": {
|
|
44
|
+
"expectedEpoch": {
|
|
164
45
|
"type": "string",
|
|
165
|
-
"
|
|
166
|
-
},
|
|
167
|
-
"sampleIds": {
|
|
168
|
-
"type": "array",
|
|
169
|
-
"items": {
|
|
170
|
-
"type": "string"
|
|
171
|
-
}
|
|
46
|
+
"minLength": 1
|
|
172
47
|
}
|
|
173
48
|
},
|
|
174
49
|
"required": [
|
|
175
50
|
"id",
|
|
176
51
|
"expectedRevision",
|
|
177
|
-
"
|
|
178
|
-
]
|
|
179
|
-
},
|
|
180
|
-
"SampleReview": {
|
|
181
|
-
"type": "object",
|
|
182
|
-
"additionalProperties": false,
|
|
183
|
-
"properties": {
|
|
184
|
-
"id": {
|
|
185
|
-
"type": "string"
|
|
186
|
-
},
|
|
187
|
-
"clusterRevision": {
|
|
188
|
-
"type": "string",
|
|
189
|
-
"pattern": "^[0-9]+$"
|
|
190
|
-
},
|
|
191
|
-
"accept": {
|
|
192
|
-
"type": "boolean"
|
|
193
|
-
}
|
|
194
|
-
},
|
|
195
|
-
"required": [
|
|
196
|
-
"id",
|
|
197
|
-
"clusterRevision",
|
|
198
|
-
"accept"
|
|
52
|
+
"expectedEpoch"
|
|
199
53
|
]
|
|
200
54
|
},
|
|
201
55
|
"ResetInput": {
|
|
@@ -292,6 +146,55 @@
|
|
|
292
146
|
"password",
|
|
293
147
|
"expectedEpoch"
|
|
294
148
|
]
|
|
149
|
+
},
|
|
150
|
+
"ClusterName": {
|
|
151
|
+
"type": "object",
|
|
152
|
+
"additionalProperties": false,
|
|
153
|
+
"properties": {
|
|
154
|
+
"id": {
|
|
155
|
+
"type": "string"
|
|
156
|
+
},
|
|
157
|
+
"expectedRevision": {
|
|
158
|
+
"type": "string",
|
|
159
|
+
"pattern": "^[0-9]+$"
|
|
160
|
+
},
|
|
161
|
+
"expectedEpoch": {
|
|
162
|
+
"type": "string",
|
|
163
|
+
"minLength": 1
|
|
164
|
+
},
|
|
165
|
+
"name": {
|
|
166
|
+
"type": "string",
|
|
167
|
+
"minLength": 1,
|
|
168
|
+
"maxLength": 80
|
|
169
|
+
},
|
|
170
|
+
"representativeSampleId": {
|
|
171
|
+
"type": "string",
|
|
172
|
+
"minLength": 1
|
|
173
|
+
}
|
|
174
|
+
},
|
|
175
|
+
"required": [
|
|
176
|
+
"id",
|
|
177
|
+
"expectedRevision",
|
|
178
|
+
"expectedEpoch",
|
|
179
|
+
"name",
|
|
180
|
+
"representativeSampleId"
|
|
181
|
+
]
|
|
182
|
+
},
|
|
183
|
+
"ImageInput": {
|
|
184
|
+
"type": "object",
|
|
185
|
+
"additionalProperties": false,
|
|
186
|
+
"properties": {
|
|
187
|
+
"id": {
|
|
188
|
+
"type": "string"
|
|
189
|
+
},
|
|
190
|
+
"representativeSampleId": {
|
|
191
|
+
"type": "string"
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
"required": [
|
|
195
|
+
"id",
|
|
196
|
+
"representativeSampleId"
|
|
197
|
+
]
|
|
295
198
|
}
|
|
296
199
|
}
|
|
297
200
|
}
|