@kumwe/studio-testkit 0.1.0-alpha.5 → 0.1.0-alpha.7

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.
Files changed (81) hide show
  1. package/README.md +28 -2
  2. package/corpus-manifest.json +760 -0
  3. package/dist/host-testbed.d.ts.map +1 -1
  4. package/dist/host-testbed.js +131 -0
  5. package/dist/host-testbed.js.map +1 -1
  6. package/dist/http-host-adapter.d.ts.map +1 -1
  7. package/dist/http-host-adapter.js +15 -0
  8. package/dist/http-host-adapter.js.map +1 -1
  9. package/fixtures/design-vocabulary.example.json +85 -0
  10. package/fixtures/field-adapter.example.json +27 -0
  11. package/fixtures/host-capabilities.example.json +9 -3
  12. package/fixtures/host-operations.example.json +270 -0
  13. package/fixtures/inspector.example.json +17 -0
  14. package/fixtures/media-upload-grant.example.json +14 -0
  15. package/fixtures/migration.example.json +22 -0
  16. package/fixtures/studio-config.example.json +1 -1
  17. package/invalid/blueprint.revoking-slot-marker.json +57 -0
  18. package/invalid/design-vocabulary.unknown-control-kind.json +38 -0
  19. package/invalid/inspector.empty-block-types.json +20 -0
  20. package/invalid/media-upload-grant.insecure-url.json +14 -0
  21. package/invalid/migration.empty-artifact-kinds.json +22 -0
  22. package/invalid/preview-message.activated-unknown-interaction.json +16 -0
  23. package/invalid/preview-message.viewport-role-and-size.json +16 -0
  24. package/package.json +6 -4
  25. package/vectors/canonical/array-order.json +13 -0
  26. package/vectors/canonical/control-characters.json +13 -0
  27. package/vectors/canonical/depth-exceeded.json +21 -0
  28. package/vectors/canonical/empty-containers.json +14 -0
  29. package/vectors/canonical/forbidden-member.json +14 -0
  30. package/vectors/canonical/member-order.json +16 -0
  31. package/vectors/canonical/negative-zero.json +13 -0
  32. package/vectors/canonical/nested-order.json +19 -0
  33. package/vectors/canonical/non-ascii.json +13 -0
  34. package/vectors/canonical/numbers.json +16 -0
  35. package/vectors/canonical/string-escapes.json +13 -0
  36. package/vectors/canonical/surrogate-pair.json +13 -0
  37. package/vectors/command/mode.blueprint.set-field-value.error.json +76 -0
  38. package/vectors/command/mode.blueprint.set-property.json +131 -0
  39. package/vectors/command/mode.content.insert-node.error.json +88 -0
  40. package/vectors/command/mode.hybrid.batch-atomic.error.json +158 -0
  41. package/vectors/command/mode.hybrid.insert-allowed.json +263 -0
  42. package/vectors/command/mode.hybrid.insert-designer-slot.error.json +145 -0
  43. package/vectors/command/mode.hybrid.insert-disallowed-type.error.json +145 -0
  44. package/vectors/command/mode.hybrid.insert-roots.error.json +143 -0
  45. package/vectors/command/mode.hybrid.remove-locked.error.json +130 -0
  46. package/vectors/command/mode.hybrid.reorder-with-locked.json +239 -0
  47. package/vectors/command/mode.hybrid.set-property.error.json +132 -0
  48. package/vectors/command/mode.hybrid.slot-marker-disallowed.error.json +125 -0
  49. package/vectors/command/mode.hybrid.slot-marker-insert.json +223 -0
  50. package/vectors/command/mode.hybrid.slot-marker-other-slot.error.json +125 -0
  51. package/vectors/command/mode.model.remove-node.error.json +75 -0
  52. package/vectors/command/mode.read-only.set-property.error.json +77 -0
  53. package/vectors/host/artifact.dependencies.result.json +35 -0
  54. package/vectors/host/artifact.load.stored.json +36 -0
  55. package/vectors/host/artifact.load.unknown.error.json +37 -0
  56. package/vectors/host/artifact.publish.accepted.json +37 -0
  57. package/vectors/host/artifact.publish.forbidden.error.json +37 -0
  58. package/vectors/host/artifact.publish.stale.error.json +38 -0
  59. package/vectors/host/artifact.save.accepted.json +38 -0
  60. package/vectors/host/artifact.save.forbidden.error.json +38 -0
  61. package/vectors/host/artifact.save.stale.error.json +39 -0
  62. package/vectors/host/artifact.unpublish.stale.error.json +38 -0
  63. package/vectors/host/envelope.malformed-context.error.json +36 -0
  64. package/vectors/host/envelope.protocol-version.error.json +36 -0
  65. package/vectors/host/envelope.stale-generation.error.json +36 -0
  66. package/vectors/host/localization.messages.unknown-locale.error.json +36 -0
  67. package/vectors/host/media.abort-upload.unknown.error.json +35 -0
  68. package/vectors/host/media.authorize-upload.granted.json +37 -0
  69. package/vectors/host/media.authorize-upload.path-filename.error.json +39 -0
  70. package/vectors/host/media.authorize-upload.too-large.error.json +38 -0
  71. package/vectors/host/media.complete-upload.unknown.error.json +36 -0
  72. package/vectors/host/media.get.unknown.json +34 -0
  73. package/vectors/host/media.import-external.private-host.error.json +36 -0
  74. package/vectors/host/media.list.cursor.error.json +36 -0
  75. package/vectors/host/media.list.limit.error.json +35 -0
  76. package/vectors/host/media.upload-status.unknown.error.json +35 -0
  77. package/vectors/host/permission.explain.withheld.json +34 -0
  78. package/vectors/host/permission.refresh.snapshot.json +31 -0
  79. package/vectors/host/recovery.load.absent.json +31 -0
  80. package/vectors/host/telemetry.emit.accepted.json +37 -0
  81. package/vectors/host/telemetry.emit.non-primitive.error.json +40 -0
