@eventmodelers/cli 1.0.72 → 1.0.73

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 (26) hide show
  1. package/README.md +19 -5
  2. package/RELEASE_NOTES.md +5 -0
  3. package/cli.js +119 -21
  4. package/package.json +1 -1
  5. package/shared/demo-slices/Understanding Eventsourcing/additem/slice.json +176 -0
  6. package/shared/demo-slices/Understanding Eventsourcing/archiveitem/slice.json +209 -0
  7. package/shared/demo-slices/Understanding Eventsourcing/cartitems/slice.json +236 -0
  8. package/shared/demo-slices/Understanding Eventsourcing/cartpublicationfailed/slice.json +65 -0
  9. package/shared/demo-slices/Understanding Eventsourcing/cartpublished/slice.json +65 -0
  10. package/shared/demo-slices/Understanding Eventsourcing/cartswithproducts/slice.json +105 -0
  11. package/shared/demo-slices/Understanding Eventsourcing/changedprices/slice.json +91 -0
  12. package/shared/demo-slices/Understanding Eventsourcing/changeinventory/slice.json +191 -0
  13. package/shared/demo-slices/Understanding Eventsourcing/changeprice/slice.json +220 -0
  14. package/shared/demo-slices/Understanding Eventsourcing/clearcart/slice.json +219 -0
  15. package/shared/demo-slices/Understanding Eventsourcing/config.json +2631 -0
  16. package/shared/demo-slices/Understanding Eventsourcing/context.json +3 -0
  17. package/shared/demo-slices/Understanding Eventsourcing/index.json +132 -0
  18. package/shared/demo-slices/Understanding Eventsourcing/inventories/slice.json +132 -0
  19. package/shared/demo-slices/Understanding Eventsourcing/itemadded/slice.json +137 -0
  20. package/shared/demo-slices/Understanding Eventsourcing/publishcart/slice.json +230 -0
  21. package/shared/demo-slices/Understanding Eventsourcing/removeitem/slice.json +239 -0
  22. package/shared/demo-slices/Understanding Eventsourcing/submitcart/slice.json +199 -0
  23. package/shared/demo-slices/Understanding Eventsourcing/submittedcartdata/slice.json +90 -0
  24. package/shared/demo-slices/current_context.json +3 -0
  25. package/stacks/modeling-kit/templates/kit/CLAUDE-STANDALONE.md +8 -6
  26. package/stacks/modeling-kit/templates/kit/CLAUDE.md +12 -7
