@kumwe/studio-testkit 0.1.0-alpha.2

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 (101) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +39 -0
  3. package/conformance/rich-text/blocks.structural.json +57 -0
  4. package/conformance/rich-text/document.multi-block.json +74 -0
  5. package/conformance/rich-text/embed.hard-break.json +24 -0
  6. package/conformance/rich-text/marks.nested.json +29 -0
  7. package/conformance/rich-text/offsets.astral.json +24 -0
  8. package/conformance/rich-text/paragraph.plain.json +20 -0
  9. package/conformance/rich-text/spans.adjacent.json +27 -0
  10. package/dist/host-testbed.d.ts +40 -0
  11. package/dist/host-testbed.d.ts.map +1 -0
  12. package/dist/host-testbed.js +390 -0
  13. package/dist/host-testbed.js.map +1 -0
  14. package/dist/index.d.ts +29 -0
  15. package/dist/index.d.ts.map +1 -0
  16. package/dist/index.js +139 -0
  17. package/dist/index.js.map +1 -0
  18. package/fixtures/block.grid.example.json +76 -0
  19. package/fixtures/block.price.example.json +69 -0
  20. package/fixtures/blueprint.product.example.json +92 -0
  21. package/fixtures/command.move-node.example.json +18 -0
  22. package/fixtures/content-model.product.example.json +141 -0
  23. package/fixtures/entry.product.example.json +55 -0
  24. package/fixtures/host-capabilities.example.json +36 -0
  25. package/fixtures/host-error.conflict.example.json +23 -0
  26. package/fixtures/media-asset.example.json +29 -0
  27. package/fixtures/media-asset.processing.example.json +15 -0
  28. package/fixtures/media-reference.example.json +26 -0
  29. package/fixtures/media-upload-session.transferring.example.json +22 -0
  30. package/fixtures/pattern.example.json +49 -0
  31. package/fixtures/plugin.example.json +49 -0
  32. package/fixtures/preview.render.example.json +14 -0
  33. package/fixtures/provenance.example.json +38 -0
  34. package/fixtures/rich-text.example.json +48 -0
  35. package/fixtures/studio-config.example.json +139 -0
  36. package/fixtures/theme.example.json +123 -0
  37. package/fixtures/unresolved-contribution.example.json +23 -0
  38. package/invalid/blueprint.control-character-member.json +59 -0
  39. package/invalid/blueprint.forbidden-property-member.json +61 -0
  40. package/invalid/blueprint.invalid-node-id.json +57 -0
  41. package/invalid/blueprint.invalid-slot-name.json +59 -0
  42. package/invalid/blueprint.published-empty-roots.json +45 -0
  43. package/invalid/blueprint.unknown-member.json +58 -0
  44. package/invalid/command-vector.unknown-error-code.json +103 -0
  45. package/invalid/command.empty-batch.json +17 -0
  46. package/invalid/command.forbidden-id-map-member.json +20 -0
  47. package/invalid/command.negative-position.json +20 -0
  48. package/invalid/command.nested-batch.json +24 -0
  49. package/invalid/command.pattern-in-batch.json +40 -0
  50. package/invalid/command.reset-inherited-property-in-batch.json +24 -0
  51. package/invalid/command.unknown-member.json +23 -0
  52. package/invalid/command.wrong-contract-version.json +22 -0
  53. package/invalid/content-model.published-empty.json +22 -0
  54. package/invalid/entry.forbidden-value-member.json +23 -0
  55. package/invalid/entry.invalid-locale.json +59 -0
  56. package/invalid/host-capabilities.invalid-protocol-version.json +40 -0
  57. package/invalid/media-reference.missing-accessibility.json +25 -0
  58. package/invalid/media-upload-session.complete-without-asset.json +20 -0
  59. package/invalid/preview-message.invalid-digest.json +18 -0
  60. package/invalid/rich-text.embedded-html.json +13 -0
  61. package/invalid/rich-text.unknown-mark.json +19 -0
  62. package/invalid/theme.unknown-member.json +128 -0
  63. package/package.json +48 -0
  64. package/vectors/command/apply-pattern.colliding-id.error.json +97 -0
  65. package/vectors/command/apply-pattern.incomplete-id-map.error.json +111 -0
  66. package/vectors/command/apply-pattern.two-roots.json +259 -0
  67. package/vectors/command/batch.atomic-failure.error.json +100 -0
  68. package/vectors/command/batch.insert-and-configure.json +197 -0
  69. package/vectors/command/duplicate-node.existing-id.error.json +88 -0
  70. package/vectors/command/duplicate-node.explicit-destination.json +183 -0
  71. package/vectors/command/duplicate-node.incomplete-id-map.error.json +91 -0
  72. package/vectors/command/duplicate-node.subtree.json +201 -0
  73. package/vectors/command/insert-node.duplicate-id.error.json +87 -0
  74. package/vectors/command/insert-node.inner-duplicate-id.error.json +115 -0
  75. package/vectors/command/insert-node.invalid-index.error.json +87 -0
  76. package/vectors/command/insert-node.root.json +162 -0
  77. package/vectors/command/insert-node.slot.json +167 -0
  78. package/vectors/command/move-node.into-self.error.json +95 -0
  79. package/vectors/command/move-node.reparent.json +196 -0
  80. package/vectors/command/move-node.within-roots.json +188 -0
  81. package/vectors/command/remove-binding.base.json +159 -0
  82. package/vectors/command/remove-binding.missing.error.json +75 -0
  83. package/vectors/command/remove-node.empties-slot.json +167 -0
  84. package/vectors/command/remove-node.missing.error.json +74 -0
  85. package/vectors/command/remove-node.nested.json +192 -0
  86. package/vectors/command/reorder-children.not-permutation.error.json +85 -0
  87. package/vectors/command/reorder-children.roots.json +182 -0
  88. package/vectors/command/reorder-children.slot.json +192 -0
  89. package/vectors/command/reset-inherited-property.missing.error.json +82 -0
  90. package/vectors/command/reset-inherited-property.single-viewport.json +151 -0
  91. package/vectors/command/reset-inherited-property.two-viewports.json +168 -0
  92. package/vectors/command/restore-node.inner-duplicate-id.error.json +115 -0
  93. package/vectors/command/restore-node.subtree-into-slot.json +195 -0
  94. package/vectors/command/set-binding.add.json +159 -0
  95. package/vectors/command/set-binding.replace.json +178 -0
  96. package/vectors/command/set-property.add.json +143 -0
  97. package/vectors/command/set-property.replace.json +146 -0
  98. package/vectors/command/set-property.viewport-add.json +148 -0
  99. package/vectors/command/unset-property.base.json +143 -0
  100. package/vectors/command/unset-property.missing.error.json +75 -0
  101. package/vectors/command/unset-property.viewport.json +154 -0
