@almadar/std 9.0.0 → 11.0.0

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 (187) hide show
  1. package/behaviors/registry/agent/atoms/std-agent-activity-log.orb +80 -80
  2. package/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +103 -103
  3. package/behaviors/registry/agent/atoms/std-agent-classifier.orb +131 -113
  4. package/behaviors/registry/agent/atoms/std-agent-completion.orb +116 -98
  5. package/behaviors/registry/agent/atoms/std-agent-context-window.orb +384 -384
  6. package/behaviors/registry/agent/atoms/std-agent-conversation.orb +106 -106
  7. package/behaviors/registry/agent/atoms/std-agent-memory.orb +75 -75
  8. package/behaviors/registry/agent/atoms/std-agent-provider.orb +163 -139
  9. package/behaviors/registry/agent/atoms/std-agent-search.orb +64 -64
  10. package/behaviors/registry/agent/atoms/std-agent-session.orb +130 -130
  11. package/behaviors/registry/agent/atoms/std-agent-step-progress.orb +185 -185
  12. package/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +344 -344
  13. package/behaviors/registry/agent/atoms/std-agent-tool-call.orb +81 -63
  14. package/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +189 -189
  15. package/behaviors/registry/agent/molecules/std-agent-learner.orb +163 -163
  16. package/behaviors/registry/agent/molecules/std-agent-planner.orb +120 -120
  17. package/behaviors/registry/agent/molecules/std-agent-rag.orb +108 -108
  18. package/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +188 -188
  19. package/behaviors/registry/agent/organisms/std-agent-assistant.orb +1097 -1072
  20. package/behaviors/registry/agent/organisms/std-agent-builder.orb +3183 -3043
  21. package/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2309 -2217
  22. package/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1083 -1029
  23. package/behaviors/registry/agent/organisms/std-agent-tutor.orb +793 -768
  24. package/behaviors/registry/app/organisms/std-api-gateway.orb +929 -887
  25. package/behaviors/registry/app/organisms/std-booking-system.orb +1247 -1163
  26. package/behaviors/registry/app/organisms/std-cicd-pipeline.orb +822 -780
  27. package/behaviors/registry/app/organisms/std-cms.orb +608 -512
  28. package/behaviors/registry/app/organisms/std-coding-academy.orb +393 -393
  29. package/behaviors/registry/app/organisms/std-crm.orb +887 -791
  30. package/behaviors/registry/app/organisms/std-devops-dashboard.orb +1408 -1366
  31. package/behaviors/registry/app/organisms/std-ecommerce.orb +1147 -1021
  32. package/behaviors/registry/app/organisms/std-finance-tracker.orb +670 -616
  33. package/behaviors/registry/app/organisms/std-healthcare.orb +1447 -1351
  34. package/behaviors/registry/app/organisms/std-helpdesk.orb +720 -666
  35. package/behaviors/registry/app/organisms/std-hr-portal.orb +1286 -1202
  36. package/behaviors/registry/app/organisms/std-iot-dashboard.orb +925 -883
  37. package/behaviors/registry/app/organisms/std-lms.orb +935 -893
  38. package/behaviors/registry/app/organisms/std-project-manager.orb +834 -750
  39. package/behaviors/registry/app/organisms/std-realtime-chat.orb +735 -681
  40. package/behaviors/registry/app/organisms/std-social-feed.orb +235 -211
  41. package/behaviors/registry/app/organisms/std-trading-dashboard.orb +730 -688
  42. package/behaviors/registry/core/atoms/std-browse.orb +56 -56
  43. package/behaviors/registry/core/atoms/std-cache-aside.orb +95 -95
  44. package/behaviors/registry/core/atoms/std-calendar.orb +54 -54
  45. package/behaviors/registry/core/atoms/std-circuit-breaker.orb +180 -180
  46. package/behaviors/registry/core/atoms/std-confirmation.orb +25 -25
  47. package/behaviors/registry/core/atoms/std-display.orb +388 -388
  48. package/behaviors/registry/core/atoms/std-drawer.orb +54 -54
  49. package/behaviors/registry/core/atoms/std-filter.orb +47 -47
  50. package/behaviors/registry/core/atoms/std-gallery.orb +51 -51
  51. package/behaviors/registry/core/atoms/std-modal.orb +12 -12
  52. package/behaviors/registry/core/atoms/std-pagination.orb +42 -42
  53. package/behaviors/registry/core/atoms/std-push.orb +43 -43
  54. package/behaviors/registry/core/atoms/std-rate-limiter.orb +194 -194
  55. package/behaviors/registry/core/atoms/std-related.orb +37 -37
  56. package/behaviors/registry/core/atoms/std-search.orb +68 -68
  57. package/behaviors/registry/core/atoms/std-selection.orb +90 -90
  58. package/behaviors/registry/core/atoms/std-tabs.orb +44 -44
  59. package/behaviors/registry/core/molecules/std-cart.orb +55 -59
  60. package/behaviors/registry/core/molecules/std-filtered-list.orb +6 -6
  61. package/behaviors/registry/core/molecules/std-form-advanced.orb +132 -132
  62. package/behaviors/registry/core/molecules/std-list.orb +79 -85
  63. package/behaviors/registry/core/molecules/std-wizard-form.orb +146 -146
  64. package/behaviors/registry/game/atoms/std-collision.orb +122 -122
  65. package/behaviors/registry/game/atoms/std-combat.orb +66 -66
  66. package/behaviors/registry/game/atoms/std-dialogue-box.orb +25 -25
  67. package/behaviors/registry/game/atoms/std-game-canvas2d.orb +43 -43
  68. package/behaviors/registry/game/atoms/std-gameflow.orb +37 -37
  69. package/behaviors/registry/game/atoms/std-movement.orb +291 -291
  70. package/behaviors/registry/game/atoms/std-overworld.orb +69 -69
  71. package/behaviors/registry/game/atoms/std-physics2d.orb +77 -77
  72. package/behaviors/registry/game/atoms/std-quest.orb +133 -133
  73. package/behaviors/registry/game/atoms/std-timer.orb +291 -291
  74. package/behaviors/registry/game/organisms/std-arcade-game.orb +139 -139
  75. package/behaviors/registry/game/organisms/std-logic-training.orb +81 -81
  76. package/behaviors/registry/game/organisms/std-platformer-app.orb +273 -237
  77. package/behaviors/registry/game/organisms/std-puzzle-app.orb +98 -98
  78. package/behaviors/registry/game/organisms/std-rpg-game.orb +407 -371
  79. package/behaviors/registry/game/organisms/std-stem-lab.orb +378 -378
  80. package/behaviors/registry/game/organisms/std-strategy-game.orb +557 -557
  81. package/behaviors/registry/probes/molecules/std-source-scope-probe.orb +282 -20
  82. package/behaviors/registry/service/atoms/std-service-custom-bearer.orb +84 -84
  83. package/behaviors/registry/service/atoms/std-service-email.orb +88 -88
  84. package/behaviors/registry/service/atoms/std-service-github.orb +88 -88
  85. package/behaviors/registry/service/atoms/std-service-llm.orb +119 -119
  86. package/behaviors/registry/service/atoms/std-service-oauth.orb +122 -122
  87. package/behaviors/registry/service/atoms/std-service-redis.orb +99 -99
  88. package/behaviors/registry/service/atoms/std-service-storage.orb +109 -109
  89. package/behaviors/registry/service/atoms/std-service-stripe.orb +105 -105
  90. package/behaviors/registry/service/atoms/std-service-twilio.orb +112 -112
  91. package/behaviors/registry/service/atoms/std-service-youtube.orb +111 -111
  92. package/behaviors/registry/service/organisms/std-service-marketplace.orb +1098 -1014
  93. package/behaviors/registry/service/organisms/std-service-research-assistant.orb +956 -956
  94. package/dist/behaviors/registry/agent/atoms/std-agent-activity-log.orb +80 -80
  95. package/dist/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +103 -103
  96. package/dist/behaviors/registry/agent/atoms/std-agent-classifier.orb +131 -113
  97. package/dist/behaviors/registry/agent/atoms/std-agent-completion.orb +116 -98
  98. package/dist/behaviors/registry/agent/atoms/std-agent-context-window.orb +384 -384
  99. package/dist/behaviors/registry/agent/atoms/std-agent-conversation.orb +106 -106
  100. package/dist/behaviors/registry/agent/atoms/std-agent-memory.orb +75 -75
  101. package/dist/behaviors/registry/agent/atoms/std-agent-provider.orb +163 -139
  102. package/dist/behaviors/registry/agent/atoms/std-agent-search.orb +64 -64
  103. package/dist/behaviors/registry/agent/atoms/std-agent-session.orb +130 -130
  104. package/dist/behaviors/registry/agent/atoms/std-agent-step-progress.orb +185 -185
  105. package/dist/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +344 -344
  106. package/dist/behaviors/registry/agent/atoms/std-agent-tool-call.orb +81 -63
  107. package/dist/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +189 -189
  108. package/dist/behaviors/registry/agent/molecules/std-agent-learner.orb +163 -163
  109. package/dist/behaviors/registry/agent/molecules/std-agent-planner.orb +120 -120
  110. package/dist/behaviors/registry/agent/molecules/std-agent-rag.orb +108 -108
  111. package/dist/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +188 -188
  112. package/dist/behaviors/registry/agent/organisms/std-agent-assistant.orb +1097 -1072
  113. package/dist/behaviors/registry/agent/organisms/std-agent-builder.orb +3183 -3043
  114. package/dist/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2309 -2217
  115. package/dist/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1083 -1029
  116. package/dist/behaviors/registry/agent/organisms/std-agent-tutor.orb +793 -768
  117. package/dist/behaviors/registry/app/organisms/std-api-gateway.orb +929 -887
  118. package/dist/behaviors/registry/app/organisms/std-booking-system.orb +1247 -1163
  119. package/dist/behaviors/registry/app/organisms/std-cicd-pipeline.orb +822 -780
  120. package/dist/behaviors/registry/app/organisms/std-cms.orb +608 -512
  121. package/dist/behaviors/registry/app/organisms/std-coding-academy.orb +393 -393
  122. package/dist/behaviors/registry/app/organisms/std-crm.orb +887 -791
  123. package/dist/behaviors/registry/app/organisms/std-devops-dashboard.orb +1408 -1366
  124. package/dist/behaviors/registry/app/organisms/std-ecommerce.orb +1147 -1021
  125. package/dist/behaviors/registry/app/organisms/std-finance-tracker.orb +670 -616
  126. package/dist/behaviors/registry/app/organisms/std-healthcare.orb +1447 -1351
  127. package/dist/behaviors/registry/app/organisms/std-helpdesk.orb +720 -666
  128. package/dist/behaviors/registry/app/organisms/std-hr-portal.orb +1286 -1202
  129. package/dist/behaviors/registry/app/organisms/std-iot-dashboard.orb +925 -883
  130. package/dist/behaviors/registry/app/organisms/std-lms.orb +935 -893
  131. package/dist/behaviors/registry/app/organisms/std-project-manager.orb +834 -750
  132. package/dist/behaviors/registry/app/organisms/std-realtime-chat.orb +735 -681
  133. package/dist/behaviors/registry/app/organisms/std-social-feed.orb +235 -211
  134. package/dist/behaviors/registry/app/organisms/std-trading-dashboard.orb +730 -688
  135. package/dist/behaviors/registry/core/atoms/std-browse.orb +56 -56
  136. package/dist/behaviors/registry/core/atoms/std-cache-aside.orb +95 -95
  137. package/dist/behaviors/registry/core/atoms/std-calendar.orb +54 -54
  138. package/dist/behaviors/registry/core/atoms/std-circuit-breaker.orb +180 -180
  139. package/dist/behaviors/registry/core/atoms/std-confirmation.orb +25 -25
  140. package/dist/behaviors/registry/core/atoms/std-display.orb +388 -388
  141. package/dist/behaviors/registry/core/atoms/std-drawer.orb +54 -54
  142. package/dist/behaviors/registry/core/atoms/std-filter.orb +47 -47
  143. package/dist/behaviors/registry/core/atoms/std-gallery.orb +51 -51
  144. package/dist/behaviors/registry/core/atoms/std-modal.orb +12 -12
  145. package/dist/behaviors/registry/core/atoms/std-pagination.orb +42 -42
  146. package/dist/behaviors/registry/core/atoms/std-push.orb +43 -43
  147. package/dist/behaviors/registry/core/atoms/std-rate-limiter.orb +194 -194
  148. package/dist/behaviors/registry/core/atoms/std-related.orb +37 -37
  149. package/dist/behaviors/registry/core/atoms/std-search.orb +68 -68
  150. package/dist/behaviors/registry/core/atoms/std-selection.orb +90 -90
  151. package/dist/behaviors/registry/core/atoms/std-tabs.orb +44 -44
  152. package/dist/behaviors/registry/core/molecules/std-cart.orb +55 -59
  153. package/dist/behaviors/registry/core/molecules/std-filtered-list.orb +6 -6
  154. package/dist/behaviors/registry/core/molecules/std-form-advanced.orb +132 -132
  155. package/dist/behaviors/registry/core/molecules/std-list.orb +79 -85
  156. package/dist/behaviors/registry/core/molecules/std-wizard-form.orb +146 -146
  157. package/dist/behaviors/registry/game/atoms/std-collision.orb +122 -122
  158. package/dist/behaviors/registry/game/atoms/std-combat.orb +66 -66
  159. package/dist/behaviors/registry/game/atoms/std-dialogue-box.orb +25 -25
  160. package/dist/behaviors/registry/game/atoms/std-game-canvas2d.orb +43 -43
  161. package/dist/behaviors/registry/game/atoms/std-gameflow.orb +37 -37
  162. package/dist/behaviors/registry/game/atoms/std-movement.orb +291 -291
  163. package/dist/behaviors/registry/game/atoms/std-overworld.orb +69 -69
  164. package/dist/behaviors/registry/game/atoms/std-physics2d.orb +77 -77
  165. package/dist/behaviors/registry/game/atoms/std-quest.orb +133 -133
  166. package/dist/behaviors/registry/game/atoms/std-timer.orb +291 -291
  167. package/dist/behaviors/registry/game/organisms/std-arcade-game.orb +139 -139
  168. package/dist/behaviors/registry/game/organisms/std-logic-training.orb +81 -81
  169. package/dist/behaviors/registry/game/organisms/std-platformer-app.orb +273 -237
  170. package/dist/behaviors/registry/game/organisms/std-puzzle-app.orb +98 -98
  171. package/dist/behaviors/registry/game/organisms/std-rpg-game.orb +407 -371
  172. package/dist/behaviors/registry/game/organisms/std-stem-lab.orb +378 -378
  173. package/dist/behaviors/registry/game/organisms/std-strategy-game.orb +557 -557
  174. package/dist/behaviors/registry/probes/molecules/std-source-scope-probe.orb +282 -20
  175. package/dist/behaviors/registry/service/atoms/std-service-custom-bearer.orb +84 -84
  176. package/dist/behaviors/registry/service/atoms/std-service-email.orb +88 -88
  177. package/dist/behaviors/registry/service/atoms/std-service-github.orb +88 -88
  178. package/dist/behaviors/registry/service/atoms/std-service-llm.orb +119 -119
  179. package/dist/behaviors/registry/service/atoms/std-service-oauth.orb +122 -122
  180. package/dist/behaviors/registry/service/atoms/std-service-redis.orb +99 -99
  181. package/dist/behaviors/registry/service/atoms/std-service-storage.orb +109 -109
  182. package/dist/behaviors/registry/service/atoms/std-service-stripe.orb +105 -105
  183. package/dist/behaviors/registry/service/atoms/std-service-twilio.orb +112 -112
  184. package/dist/behaviors/registry/service/atoms/std-service-youtube.orb +111 -111
  185. package/dist/behaviors/registry/service/organisms/std-service-marketplace.orb +1098 -1014
  186. package/dist/behaviors/registry/service/organisms/std-service-research-assistant.orb +956 -956
  187. package/package.json +1 -1