@@ -0,0 +1,219 @@
1
+ {
2
+ "id": "d7e5ba77-fd22-4975-b131-3e942b4859b0",
3
+ "status": "Planned",
4
+ "title": "Clear Cart",
5
+ "context": "Understanding Eventsourcing",
6
+ "sliceType": "STATE_CHANGE",
7
+ "commands": [
8
+ {
9
+ "id": "84d6812f-3646-4953-9697-9848d21ca961",
10
+ "tags": [],
11
+ "lane": "Interaction",
12
+ "modelContext": "Understanding Eventsourcing",
13
+ "slice": "Clear Cart",
14
+ "title": "Clear Cart",
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
+ "type": "COMMAND",
28
+ "description": "",
29
+ "aggregate": "default",
30
+ "aggregateDependencies": [],
31
+ "dependencies": [
32
+ {
33
+ "id": "d7cb2a4a-6d1a-4abf-9a37-0bdd9b84eb32",
34
+ "type": "OUTBOUND",
35
+ "title": "Cart Cleared",
36
+ "elementType": "EVENT"
37
+ },
38
+ {
39
+ "id": "1977b408-2125-4752-992c-6bc36e00f8bb",
40
+ "type": "INBOUND",
41
+ "title": "title",
42
+ "elementType": "SCREEN"
43
+ }
44
+ ],
45
+ "apiEndpoint": "",
46
+ "createsAggregate": false,
47
+ "triggers": [],
48
+ "elementCopy": false,
49
+ "linkedId": "84d6812f-3646-4953-9697-9848d21ca961",
50
+ "sketched": false,
51
+ "prototype": {
52
+ "activeByDefault": false
53
+ },
54
+ "comments": []
55
+ }
56
+ ],
57
+ "events": [
58
+ {
59
+ "id": "d7cb2a4a-6d1a-4abf-9a37-0bdd9b84eb32",
60
+ "tags": [],
61
+ "lane": "Events",
62
+ "modelContext": "Understanding Eventsourcing",
63
+ "slice": "Clear Cart",
64
+ "title": "Cart Cleared",
65
+ "fields": [
66
+ {
67
+ "name": "aggregateId",
68
+ "type": "UUID",
69
+ "example": "",
70
+ "mapping": "",
71
+ "optional": false,
72
+ "subfields": [],
73
+ "cardinality": "Single",
74
+ "idAttribute": false
75
+ }
76
+ ],
77
+ "type": "EVENT",
78
+ "description": "",
79
+ "aggregate": "default",
80
+ "aggregateDependencies": [],
81
+ "dependencies": [
82
+ {
83
+ "id": "631c5aa8-0f9e-4a8f-b7f6-91174cae2b82",
84
+ "type": "OUTBOUND",
85
+ "title": "cart items",
86
+ "elementType": "READMODEL"
87
+ },
88
+ {
89
+ "id": "22511305-2296-43ba-b8e8-d786d53cd25f",
90
+ "type": "OUTBOUND",
91
+ "title": "Carts with Products",
92
+ "elementType": "READMODEL"
93
+ },
94
+ {
95
+ "id": "84d6812f-3646-4953-9697-9848d21ca961",
96
+ "type": "INBOUND",
97
+ "title": "Clear Cart",
98
+ "elementType": "COMMAND"
99
+ }
100
+ ],
101
+ "apiEndpoint": "",
102
+ "createsAggregate": false,
103
+ "triggers": [],
104
+ "elementCopy": false,
105
+ "linkedId": "d7cb2a4a-6d1a-4abf-9a37-0bdd9b84eb32",
106
+ "sketched": false,
107
+ "prototype": {
108
+ "activeByDefault": false
109
+ },
110
+ "comments": []
111
+ }
112
+ ],
113
+ "readmodels": [],
114
+ "screens": [
115
+ {
116
+ "id": "1977b408-2125-4752-992c-6bc36e00f8bb",
117
+ "tags": [],
118
+ "lane": "Actor",
119
+ "modelContext": "Understanding Eventsourcing",
120
+ "slice": "Clear Cart",
121
+ "title": "title",
122
+ "fields": [
123
+ {
124
+ "name": "aggregateId",
125
+ "type": "UUID",
126
+ "example": "",
127
+ "mapping": "",
128
+ "optional": false,
129
+ "cardinality": "Single",
130
+ "idAttribute": false
131
+ },
132
+ {
133
+ "name": "description",
134
+ "type": "String",
135
+ "example": "",
136
+ "mapping": "",
137
+ "optional": false,
138
+ "cardinality": "Single",
139
+ "idAttribute": false
140
+ },
141
+ {
142
+ "name": "image",
143
+ "type": "String",
144
+ "example": "",
145
+ "mapping": "",
146
+ "optional": false,
147
+ "cardinality": "Single",
148
+ "idAttribute": false
149
+ },
150
+ {
151
+ "name": "itemId",
152
+ "type": "UUID",
153
+ "example": "",
154
+ "mapping": "",
155
+ "optional": false,
156
+ "cardinality": "Single",
157
+ "idAttribute": false
158
+ },
159
+ {
160
+ "name": "price",
161
+ "type": "Double",
162
+ "example": "",
163
+ "mapping": "",
164
+ "optional": false,
165
+ "cardinality": "Single",
166
+ "idAttribute": false
167
+ },
168
+ {
169
+ "name": "totalPrice",
170
+ "type": "Double",
171
+ "example": "",
172
+ "mapping": "",
173
+ "optional": false,
174
+ "cardinality": "Single",
175
+ "idAttribute": false
176
+ }
177
+ ],
178
+ "type": "SCREEN",
179
+ "description": "",
180
+ "aggregate": "default",
181
+ "aggregateDependencies": [],
182
+ "dependencies": [
183
+ {
184
+ "id": "84d6812f-3646-4953-9697-9848d21ca961",
185
+ "type": "OUTBOUND",
186
+ "title": "Clear Cart",
187
+ "elementType": "COMMAND"
188
+ },
189
+ {
190
+ "id": "631c5aa8-0f9e-4a8f-b7f6-91174cae2b82",
191
+ "type": "INBOUND",
192
+ "title": "cart items",
193
+ "elementType": "READMODEL"
194
+ }
195
+ ],
196
+ "apiEndpoint": "",
197
+ "createsAggregate": false,
198
+ "triggers": [],
199
+ "elementCopy": false,
200
+ "linkedId": "1977b408-2125-4752-992c-6bc36e00f8bb",
201
+ "sketched": false,
202
+ "prototype": {
203
+ "activeByDefault": false
204
+ },
205
+ "comments": []
206
+ }
207
+ ],
208
+ "screenImages": [],
209
+ "screenLayouts": [],
210
+ "processors": [],
211
+ "tables": [],
212
+ "specifications": [],
213
+ "storylines": [],
214
+ "chapter": "Understanding Eventsourcing",
215
+ "codeGen": {},
216
+ "notes": [],
217
+ "comments": [],
218
+ "aggregates": []
219
+ }