@@ -0,0 +1,167 @@
1
+ {
2
+ "contractVersion": "0.1-draft",
3
+ "kind": "command-vector",
4
+ "id": "vector.command-vector.insert-node.slot",
5
+ "description": "Inserting into a slot materialises the slot collection; empty slot collections are never stored, so the inverse removal restores the exact prior document.",
6
+ "initial": {
7
+ "contractVersion": "0.1-draft",
8
+ "dependencyLock": {
9
+ "blocks": [
10
+ {
11
+ "revision": "block-r1",
12
+ "type": "studio.vector/section",
13
+ "version": "1.0.0"
14
+ },
15
+ {
16
+ "revision": "block-r1",
17
+ "type": "studio.vector/text",
18
+ "version": "1.0.0"
19
+ }
20
+ ],
21
+ "theme": {
22
+ "id": "studio.vector/theme",
23
+ "revision": "theme-r1",
24
+ "version": "1.0.0"
25
+ }
26
+ },
27
+ "id": "vector.blueprint",
28
+ "kind": "blueprint",
29
+ "label": {
30
+ "defaultMessage": "Vector Blueprint",
31
+ "key": "studio.vector/blueprint"
32
+ },
33
+ "model": {
34
+ "id": "studio.vector/model",
35
+ "revision": "model-r1",
36
+ "version": "1.0.0"
37
+ },
38
+ "owner": {
39
+ "id": "studio.vector/suite",
40
+ "version": "0.1.0-alpha.0"
41
+ },
42
+ "revision": "blueprint-r1",
43
+ "roots": [
44
+ {
45
+ "authoring": {
46
+ "mode": "structural"
47
+ },
48
+ "bindings": {},
49
+ "id": "section-a",
50
+ "properties": {},
51
+ "slots": {},
52
+ "type": "studio.vector/section",
53
+ "version": "1.0.0"
54
+ }
55
+ ],
56
+ "status": "draft",
57
+ "version": "1.0.0"
58
+ },
59
+ "command": {
60
+ "artifactId": "vector.blueprint",
61
+ "baseStateVersion": 0,
62
+ "contractVersion": "0.1-draft",
63
+ "id": "vector.command.insert-node.slot",
64
+ "kind": "command",
65
+ "payload": {
66
+ "destination": {
67
+ "parentNodeId": "section-a",
68
+ "position": 0,
69
+ "slot": "main"
70
+ },
71
+ "node": {
72
+ "authoring": {
73
+ "mode": "designer"
74
+ },
75
+ "bindings": {},
76
+ "id": "text-a",
77
+ "properties": {},
78
+ "slots": {},
79
+ "type": "studio.vector/text",
80
+ "version": "1.0.0"
81
+ }
82
+ },
83
+ "sessionGeneration": "session-r1",
84
+ "type": "studio.command/insert-node"
85
+ },
86
+ "expect": {
87
+ "document": {
88
+ "contractVersion": "0.1-draft",
89
+ "dependencyLock": {
90
+ "blocks": [
91
+ {
92
+ "revision": "block-r1",
93
+ "type": "studio.vector/section",
94
+ "version": "1.0.0"
95
+ },
96
+ {
97
+ "revision": "block-r1",
98
+ "type": "studio.vector/text",
99
+ "version": "1.0.0"
100
+ }
101
+ ],
102
+ "theme": {
103
+ "id": "studio.vector/theme",
104
+ "revision": "theme-r1",
105
+ "version": "1.0.0"
106
+ }
107
+ },
108
+ "id": "vector.blueprint",
109
+ "kind": "blueprint",
110
+ "label": {
111
+ "defaultMessage": "Vector Blueprint",
112
+ "key": "studio.vector/blueprint"
113
+ },
114
+ "model": {
115
+ "id": "studio.vector/model",
116
+ "revision": "model-r1",
117
+ "version": "1.0.0"
118
+ },
119
+ "owner": {
120
+ "id": "studio.vector/suite",
121
+ "version": "0.1.0-alpha.0"
122
+ },
123
+ "revision": "blueprint-r1",
124
+ "roots": [
125
+ {
126
+ "authoring": {
127
+ "mode": "structural"
128
+ },
129
+ "bindings": {},
130
+ "id": "section-a",
131
+ "properties": {},
132
+ "slots": {
133
+ "main": [
134
+ {
135
+ "authoring": {
136
+ "mode": "designer"
137
+ },
138
+ "bindings": {},
139
+ "id": "text-a",
140
+ "properties": {},
141
+ "slots": {},
142
+ "type": "studio.vector/text",
143
+ "version": "1.0.0"
144
+ }
145
+ ]
146
+ },
147
+ "type": "studio.vector/section",
148
+ "version": "1.0.0"
149
+ }
150
+ ],
151
+ "status": "draft",
152
+ "version": "1.0.0"
153
+ }
154
+ },
155
+ "inverse": {
156
+ "artifactId": "vector.blueprint",
157
+ "baseStateVersion": 1,
158
+ "contractVersion": "0.1-draft",
159
+ "id": "vector.inverse.insert-node.slot",
160
+ "kind": "command",
161
+ "payload": {
162
+ "nodeId": "text-a"
163
+ },
164
+ "sessionGeneration": "session-r1",
165
+ "type": "studio.command/remove-node"
166
+ }
167
+ }
@@ -0,0 +1,95 @@
1
+ {
2
+ "contractVersion": "0.1-draft",
3
+ "kind": "command-vector",
4
+ "id": "vector.command-vector.move-node.into-self.error",
5
+ "description": "Moving a node into its own subtree is an illegal move and changes nothing.",
6
+ "initial": {
7
+ "contractVersion": "0.1-draft",
8
+ "dependencyLock": {
9
+ "blocks": [
10
+ {
11
+ "revision": "block-r1",
12
+ "type": "studio.vector/section",
13
+ "version": "1.0.0"
14
+ },
15
+ {
16
+ "revision": "block-r1",
17
+ "type": "studio.vector/text",
18
+ "version": "1.0.0"
19
+ }
20
+ ],
21
+ "theme": {
22
+ "id": "studio.vector/theme",
23
+ "revision": "theme-r1",
24
+ "version": "1.0.0"
25
+ }
26
+ },
27
+ "id": "vector.blueprint",
28
+ "kind": "blueprint",
29
+ "label": {
30
+ "defaultMessage": "Vector Blueprint",
31
+ "key": "studio.vector/blueprint"
32
+ },
33
+ "model": {
34
+ "id": "studio.vector/model",
35
+ "revision": "model-r1",
36
+ "version": "1.0.0"
37
+ },
38
+ "owner": {
39
+ "id": "studio.vector/suite",
40
+ "version": "0.1.0-alpha.0"
41
+ },
42
+ "revision": "blueprint-r1",
43
+ "roots": [
44
+ {
45
+ "authoring": {
46
+ "mode": "structural"
47
+ },
48
+ "bindings": {},
49
+ "id": "section-a",
50
+ "properties": {},
51
+ "slots": {
52
+ "main": [
53
+ {
54
+ "authoring": {
55
+ "mode": "structural"
56
+ },
57
+ "bindings": {},
58
+ "id": "section-b",
59
+ "properties": {},
60
+ "slots": {
61
+ "main": []
62
+ },
63
+ "type": "studio.vector/section",
64
+ "version": "1.0.0"
65
+ }
66
+ ]
67
+ },
68
+ "type": "studio.vector/section",
69
+ "version": "1.0.0"
70
+ }
71
+ ],
72
+ "status": "draft",
73
+ "version": "1.0.0"
74
+ },
75
+ "command": {
76
+ "artifactId": "vector.blueprint",
77
+ "baseStateVersion": 0,
78
+ "contractVersion": "0.1-draft",
79
+ "id": "vector.command.move-node.into-self",
80
+ "kind": "command",
81
+ "payload": {
82
+ "destination": {
83
+ "parentNodeId": "section-b",
84
+ "position": 0,
85
+ "slot": "main"
86
+ },
87
+ "nodeId": "section-a"
88
+ },
89
+ "sessionGeneration": "session-r1",
90
+ "type": "studio.command/move-node"
91
+ },
92
+ "expect": {
93
+ "errorCode": "illegal-move"
94
+ }
95
+ }
@@ -0,0 +1,196 @@
1
+ {
2
+ "contractVersion": "0.1-draft",
3
+ "kind": "command-vector",
4
+ "id": "vector.command-vector.move-node.reparent",
5
+ "description": "Moving a root node into a slot reparents it; the inverse move returns it to its original root position.",
6
+ "initial": {
7
+ "contractVersion": "0.1-draft",
8
+ "dependencyLock": {
9
+ "blocks": [
10
+ {
11
+ "revision": "block-r1",
12
+ "type": "studio.vector/section",
13
+ "version": "1.0.0"
14
+ },
15
+ {
16
+ "revision": "block-r1",
17
+ "type": "studio.vector/text",
18
+ "version": "1.0.0"
19
+ }
20
+ ],
21
+ "theme": {
22
+ "id": "studio.vector/theme",
23
+ "revision": "theme-r1",
24
+ "version": "1.0.0"
25
+ }
26
+ },
27
+ "id": "vector.blueprint",
28
+ "kind": "blueprint",
29
+ "label": {
30
+ "defaultMessage": "Vector Blueprint",
31
+ "key": "studio.vector/blueprint"
32
+ },
33
+ "model": {
34
+ "id": "studio.vector/model",
35
+ "revision": "model-r1",
36
+ "version": "1.0.0"
37
+ },
38
+ "owner": {
39
+ "id": "studio.vector/suite",
40
+ "version": "0.1.0-alpha.0"
41
+ },
42
+ "revision": "blueprint-r1",
43
+ "roots": [
44
+ {
45
+ "authoring": {
46
+ "mode": "structural"
47
+ },
48
+ "bindings": {},
49
+ "id": "section-a",
50
+ "properties": {},
51
+ "slots": {
52
+ "main": [
53
+ {
54
+ "authoring": {
55
+ "mode": "designer"
56
+ },
57
+ "bindings": {},
58
+ "id": "text-a",
59
+ "properties": {},
60
+ "slots": {},
61
+ "type": "studio.vector/text",
62
+ "version": "1.0.0"
63
+ }
64
+ ]
65
+ },
66
+ "type": "studio.vector/section",
67
+ "version": "1.0.0"
68
+ },
69
+ {
70
+ "authoring": {
71
+ "mode": "designer"
72
+ },
73
+ "bindings": {},
74
+ "id": "text-b",
75
+ "properties": {},
76
+ "slots": {},
77
+ "type": "studio.vector/text",
78
+ "version": "1.0.0"
79
+ }
80
+ ],
81
+ "status": "draft",
82
+ "version": "1.0.0"
83
+ },
84
+ "command": {
85
+ "artifactId": "vector.blueprint",
86
+ "baseStateVersion": 0,
87
+ "contractVersion": "0.1-draft",
88
+ "id": "vector.command.move-node.reparent",
89
+ "kind": "command",
90
+ "payload": {
91
+ "destination": {
92
+ "parentNodeId": "section-a",
93
+ "position": 1,
94
+ "slot": "main"
95
+ },
96
+ "nodeId": "text-b"
97
+ },
98
+ "sessionGeneration": "session-r1",
99
+ "type": "studio.command/move-node"
100
+ },
101
+ "expect": {
102
+ "document": {
103
+ "contractVersion": "0.1-draft",
104
+ "dependencyLock": {
105
+ "blocks": [
106
+ {
107
+ "revision": "block-r1",
108
+ "type": "studio.vector/section",
109
+ "version": "1.0.0"
110
+ },
111
+ {
112
+ "revision": "block-r1",
113
+ "type": "studio.vector/text",
114
+ "version": "1.0.0"
115
+ }
116
+ ],
117
+ "theme": {
118
+ "id": "studio.vector/theme",
119
+ "revision": "theme-r1",
120
+ "version": "1.0.0"
121
+ }
122
+ },
123
+ "id": "vector.blueprint",
124
+ "kind": "blueprint",
125
+ "label": {
126
+ "defaultMessage": "Vector Blueprint",
127
+ "key": "studio.vector/blueprint"
128
+ },
129
+ "model": {
130
+ "id": "studio.vector/model",
131
+ "revision": "model-r1",
132
+ "version": "1.0.0"
133
+ },
134
+ "owner": {
135
+ "id": "studio.vector/suite",
136
+ "version": "0.1.0-alpha.0"
137
+ },
138
+ "revision": "blueprint-r1",
139
+ "roots": [
140
+ {
141
+ "authoring": {
142
+ "mode": "structural"
143
+ },
144
+ "bindings": {},
145
+ "id": "section-a",
146
+ "properties": {},
147
+ "slots": {
148
+ "main": [
149
+ {
150
+ "authoring": {
151
+ "mode": "designer"
152
+ },
153
+ "bindings": {},
154
+ "id": "text-a",
155
+ "properties": {},
156
+ "slots": {},
157
+ "type": "studio.vector/text",
158
+ "version": "1.0.0"
159
+ },
160
+ {
161
+ "authoring": {
162
+ "mode": "designer"
163
+ },
164
+ "bindings": {},
165
+ "id": "text-b",
166
+ "properties": {},
167
+ "slots": {},
168
+ "type": "studio.vector/text",
169
+ "version": "1.0.0"
170
+ }
171
+ ]
172
+ },
173
+ "type": "studio.vector/section",
174
+ "version": "1.0.0"
175
+ }
176
+ ],
177
+ "status": "draft",
178
+ "version": "1.0.0"
179
+ }
180
+ },
181
+ "inverse": {
182
+ "artifactId": "vector.blueprint",
183
+ "baseStateVersion": 1,
184
+ "contractVersion": "0.1-draft",
185
+ "id": "vector.inverse.move-node.reparent",
186
+ "kind": "command",
187
+ "payload": {
188
+ "destination": {
189
+ "position": 1
190
+ },
191
+ "nodeId": "text-b"
192
+ },
193
+ "sessionGeneration": "session-r1",
194
+ "type": "studio.command/move-node"
195
+ }
196
+ }
@@ -0,0 +1,188 @@
1
+ {
2
+ "contractVersion": "0.1-draft",
3
+ "kind": "command-vector",
4
+ "id": "vector.command-vector.move-node.within-roots",
5
+ "description": "Moving a node within the same collection uses remove-then-insert index semantics.",
6
+ "initial": {
7
+ "contractVersion": "0.1-draft",
8
+ "dependencyLock": {
9
+ "blocks": [
10
+ {
11
+ "revision": "block-r1",
12
+ "type": "studio.vector/section",
13
+ "version": "1.0.0"
14
+ },
15
+ {
16
+ "revision": "block-r1",
17
+ "type": "studio.vector/text",
18
+ "version": "1.0.0"
19
+ }
20
+ ],
21
+ "theme": {
22
+ "id": "studio.vector/theme",
23
+ "revision": "theme-r1",
24
+ "version": "1.0.0"
25
+ }
26
+ },
27
+ "id": "vector.blueprint",
28
+ "kind": "blueprint",
29
+ "label": {
30
+ "defaultMessage": "Vector Blueprint",
31
+ "key": "studio.vector/blueprint"
32
+ },
33
+ "model": {
34
+ "id": "studio.vector/model",
35
+ "revision": "model-r1",
36
+ "version": "1.0.0"
37
+ },
38
+ "owner": {
39
+ "id": "studio.vector/suite",
40
+ "version": "0.1.0-alpha.0"
41
+ },
42
+ "revision": "blueprint-r1",
43
+ "roots": [
44
+ {
45
+ "authoring": {
46
+ "mode": "designer"
47
+ },
48
+ "bindings": {},
49
+ "id": "text-a",
50
+ "properties": {},
51
+ "slots": {},
52
+ "type": "studio.vector/text",
53
+ "version": "1.0.0"
54
+ },
55
+ {
56
+ "authoring": {
57
+ "mode": "designer"
58
+ },
59
+ "bindings": {},
60
+ "id": "text-b",
61
+ "properties": {},
62
+ "slots": {},
63
+ "type": "studio.vector/text",
64
+ "version": "1.0.0"
65
+ },
66
+ {
67
+ "authoring": {
68
+ "mode": "designer"
69
+ },
70
+ "bindings": {},
71
+ "id": "text-c",
72
+ "properties": {},
73
+ "slots": {},
74
+ "type": "studio.vector/text",
75
+ "version": "1.0.0"
76
+ }
77
+ ],
78
+ "status": "draft",
79
+ "version": "1.0.0"
80
+ },
81
+ "command": {
82
+ "artifactId": "vector.blueprint",
83
+ "baseStateVersion": 0,
84
+ "contractVersion": "0.1-draft",
85
+ "id": "vector.command.move-node.within-roots",
86
+ "kind": "command",
87
+ "payload": {
88
+ "destination": {
89
+ "position": 0
90
+ },
91
+ "nodeId": "text-b"
92
+ },
93
+ "sessionGeneration": "session-r1",
94
+ "type": "studio.command/move-node"
95
+ },
96
+ "expect": {
97
+ "document": {
98
+ "contractVersion": "0.1-draft",
99
+ "dependencyLock": {
100
+ "blocks": [
101
+ {
102
+ "revision": "block-r1",
103
+ "type": "studio.vector/section",
104
+ "version": "1.0.0"
105
+ },
106
+ {
107
+ "revision": "block-r1",
108
+ "type": "studio.vector/text",
109
+ "version": "1.0.0"
110
+ }
111
+ ],
112
+ "theme": {
113
+ "id": "studio.vector/theme",
114
+ "revision": "theme-r1",
115
+ "version": "1.0.0"
116
+ }
117
+ },
118
+ "id": "vector.blueprint",
119
+ "kind": "blueprint",
120
+ "label": {
121
+ "defaultMessage": "Vector Blueprint",
122
+ "key": "studio.vector/blueprint"
123
+ },
124
+ "model": {
125
+ "id": "studio.vector/model",
126
+ "revision": "model-r1",
127
+ "version": "1.0.0"
128
+ },
129
+ "owner": {
130
+ "id": "studio.vector/suite",
131
+ "version": "0.1.0-alpha.0"
132
+ },
133
+ "revision": "blueprint-r1",
134
+ "roots": [
135
+ {
136
+ "authoring": {
137
+ "mode": "designer"
138
+ },
139
+ "bindings": {},
140
+ "id": "text-b",
141
+ "properties": {},
142
+ "slots": {},
143
+ "type": "studio.vector/text",
144
+ "version": "1.0.0"
145
+ },
146
+ {
147
+ "authoring": {
148
+ "mode": "designer"
149
+ },
150
+ "bindings": {},
151
+ "id": "text-a",
152
+ "properties": {},
153
+ "slots": {},
154
+ "type": "studio.vector/text",
155
+ "version": "1.0.0"
156
+ },
157
+ {
158
+ "authoring": {
159
+ "mode": "designer"
160
+ },
161
+ "bindings": {},
162
+ "id": "text-c",
163
+ "properties": {},
164
+ "slots": {},
165
+ "type": "studio.vector/text",
166
+ "version": "1.0.0"
167
+ }
168
+ ],
169
+ "status": "draft",
170
+ "version": "1.0.0"
171
+ }
172
+ },
173
+ "inverse": {
174
+ "artifactId": "vector.blueprint",
175
+ "baseStateVersion": 1,
176
+ "contractVersion": "0.1-draft",
177
+ "id": "vector.inverse.move-node.within-roots",
178
+ "kind": "command",
179
+ "payload": {
180
+ "destination": {
181
+ "position": 1
182
+ },
183
+ "nodeId": "text-b"
184
+ },
185
+ "sessionGeneration": "session-r1",
186
+ "type": "studio.command/move-node"
187
+ }
188
+ }