@@ -178,22 +178,22 @@
178
178
  "render-ui",
179
179
  "main",
180
180
  {
181
- "direction": "vertical",
182
- "align": "center",
183
- "type": "stack",
184
181
  "gap": "md",
185
182
  "className": "py-12",
183
+ "type": "stack",
184
+ "align": "center",
186
185
  "children": [
187
186
  {
188
187
  "type": "spinner"
189
188
  },
190
189
  {
191
- "type": "typography",
192
- "variant": "caption",
193
190
  "content": "Loading list…",
191
+ "variant": "caption",
192
+ "type": "typography",
194
193
  "color": "muted"
195
194
  }
196
- ]
195
+ ],
196
+ "direction": "vertical"
197
197
  }
198
198
  ]
199
199
  ]
@@ -207,80 +207,80 @@
207
207
  "render-ui",
208
208
  "main",
209
209
  {
210
- "direction": "vertical",
211
- "type": "stack",
212
- "gap": "lg",
213
- "className": "max-w-5xl mx-auto w-full",
214
210
  "children": [
215
211
  {
212
+ "direction": "horizontal",
213
+ "justify": "between",
214
+ "type": "stack",
216
215
  "children": [
217
216
  {
218
- "type": "stack",
217
+ "gap": "md",
219
218
  "children": [
220
219
  {
221
220
  "name": "list",
222
221
  "type": "icon"
223
222
  },
224
223
  {
225
- "content": "ListItems",
226
224
  "type": "typography",
225
+ "content": "ListItems",
227
226
  "variant": "h2"
228
227
  }
229
228
  ],
230
229
  "direction": "horizontal",
231
- "gap": "md"
230
+ "type": "stack"
232
231
  },
233
232
  {
234
- "type": "button",
235
233
  "label": "Create",
236
- "action": "CREATE",
237
234
  "variant": "primary",
238
- "icon": "plus"
235
+ "icon": "plus",
236
+ "action": "CREATE",
237
+ "type": "button"
239
238
  }
240
239
  ],
241
- "gap": "md",
242
- "justify": "between",
243
- "direction": "horizontal",
244
- "type": "stack"
240
+ "gap": "md"
245
241
  },
246
242
  {
247
243
  "type": "divider"
248
244
  },
249
245
  {
250
246
  "entity": "@payload.data",
247
+ "type": "data-grid",
248
+ "itemActions": [
249
+ {
250
+ "event": "EDIT",
251
+ "variant": "ghost",
252
+ "label": "Edit"
253
+ },
254
+ {
255
+ "variant": "danger",
256
+ "event": "DELETE",
257
+ "label": "Delete"
258
+ }
259
+ ],
251
260
  "fields": [
252
261
  {
253
- "label": "Name",
262
+ "name": "name",
254
263
  "variant": "h4",
255
- "icon": "list",
256
- "name": "name"
264
+ "label": "Name",
265
+ "icon": "list"
257
266
  },
258
267
  {
259
- "name": "description",
260
268
  "label": "Description",
261
- "variant": "caption"
269
+ "variant": "caption",
270
+ "name": "description"
262
271
  },
263
272
  {
273
+ "label": "Status",
264
274
  "variant": "badge",
265
- "name": "status",
266
- "label": "Status"
267
- }
268
- ],
269
- "type": "data-grid",
270
- "itemActions": [
271
- {
272
- "label": "Edit",
273
- "event": "EDIT",
274
- "variant": "ghost"
275
- },
276
- {
277
- "event": "DELETE",
278
- "label": "Delete",
279
- "variant": "danger"
275
+ "name": "status"
280
276
  }
281
277
  ]
282
278
  }
283
- ]
279
+ ],
280
+ "direction": "vertical",
281
+ "gap": "lg",
282
+ "type": "stack",
283
+ "className": "max-w-5xl mx-auto w-full"
284
284
  }
