@eventmodelers/cli 1.0.72 → 1.0.74
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/README.md +29 -8
- package/RELEASE_NOTES.md +5 -0
- package/cli.js +119 -28
- package/package.json +2 -2
- package/shared/demo-slices/Understanding Eventsourcing/additem/slice.json +176 -0
- package/shared/demo-slices/Understanding Eventsourcing/archiveitem/slice.json +209 -0
- package/shared/demo-slices/Understanding Eventsourcing/cartitems/slice.json +236 -0
- package/shared/demo-slices/Understanding Eventsourcing/cartpublicationfailed/slice.json +65 -0
- package/shared/demo-slices/Understanding Eventsourcing/cartpublished/slice.json +65 -0
- package/shared/demo-slices/Understanding Eventsourcing/cartswithproducts/slice.json +105 -0
- package/shared/demo-slices/Understanding Eventsourcing/changedprices/slice.json +91 -0
- package/shared/demo-slices/Understanding Eventsourcing/changeinventory/slice.json +191 -0
- package/shared/demo-slices/Understanding Eventsourcing/changeprice/slice.json +220 -0
- package/shared/demo-slices/Understanding Eventsourcing/clearcart/slice.json +219 -0
- package/shared/demo-slices/Understanding Eventsourcing/config.json +2631 -0
- package/shared/demo-slices/Understanding Eventsourcing/context.json +3 -0
- package/shared/demo-slices/Understanding Eventsourcing/index.json +132 -0
- package/shared/demo-slices/Understanding Eventsourcing/inventories/slice.json +132 -0
- package/shared/demo-slices/Understanding Eventsourcing/itemadded/slice.json +137 -0
- package/shared/demo-slices/Understanding Eventsourcing/publishcart/slice.json +230 -0
- package/shared/demo-slices/Understanding Eventsourcing/removeitem/slice.json +239 -0
- package/shared/demo-slices/Understanding Eventsourcing/submitcart/slice.json +199 -0
- package/shared/demo-slices/Understanding Eventsourcing/submittedcartdata/slice.json +90 -0
- package/shared/demo-slices/current_context.json +3 -0
- package/stacks/blank/templates/.claude/skills/build-automation/SKILL.md +1 -1
- package/stacks/blank/templates/.claude/skills/build-state-change/SKILL.md +1 -1
- package/stacks/blank/templates/.claude/skills/build-state-view/SKILL.md +1 -1
- package/stacks/blank/templates/root/README.md +1 -1
- package/stacks/modeling-kit/templates/kit/CLAUDE-STANDALONE.md +8 -6
- package/stacks/modeling-kit/templates/kit/CLAUDE.md +12 -7
- package/stacks/modeling-kit/templates/kit/README.md +1 -1
- package/stacks/react/templates/.claude/skills/build-automation/SKILL.md +1 -1
- package/stacks/react/templates/.claude/skills/build-state-change/SKILL.md +1 -1
- package/stacks/react/templates/.claude/skills/build-state-view/SKILL.md +1 -1
- package/stacks/cratis-csharp/templates/.claude/skills/_shared/cratis-conventions.md +0 -251
- package/stacks/cratis-csharp/templates/.claude/skills/build-automation/SKILL.md +0 -122
- package/stacks/cratis-csharp/templates/.claude/skills/build-automation/references/patterns.md +0 -115
- package/stacks/cratis-csharp/templates/.claude/skills/build-state-change/SKILL.md +0 -191
- package/stacks/cratis-csharp/templates/.claude/skills/build-state-change/references/patterns.md +0 -234
- package/stacks/cratis-csharp/templates/.claude/skills/build-state-view/SKILL.md +0 -149
- package/stacks/cratis-csharp/templates/.claude/skills/build-state-view/references/patterns.md +0 -166
- package/stacks/cratis-csharp/templates/build-kit/CLAUDE.md +0 -78
- package/stacks/cratis-csharp/templates/build-kit/lib/AGENT.md +0 -59
- package/stacks/cratis-csharp/templates/build-kit/lib/backend-prompt.md +0 -140
- package/stacks/cratis-csharp/templates/build-kit/lib/prompt.md +0 -126
- package/stacks/cratis-csharp/templates/root/.frontend/index.css +0 -29
- package/stacks/cratis-csharp/templates/root/.frontend/index.html +0 -17
- package/stacks/cratis-csharp/templates/root/.frontend/main.tsx +0 -18
- package/stacks/cratis-csharp/templates/root/.frontend/tsconfig.json +0 -42
- package/stacks/cratis-csharp/templates/root/.frontend/tsconfig.node.json +0 -11
- package/stacks/cratis-csharp/templates/root/.frontend/vite.config.ts +0 -56
- package/stacks/cratis-csharp/templates/root/App.tsx +0 -23
- package/stacks/cratis-csharp/templates/root/CratisApp.csproj +0 -25
- package/stacks/cratis-csharp/templates/root/CratisApp.sln +0 -18
- package/stacks/cratis-csharp/templates/root/GlobalUsings.cs +0 -3
- package/stacks/cratis-csharp/templates/root/Home.tsx +0 -102
- package/stacks/cratis-csharp/templates/root/Program.cs +0 -26
- package/stacks/cratis-csharp/templates/root/README.md +0 -192
- package/stacks/cratis-csharp/templates/root/SomeModule/SomeFeature/Listing/AllListings.ts +0 -47
- package/stacks/cratis-csharp/templates/root/SomeModule/SomeFeature/Listing/Listing.cs +0 -11
- package/stacks/cratis-csharp/templates/root/SomeModule/SomeFeature/Listing/Listing.ts +0 -12
- package/stacks/cratis-csharp/templates/root/SomeModule/SomeFeature/Listing/ListingDataTable.tsx +0 -17
- package/stacks/cratis-csharp/templates/root/SomeModule/SomeFeature/Listing/index.ts +0 -1
- package/stacks/cratis-csharp/templates/root/SomeModule/SomeFeature/Registration/Register.ts +0 -51
- package/stacks/cratis-csharp/templates/root/SomeModule/SomeFeature/Registration/RegisterDialog.tsx +0 -18
- package/stacks/cratis-csharp/templates/root/SomeModule/SomeFeature/Registration/Registration.cs +0 -27
- package/stacks/cratis-csharp/templates/root/SomeModule/SomeFeature/Registration/index.ts +0 -1
- package/stacks/cratis-csharp/templates/root/SomeModule/SomeFeature/SomeFeature.tsx +0 -22
- package/stacks/cratis-csharp/templates/root/SomeModule/SomeFeature/SomeName.cs +0 -3
- package/stacks/cratis-csharp/templates/root/SomeModule/SomeFeature/index.ts +0 -1
- package/stacks/cratis-csharp/templates/root/appsettings.Development.json +0 -9
- package/stacks/cratis-csharp/templates/root/appsettings.json +0 -26
- package/stacks/cratis-csharp/templates/root/docker-compose.yml +0 -23
- package/stacks/cratis-csharp/templates/root/package.json +0 -33
- package/stacks/cratis-csharp/templates/root/tsconfig.json +0 -3
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "ecb9f15d-1700-483e-be5a-71b3aa822644",
|
|
3
|
+
"status": "Planned",
|
|
4
|
+
"title": "Archive Item",
|
|
5
|
+
"context": "Understanding Eventsourcing",
|
|
6
|
+
"sliceType": "AUTOMATION",
|
|
7
|
+
"commands": [
|
|
8
|
+
{
|
|
9
|
+
"id": "e3e86899-efb7-4d1b-90e5-99b7f1eca099",
|
|
10
|
+
"tags": [],
|
|
11
|
+
"lane": "Interaction",
|
|
12
|
+
"modelContext": "Understanding Eventsourcing",
|
|
13
|
+
"slice": "Archive Item",
|
|
14
|
+
"title": "Archive Item",
|
|
15
|
+
"fields": [
|
|
16
|
+
{
|
|
17
|
+
"name": "aggregateId",
|
|
18
|
+
"type": "UUID",
|
|
19
|
+
"example": "",
|
|
20
|
+
"mapping": "",
|
|
21
|
+
"optional": false,
|
|
22
|
+
"subfields": [],
|
|
23
|
+
"cardinality": "Single",
|
|
24
|
+
"idAttribute": false
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"name": "productId",
|
|
28
|
+
"type": "UUID",
|
|
29
|
+
"example": "",
|
|
30
|
+
"mapping": "",
|
|
31
|
+
"optional": false,
|
|
32
|
+
"subfields": [],
|
|
33
|
+
"cardinality": "Single",
|
|
34
|
+
"idAttribute": false
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
"type": "COMMAND",
|
|
38
|
+
"description": "",
|
|
39
|
+
"aggregate": "default",
|
|
40
|
+
"aggregateDependencies": [],
|
|
41
|
+
"dependencies": [
|
|
42
|
+
{
|
|
43
|
+
"id": "3d3f9528-08f8-473b-8456-7b03f6d368ca",
|
|
44
|
+
"type": "OUTBOUND",
|
|
45
|
+
"title": "Item Archived",
|
|
46
|
+
"elementType": "EVENT"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"id": "1ccbf498-e4eb-4eb7-90c9-7c113780a136",
|
|
50
|
+
"type": "INBOUND",
|
|
51
|
+
"title": "automation",
|
|
52
|
+
"elementType": "AUTOMATION"
|
|
53
|
+
}
|
|
54
|
+
],
|
|
55
|
+
"apiEndpoint": "",
|
|
56
|
+
"createsAggregate": false,
|
|
57
|
+
"triggers": [],
|
|
58
|
+
"elementCopy": false,
|
|
59
|
+
"linkedId": "e3e86899-efb7-4d1b-90e5-99b7f1eca099",
|
|
60
|
+
"sketched": false,
|
|
61
|
+
"prototype": {
|
|
62
|
+
"activeByDefault": false
|
|
63
|
+
},
|
|
64
|
+
"comments": []
|
|
65
|
+
}
|
|
66
|
+
],
|
|
67
|
+
"events": [
|
|
68
|
+
{
|
|
69
|
+
"id": "3d3f9528-08f8-473b-8456-7b03f6d368ca",
|
|
70
|
+
"tags": [],
|
|
71
|
+
"lane": "Events",
|
|
72
|
+
"modelContext": "Understanding Eventsourcing",
|
|
73
|
+
"slice": "Archive Item",
|
|
74
|
+
"title": "Item Archived",
|
|
75
|
+
"fields": [
|
|
76
|
+
{
|
|
77
|
+
"name": "aggregateId",
|
|
78
|
+
"type": "UUID",
|
|
79
|
+
"example": "",
|
|
80
|
+
"mapping": "",
|
|
81
|
+
"optional": false,
|
|
82
|
+
"subfields": [],
|
|
83
|
+
"cardinality": "Single",
|
|
84
|
+
"idAttribute": false
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"name": "itemId",
|
|
88
|
+
"type": "UUID",
|
|
89
|
+
"example": "",
|
|
90
|
+
"mapping": "productId",
|
|
91
|
+
"optional": false,
|
|
92
|
+
"subfields": [],
|
|
93
|
+
"cardinality": "Single",
|
|
94
|
+
"idAttribute": false
|
|
95
|
+
}
|
|
96
|
+
],
|
|
97
|
+
"type": "EVENT",
|
|
98
|
+
"description": "",
|
|
99
|
+
"aggregate": "default",
|
|
100
|
+
"aggregateDependencies": [],
|
|
101
|
+
"dependencies": [
|
|
102
|
+
{
|
|
103
|
+
"id": "631c5aa8-0f9e-4a8f-b7f6-91174cae2b82",
|
|
104
|
+
"type": "OUTBOUND",
|
|
105
|
+
"title": "cart items",
|
|
106
|
+
"elementType": "READMODEL"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"id": "22511305-2296-43ba-b8e8-d786d53cd25f",
|
|
110
|
+
"type": "OUTBOUND",
|
|
111
|
+
"title": "Carts with Products",
|
|
112
|
+
"elementType": "READMODEL"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"id": "e3e86899-efb7-4d1b-90e5-99b7f1eca099",
|
|
116
|
+
"type": "INBOUND",
|
|
117
|
+
"title": "Archive Item",
|
|
118
|
+
"elementType": "COMMAND"
|
|
119
|
+
}
|
|
120
|
+
],
|
|
121
|
+
"apiEndpoint": "",
|
|
122
|
+
"createsAggregate": false,
|
|
123
|
+
"triggers": [],
|
|
124
|
+
"elementCopy": false,
|
|
125
|
+
"linkedId": "3d3f9528-08f8-473b-8456-7b03f6d368ca",
|
|
126
|
+
"sketched": false,
|
|
127
|
+
"prototype": {
|
|
128
|
+
"activeByDefault": false
|
|
129
|
+
},
|
|
130
|
+
"comments": []
|
|
131
|
+
}
|
|
132
|
+
],
|
|
133
|
+
"readmodels": [],
|
|
134
|
+
"screens": [],
|
|
135
|
+
"screenImages": [],
|
|
136
|
+
"screenLayouts": [],
|
|
137
|
+
"processors": [
|
|
138
|
+
{
|
|
139
|
+
"id": "1ccbf498-e4eb-4eb7-90c9-7c113780a136",
|
|
140
|
+
"tags": [],
|
|
141
|
+
"lane": "Actor",
|
|
142
|
+
"modelContext": "Understanding Eventsourcing",
|
|
143
|
+
"slice": "Archive Item",
|
|
144
|
+
"title": "automation",
|
|
145
|
+
"fields": [
|
|
146
|
+
{
|
|
147
|
+
"name": "aggregateId",
|
|
148
|
+
"type": "UUID",
|
|
149
|
+
"example": "",
|
|
150
|
+
"mapping": "cartId",
|
|
151
|
+
"optional": false,
|
|
152
|
+
"cardinality": "Single",
|
|
153
|
+
"idAttribute": false
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"name": "productId",
|
|
157
|
+
"type": "UUID",
|
|
158
|
+
"example": "",
|
|
159
|
+
"mapping": "",
|
|
160
|
+
"optional": false,
|
|
161
|
+
"cardinality": "Single",
|
|
162
|
+
"idAttribute": false
|
|
163
|
+
}
|
|
164
|
+
],
|
|
165
|
+
"type": "AUTOMATION",
|
|
166
|
+
"description": "",
|
|
167
|
+
"aggregate": "default",
|
|
168
|
+
"aggregateDependencies": [],
|
|
169
|
+
"dependencies": [
|
|
170
|
+
{
|
|
171
|
+
"id": "e3e86899-efb7-4d1b-90e5-99b7f1eca099",
|
|
172
|
+
"type": "OUTBOUND",
|
|
173
|
+
"title": "Archive Item",
|
|
174
|
+
"elementType": "COMMAND"
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"id": "22511305-2296-43ba-b8e8-d786d53cd25f",
|
|
178
|
+
"type": "INBOUND",
|
|
179
|
+
"title": "Carts with Products",
|
|
180
|
+
"elementType": "READMODEL"
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"id": "262b687e-a34a-4395-97a9-040945290cb5",
|
|
184
|
+
"type": "INBOUND",
|
|
185
|
+
"title": "Changed Prices",
|
|
186
|
+
"elementType": "READMODEL"
|
|
187
|
+
}
|
|
188
|
+
],
|
|
189
|
+
"apiEndpoint": "",
|
|
190
|
+
"createsAggregate": false,
|
|
191
|
+
"triggers": [],
|
|
192
|
+
"elementCopy": false,
|
|
193
|
+
"linkedId": "1ccbf498-e4eb-4eb7-90c9-7c113780a136",
|
|
194
|
+
"sketched": false,
|
|
195
|
+
"prototype": {
|
|
196
|
+
"activeByDefault": false
|
|
197
|
+
},
|
|
198
|
+
"comments": []
|
|
199
|
+
}
|
|
200
|
+
],
|
|
201
|
+
"tables": [],
|
|
202
|
+
"specifications": [],
|
|
203
|
+
"storylines": [],
|
|
204
|
+
"chapter": "Understanding Eventsourcing",
|
|
205
|
+
"codeGen": {},
|
|
206
|
+
"notes": [],
|
|
207
|
+
"comments": [],
|
|
208
|
+
"aggregates": []
|
|
209
|
+
}
|
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "47781f50-9bf5-425d-adc5-810801b94fb2",
|
|
3
|
+
"status": "Planned",
|
|
4
|
+
"title": "cart items",
|
|
5
|
+
"context": "Understanding Eventsourcing",
|
|
6
|
+
"sliceType": "STATE_VIEW",
|
|
7
|
+
"commands": [],
|
|
8
|
+
"events": [],
|
|
9
|
+
"readmodels": [
|
|
10
|
+
{
|
|
11
|
+
"id": "631c5aa8-0f9e-4a8f-b7f6-91174cae2b82",
|
|
12
|
+
"tags": [],
|
|
13
|
+
"lane": "Interaction",
|
|
14
|
+
"modelContext": "Understanding Eventsourcing",
|
|
15
|
+
"slice": "cart items",
|
|
16
|
+
"title": "cart items",
|
|
17
|
+
"fields": [
|
|
18
|
+
{
|
|
19
|
+
"name": "aggregateId",
|
|
20
|
+
"type": "UUID",
|
|
21
|
+
"example": "",
|
|
22
|
+
"mapping": "",
|
|
23
|
+
"optional": false,
|
|
24
|
+
"subfields": [],
|
|
25
|
+
"cardinality": "Single",
|
|
26
|
+
"idAttribute": true
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "description",
|
|
30
|
+
"type": "String",
|
|
31
|
+
"example": "",
|
|
32
|
+
"mapping": "",
|
|
33
|
+
"optional": false,
|
|
34
|
+
"subfields": [],
|
|
35
|
+
"cardinality": "Single",
|
|
36
|
+
"idAttribute": false
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "image",
|
|
40
|
+
"type": "String",
|
|
41
|
+
"example": "",
|
|
42
|
+
"mapping": "",
|
|
43
|
+
"optional": false,
|
|
44
|
+
"subfields": [],
|
|
45
|
+
"cardinality": "Single",
|
|
46
|
+
"idAttribute": false
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"name": "price",
|
|
50
|
+
"type": "Double",
|
|
51
|
+
"example": "",
|
|
52
|
+
"mapping": "",
|
|
53
|
+
"optional": false,
|
|
54
|
+
"subfields": [],
|
|
55
|
+
"cardinality": "Single",
|
|
56
|
+
"idAttribute": false
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"name": "totalPrice",
|
|
60
|
+
"type": "Double",
|
|
61
|
+
"example": "",
|
|
62
|
+
"mapping": "price",
|
|
63
|
+
"optional": false,
|
|
64
|
+
"subfields": [],
|
|
65
|
+
"cardinality": "Single",
|
|
66
|
+
"idAttribute": false
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"name": "productId",
|
|
70
|
+
"type": "UUID",
|
|
71
|
+
"example": "",
|
|
72
|
+
"mapping": "",
|
|
73
|
+
"optional": false,
|
|
74
|
+
"subfields": [],
|
|
75
|
+
"cardinality": "Single",
|
|
76
|
+
"idAttribute": false
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"name": "itemId",
|
|
80
|
+
"type": "UUID",
|
|
81
|
+
"example": "",
|
|
82
|
+
"mapping": "",
|
|
83
|
+
"optional": false,
|
|
84
|
+
"subfields": [],
|
|
85
|
+
"cardinality": "Single",
|
|
86
|
+
"idAttribute": true
|
|
87
|
+
}
|
|
88
|
+
],
|
|
89
|
+
"type": "READMODEL",
|
|
90
|
+
"description": "",
|
|
91
|
+
"aggregate": "default",
|
|
92
|
+
"aggregateDependencies": [],
|
|
93
|
+
"dependencies": [
|
|
94
|
+
{
|
|
95
|
+
"id": "9e7ae82a-42f0-4298-85f4-fc2f0f689f43",
|
|
96
|
+
"type": "OUTBOUND",
|
|
97
|
+
"title": "title",
|
|
98
|
+
"elementType": "SCREEN"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"id": "934c48e4-d999-418b-91b2-a4d7798c4a53",
|
|
102
|
+
"type": "OUTBOUND",
|
|
103
|
+
"title": "title",
|
|
104
|
+
"elementType": "SCREEN"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"id": "1977b408-2125-4752-992c-6bc36e00f8bb",
|
|
108
|
+
"type": "OUTBOUND",
|
|
109
|
+
"title": "title",
|
|
110
|
+
"elementType": "SCREEN"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"id": "a39b1e41-7b38-42b1-8ad3-c9cc18ca2f7c",
|
|
114
|
+
"type": "INBOUND",
|
|
115
|
+
"title": "Cart Created",
|
|
116
|
+
"elementType": "EVENT"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"id": "544d0a8c-809c-4670-a9d9-aa8259f43c46",
|
|
120
|
+
"type": "INBOUND",
|
|
121
|
+
"title": "Item Added",
|
|
122
|
+
"elementType": "EVENT"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"id": "b5b7ae0a-d0a7-4b2b-bc14-2086993eface",
|
|
126
|
+
"type": "INBOUND",
|
|
127
|
+
"title": "Item Removed",
|
|
128
|
+
"elementType": "EVENT"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"id": "d7cb2a4a-6d1a-4abf-9a37-0bdd9b84eb32",
|
|
132
|
+
"type": "INBOUND",
|
|
133
|
+
"title": "Cart Cleared",
|
|
134
|
+
"elementType": "EVENT"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"id": "3d3f9528-08f8-473b-8456-7b03f6d368ca",
|
|
138
|
+
"type": "INBOUND",
|
|
139
|
+
"title": "Item Archived",
|
|
140
|
+
"elementType": "EVENT"
|
|
141
|
+
}
|
|
142
|
+
],
|
|
143
|
+
"apiEndpoint": "",
|
|
144
|
+
"createsAggregate": false,
|
|
145
|
+
"triggers": [],
|
|
146
|
+
"elementCopy": false,
|
|
147
|
+
"linkedId": "631c5aa8-0f9e-4a8f-b7f6-91174cae2b82",
|
|
148
|
+
"sketched": false,
|
|
149
|
+
"prototype": {
|
|
150
|
+
"activeByDefault": false
|
|
151
|
+
},
|
|
152
|
+
"comments": []
|
|
153
|
+
}
|
|
154
|
+
],
|
|
155
|
+
"screens": [
|
|
156
|
+
{
|
|
157
|
+
"id": "934c48e4-d999-418b-91b2-a4d7798c4a53",
|
|
158
|
+
"tags": [],
|
|
159
|
+
"lane": "Actor",
|
|
160
|
+
"modelContext": "Understanding Eventsourcing",
|
|
161
|
+
"slice": "cart items",
|
|
162
|
+
"title": "title",
|
|
163
|
+
"fields": [
|
|
164
|
+
{
|
|
165
|
+
"name": "description",
|
|
166
|
+
"type": "String",
|
|
167
|
+
"example": "",
|
|
168
|
+
"mapping": "",
|
|
169
|
+
"optional": false,
|
|
170
|
+
"cardinality": "Single",
|
|
171
|
+
"idAttribute": false
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"name": "image",
|
|
175
|
+
"type": "String",
|
|
176
|
+
"example": "",
|
|
177
|
+
"mapping": "",
|
|
178
|
+
"optional": false,
|
|
179
|
+
"cardinality": "Single",
|
|
180
|
+
"idAttribute": false
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"name": "price",
|
|
184
|
+
"type": "Double",
|
|
185
|
+
"example": "",
|
|
186
|
+
"mapping": "",
|
|
187
|
+
"optional": false,
|
|
188
|
+
"cardinality": "Single",
|
|
189
|
+
"idAttribute": false
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"name": "totalPrice",
|
|
193
|
+
"type": "Double",
|
|
194
|
+
"example": "",
|
|
195
|
+
"mapping": "",
|
|
196
|
+
"optional": false,
|
|
197
|
+
"cardinality": "Single",
|
|
198
|
+
"idAttribute": false
|
|
199
|
+
}
|
|
200
|
+
],
|
|
201
|
+
"type": "SCREEN",
|
|
202
|
+
"description": "",
|
|
203
|
+
"aggregate": "default",
|
|
204
|
+
"aggregateDependencies": [],
|
|
205
|
+
"dependencies": [
|
|
206
|
+
{
|
|
207
|
+
"id": "631c5aa8-0f9e-4a8f-b7f6-91174cae2b82",
|
|
208
|
+
"type": "INBOUND",
|
|
209
|
+
"title": "cart items",
|
|
210
|
+
"elementType": "READMODEL"
|
|
211
|
+
}
|
|
212
|
+
],
|
|
213
|
+
"apiEndpoint": "",
|
|
214
|
+
"createsAggregate": false,
|
|
215
|
+
"triggers": [],
|
|
216
|
+
"elementCopy": false,
|
|
217
|
+
"linkedId": "934c48e4-d999-418b-91b2-a4d7798c4a53",
|
|
218
|
+
"sketched": false,
|
|
219
|
+
"prototype": {
|
|
220
|
+
"activeByDefault": false
|
|
221
|
+
},
|
|
222
|
+
"comments": []
|
|
223
|
+
}
|
|
224
|
+
],
|
|
225
|
+
"screenImages": [],
|
|
226
|
+
"screenLayouts": [],
|
|
227
|
+
"processors": [],
|
|
228
|
+
"tables": [],
|
|
229
|
+
"specifications": [],
|
|
230
|
+
"storylines": [],
|
|
231
|
+
"chapter": "Understanding Eventsourcing",
|
|
232
|
+
"codeGen": {},
|
|
233
|
+
"notes": [],
|
|
234
|
+
"comments": [],
|
|
235
|
+
"aggregates": []
|
|
236
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "4d9b60f9-f59f-4475-bfd8-8a4ca686f17f",
|
|
3
|
+
"status": "Planned",
|
|
4
|
+
"title": "Cart Publication Failed",
|
|
5
|
+
"context": "Understanding Eventsourcing",
|
|
6
|
+
"sliceType": "UNDEFINED",
|
|
7
|
+
"commands": [],
|
|
8
|
+
"events": [
|
|
9
|
+
{
|
|
10
|
+
"id": "efe58df2-5a4a-4344-9759-d4d2779c1045",
|
|
11
|
+
"tags": [],
|
|
12
|
+
"lane": "Events",
|
|
13
|
+
"modelContext": "Understanding Eventsourcing",
|
|
14
|
+
"slice": "Cart Publication Failed",
|
|
15
|
+
"title": "Cart Publication Failed",
|
|
16
|
+
"fields": [
|
|
17
|
+
{
|
|
18
|
+
"name": "aggregateId",
|
|
19
|
+
"type": "UUID",
|
|
20
|
+
"example": "",
|
|
21
|
+
"mapping": "",
|
|
22
|
+
"optional": false,
|
|
23
|
+
"subfields": [],
|
|
24
|
+
"cardinality": "Single",
|
|
25
|
+
"idAttribute": false
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"type": "EVENT",
|
|
29
|
+
"description": "",
|
|
30
|
+
"aggregate": "default",
|
|
31
|
+
"aggregateDependencies": [],
|
|
32
|
+
"dependencies": [
|
|
33
|
+
{
|
|
34
|
+
"id": "1ecaf8a8-2e66-4212-8813-c9f614736e5a",
|
|
35
|
+
"type": "INBOUND",
|
|
36
|
+
"title": "Publish Cart",
|
|
37
|
+
"elementType": "COMMAND"
|
|
38
|
+
}
|
|
39
|
+
],
|
|
40
|
+
"apiEndpoint": "",
|
|
41
|
+
"createsAggregate": false,
|
|
42
|
+
"triggers": [],
|
|
43
|
+
"elementCopy": false,
|
|
44
|
+
"linkedId": "efe58df2-5a4a-4344-9759-d4d2779c1045",
|
|
45
|
+
"sketched": false,
|
|
46
|
+
"prototype": {
|
|
47
|
+
"activeByDefault": false
|
|
48
|
+
},
|
|
49
|
+
"comments": []
|
|
50
|
+
}
|
|
51
|
+
],
|
|
52
|
+
"readmodels": [],
|
|
53
|
+
"screens": [],
|
|
54
|
+
"screenImages": [],
|
|
55
|
+
"screenLayouts": [],
|
|
56
|
+
"processors": [],
|
|
57
|
+
"tables": [],
|
|
58
|
+
"specifications": [],
|
|
59
|
+
"storylines": [],
|
|
60
|
+
"chapter": "Understanding Eventsourcing",
|
|
61
|
+
"codeGen": {},
|
|
62
|
+
"notes": [],
|
|
63
|
+
"comments": [],
|
|
64
|
+
"aggregates": []
|
|
65
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "cccef300-beb0-41de-8127-df7a8fd8a5b7",
|
|
3
|
+
"status": "Planned",
|
|
4
|
+
"title": "Cart Published",
|
|
5
|
+
"context": "Understanding Eventsourcing",
|
|
6
|
+
"sliceType": "UNDEFINED",
|
|
7
|
+
"commands": [],
|
|
8
|
+
"events": [
|
|
9
|
+
{
|
|
10
|
+
"id": "8dc753b4-a03e-4052-b5c6-ffcb84fdb023",
|
|
11
|
+
"tags": [],
|
|
12
|
+
"lane": "Events",
|
|
13
|
+
"modelContext": "Understanding Eventsourcing",
|
|
14
|
+
"slice": "Cart Published",
|
|
15
|
+
"title": "Cart Published",
|
|
16
|
+
"fields": [
|
|
17
|
+
{
|
|
18
|
+
"name": "aggregateId",
|
|
19
|
+
"type": "UUID",
|
|
20
|
+
"example": "",
|
|
21
|
+
"mapping": "",
|
|
22
|
+
"optional": false,
|
|
23
|
+
"subfields": [],
|
|
24
|
+
"cardinality": "Single",
|
|
25
|
+
"idAttribute": false
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"type": "EVENT",
|
|
29
|
+
"description": "",
|
|
30
|
+
"aggregate": "default",
|
|
31
|
+
"aggregateDependencies": [],
|
|
32
|
+
"dependencies": [
|
|
33
|
+
{
|
|
34
|
+
"id": "1ecaf8a8-2e66-4212-8813-c9f614736e5a",
|
|
35
|
+
"type": "INBOUND",
|
|
36
|
+
"title": "Publish Cart",
|
|
37
|
+
"elementType": "COMMAND"
|
|
38
|
+
}
|
|
39
|
+
],
|
|
40
|
+
"apiEndpoint": "",
|
|
41
|
+
"createsAggregate": false,
|
|
42
|
+
"triggers": [],
|
|
43
|
+
"elementCopy": false,
|
|
44
|
+
"linkedId": "8dc753b4-a03e-4052-b5c6-ffcb84fdb023",
|
|
45
|
+
"sketched": false,
|
|
46
|
+
"prototype": {
|
|
47
|
+
"activeByDefault": false
|
|
48
|
+
},
|
|
49
|
+
"comments": []
|
|
50
|
+
}
|
|
51
|
+
],
|
|
52
|
+
"readmodels": [],
|
|
53
|
+
"screens": [],
|
|
54
|
+
"screenImages": [],
|
|
55
|
+
"screenLayouts": [],
|
|
56
|
+
"processors": [],
|
|
57
|
+
"tables": [],
|
|
58
|
+
"specifications": [],
|
|
59
|
+
"storylines": [],
|
|
60
|
+
"chapter": "Understanding Eventsourcing",
|
|
61
|
+
"codeGen": {},
|
|
62
|
+
"notes": [],
|
|
63
|
+
"comments": [],
|
|
64
|
+
"aggregates": []
|
|
65
|
+
}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "b7e24b44-1c2c-4d42-b81d-298eb48ce19c",
|
|
3
|
+
"status": "Planned",
|
|
4
|
+
"title": "Carts with Products",
|
|
5
|
+
"context": "Understanding Eventsourcing",
|
|
6
|
+
"sliceType": "STATE_VIEW",
|
|
7
|
+
"commands": [],
|
|
8
|
+
"events": [],
|
|
9
|
+
"readmodels": [
|
|
10
|
+
{
|
|
11
|
+
"id": "22511305-2296-43ba-b8e8-d786d53cd25f",
|
|
12
|
+
"tags": [],
|
|
13
|
+
"lane": "Interaction",
|
|
14
|
+
"modelContext": "Understanding Eventsourcing",
|
|
15
|
+
"slice": "Carts with Products",
|
|
16
|
+
"title": "Carts with Products",
|
|
17
|
+
"fields": [
|
|
18
|
+
{
|
|
19
|
+
"name": "aggregateId",
|
|
20
|
+
"type": "UUID",
|
|
21
|
+
"example": "",
|
|
22
|
+
"mapping": "",
|
|
23
|
+
"optional": false,
|
|
24
|
+
"subfields": [],
|
|
25
|
+
"cardinality": "Single",
|
|
26
|
+
"idAttribute": false
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "productId",
|
|
30
|
+
"type": "UUID",
|
|
31
|
+
"example": "",
|
|
32
|
+
"mapping": "",
|
|
33
|
+
"optional": false,
|
|
34
|
+
"subfields": [],
|
|
35
|
+
"cardinality": "Single",
|
|
36
|
+
"idAttribute": false
|
|
37
|
+
}
|
|
38
|
+
],
|
|
39
|
+
"type": "READMODEL",
|
|
40
|
+
"description": "",
|
|
41
|
+
"aggregate": "default",
|
|
42
|
+
"aggregateDependencies": [],
|
|
43
|
+
"dependencies": [
|
|
44
|
+
{
|
|
45
|
+
"id": "1ccbf498-e4eb-4eb7-90c9-7c113780a136",
|
|
46
|
+
"type": "OUTBOUND",
|
|
47
|
+
"title": "automation",
|
|
48
|
+
"elementType": "AUTOMATION"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"id": "a39b1e41-7b38-42b1-8ad3-c9cc18ca2f7c",
|
|
52
|
+
"type": "INBOUND",
|
|
53
|
+
"title": "Cart Created",
|
|
54
|
+
"elementType": "EVENT"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"id": "544d0a8c-809c-4670-a9d9-aa8259f43c46",
|
|
58
|
+
"type": "INBOUND",
|
|
59
|
+
"title": "Item Added",
|
|
60
|
+
"elementType": "EVENT"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"id": "b5b7ae0a-d0a7-4b2b-bc14-2086993eface",
|
|
64
|
+
"type": "INBOUND",
|
|
65
|
+
"title": "Item Removed",
|
|
66
|
+
"elementType": "EVENT"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"id": "d7cb2a4a-6d1a-4abf-9a37-0bdd9b84eb32",
|
|
70
|
+
"type": "INBOUND",
|
|
71
|
+
"title": "Cart Cleared",
|
|
72
|
+
"elementType": "EVENT"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"id": "3d3f9528-08f8-473b-8456-7b03f6d368ca",
|
|
76
|
+
"type": "INBOUND",
|
|
77
|
+
"title": "Item Archived",
|
|
78
|
+
"elementType": "EVENT"
|
|
79
|
+
}
|
|
80
|
+
],
|
|
81
|
+
"apiEndpoint": "",
|
|
82
|
+
"createsAggregate": false,
|
|
83
|
+
"triggers": [],
|
|
84
|
+
"elementCopy": false,
|
|
85
|
+
"linkedId": "22511305-2296-43ba-b8e8-d786d53cd25f",
|
|
86
|
+
"sketched": false,
|
|
87
|
+
"prototype": {
|
|
88
|
+
"activeByDefault": false
|
|
89
|
+
},
|
|
90
|
+
"comments": []
|
|
91
|
+
}
|
|
92
|
+
],
|
|
93
|
+
"screens": [],
|
|
94
|
+
"screenImages": [],
|
|
95
|
+
"screenLayouts": [],
|
|
96
|
+
"processors": [],
|
|
97
|
+
"tables": [],
|
|
98
|
+
"specifications": [],
|
|
99
|
+
"storylines": [],
|
|
100
|
+
"chapter": "Understanding Eventsourcing",
|
|
101
|
+
"codeGen": {},
|
|
102
|
+
"notes": [],
|
|
103
|
+
"comments": [],
|
|
104
|
+
"aggregates": []
|
|
105
|
+
}
|