@@ -0,0 +1,263 @@
1
+ {
2
+ "contractVersion": "0.1-draft",
3
+ "kind": "command-vector",
4
+ "id": "vector.command-vector.mode.hybrid.insert-allowed",
5
+ "description": "Hybrid composition inserts an allowed block type into a named slot of a structural region.",
6
+ "mode": "hybrid",
7
+ "initial": {
8
+ "contractVersion": "0.1-draft",
9
+ "dependencyLock": {
10
+ "blocks": [
11
+ {
12
+ "revision": "block-r1",
13
+ "type": "studio.vector/section",
14
+ "version": "1.0.0"
15
+ },
16
+ {
17
+ "revision": "block-r1",
18
+ "type": "studio.vector/card",
19
+ "version": "1.0.0"
20
+ }
21
+ ],
22
+ "theme": {
23
+ "id": "studio.vector/theme",
24
+ "revision": "theme-r1",
25
+ "version": "1.0.0"
26
+ }
27
+ },
28
+ "id": "vector.blueprint",
29
+ "kind": "blueprint",
30
+ "label": {
31
+ "defaultMessage": "Vector Blueprint",
32
+ "key": "studio.vector/blueprint"
33
+ },
34
+ "model": {
35
+ "id": "studio.vector/model",
36
+ "revision": "model-r1",
37
+ "version": "1.0.0"
38
+ },
39
+ "owner": {
40
+ "id": "studio.vector/suite",
41
+ "version": "0.1.0-alpha.0"
42
+ },
43
+ "revision": "blueprint-r1",
44
+ "roots": [
45
+ {
46
+ "authoring": {
47
+ "mode": "designer"
48
+ },
49
+ "bindings": {},
50
+ "id": "shell",
51
+ "properties": {},
52
+ "slots": {
53
+ "main": [
54
+ {
55
+ "authoring": {
56
+ "allowedBlocks": ["studio.vector/card"],
57
+ "mode": "structural"
58
+ },
59
+ "bindings": {},
60
+ "id": "region",
61
+ "properties": {},
62
+ "slots": {
63
+ "items": [
64
+ {
65
+ "authoring": {
66
+ "mode": "content"
67
+ },
68
+ "bindings": {},
69
+ "id": "card-1",
70
+ "properties": {
71
+ "title": "First"
72
+ },
73
+ "slots": {},
74
+ "type": "studio.vector/card",
75
+ "version": "1.0.0"
76
+ },
77
+ {
78
+ "authoring": {
79
+ "mode": "locked"
80
+ },
81
+ "bindings": {},
82
+ "id": "seal",
83
+ "properties": {},
84
+ "slots": {},
85
+ "type": "studio.vector/card",
86
+ "version": "1.0.0"
87
+ }
88
+ ]
89
+ },
90
+ "type": "studio.vector/section",
91
+ "version": "1.0.0"
92
+ }
93
+ ],
94
+ "side": [
95
+ {
96
+ "authoring": {
97
+ "mode": "designer"
98
+ },
99
+ "bindings": {},
100
+ "id": "fixed",
101
+ "properties": {},
102
+ "slots": {},
103
+ "type": "studio.vector/section",
104
+ "version": "1.0.0"
105
+ }
106
+ ]
107
+ },
108
+ "type": "studio.vector/section",
109
+ "version": "1.0.0"
110
+ }
111
+ ],
112
+ "status": "draft",
113
+ "version": "1.0.0"
114
+ },
115
+ "command": {
116
+ "artifactId": "vector.blueprint",
117
+ "baseStateVersion": 0,
118
+ "contractVersion": "0.1-draft",
119
+ "id": "vector.command.mode.hybrid.insert-allowed",
120
+ "kind": "command",
121
+ "payload": {
122
+ "destination": {
123
+ "parentNodeId": "region",
124
+ "position": 1,
125
+ "slot": "items"
126
+ },
127
+ "node": {
128
+ "authoring": {
129
+ "mode": "content"
130
+ },
131
+ "bindings": {},
132
+ "id": "card-2",
133
+ "properties": {},
134
+ "slots": {},
135
+ "type": "studio.vector/card",
136
+ "version": "1.0.0"
137
+ }
138
+ },
139
+ "sessionGeneration": "session-r1",
140
+ "type": "studio.command/insert-node"
141
+ },
142
+ "expect": {
143
+ "document": {
144
+ "contractVersion": "0.1-draft",
145
+ "dependencyLock": {
146
+ "blocks": [
147
+ {
148
+ "revision": "block-r1",
149
+ "type": "studio.vector/section",
150
+ "version": "1.0.0"
151
+ },
152
+ {
153
+ "revision": "block-r1",
154
+ "type": "studio.vector/card",
155
+ "version": "1.0.0"
156
+ }
157
+ ],
158
+ "theme": {
159
+ "id": "studio.vector/theme",
160
+ "revision": "theme-r1",
161
+ "version": "1.0.0"
162
+ }
163
+ },
164
+ "id": "vector.blueprint",
165
+ "kind": "blueprint",
166
+ "label": {
167
+ "defaultMessage": "Vector Blueprint",
168
+ "key": "studio.vector/blueprint"
169
+ },
170
+ "model": {
171
+ "id": "studio.vector/model",
172
+ "revision": "model-r1",
173
+ "version": "1.0.0"
174
+ },
175
+ "owner": {
176
+ "id": "studio.vector/suite",
177
+ "version": "0.1.0-alpha.0"
178
+ },
179
+ "revision": "blueprint-r1",
180
+ "roots": [
181
+ {
182
+ "authoring": {
183
+ "mode": "designer"
184
+ },
185
+ "bindings": {},
186
+ "id": "shell",
187
+ "properties": {},
188
+ "slots": {
189
+ "main": [
190
+ {
191
+ "authoring": {
192
+ "allowedBlocks": ["studio.vector/card"],
193
+ "mode": "structural"
194
+ },
195
+ "bindings": {},
196
+ "id": "region",
197
+ "properties": {},
198
+ "slots": {
199
+ "items": [
200
+ {
201
+ "authoring": {
202
+ "mode": "content"
203
+ },
204
+ "bindings": {},
205
+ "id": "card-1",
206
+ "properties": {
207
+ "title": "First"
208
+ },
209
+ "slots": {},
210
+ "type": "studio.vector/card",
211
+ "version": "1.0.0"
212
+ },
213
+ {
214
+ "authoring": {
215
+ "mode": "content"
216
+ },
217
+ "bindings": {},
218
+ "id": "card-2",
219
+ "properties": {},
220
+ "slots": {},
221
+ "type": "studio.vector/card",
222
+ "version": "1.0.0"
223
+ },
224
+ {
225
+ "authoring": {
226
+ "mode": "locked"
227
+ },
228
+ "bindings": {},
229
+ "id": "seal",
230
+ "properties": {},
231
+ "slots": {},
232
+ "type": "studio.vector/card",
233
+ "version": "1.0.0"
234
+ }
235
+ ]
236
+ },
237
+ "type": "studio.vector/section",
238
+ "version": "1.0.0"
239
+ }
240
+ ],
241
+ "side": [
242
+ {
243
+ "authoring": {
244
+ "mode": "designer"
245
+ },
246
+ "bindings": {},
247
+ "id": "fixed",
248
+ "properties": {},
249
+ "slots": {},
250
+ "type": "studio.vector/section",
251
+ "version": "1.0.0"
252
+ }
253
+ ]
254
+ },
255
+ "type": "studio.vector/section",
256
+ "version": "1.0.0"
257
+ }
258
+ ],
259
+ "status": "draft",
260
+ "version": "1.0.0"
261
+ }
262
+ }
263
+ }
@@ -0,0 +1,145 @@
1
+ {
2
+ "contractVersion": "0.1-draft",
3
+ "kind": "command-vector",
4
+ "id": "vector.command-vector.mode.hybrid.insert-designer-slot",
5
+ "description": "Hybrid composition is bounded to structural regions; a designer node's slot is out of bounds.",
6
+ "mode": "hybrid",
7
+ "initial": {
8
+ "contractVersion": "0.1-draft",
9
+ "dependencyLock": {
10
+ "blocks": [
11
+ {
12
+ "revision": "block-r1",
13
+ "type": "studio.vector/section",
14
+ "version": "1.0.0"
15
+ },
16
+ {
17
+ "revision": "block-r1",
18
+ "type": "studio.vector/card",
19
+ "version": "1.0.0"
20
+ }
21
+ ],
22
+ "theme": {
23
+ "id": "studio.vector/theme",
24
+ "revision": "theme-r1",
25
+ "version": "1.0.0"
26
+ }
27
+ },
28
+ "id": "vector.blueprint",
29
+ "kind": "blueprint",
30
+ "label": {
31
+ "defaultMessage": "Vector Blueprint",
32
+ "key": "studio.vector/blueprint"
33
+ },
34
+ "model": {
35
+ "id": "studio.vector/model",
36
+ "revision": "model-r1",
37
+ "version": "1.0.0"
38
+ },
39
+ "owner": {
40
+ "id": "studio.vector/suite",
41
+ "version": "0.1.0-alpha.0"
42
+ },
43
+ "revision": "blueprint-r1",
44
+ "roots": [
45
+ {
46
+ "authoring": {
47
+ "mode": "designer"
48
+ },
49
+ "bindings": {},
50
+ "id": "shell",
51
+ "properties": {},
52
+ "slots": {
53
+ "main": [
54
+ {
55
+ "authoring": {
56
+ "allowedBlocks": ["studio.vector/card"],
57
+ "mode": "structural"
58
+ },
59
+ "bindings": {},
60
+ "id": "region",
61
+ "properties": {},
62
+ "slots": {
63
+ "items": [
64
+ {
65
+ "authoring": {
66
+ "mode": "content"
67
+ },
68
+ "bindings": {},
69
+ "id": "card-1",
70
+ "properties": {
71
+ "title": "First"
72
+ },
73
+ "slots": {},
74
+ "type": "studio.vector/card",
75
+ "version": "1.0.0"
76
+ },
77
+ {
78
+ "authoring": {
79
+ "mode": "locked"
80
+ },
81
+ "bindings": {},
82
+ "id": "seal",
83
+ "properties": {},
84
+ "slots": {},
85
+ "type": "studio.vector/card",
86
+ "version": "1.0.0"
87
+ }
88
+ ]
89
+ },
90
+ "type": "studio.vector/section",
91
+ "version": "1.0.0"
92
+ }
93
+ ],
94
+ "side": [
95
+ {
96
+ "authoring": {
97
+ "mode": "designer"
98
+ },
99
+ "bindings": {},
100
+ "id": "fixed",
101
+ "properties": {},
102
+ "slots": {},
103
+ "type": "studio.vector/section",
104
+ "version": "1.0.0"
105
+ }
106
+ ]
107
+ },
108
+ "type": "studio.vector/section",
109
+ "version": "1.0.0"
110
+ }
111
+ ],
112
+ "status": "draft",
113
+ "version": "1.0.0"
114
+ },
115
+ "command": {
116
+ "artifactId": "vector.blueprint",
117
+ "baseStateVersion": 0,
118
+ "contractVersion": "0.1-draft",
119
+ "id": "vector.command.mode.hybrid.insert-designer-slot",
120
+ "kind": "command",
121
+ "payload": {
122
+ "destination": {
123
+ "parentNodeId": "shell",
124
+ "position": 0,
125
+ "slot": "side"
126
+ },
127
+ "node": {
128
+ "authoring": {
129
+ "mode": "content"
130
+ },
131
+ "bindings": {},
132
+ "id": "card-2",
133
+ "properties": {},
134
+ "slots": {},
135
+ "type": "studio.vector/card",
136
+ "version": "1.0.0"
137
+ }
138
+ },
139
+ "sessionGeneration": "session-r1",
140
+ "type": "studio.command/insert-node"
141
+ },
142
+ "expect": {
143
+ "errorCode": "mode-forbidden"
144
+ }
145
+ }
@@ -0,0 +1,145 @@
1
+ {
2
+ "contractVersion": "0.1-draft",
3
+ "kind": "command-vector",
4
+ "id": "vector.command-vector.mode.hybrid.insert-disallowed-type",
5
+ "description": "A structural region's allowed-blocks list bounds hybrid insertion; other block types are refused.",
6
+ "mode": "hybrid",
7
+ "initial": {
8
+ "contractVersion": "0.1-draft",
9
+ "dependencyLock": {
10
+ "blocks": [
11
+ {
12
+ "revision": "block-r1",
13
+ "type": "studio.vector/section",
14
+ "version": "1.0.0"
15
+ },
16
+ {
17
+ "revision": "block-r1",
18
+ "type": "studio.vector/card",
19
+ "version": "1.0.0"
20
+ }
21
+ ],
22
+ "theme": {
23
+ "id": "studio.vector/theme",
24
+ "revision": "theme-r1",
25
+ "version": "1.0.0"
26
+ }
27
+ },
28
+ "id": "vector.blueprint",
29
+ "kind": "blueprint",
30
+ "label": {
31
+ "defaultMessage": "Vector Blueprint",
32
+ "key": "studio.vector/blueprint"
33
+ },
34
+ "model": {
35
+ "id": "studio.vector/model",
36
+ "revision": "model-r1",
37
+ "version": "1.0.0"
38
+ },
39
+ "owner": {
40
+ "id": "studio.vector/suite",
41
+ "version": "0.1.0-alpha.0"
42
+ },
43
+ "revision": "blueprint-r1",
44
+ "roots": [
45
+ {
46
+ "authoring": {
47
+ "mode": "designer"
48
+ },
49
+ "bindings": {},
50
+ "id": "shell",
51
+ "properties": {},
52
+ "slots": {
53
+ "main": [
54
+ {
55
+ "authoring": {
56
+ "allowedBlocks": ["studio.vector/card"],
57
+ "mode": "structural"
58
+ },
59
+ "bindings": {},
60
+ "id": "region",
61
+ "properties": {},
62
+ "slots": {
63
+ "items": [
64
+ {
65
+ "authoring": {
66
+ "mode": "content"
67
+ },
68
+ "bindings": {},
69
+ "id": "card-1",
70
+ "properties": {
71
+ "title": "First"
72
+ },
73
+ "slots": {},
74
+ "type": "studio.vector/card",
75
+ "version": "1.0.0"
76
+ },
77
+ {
78
+ "authoring": {
79
+ "mode": "locked"
80
+ },
81
+ "bindings": {},
82
+ "id": "seal",
83
+ "properties": {},
84
+ "slots": {},
85
+ "type": "studio.vector/card",
86
+ "version": "1.0.0"
87
+ }
88
+ ]
89
+ },
90
+ "type": "studio.vector/section",
91
+ "version": "1.0.0"
92
+ }
93
+ ],
94
+ "side": [
95
+ {
96
+ "authoring": {
97
+ "mode": "designer"
98
+ },
99
+ "bindings": {},
100
+ "id": "fixed",
101
+ "properties": {},
102
+ "slots": {},
103
+ "type": "studio.vector/section",
104
+ "version": "1.0.0"
105
+ }
106
+ ]
107
+ },
108
+ "type": "studio.vector/section",
109
+ "version": "1.0.0"
110
+ }
111
+ ],
112
+ "status": "draft",
113
+ "version": "1.0.0"
114
+ },
115
+ "command": {
116
+ "artifactId": "vector.blueprint",
117
+ "baseStateVersion": 0,
118
+ "contractVersion": "0.1-draft",
119
+ "id": "vector.command.mode.hybrid.insert-disallowed-type",
120
+ "kind": "command",
121
+ "payload": {
122
+ "destination": {
123
+ "parentNodeId": "region",
124
+ "position": 0,
125
+ "slot": "items"
126
+ },
127
+ "node": {
128
+ "authoring": {
129
+ "mode": "designer"
130
+ },
131
+ "bindings": {},
132
+ "id": "intruder",
133
+ "properties": {},
134
+ "slots": {},
135
+ "type": "studio.vector/section",
136
+ "version": "1.0.0"
137
+ }
138
+ },
139
+ "sessionGeneration": "session-r1",
140
+ "type": "studio.command/insert-node"
141
+ },
142
+ "expect": {
143
+ "errorCode": "mode-forbidden"
144
+ }
145
+ }
@@ -0,0 +1,143 @@
1
+ {
2
+ "contractVersion": "0.1-draft",
3
+ "kind": "command-vector",
4
+ "id": "vector.command-vector.mode.hybrid.insert-roots",
5
+ "description": "The document roots are out of bounds for hybrid composition.",
6
+ "mode": "hybrid",
7
+ "initial": {
8
+ "contractVersion": "0.1-draft",
9
+ "dependencyLock": {
10
+ "blocks": [
11
+ {
12
+ "revision": "block-r1",
13
+ "type": "studio.vector/section",
14
+ "version": "1.0.0"
15
+ },
16
+ {
17
+ "revision": "block-r1",
18
+ "type": "studio.vector/card",
19
+ "version": "1.0.0"
20
+ }
21
+ ],
22
+ "theme": {
23
+ "id": "studio.vector/theme",
24
+ "revision": "theme-r1",
25
+ "version": "1.0.0"
26
+ }
27
+ },
28
+ "id": "vector.blueprint",
29
+ "kind": "blueprint",
30
+ "label": {
31
+ "defaultMessage": "Vector Blueprint",
32
+ "key": "studio.vector/blueprint"
33
+ },
34
+ "model": {
35
+ "id": "studio.vector/model",
36
+ "revision": "model-r1",
37
+ "version": "1.0.0"
38
+ },
39
+ "owner": {
40
+ "id": "studio.vector/suite",
41
+ "version": "0.1.0-alpha.0"
42
+ },
43
+ "revision": "blueprint-r1",
44
+ "roots": [
45
+ {
46
+ "authoring": {
47
+ "mode": "designer"
48
+ },
49
+ "bindings": {},
50
+ "id": "shell",
51
+ "properties": {},
52
+ "slots": {
53
+ "main": [
54
+ {
55
+ "authoring": {
56
+ "allowedBlocks": ["studio.vector/card"],
57
+ "mode": "structural"
58
+ },
59
+ "bindings": {},
60
+ "id": "region",
61
+ "properties": {},
62
+ "slots": {
63
+ "items": [
64
+ {
65
+ "authoring": {
66
+ "mode": "content"
67
+ },
68
+ "bindings": {},
69
+ "id": "card-1",
70
+ "properties": {
71
+ "title": "First"
72
+ },
73
+ "slots": {},
74
+ "type": "studio.vector/card",
75
+ "version": "1.0.0"
76
+ },
77
+ {
78
+ "authoring": {
79
+ "mode": "locked"
80
+ },
81
+ "bindings": {},
82
+ "id": "seal",
83
+ "properties": {},
84
+ "slots": {},
85
+ "type": "studio.vector/card",
86
+ "version": "1.0.0"
87
+ }
88
+ ]
89
+ },
90
+ "type": "studio.vector/section",
91
+ "version": "1.0.0"
92
+ }
93
+ ],
94
+ "side": [
95
+ {
96
+ "authoring": {
97
+ "mode": "designer"
98
+ },
99
+ "bindings": {},
100
+ "id": "fixed",
101
+ "properties": {},
102
+ "slots": {},
103
+ "type": "studio.vector/section",
104
+ "version": "1.0.0"
105
+ }
106
+ ]
107
+ },
108
+ "type": "studio.vector/section",
109
+ "version": "1.0.0"
110
+ }
111
+ ],
112
+ "status": "draft",
113
+ "version": "1.0.0"
114
+ },
115
+ "command": {
116
+ "artifactId": "vector.blueprint",
117
+ "baseStateVersion": 0,
118
+ "contractVersion": "0.1-draft",
119
+ "id": "vector.command.mode.hybrid.insert-roots",
120
+ "kind": "command",
121
+ "payload": {
122
+ "destination": {
123
+ "position": 1
124
+ },
125
+ "node": {
126
+ "authoring": {
127
+ "mode": "content"
128
+ },
129
+ "bindings": {},
130
+ "id": "card-2",
131
+ "properties": {},
132
+ "slots": {},
133
+ "type": "studio.vector/card",
134
+ "version": "1.0.0"
135
+ }
136
+ },
137
+ "sessionGeneration": "session-r1",
138
+ "type": "studio.command/insert-node"
139
+ },
140
+ "expect": {
141
+ "errorCode": "mode-forbidden"
142
+ }
143
+ }