285
285
  ]
286
286
  ]
@@ -295,35 +295,35 @@
295
295
  "main",
296
296
  {
297
297
  "className": "py-12",
298
- "type": "stack",
299
- "gap": "md",
300
- "direction": "vertical",
301
298
  "align": "center",
302
299
  "children": [
303
300
  {
304
- "name": "alert-triangle",
305
301
  "color": "destructive",
306
- "type": "icon"
302
+ "type": "icon",
303
+ "name": "alert-triangle"
307
304
  },
308
305
  {
306
+ "variant": "h3",
309
307
  "content": "Failed to load list",
310
- "type": "typography",
311
- "variant": "h3"
308
+ "type": "typography"
312
309
  },
313
310
  {
314
- "variant": "body",
315
311
  "content": "@payload.error",
316
312
  "type": "typography",
317
- "color": "muted"
313
+ "color": "muted",
314
+ "variant": "body"
318
315
  },
319
316
  {
320
- "icon": "rotate-ccw",
317
+ "type": "button",
318
+ "label": "Retry",
321
319
  "action": "INIT",
322
320
  "variant": "primary",
323
- "type": "button",
324
- "label": "Retry"
321
+ "icon": "rotate-ccw"
325
322
  }
326
- ]
323
+ ],
324
+ "type": "stack",
325
+ "direction": "vertical",
326
+ "gap": "md"
327
327
  }
