@kumwe/studio-testkit 0.1.0-alpha.5 → 0.1.0-alpha.6
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/fixtures/design-vocabulary.example.json +85 -0
- package/fixtures/migration.example.json +22 -0
- package/invalid/blueprint.revoking-slot-marker.json +57 -0
- package/invalid/design-vocabulary.unknown-control-kind.json +38 -0
- package/invalid/migration.empty-artifact-kinds.json +22 -0
- package/package.json +3 -3
- package/vectors/command/mode.blueprint.set-field-value.error.json +76 -0
- package/vectors/command/mode.blueprint.set-property.json +131 -0
- package/vectors/command/mode.content.insert-node.error.json +88 -0
- package/vectors/command/mode.hybrid.batch-atomic.error.json +158 -0
- package/vectors/command/mode.hybrid.insert-allowed.json +263 -0
- package/vectors/command/mode.hybrid.insert-designer-slot.error.json +145 -0
- package/vectors/command/mode.hybrid.insert-disallowed-type.error.json +145 -0
- package/vectors/command/mode.hybrid.insert-roots.error.json +143 -0
- package/vectors/command/mode.hybrid.remove-locked.error.json +130 -0
- package/vectors/command/mode.hybrid.reorder-with-locked.json +239 -0
- package/vectors/command/mode.hybrid.set-property.error.json +132 -0
- package/vectors/command/mode.hybrid.slot-marker-disallowed.error.json +125 -0
- package/vectors/command/mode.hybrid.slot-marker-insert.json +223 -0
- package/vectors/command/mode.hybrid.slot-marker-other-slot.error.json +125 -0
- package/vectors/command/mode.model.remove-node.error.json +75 -0
- package/vectors/command/mode.read-only.set-property.error.json +77 -0
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
{
|
|
2
|
+
"contractVersion": "0.1-draft",
|
|
3
|
+
"kind": "command-vector",
|
|
4
|
+
"id": "vector.command-vector.mode.read-only.set-property",
|
|
5
|
+
"description": "A read-only session never applies a persistent command; the rejection precedes the mode table.",
|
|
6
|
+
"mode": "read-only",
|
|
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/text",
|
|
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": "text-a",
|
|
51
|
+
"properties": {},
|
|
52
|
+
"slots": {},
|
|
53
|
+
"type": "studio.vector/text",
|
|
54
|
+
"version": "1.0.0"
|
|
55
|
+
}
|
|
56
|
+
],
|
|
57
|
+
"status": "draft",
|
|
58
|
+
"version": "1.0.0"
|
|
59
|
+
},
|
|
60
|
+
"command": {
|
|
61
|
+
"artifactId": "vector.blueprint",
|
|
62
|
+
"baseStateVersion": 0,
|
|
63
|
+
"contractVersion": "0.1-draft",
|
|
64
|
+
"id": "vector.command.mode.read-only.set-property",
|
|
65
|
+
"kind": "command",
|
|
66
|
+
"payload": {
|
|
67
|
+
"nodeId": "text-a",
|
|
68
|
+
"property": "text",
|
|
69
|
+
"value": "Hello"
|
|
70
|
+
},
|
|
71
|
+
"sessionGeneration": "session-r1",
|
|
72
|
+
"type": "studio.command/set-property"
|
|
73
|
+
},
|
|
74
|
+
"expect": {
|
|
75
|
+
"errorCode": "read-only-session"
|
|
76
|
+
}
|
|
77
|
+
}
|