@@ -222,23 +222,64 @@ php artisan flowpipe:export user-registration --format=md --output=docs/user-reg
222
222
223
223
## Step Groups
224
224
225
- The examples demonstrate three types of reusable step groups:
225
+ The examples demonstrate multiple types of reusable step groups organized by functionality :
226
226
227
- ### User Validation Group (` groups/user-validation.yaml ` )
227
+ ### User-Related Groups
228
+
229
+ #### User Validation Group (` groups/user-validation.yaml ` )
228
230
- Email format validation
229
231
- Password strength checking
230
232
- Required field validation
231
233
- User existence checking
232
234
- Terms acceptance validation
233
235
234
- ### Order Processing Group (` groups/order-processing.yaml ` )
236
+ #### User Setup Group (` groups/user-setup.yaml ` )
237
+ - User ID generation
238
+ - Password hashing
239
+ - Profile creation
240
+ - Default preferences setup
241
+ - API key generation
242
+
243
+ #### User Notifications Group (` groups/user-notifications.yaml ` )
244
+ - Welcome email sending
245
+ - Email verification dispatch
246
+ - Admin notifications
247
+ - Registration event logging
248
+ - User statistics updates
249
+
250
+ ### E-commerce Groups
251
+
252
+ #### Order Validation Group (` groups/order-validation.yaml ` )
253
+ - Order structure validation
254
+ - Customer information validation
255
+ - Item and quantity validation
256
+ - Order total verification
257
+ - Business rules checking
258
+
259
+ #### Inventory Management Group (` groups/inventory-management.yaml ` )
260
+ - Item availability checking
261
+ - Inventory reservation
262
+ - Shipping cost calculation
263
+ - Inventory level updates
264
+ - Inventory reporting
265
+
266
+ #### Order Notifications Group (` groups/order-notifications.yaml ` )
267
+ - Order confirmation emails
268
+ - SMS notifications
269
+ - Customer account updates
270
+ - Warehouse notifications
271
+ - Notification event logging
272
+
273
+ ### General Processing Groups
274
+
275
+ #### Order Processing Group (` groups/order-processing.yaml ` )
235
276
- Order data validation
236
277
- Inventory checking and reservation
237
278
- Payment processing
238
279
- Order record creation
239
280
- Confirmation generation
240
281
241
- ### Notifications Group (` groups/notifications.yaml ` )
282
+ #### Notifications Group (` groups/notifications.yaml ` )
242
283
- Welcome email sending
243
284
- Verification email dispatch
244
285
- SMS notifications
0 commit comments