328
328
  ]
329
329
  ]
@@ -362,8 +362,8 @@
362
362
  "ListItem",
363
363
  {
364
364
  "emit": {
365
- "success": "ListItemLoaded",
366
- "failure": "ListItemLoadFailed"
365
+ "failure": "ListItemLoadFailed",
366
+ "success": "ListItemLoaded"
367
367
  }
368
368
  }
369
369
  ],
@@ -385,18 +385,18 @@
385
385
  "name": "ListItemCreate",
386
386
  "linkedEntity": "ListItem",
387
387
  "config": {
388
+ "title": "Create ListItem",
389
+ "mode": "create",
388
390
  "fields": [
389
391
  "name",
390
392
  "description",
391
393
  "status"
392
394
  ],
393
- "icon": "plus-circle",
394
- "title": "Create ListItem",
395
- "mode": "create"
395
+ "icon": "plus-circle"
396
396
  },
397
397
  "events": {
398
- "SAVE": "LIST_ITEM_CREATED",
399
- "OPEN": "CREATE"
398
+ "OPEN": "CREATE",
399
+ "SAVE": "LIST_ITEM_CREATED"
400
400
  }
401
401
  },
402
402
  {
@@ -404,18 +404,18 @@
404
404
  "name": "ListItemEdit",
405
405
  "linkedEntity": "ListItem",
406
406
  "config": {
407
+ "icon": "edit",
407
408
  "fields": [
408
409
  "name",
409
410
  "description",
410
411
  "status"
411
412
  ],
412
413
  "mode": "edit",
413
- "icon": "edit",
414
414
  "title": "Edit ListItem"
415
415
  },
416
416
  "events": {
417
- "SAVE": "LIST_ITEM_UPDATED",
418
- "OPEN": "EDIT"
417
+ "OPEN": "EDIT",
418
+ "SAVE": "LIST_ITEM_UPDATED"
419
419
  }
420
420
  },
