@mhome/app-facade-protocol 1.133.0 → 1.134.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/contract/automation-presentation-v1.md +7 -4
- package/contract/automation-v1.md +7 -1
- package/manifest/app-facade.v1.json +1 -1
- package/manifest/authorization.v1.json +1 -1
- 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 +1 -1
- package/manifest/targets.v1.json +1 -1
- package/package.json +1 -1
- package/protocol.json +1 -1
- package/schema/automation-presentation.v1.schema.json +9 -0
|
@@ -24,10 +24,13 @@ hydrate source bodies or read the temporary/Group stores. This is not a promise
|
|
|
24
24
|
of a type-specific physical index. Billing display and lifecycle state retain
|
|
25
25
|
their existing authorities; enabled, runnable and running are independent.
|
|
26
26
|
|
|
27
|
-
List items, selected summaries and overview may include `
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
27
|
+
List items, selected summaries and overview may include `pendingOperation`
|
|
28
|
+
(`create`, `update` or `delete`). Omission means the definition is ready for
|
|
29
|
+
ordinary management. An incomplete creation can only be deleted; an incomplete
|
|
30
|
+
update can be saved again or deleted; an incomplete deletion can be continued
|
|
31
|
+
by deleting the same ID. All three states block new execution. The
|
|
32
|
+
`saveIncomplete` field remains available to older clients and is true when a
|
|
33
|
+
pending operation is present.
|
|
31
34
|
|
|
32
35
|
List Full timestamps are milliseconds. Essential renders explicit timestamp
|
|
33
36
|
fields in the Space's Home timezone. Widget values retain their existing Widget
|
|
@@ -32,9 +32,15 @@ is committed before the optional attempt to restore the enabled state. If that
|
|
|
32
32
|
attempt is rejected or unconfirmed, the Facade returns `partial` with the
|
|
33
33
|
Automation ID and `restoreIssue` (`failed` or `unconfirmed`). Rollback also
|
|
34
34
|
includes the snapshot ID. Its `enabled` field is omitted when the post-write
|
|
35
|
-
observation is unavailable.
|
|
35
|
+
observation is unavailable. A newer user stop or definition change supersedes a
|
|
36
|
+
pending restoration without changing the successful definition save. Read
|
|
37
|
+
current state before deciding whether to enable.
|
|
36
38
|
|
|
37
39
|
`/app/automation/delete` returns `success` when all targets complete and `partial`
|
|
38
40
|
when `deletedIds` and `failedIds` both contain IDs. A batch with no completed
|
|
39
41
|
targets returns `error` with its per-target details. These outcomes apply to direct
|
|
40
42
|
calls and prepared commits, in Full and Essential presentation.
|
|
43
|
+
|
|
44
|
+
A partially deleted definition remains available for deletion with the same ID.
|
|
45
|
+
Existing cleanup steps tolerate resources already removed by an earlier attempt.
|
|
46
|
+
An already absent and cleaned definition is a completed delete target.
|
package/manifest/routing.v1.json
CHANGED
package/manifest/targets.v1.json
CHANGED
package/package.json
CHANGED
package/protocol.json
CHANGED
|
@@ -98,6 +98,9 @@
|
|
|
98
98
|
"corrupted": {
|
|
99
99
|
"type": "boolean"
|
|
100
100
|
},
|
|
101
|
+
"pendingOperation": {
|
|
102
|
+
"enum": ["create", "update", "delete"]
|
|
103
|
+
},
|
|
101
104
|
"saveIncomplete": {
|
|
102
105
|
"type": "boolean"
|
|
103
106
|
},
|
|
@@ -180,6 +183,9 @@
|
|
|
180
183
|
"corrupted": {
|
|
181
184
|
"type": "boolean"
|
|
182
185
|
},
|
|
186
|
+
"pendingOperation": {
|
|
187
|
+
"enum": ["create", "update", "delete"]
|
|
188
|
+
},
|
|
183
189
|
"saveIncomplete": {
|
|
184
190
|
"type": "boolean"
|
|
185
191
|
},
|
|
@@ -271,6 +277,9 @@
|
|
|
271
277
|
"corrupted": {
|
|
272
278
|
"type": "boolean"
|
|
273
279
|
},
|
|
280
|
+
"pendingOperation": {
|
|
281
|
+
"enum": ["create", "update", "delete"]
|
|
282
|
+
},
|
|
274
283
|
"saveIncomplete": {
|
|
275
284
|
"type": "boolean"
|
|
276
285
|
},
|