@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,168 @@
1
+ {
2
+ "contractVersion": "0.1-draft",
3
+ "kind": "command-vector",
4
+ "id": "vector.command-vector.reset-inherited-property.two-viewports",
5
+ "description": "Resetting an inherited property removes every responsive override for that property while the base value stays untouched; the inverse batch restores the overrides in ascending viewport order.",
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
+ "emphasis": "regular"
52
+ },
53
+ "responsive": {
54
+ "emphasis": {
55
+ "wide": "subtle",
56
+ "compact": "strong"
57
+ }
58
+ },
59
+ "slots": {},
60
+ "type": "studio.vector/text",
61
+ "version": "1.0.0"
62
+ }
63
+ ],
64
+ "status": "draft",
65
+ "version": "1.0.0"
66
+ },
67
+ "command": {
68
+ "artifactId": "vector.blueprint",
69
+ "baseStateVersion": 0,
70
+ "contractVersion": "0.1-draft",
71
+ "id": "vector.command.reset-inherited-property.two-viewports",
72
+ "kind": "command",
73
+ "payload": {
74
+ "nodeId": "text-a",
75
+ "property": "emphasis"
76
+ },
77
+ "sessionGeneration": "session-r1",
78
+ "type": "studio.command/reset-inherited-property"
79
+ },
80
+ "expect": {
81
+ "document": {
82
+ "contractVersion": "0.1-draft",
83
+ "dependencyLock": {
84
+ "blocks": [
85
+ {
86
+ "revision": "block-r1",
87
+ "type": "studio.vector/section",
88
+ "version": "1.0.0"
89
+ },
90
+ {
91
+ "revision": "block-r1",
92
+ "type": "studio.vector/text",
93
+ "version": "1.0.0"
94
+ }
95
+ ],
96
+ "theme": {
97
+ "id": "studio.vector/theme",
98
+ "revision": "theme-r1",
99
+ "version": "1.0.0"
100
+ }
101
+ },
102
+ "id": "vector.blueprint",
103
+ "kind": "blueprint",
104
+ "label": {
105
+ "defaultMessage": "Vector Blueprint",
106
+ "key": "studio.vector/blueprint"
107
+ },
108
+ "model": {
109
+ "id": "studio.vector/model",
110
+ "revision": "model-r1",
111
+ "version": "1.0.0"
112
+ },
113
+ "owner": {
114
+ "id": "studio.vector/suite",
115
+ "version": "0.1.0-alpha.0"
116
+ },
117
+ "revision": "blueprint-r1",
118
+ "roots": [
119
+ {
120
+ "authoring": {
121
+ "mode": "designer"
122
+ },
123
+ "bindings": {},
124
+ "id": "text-a",
125
+ "properties": {
126
+ "emphasis": "regular"
127
+ },
128
+ "slots": {},
129
+ "type": "studio.vector/text",
130
+ "version": "1.0.0"
131
+ }
132
+ ],
133
+ "status": "draft",
134
+ "version": "1.0.0"
135
+ }
136
+ },
137
+ "inverse": {
138
+ "artifactId": "vector.blueprint",
139
+ "baseStateVersion": 1,
140
+ "contractVersion": "0.1-draft",
141
+ "id": "vector.inverse.reset-inherited-property.two-viewports",
142
+ "kind": "command",
143
+ "payload": {
144
+ "operations": [
145
+ {
146
+ "payload": {
147
+ "nodeId": "text-a",
148
+ "property": "emphasis",
149
+ "value": "strong",
150
+ "viewport": "compact"
151
+ },
152
+ "type": "studio.command/set-property"
153
+ },
154
+ {
155
+ "payload": {
156
+ "nodeId": "text-a",
157
+ "property": "emphasis",
158
+ "value": "subtle",
159
+ "viewport": "wide"
160
+ },
161
+ "type": "studio.command/set-property"
162
+ }
163
+ ]
164
+ },
165
+ "sessionGeneration": "session-r1",
166
+ "type": "studio.command/batch"
167
+ }
168
+ }
@@ -0,0 +1,115 @@
1
+ {
2
+ "contractVersion": "0.1-draft",
3
+ "kind": "command-vector",
4
+ "id": "vector.command-vector.restore-node.inner-duplicate-id.error",
5
+ "description": "Restoring a subtree fails when any descendant identifier already exists in the document, not only the restored root.",
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
+ "status": "draft",
71
+ "version": "1.0.0"
72
+ },
73
+ "command": {
74
+ "artifactId": "vector.blueprint",
75
+ "baseStateVersion": 0,
76
+ "contractVersion": "0.1-draft",
77
+ "id": "vector.command.restore-node.inner-duplicate-id",
78
+ "kind": "command",
79
+ "payload": {
80
+ "destination": {
81
+ "position": 1
82
+ },
83
+ "node": {
84
+ "authoring": {
85
+ "mode": "structural"
86
+ },
87
+ "bindings": {},
88
+ "id": "section-b",
89
+ "properties": {},
90
+ "slots": {
91
+ "main": [
92
+ {
93
+ "authoring": {
94
+ "mode": "designer"
95
+ },
96
+ "bindings": {},
97
+ "id": "text-a",
98
+ "properties": {},
99
+ "slots": {},
100
+ "type": "studio.vector/text",
101
+ "version": "1.0.0"
102
+ }
103
+ ]
104
+ },
105
+ "type": "studio.vector/section",
106
+ "version": "1.0.0"
107
+ }
108
+ },
109
+ "sessionGeneration": "session-r1",
110
+ "type": "studio.command/restore-node"
111
+ },
112
+ "expect": {
113
+ "errorCode": "duplicate-node"
114
+ }
115
+ }
@@ -0,0 +1,195 @@
1
+ {
2
+ "contractVersion": "0.1-draft",
3
+ "kind": "command-vector",
4
+ "id": "vector.command-vector.restore-node.subtree-into-slot",
5
+ "description": "Restoring a removed subtree reinserts the whole fragment, children included, at its destination slot; the inverse removal drops it again.",
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.restore-node.subtree-into-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": "structural"
74
+ },
75
+ "bindings": {},
76
+ "id": "section-b",
77
+ "properties": {},
78
+ "slots": {
79
+ "main": [
80
+ {
81
+ "authoring": {
82
+ "mode": "designer"
83
+ },
84
+ "bindings": {},
85
+ "id": "text-a",
86
+ "properties": {},
87
+ "slots": {},
88
+ "type": "studio.vector/text",
89
+ "version": "1.0.0"
90
+ }
91
+ ]
92
+ },
93
+ "type": "studio.vector/section",
94
+ "version": "1.0.0"
95
+ }
96
+ },
97
+ "sessionGeneration": "session-r1",
98
+ "type": "studio.command/restore-node"
99
+ },
100
+ "expect": {
101
+ "document": {
102
+ "contractVersion": "0.1-draft",
103
+ "dependencyLock": {
104
+ "blocks": [
105
+ {
106
+ "revision": "block-r1",
107
+ "type": "studio.vector/section",
108
+ "version": "1.0.0"
109
+ },
110
+ {
111
+ "revision": "block-r1",
112
+ "type": "studio.vector/text",
113
+ "version": "1.0.0"
114
+ }
115
+ ],
116
+ "theme": {
117
+ "id": "studio.vector/theme",
118
+ "revision": "theme-r1",
119
+ "version": "1.0.0"
120
+ }
121
+ },
122
+ "id": "vector.blueprint",
123
+ "kind": "blueprint",
124
+ "label": {
125
+ "defaultMessage": "Vector Blueprint",
126
+ "key": "studio.vector/blueprint"
127
+ },
128
+ "model": {
129
+ "id": "studio.vector/model",
130
+ "revision": "model-r1",
131
+ "version": "1.0.0"
132
+ },
133
+ "owner": {
134
+ "id": "studio.vector/suite",
135
+ "version": "0.1.0-alpha.0"
136
+ },
137
+ "revision": "blueprint-r1",
138
+ "roots": [
139
+ {
140
+ "authoring": {
141
+ "mode": "structural"
142
+ },
143
+ "bindings": {},
144
+ "id": "section-a",
145
+ "properties": {},
146
+ "slots": {
147
+ "main": [
148
+ {
149
+ "authoring": {
150
+ "mode": "structural"
151
+ },
152
+ "bindings": {},
153
+ "id": "section-b",
154
+ "properties": {},
155
+ "slots": {
156
+ "main": [
157
+ {
158
+ "authoring": {
159
+ "mode": "designer"
160
+ },
161
+ "bindings": {},
162
+ "id": "text-a",
163
+ "properties": {},
164
+ "slots": {},
165
+ "type": "studio.vector/text",
166
+ "version": "1.0.0"
167
+ }
168
+ ]
169
+ },
170
+ "type": "studio.vector/section",
171
+ "version": "1.0.0"
172
+ }
173
+ ]
174
+ },
175
+ "type": "studio.vector/section",
176
+ "version": "1.0.0"
177
+ }
178
+ ],
179
+ "status": "draft",
180
+ "version": "1.0.0"
181
+ }
182
+ },
183
+ "inverse": {
184
+ "artifactId": "vector.blueprint",
185
+ "baseStateVersion": 1,
186
+ "contractVersion": "0.1-draft",
187
+ "id": "vector.inverse.restore-node.subtree-into-slot",
188
+ "kind": "command",
189
+ "payload": {
190
+ "nodeId": "section-b"
191
+ },
192
+ "sessionGeneration": "session-r1",
193
+ "type": "studio.command/remove-node"
194
+ }
195
+ }
@@ -0,0 +1,159 @@
1
+ {
2
+ "contractVersion": "0.1-draft",
3
+ "kind": "command-vector",
4
+ "id": "vector.command-vector.set-binding.add",
5
+ "description": "Binding a port stores the field binding; the inverse removes it again.",
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
+ "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.set-binding.add",
64
+ "kind": "command",
65
+ "payload": {
66
+ "binding": {
67
+ "onError": "error",
68
+ "onNull": "empty",
69
+ "source": {
70
+ "kind": "static-value",
71
+ "value": "Bound label"
72
+ },
73
+ "transforms": []
74
+ },
75
+ "nodeId": "text-a",
76
+ "port": "label"
77
+ },
78
+ "sessionGeneration": "session-r1",
79
+ "type": "studio.command/set-binding"
80
+ },
81
+ "expect": {
82
+ "document": {
83
+ "contractVersion": "0.1-draft",
84
+ "dependencyLock": {
85
+ "blocks": [
86
+ {
87
+ "revision": "block-r1",
88
+ "type": "studio.vector/section",
89
+ "version": "1.0.0"
90
+ },
91
+ {
92
+ "revision": "block-r1",
93
+ "type": "studio.vector/text",
94
+ "version": "1.0.0"
95
+ }
96
+ ],
97
+ "theme": {
98
+ "id": "studio.vector/theme",
99
+ "revision": "theme-r1",
100
+ "version": "1.0.0"
101
+ }
102
+ },
103
+ "id": "vector.blueprint",
104
+ "kind": "blueprint",
105
+ "label": {
106
+ "defaultMessage": "Vector Blueprint",
107
+ "key": "studio.vector/blueprint"
108
+ },
109
+ "model": {
110
+ "id": "studio.vector/model",
111
+ "revision": "model-r1",
112
+ "version": "1.0.0"
113
+ },
114
+ "owner": {
115
+ "id": "studio.vector/suite",
116
+ "version": "0.1.0-alpha.0"
117
+ },
118
+ "revision": "blueprint-r1",
119
+ "roots": [
120
+ {
121
+ "authoring": {
122
+ "mode": "designer"
123
+ },
124
+ "bindings": {
125
+ "label": {
126
+ "onError": "error",
127
+ "onNull": "empty",
128
+ "source": {
129
+ "kind": "static-value",
130
+ "value": "Bound label"
131
+ },
132
+ "transforms": []
133
+ }
134
+ },
135
+ "id": "text-a",
136
+ "properties": {},
137
+ "slots": {},
138
+ "type": "studio.vector/text",
139
+ "version": "1.0.0"
140
+ }
141
+ ],
142
+ "status": "draft",
143
+ "version": "1.0.0"
144
+ }
145
+ },
146
+ "inverse": {
147
+ "artifactId": "vector.blueprint",
148
+ "baseStateVersion": 1,
149
+ "contractVersion": "0.1-draft",
150
+ "id": "vector.inverse.set-binding.add",
151
+ "kind": "command",
152
+ "payload": {
153
+ "nodeId": "text-a",
154
+ "port": "label"
155
+ },
156
+ "sessionGeneration": "session-r1",
157
+ "type": "studio.command/remove-binding"
158
+ }
159
+ }