421
421
  {
@@ -423,10 +423,10 @@
423
423
  "name": "ListItemDelete",
424
424
  "linkedEntity": "ListItem",
425
425
  "config": {
426
- "alertMessage": "This action cannot be undone.",
427
- "title": "Delete ListItem",
428
426
  "confirmLabel": "Delete",
429
- "icon": "alert-triangle"
427
+ "title": "Delete ListItem",
428
+ "icon": "alert-triangle",
429
+ "alertMessage": "This action cannot be undone."
430
430
  },
431
431
  "events": {
432
432
  "REQUEST": "DELETE",
@@ -569,13 +569,11 @@
569
569
  "persist",
570
570
  "create",
571
571
  "ListItem",
572
- "@payload.data"
573
- ],
574
- [
575
- "emit",
576
- "ITEM_CREATED",
572
+ "@payload.data",
577
573
  {
578
- "id": "@payload.data.id"
574
+ "emit": {
575
+ "success": "ITEM_CREATED"
576
+ }
579
577
  }
580
578
  ]
581
579
  ]
@@ -589,13 +587,11 @@
589
587
  "persist",
590
588
  "update",
591
589
  "ListItem",
592
- "@payload.data"
593
- ],
594
- [
595
- "emit",
596
- "ITEM_UPDATED",
590
+ "@payload.data",
597
591
  {
598
- "id": "@payload.data.id"
592
+ "emit": {
593
+ "success": "ITEM_UPDATED"
594
+ }
599
595
  }
600
596
  ]
601
597
  ]
@@ -609,13 +605,11 @@
609
605
  "persist",
610
606
  "delete",
611
607
  "ListItem",
612
- "@payload.id"
613
- ],
614
- [
615
- "emit",
616
- "ITEM_DELETED",
608
+ "@payload.id",
617
609
  {
618
- "id": "@payload.id"
610
+ "emit": {
611
+ "success": "ITEM_DELETED"
612
+ }
619
613
  }
620
614
  ]
621
615
  ]