@almadar/std 14.25.0 → 14.27.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 (431) hide show
  1. package/behaviors/registry/agent/atoms/std-agent-activity-log.orb +82 -82
  2. package/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +110 -110
  3. package/behaviors/registry/agent/atoms/std-agent-classifier.orb +112 -112
  4. package/behaviors/registry/agent/atoms/std-agent-completion.orb +90 -90
  5. package/behaviors/registry/agent/atoms/std-agent-context-window.orb +406 -406
  6. package/behaviors/registry/agent/atoms/std-agent-conversation.orb +94 -94
  7. package/behaviors/registry/agent/atoms/std-agent-memory.orb +83 -83
  8. package/behaviors/registry/agent/atoms/std-agent-provider.orb +122 -122
  9. package/behaviors/registry/agent/atoms/std-agent-search.orb +51 -51
  10. package/behaviors/registry/agent/atoms/std-agent-session.orb +122 -122
  11. package/behaviors/registry/agent/atoms/std-agent-step-progress.orb +214 -214
  12. package/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +329 -329
  13. package/behaviors/registry/agent/atoms/std-agent-tool-call.orb +67 -67
  14. package/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +202 -202
  15. package/behaviors/registry/agent/molecules/std-agent-learner.orb +185 -185
  16. package/behaviors/registry/agent/molecules/std-agent-planner.orb +122 -122
  17. package/behaviors/registry/agent/molecules/std-agent-rag.orb +114 -114
  18. package/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +209 -209
  19. package/behaviors/registry/agent/organisms/std-agent-assistant.orb +1039 -1039
  20. package/behaviors/registry/agent/organisms/std-agent-builder.orb +2977 -2977
  21. package/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2090 -2090
  22. package/behaviors/registry/agent/organisms/std-agent-reviewer.orb +935 -935
  23. package/behaviors/registry/agent/organisms/std-agent-tutor.orb +760 -760
  24. package/behaviors/registry/app/atoms/std-ap-bill.orb +62 -62
  25. package/behaviors/registry/app/atoms/std-applicant.orb +497 -43
  26. package/behaviors/registry/app/atoms/std-approval-request.orb +451 -625
  27. package/behaviors/registry/app/atoms/std-campaign-goal.orb +443 -238
  28. package/behaviors/registry/app/atoms/std-change-order.orb +563 -305
  29. package/behaviors/registry/app/atoms/std-chart-of-accounts.orb +435 -98
  30. package/behaviors/registry/app/atoms/std-checkin.orb +436 -272
  31. package/behaviors/registry/app/atoms/std-checkout-terminal.orb +458 -260
  32. package/behaviors/registry/app/atoms/std-class-roster.orb +508 -74
  33. package/behaviors/registry/app/atoms/std-class-session.orb +488 -101
  34. package/behaviors/registry/app/atoms/std-court-deadline.orb +525 -94
  35. package/behaviors/registry/app/atoms/std-customer-account.orb +576 -96
  36. package/behaviors/registry/app/atoms/std-donation-receipt.orb +497 -54
  37. package/behaviors/registry/app/atoms/std-donor.orb +440 -153
  38. package/behaviors/registry/app/atoms/std-drip-sequence.orb +453 -70
  39. package/behaviors/registry/app/atoms/std-driver.orb +477 -492
  40. package/behaviors/registry/app/atoms/std-dunning.orb +442 -515
  41. package/behaviors/registry/app/atoms/std-email-broadcast.orb +518 -65
  42. package/behaviors/registry/app/atoms/std-event.orb +467 -669
  43. package/behaviors/registry/app/atoms/std-health-score.orb +371 -436
  44. package/behaviors/registry/app/atoms/std-help-article.orb +374 -532
  45. package/behaviors/registry/app/atoms/std-help-category.orb +347 -369
  46. package/behaviors/registry/app/atoms/std-interview-slot.orb +491 -49
  47. package/behaviors/registry/app/atoms/std-invoice.orb +488 -303
  48. package/behaviors/registry/app/atoms/std-kitchen-display.orb +632 -140
  49. package/behaviors/registry/app/atoms/std-lease.orb +508 -184
  50. package/behaviors/registry/app/atoms/std-ledger-entry.orb +474 -150
  51. package/behaviors/registry/app/atoms/std-maintenance-request.orb +653 -203
  52. package/behaviors/registry/app/atoms/std-matter.orb +482 -336
  53. package/behaviors/registry/app/atoms/std-membership.orb +521 -113
  54. package/behaviors/registry/app/atoms/std-menu.orb +766 -174
  55. package/behaviors/registry/app/atoms/std-modifier-group.orb +518 -100
  56. package/behaviors/registry/app/atoms/std-nps-survey.orb +330 -338
  57. package/behaviors/registry/app/atoms/std-offer-letter.orb +493 -43
  58. package/behaviors/registry/app/atoms/std-payout-ledger.orb +376 -360
  59. package/behaviors/registry/app/atoms/std-question-bank.orb +364 -331
  60. package/behaviors/registry/app/atoms/std-receipt.orb +566 -57
  61. package/behaviors/registry/app/atoms/std-recurring-charge.orb +419 -842
  62. package/behaviors/registry/app/atoms/std-renewal-risk.orb +373 -436
  63. package/behaviors/registry/app/atoms/std-rent-charge.orb +659 -57
  64. package/behaviors/registry/app/atoms/std-reorder-rule.orb +497 -46
  65. package/behaviors/registry/app/atoms/std-response-collector.orb +456 -149
  66. package/behaviors/registry/app/atoms/std-rfi.orb +507 -466
  67. package/behaviors/registry/app/atoms/std-route-optimize.orb +448 -158
  68. package/behaviors/registry/app/atoms/std-segment.orb +367 -113
  69. package/behaviors/registry/app/atoms/std-stock-level.orb +486 -103
  70. package/behaviors/registry/app/atoms/std-submittal.orb +538 -510
  71. package/behaviors/registry/app/atoms/std-table-map.orb +88 -51
  72. package/behaviors/registry/app/atoms/std-technician-dispatch.orb +649 -67
  73. package/behaviors/registry/app/atoms/std-telematics-event.orb +324 -229
  74. package/behaviors/registry/app/atoms/std-template-editor.orb +527 -104
  75. package/behaviors/registry/app/atoms/std-tenant.orb +522 -63
  76. package/behaviors/registry/app/atoms/std-ticket-tier.orb +469 -457
  77. package/behaviors/registry/app/atoms/std-time-entry.orb +338 -301
  78. package/behaviors/registry/app/atoms/std-timesheet.orb +542 -298
  79. package/behaviors/registry/app/atoms/std-trial.orb +423 -337
  80. package/behaviors/registry/app/atoms/std-vehicle.orb +406 -571
  81. package/behaviors/registry/app/atoms/std-waitlist.orb +372 -283
  82. package/behaviors/registry/app/atoms/std-warehouse.orb +268 -214
  83. package/behaviors/registry/app/atoms/std-work-order.orb +629 -241
  84. package/behaviors/registry/app/molecules/std-applicant-form.orb +81 -75
  85. package/behaviors/registry/app/molecules/std-application.orb +168 -253
  86. package/behaviors/registry/app/molecules/std-broadcast-builder.orb +74 -200
  87. package/behaviors/registry/app/molecules/std-cart.orb +82 -76
  88. package/behaviors/registry/app/molecules/std-form-builder.orb +422 -161
  89. package/behaviors/registry/app/molecules/std-ledger-entry-form.orb +622 -154
  90. package/behaviors/registry/app/molecules/std-stock-adjustment.orb +512 -113
  91. package/behaviors/registry/app/molecules/std-vendor-onboarding.orb +390 -476
  92. package/behaviors/registry/app/organisms/std-accounting.orb +120 -120
  93. package/behaviors/registry/app/organisms/std-api-gateway.orb +214 -214
  94. package/behaviors/registry/app/organisms/std-ats-recruiting.orb +143 -143
  95. package/behaviors/registry/app/organisms/std-booking-system.orb +698 -698
  96. package/behaviors/registry/app/organisms/std-cicd-pipeline.orb +282 -282
  97. package/behaviors/registry/app/organisms/std-cms.orb +315 -315
  98. package/behaviors/registry/app/organisms/std-coding-academy.orb +226 -226
  99. package/behaviors/registry/app/organisms/std-construction-pm.orb +159 -159
  100. package/behaviors/registry/app/organisms/std-crm.orb +265 -265
  101. package/behaviors/registry/app/organisms/std-customer-success.orb +106 -106
  102. package/behaviors/registry/app/organisms/std-devops-dashboard.orb +384 -384
  103. package/behaviors/registry/app/organisms/std-document-mgmt.orb +101 -101
  104. package/behaviors/registry/app/organisms/std-ecommerce.orb +735 -735
  105. package/behaviors/registry/app/organisms/std-event-ticketing.orb +207 -207
  106. package/behaviors/registry/app/organisms/std-field-service.orb +181 -181
  107. package/behaviors/registry/app/organisms/std-finance-tracker.orb +227 -227
  108. package/behaviors/registry/app/organisms/std-fitness-studio.orb +145 -145
  109. package/behaviors/registry/app/organisms/std-fleet-mgmt.orb +149 -149
  110. package/behaviors/registry/app/organisms/std-forum.orb +150 -150
  111. package/behaviors/registry/app/organisms/std-healthcare.orb +531 -531
  112. package/behaviors/registry/app/organisms/std-helpdesk.orb +161 -161
  113. package/behaviors/registry/app/organisms/std-hr-portal.orb +455 -455
  114. package/behaviors/registry/app/organisms/std-inventory.orb +162 -162
  115. package/behaviors/registry/app/organisms/std-iot-dashboard.orb +353 -353
  116. package/behaviors/registry/app/organisms/std-legal-case.orb +164 -164
  117. package/behaviors/registry/app/organisms/std-listings.orb +147 -147
  118. package/behaviors/registry/app/organisms/std-lms.orb +409 -409
  119. package/behaviors/registry/app/organisms/std-marketing-campaign.orb +123 -123
  120. package/behaviors/registry/app/organisms/std-marketplace.orb +251 -251
  121. package/behaviors/registry/app/organisms/std-nonprofit-donations.orb +105 -105
  122. package/behaviors/registry/app/organisms/std-notes.orb +112 -112
  123. package/behaviors/registry/app/organisms/std-project-manager.orb +200 -200
  124. package/behaviors/registry/app/organisms/std-property-mgmt.orb +178 -178
  125. package/behaviors/registry/app/organisms/std-public-help-center.orb +133 -133
  126. package/behaviors/registry/app/organisms/std-realtime-chat.orb +245 -245
  127. package/behaviors/registry/app/organisms/std-restaurant-pos.orb +131 -131
  128. package/behaviors/registry/app/organisms/std-retail-pos.orb +129 -129
  129. package/behaviors/registry/app/organisms/std-social-feed.orb +159 -159
  130. package/behaviors/registry/app/organisms/std-subscription-billing.orb +187 -187
  131. package/behaviors/registry/app/organisms/std-survey.orb +129 -129
  132. package/behaviors/registry/app/organisms/std-time-tracking.orb +167 -167
  133. package/behaviors/registry/app/organisms/std-trading-dashboard.orb +263 -263
  134. package/behaviors/registry/app/organisms/std-wiki.orb +139 -139
  135. package/behaviors/registry/core/atoms/std-billable-hour.orb +505 -101
  136. package/behaviors/registry/core/atoms/std-branching-logic.orb +265 -594
  137. package/behaviors/registry/core/atoms/std-browse.orb +58 -58
  138. package/behaviors/registry/core/atoms/std-cache-aside.orb +97 -97
  139. package/behaviors/registry/core/atoms/std-calendar.orb +50 -50
  140. package/behaviors/registry/core/atoms/std-circuit-breaker.orb +184 -184
  141. package/behaviors/registry/core/atoms/std-confirmation.orb +25 -25
  142. package/behaviors/registry/core/atoms/std-display.orb +1 -1
  143. package/behaviors/registry/core/atoms/std-drawer.orb +14 -14
  144. package/behaviors/registry/core/atoms/std-esign-request.orb +29 -29
  145. package/behaviors/registry/core/atoms/std-file-store.orb +541 -159
  146. package/behaviors/registry/core/atoms/std-filter.orb +12 -12
  147. package/behaviors/registry/core/atoms/std-flag.orb +95 -95
  148. package/behaviors/registry/core/atoms/std-gallery.orb +119 -102
  149. package/behaviors/registry/core/atoms/std-geosearch.orb +26 -26
  150. package/behaviors/registry/core/atoms/std-graphs.orb +37 -37
  151. package/behaviors/registry/core/atoms/std-image-upload-multi.orb +93 -63
  152. package/behaviors/registry/core/atoms/std-mod-queue.orb +56 -56
  153. package/behaviors/registry/core/atoms/std-modal.orb +20 -20
  154. package/behaviors/registry/core/atoms/std-page-tree.orb +341 -459
  155. package/behaviors/registry/core/atoms/std-pagination.orb +17 -17
  156. package/behaviors/registry/core/atoms/std-push.orb +38 -38
  157. package/behaviors/registry/core/atoms/std-rate-limiter.orb +168 -168
  158. package/behaviors/registry/core/atoms/std-rating-review.orb +68 -68
  159. package/behaviors/registry/core/atoms/std-related.orb +34 -34
  160. package/behaviors/registry/core/atoms/std-rich-editor.orb +298 -433
  161. package/behaviors/registry/core/atoms/std-saved-search.orb +55 -55
  162. package/behaviors/registry/core/atoms/std-search.orb +9 -9
  163. package/behaviors/registry/core/atoms/std-selection.orb +77 -77
  164. package/behaviors/registry/core/atoms/std-signature-capture.orb +89 -89
  165. package/behaviors/registry/core/atoms/std-stats.orb +104 -104
  166. package/behaviors/registry/core/atoms/std-tabs.orb +27 -27
  167. package/behaviors/registry/core/atoms/std-tag-taxonomy.orb +69 -69
  168. package/behaviors/registry/core/atoms/std-thread.orb +56 -56
  169. package/behaviors/registry/core/atoms/std-version-history.orb +462 -438
  170. package/behaviors/registry/core/atoms/std-vote.orb +39 -39
  171. package/behaviors/registry/core/molecules/std-app-layout.orb +21 -21
  172. package/behaviors/registry/core/molecules/std-dashboard-grid-layout.orb +11 -11
  173. package/behaviors/registry/core/molecules/std-dashboard.orb +52 -52
  174. package/behaviors/registry/core/molecules/std-esign-flow.orb +86 -104
  175. package/behaviors/registry/core/molecules/std-filtered-list.orb +22 -22
  176. package/behaviors/registry/core/molecules/std-form-advanced.orb +133 -133
  177. package/behaviors/registry/core/molecules/std-list.orb +71 -71
  178. package/behaviors/registry/core/molecules/std-master-detail-layout.orb +13 -13
  179. package/behaviors/registry/core/molecules/std-stack-layout.orb +12 -12
  180. package/behaviors/registry/core/molecules/std-tabs-layout.orb +11 -11
  181. package/behaviors/registry/core/molecules/std-wizard-form.orb +227 -152
  182. package/behaviors/registry/core/organisms/std-generic-app.orb +544 -544
  183. package/behaviors/registry/game/atoms/std-collision.orb +0 -595
  184. package/behaviors/registry/game/atoms/std-combat.orb +0 -524
  185. package/behaviors/registry/game/atoms/std-dialogue-box.orb +27 -27
  186. package/behaviors/registry/game/atoms/std-game-canvas2d.orb +40 -40
  187. package/behaviors/registry/game/atoms/std-gameflow.orb +0 -456
  188. package/behaviors/registry/game/atoms/std-movement.orb +0 -1279
  189. package/behaviors/registry/game/atoms/std-overworld.orb +56 -56
  190. package/behaviors/registry/game/atoms/std-physics2d.orb +78 -78
  191. package/behaviors/registry/game/atoms/std-quest.orb +122 -122
  192. package/behaviors/registry/game/atoms/std-timer.orb +266 -266
  193. package/behaviors/registry/game/organisms/std-arcade-game.orb +0 -1446
  194. package/behaviors/registry/game/organisms/std-logic-training.orb +0 -1037
  195. package/behaviors/registry/game/organisms/std-platformer-app.orb +0 -2567
  196. package/behaviors/registry/game/organisms/std-puzzle-app.orb +0 -1197
  197. package/behaviors/registry/game/organisms/std-rpg-game.orb +0 -3509
  198. package/behaviors/registry/game/organisms/std-stem-lab.orb +0 -2003
  199. package/behaviors/registry/game/organisms/std-strategy-game.orb +0 -2686
  200. package/behaviors/registry/probes/molecules/std-source-scope-probe.orb +32 -32
  201. package/behaviors/registry/service/atoms/std-service-calendar-ical.orb +51 -51
  202. package/behaviors/registry/service/atoms/std-service-custom-bearer.orb +69 -69
  203. package/behaviors/registry/service/atoms/std-service-email.orb +55 -55
  204. package/behaviors/registry/service/atoms/std-service-github.orb +70 -70
  205. package/behaviors/registry/service/atoms/std-service-llm.orb +70 -70
  206. package/behaviors/registry/service/atoms/std-service-maps.orb +83 -83
  207. package/behaviors/registry/service/atoms/std-service-oauth.orb +51 -51
  208. package/behaviors/registry/service/atoms/std-service-print.orb +114 -114
  209. package/behaviors/registry/service/atoms/std-service-redis.orb +61 -61
  210. package/behaviors/registry/service/atoms/std-service-storage.orb +51 -51
  211. package/behaviors/registry/service/atoms/std-service-stripe.orb +111 -111
  212. package/behaviors/registry/service/atoms/std-service-twilio.orb +48 -48
  213. package/behaviors/registry/service/atoms/std-service-youtube.orb +45 -45
  214. package/behaviors/registry/service/organisms/std-service-marketplace.orb +911 -911
  215. package/behaviors/registry/service/organisms/std-service-research-assistant.orb +883 -883
  216. package/dist/behaviors/registry/agent/atoms/std-agent-activity-log.orb +82 -82
  217. package/dist/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +110 -110
  218. package/dist/behaviors/registry/agent/atoms/std-agent-classifier.orb +112 -112
  219. package/dist/behaviors/registry/agent/atoms/std-agent-completion.orb +90 -90
  220. package/dist/behaviors/registry/agent/atoms/std-agent-context-window.orb +406 -406
  221. package/dist/behaviors/registry/agent/atoms/std-agent-conversation.orb +94 -94
  222. package/dist/behaviors/registry/agent/atoms/std-agent-memory.orb +83 -83
  223. package/dist/behaviors/registry/agent/atoms/std-agent-provider.orb +122 -122
  224. package/dist/behaviors/registry/agent/atoms/std-agent-search.orb +51 -51
  225. package/dist/behaviors/registry/agent/atoms/std-agent-session.orb +122 -122
  226. package/dist/behaviors/registry/agent/atoms/std-agent-step-progress.orb +214 -214
  227. package/dist/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +329 -329
  228. package/dist/behaviors/registry/agent/atoms/std-agent-tool-call.orb +67 -67
  229. package/dist/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +202 -202
  230. package/dist/behaviors/registry/agent/molecules/std-agent-learner.orb +185 -185
  231. package/dist/behaviors/registry/agent/molecules/std-agent-planner.orb +122 -122
  232. package/dist/behaviors/registry/agent/molecules/std-agent-rag.orb +114 -114
  233. package/dist/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +209 -209
  234. package/dist/behaviors/registry/agent/organisms/std-agent-assistant.orb +1039 -1039
  235. package/dist/behaviors/registry/agent/organisms/std-agent-builder.orb +2977 -2977
  236. package/dist/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2090 -2090
  237. package/dist/behaviors/registry/agent/organisms/std-agent-reviewer.orb +935 -935
  238. package/dist/behaviors/registry/agent/organisms/std-agent-tutor.orb +760 -760
  239. package/dist/behaviors/registry/app/atoms/std-ap-bill.orb +62 -62
  240. package/dist/behaviors/registry/app/atoms/std-applicant.orb +497 -43
  241. package/dist/behaviors/registry/app/atoms/std-approval-request.orb +451 -625
  242. package/dist/behaviors/registry/app/atoms/std-campaign-goal.orb +443 -238
  243. package/dist/behaviors/registry/app/atoms/std-change-order.orb +563 -305
  244. package/dist/behaviors/registry/app/atoms/std-chart-of-accounts.orb +435 -98
  245. package/dist/behaviors/registry/app/atoms/std-checkin.orb +436 -272
  246. package/dist/behaviors/registry/app/atoms/std-checkout-terminal.orb +458 -260
  247. package/dist/behaviors/registry/app/atoms/std-class-roster.orb +508 -74
  248. package/dist/behaviors/registry/app/atoms/std-class-session.orb +488 -101
  249. package/dist/behaviors/registry/app/atoms/std-court-deadline.orb +525 -94
  250. package/dist/behaviors/registry/app/atoms/std-customer-account.orb +576 -96
  251. package/dist/behaviors/registry/app/atoms/std-donation-receipt.orb +497 -54
  252. package/dist/behaviors/registry/app/atoms/std-donor.orb +440 -153
  253. package/dist/behaviors/registry/app/atoms/std-drip-sequence.orb +453 -70
  254. package/dist/behaviors/registry/app/atoms/std-driver.orb +477 -492
  255. package/dist/behaviors/registry/app/atoms/std-dunning.orb +442 -515
  256. package/dist/behaviors/registry/app/atoms/std-email-broadcast.orb +518 -65
  257. package/dist/behaviors/registry/app/atoms/std-event.orb +467 -669
  258. package/dist/behaviors/registry/app/atoms/std-health-score.orb +371 -436
  259. package/dist/behaviors/registry/app/atoms/std-help-article.orb +374 -532
  260. package/dist/behaviors/registry/app/atoms/std-help-category.orb +347 -369
  261. package/dist/behaviors/registry/app/atoms/std-interview-slot.orb +491 -49
  262. package/dist/behaviors/registry/app/atoms/std-invoice.orb +488 -303
  263. package/dist/behaviors/registry/app/atoms/std-kitchen-display.orb +632 -140
  264. package/dist/behaviors/registry/app/atoms/std-lease.orb +508 -184
  265. package/dist/behaviors/registry/app/atoms/std-ledger-entry.orb +474 -150
  266. package/dist/behaviors/registry/app/atoms/std-maintenance-request.orb +653 -203
  267. package/dist/behaviors/registry/app/atoms/std-matter.orb +482 -336
  268. package/dist/behaviors/registry/app/atoms/std-membership.orb +521 -113
  269. package/dist/behaviors/registry/app/atoms/std-menu.orb +766 -174
  270. package/dist/behaviors/registry/app/atoms/std-modifier-group.orb +518 -100
  271. package/dist/behaviors/registry/app/atoms/std-nps-survey.orb +330 -338
  272. package/dist/behaviors/registry/app/atoms/std-offer-letter.orb +493 -43
  273. package/dist/behaviors/registry/app/atoms/std-payout-ledger.orb +376 -360
  274. package/dist/behaviors/registry/app/atoms/std-question-bank.orb +364 -331
  275. package/dist/behaviors/registry/app/atoms/std-receipt.orb +566 -57
  276. package/dist/behaviors/registry/app/atoms/std-recurring-charge.orb +419 -842
  277. package/dist/behaviors/registry/app/atoms/std-renewal-risk.orb +373 -436
  278. package/dist/behaviors/registry/app/atoms/std-rent-charge.orb +659 -57
  279. package/dist/behaviors/registry/app/atoms/std-reorder-rule.orb +497 -46
  280. package/dist/behaviors/registry/app/atoms/std-response-collector.orb +456 -149
  281. package/dist/behaviors/registry/app/atoms/std-rfi.orb +507 -466
  282. package/dist/behaviors/registry/app/atoms/std-route-optimize.orb +448 -158
  283. package/dist/behaviors/registry/app/atoms/std-segment.orb +367 -113
  284. package/dist/behaviors/registry/app/atoms/std-stock-level.orb +486 -103
  285. package/dist/behaviors/registry/app/atoms/std-submittal.orb +538 -510
  286. package/dist/behaviors/registry/app/atoms/std-table-map.orb +88 -51
  287. package/dist/behaviors/registry/app/atoms/std-technician-dispatch.orb +649 -67
  288. package/dist/behaviors/registry/app/atoms/std-telematics-event.orb +324 -229
  289. package/dist/behaviors/registry/app/atoms/std-template-editor.orb +527 -104
  290. package/dist/behaviors/registry/app/atoms/std-tenant.orb +522 -63
  291. package/dist/behaviors/registry/app/atoms/std-ticket-tier.orb +469 -457
  292. package/dist/behaviors/registry/app/atoms/std-time-entry.orb +338 -301
  293. package/dist/behaviors/registry/app/atoms/std-timesheet.orb +542 -298
  294. package/dist/behaviors/registry/app/atoms/std-trial.orb +423 -337
  295. package/dist/behaviors/registry/app/atoms/std-vehicle.orb +406 -571
  296. package/dist/behaviors/registry/app/atoms/std-waitlist.orb +372 -283
  297. package/dist/behaviors/registry/app/atoms/std-warehouse.orb +268 -214
  298. package/dist/behaviors/registry/app/atoms/std-work-order.orb +629 -241
  299. package/dist/behaviors/registry/app/molecules/std-applicant-form.orb +81 -75
  300. package/dist/behaviors/registry/app/molecules/std-application.orb +168 -253
  301. package/dist/behaviors/registry/app/molecules/std-broadcast-builder.orb +74 -200
  302. package/dist/behaviors/registry/app/molecules/std-cart.orb +82 -76
  303. package/dist/behaviors/registry/app/molecules/std-form-builder.orb +422 -161
  304. package/dist/behaviors/registry/app/molecules/std-ledger-entry-form.orb +622 -154
  305. package/dist/behaviors/registry/app/molecules/std-stock-adjustment.orb +512 -113
  306. package/dist/behaviors/registry/app/molecules/std-vendor-onboarding.orb +390 -476
  307. package/dist/behaviors/registry/app/organisms/std-accounting.orb +120 -120
  308. package/dist/behaviors/registry/app/organisms/std-api-gateway.orb +214 -214
  309. package/dist/behaviors/registry/app/organisms/std-ats-recruiting.orb +143 -143
  310. package/dist/behaviors/registry/app/organisms/std-booking-system.orb +698 -698
  311. package/dist/behaviors/registry/app/organisms/std-cicd-pipeline.orb +282 -282
  312. package/dist/behaviors/registry/app/organisms/std-cms.orb +315 -315
  313. package/dist/behaviors/registry/app/organisms/std-coding-academy.orb +226 -226
  314. package/dist/behaviors/registry/app/organisms/std-construction-pm.orb +159 -159
  315. package/dist/behaviors/registry/app/organisms/std-crm.orb +265 -265
  316. package/dist/behaviors/registry/app/organisms/std-customer-success.orb +106 -106
  317. package/dist/behaviors/registry/app/organisms/std-devops-dashboard.orb +384 -384
  318. package/dist/behaviors/registry/app/organisms/std-document-mgmt.orb +101 -101
  319. package/dist/behaviors/registry/app/organisms/std-ecommerce.orb +735 -735
  320. package/dist/behaviors/registry/app/organisms/std-event-ticketing.orb +207 -207
  321. package/dist/behaviors/registry/app/organisms/std-field-service.orb +181 -181
  322. package/dist/behaviors/registry/app/organisms/std-finance-tracker.orb +227 -227
  323. package/dist/behaviors/registry/app/organisms/std-fitness-studio.orb +145 -145
  324. package/dist/behaviors/registry/app/organisms/std-fleet-mgmt.orb +149 -149
  325. package/dist/behaviors/registry/app/organisms/std-forum.orb +150 -150
  326. package/dist/behaviors/registry/app/organisms/std-healthcare.orb +531 -531
  327. package/dist/behaviors/registry/app/organisms/std-helpdesk.orb +161 -161
  328. package/dist/behaviors/registry/app/organisms/std-hr-portal.orb +455 -455
  329. package/dist/behaviors/registry/app/organisms/std-inventory.orb +162 -162
  330. package/dist/behaviors/registry/app/organisms/std-iot-dashboard.orb +353 -353
  331. package/dist/behaviors/registry/app/organisms/std-legal-case.orb +164 -164
  332. package/dist/behaviors/registry/app/organisms/std-listings.orb +147 -147
  333. package/dist/behaviors/registry/app/organisms/std-lms.orb +409 -409
  334. package/dist/behaviors/registry/app/organisms/std-marketing-campaign.orb +123 -123
  335. package/dist/behaviors/registry/app/organisms/std-marketplace.orb +251 -251
  336. package/dist/behaviors/registry/app/organisms/std-nonprofit-donations.orb +105 -105
  337. package/dist/behaviors/registry/app/organisms/std-notes.orb +112 -112
  338. package/dist/behaviors/registry/app/organisms/std-project-manager.orb +200 -200
  339. package/dist/behaviors/registry/app/organisms/std-property-mgmt.orb +178 -178
  340. package/dist/behaviors/registry/app/organisms/std-public-help-center.orb +133 -133
  341. package/dist/behaviors/registry/app/organisms/std-realtime-chat.orb +245 -245
  342. package/dist/behaviors/registry/app/organisms/std-restaurant-pos.orb +131 -131
  343. package/dist/behaviors/registry/app/organisms/std-retail-pos.orb +129 -129
  344. package/dist/behaviors/registry/app/organisms/std-social-feed.orb +159 -159
  345. package/dist/behaviors/registry/app/organisms/std-subscription-billing.orb +187 -187
  346. package/dist/behaviors/registry/app/organisms/std-survey.orb +129 -129
  347. package/dist/behaviors/registry/app/organisms/std-time-tracking.orb +167 -167
  348. package/dist/behaviors/registry/app/organisms/std-trading-dashboard.orb +263 -263
  349. package/dist/behaviors/registry/app/organisms/std-wiki.orb +139 -139
  350. package/dist/behaviors/registry/core/atoms/std-billable-hour.orb +505 -101
  351. package/dist/behaviors/registry/core/atoms/std-branching-logic.orb +265 -594
  352. package/dist/behaviors/registry/core/atoms/std-browse.orb +58 -58
  353. package/dist/behaviors/registry/core/atoms/std-cache-aside.orb +97 -97
  354. package/dist/behaviors/registry/core/atoms/std-calendar.orb +50 -50
  355. package/dist/behaviors/registry/core/atoms/std-circuit-breaker.orb +184 -184
  356. package/dist/behaviors/registry/core/atoms/std-confirmation.orb +25 -25
  357. package/dist/behaviors/registry/core/atoms/std-display.orb +1 -1
  358. package/dist/behaviors/registry/core/atoms/std-drawer.orb +14 -14
  359. package/dist/behaviors/registry/core/atoms/std-esign-request.orb +29 -29
  360. package/dist/behaviors/registry/core/atoms/std-file-store.orb +541 -159
  361. package/dist/behaviors/registry/core/atoms/std-filter.orb +12 -12
  362. package/dist/behaviors/registry/core/atoms/std-flag.orb +95 -95
  363. package/dist/behaviors/registry/core/atoms/std-gallery.orb +119 -102
  364. package/dist/behaviors/registry/core/atoms/std-geosearch.orb +26 -26
  365. package/dist/behaviors/registry/core/atoms/std-graphs.orb +37 -37
  366. package/dist/behaviors/registry/core/atoms/std-image-upload-multi.orb +93 -63
  367. package/dist/behaviors/registry/core/atoms/std-mod-queue.orb +56 -56
  368. package/dist/behaviors/registry/core/atoms/std-modal.orb +20 -20
  369. package/dist/behaviors/registry/core/atoms/std-page-tree.orb +341 -459
  370. package/dist/behaviors/registry/core/atoms/std-pagination.orb +17 -17
  371. package/dist/behaviors/registry/core/atoms/std-push.orb +38 -38
  372. package/dist/behaviors/registry/core/atoms/std-rate-limiter.orb +168 -168
  373. package/dist/behaviors/registry/core/atoms/std-rating-review.orb +68 -68
  374. package/dist/behaviors/registry/core/atoms/std-related.orb +34 -34
  375. package/dist/behaviors/registry/core/atoms/std-rich-editor.orb +298 -433
  376. package/dist/behaviors/registry/core/atoms/std-saved-search.orb +55 -55
  377. package/dist/behaviors/registry/core/atoms/std-search.orb +9 -9
  378. package/dist/behaviors/registry/core/atoms/std-selection.orb +77 -77
  379. package/dist/behaviors/registry/core/atoms/std-signature-capture.orb +89 -89
  380. package/dist/behaviors/registry/core/atoms/std-stats.orb +104 -104
  381. package/dist/behaviors/registry/core/atoms/std-tabs.orb +27 -27
  382. package/dist/behaviors/registry/core/atoms/std-tag-taxonomy.orb +69 -69
  383. package/dist/behaviors/registry/core/atoms/std-thread.orb +56 -56
  384. package/dist/behaviors/registry/core/atoms/std-version-history.orb +462 -438
  385. package/dist/behaviors/registry/core/atoms/std-vote.orb +39 -39
  386. package/dist/behaviors/registry/core/molecules/std-app-layout.orb +21 -21
  387. package/dist/behaviors/registry/core/molecules/std-dashboard-grid-layout.orb +11 -11
  388. package/dist/behaviors/registry/core/molecules/std-dashboard.orb +52 -52
  389. package/dist/behaviors/registry/core/molecules/std-esign-flow.orb +86 -104
  390. package/dist/behaviors/registry/core/molecules/std-filtered-list.orb +22 -22
  391. package/dist/behaviors/registry/core/molecules/std-form-advanced.orb +133 -133
  392. package/dist/behaviors/registry/core/molecules/std-list.orb +71 -71
  393. package/dist/behaviors/registry/core/molecules/std-master-detail-layout.orb +13 -13
  394. package/dist/behaviors/registry/core/molecules/std-stack-layout.orb +12 -12
  395. package/dist/behaviors/registry/core/molecules/std-tabs-layout.orb +11 -11
  396. package/dist/behaviors/registry/core/molecules/std-wizard-form.orb +227 -152
  397. package/dist/behaviors/registry/core/organisms/std-generic-app.orb +544 -544
  398. package/dist/behaviors/registry/game/atoms/std-collision.orb +0 -595
  399. package/dist/behaviors/registry/game/atoms/std-combat.orb +0 -524
  400. package/dist/behaviors/registry/game/atoms/std-dialogue-box.orb +27 -27
  401. package/dist/behaviors/registry/game/atoms/std-game-canvas2d.orb +40 -40
  402. package/dist/behaviors/registry/game/atoms/std-gameflow.orb +0 -456
  403. package/dist/behaviors/registry/game/atoms/std-movement.orb +0 -1279
  404. package/dist/behaviors/registry/game/atoms/std-overworld.orb +56 -56
  405. package/dist/behaviors/registry/game/atoms/std-physics2d.orb +78 -78
  406. package/dist/behaviors/registry/game/atoms/std-quest.orb +122 -122
  407. package/dist/behaviors/registry/game/atoms/std-timer.orb +266 -266
  408. package/dist/behaviors/registry/game/organisms/std-arcade-game.orb +0 -1446
  409. package/dist/behaviors/registry/game/organisms/std-logic-training.orb +0 -1037
  410. package/dist/behaviors/registry/game/organisms/std-platformer-app.orb +0 -2567
  411. package/dist/behaviors/registry/game/organisms/std-puzzle-app.orb +0 -1197
  412. package/dist/behaviors/registry/game/organisms/std-rpg-game.orb +0 -3509
  413. package/dist/behaviors/registry/game/organisms/std-stem-lab.orb +0 -2003
  414. package/dist/behaviors/registry/game/organisms/std-strategy-game.orb +0 -2686
  415. package/dist/behaviors/registry/probes/molecules/std-source-scope-probe.orb +32 -32
  416. package/dist/behaviors/registry/service/atoms/std-service-calendar-ical.orb +51 -51
  417. package/dist/behaviors/registry/service/atoms/std-service-custom-bearer.orb +69 -69
  418. package/dist/behaviors/registry/service/atoms/std-service-email.orb +55 -55
  419. package/dist/behaviors/registry/service/atoms/std-service-github.orb +70 -70
  420. package/dist/behaviors/registry/service/atoms/std-service-llm.orb +70 -70
  421. package/dist/behaviors/registry/service/atoms/std-service-maps.orb +83 -83
  422. package/dist/behaviors/registry/service/atoms/std-service-oauth.orb +51 -51
  423. package/dist/behaviors/registry/service/atoms/std-service-print.orb +114 -114
  424. package/dist/behaviors/registry/service/atoms/std-service-redis.orb +61 -61
  425. package/dist/behaviors/registry/service/atoms/std-service-storage.orb +51 -51
  426. package/dist/behaviors/registry/service/atoms/std-service-stripe.orb +111 -111
  427. package/dist/behaviors/registry/service/atoms/std-service-twilio.orb +48 -48
  428. package/dist/behaviors/registry/service/atoms/std-service-youtube.orb +45 -45
  429. package/dist/behaviors/registry/service/organisms/std-service-marketplace.orb +911 -911
  430. package/dist/behaviors/registry/service/organisms/std-service-research-assistant.orb +883 -883
  431. package/package.json +1 -1
@@ -1,2567 +0,0 @@
1
- {
2
- "name": "std-platformer-app",
3
- "version": "1.0.0",
4
- "description": "std-platformer-app as a Function",
5
- "orbitals": [
6
- {
7
- "name": "PlatLevelOrbital",
8
- "entity": {
9
- "name": "PlatLevel",
10
- "persistence": "runtime",
11
- "fields": [
12
- {
13
- "name": "id",
14
- "type": "string",
15
- "required": true
16
- },
17
- {
18
- "name": "level",
19
- "type": "number",
20
- "default": 1.0
21
- },
22
- {
23
- "name": "score",
24
- "type": "number",
25
- "default": 0.0
26
- },
27
- {
28
- "name": "lives",
29
- "type": "number",
30
- "default": 3.0
31
- },
32
- {
33
- "name": "time",
34
- "type": "number",
35
- "default": 0.0
36
- },
37
- {
38
- "name": "player",
39
- "type": "string",
40
- "default": ""
41
- },
42
- {
43
- "name": "platforms",
44
- "type": "string",
45
- "default": ""
46
- }
47
- ]
48
- },
49
- "traits": [
50
- {
51
- "name": "PlatLevelPlatformerFlow",
52
- "category": "interaction",
53
- "linkedEntity": "PlatLevel",
54
- "emits": [
55
- {
56
- "event": "PlatLevelLoaded",
57
- "description": "Fired when PlatLevel finishes loading",
58
- "scope": "internal",
59
- "payloadSchema": [
60
- {
61
- "name": "data",
62
- "type": "[PlatLevel]"
63
- }
64
- ]
65
- },
66
- {
67
- "event": "PlatLevelLoadFailed",
68
- "description": "Fired when PlatLevel fails to load",
69
- "scope": "internal",
70
- "payloadSchema": [
71
- {
72
- "name": "error",
73
- "type": "string"
74
- },
75
- {
76
- "name": "code",
77
- "type": "string"
78
- }
79
- ]
80
- },
81
- {
82
- "event": "CollectibleSaved",
83
- "scope": "internal",
84
- "payloadSchema": [
85
- {
86
- "name": "id",
87
- "type": "string"
88
- }
89
- ]
90
- },
91
- {
92
- "event": "CollectibleSaveFailed",
93
- "scope": "internal",
94
- "payloadSchema": [
95
- {
96
- "name": "error",
97
- "type": "string"
98
- },
99
- {
100
- "name": "code",
101
- "type": "string"
102
- }
103
- ]
104
- },
105
- {
106
- "event": "CollectibleUpdated",
107
- "scope": "internal",
108
- "payloadSchema": [
109
- {
110
- "name": "id",
111
- "type": "string"
112
- }
113
- ]
114
- },
115
- {
116
- "event": "CollectibleUpdateFailed",
117
- "scope": "internal",
118
- "payloadSchema": [
119
- {
120
- "name": "error",
121
- "type": "string"
122
- },
123
- {
124
- "name": "code",
125
- "type": "string"
126
- }
127
- ]
128
- },
129
- {
130
- "event": "CollectibleDeleted",
131
- "scope": "internal",
132
- "payloadSchema": [
133
- {
134
- "name": "id",
135
- "type": "string"
136
- }
137
- ]
138
- },
139
- {
140
- "event": "CollectibleDeleteFailed",
141
- "scope": "internal",
142
- "payloadSchema": [
143
- {
144
- "name": "error",
145
- "type": "string"
146
- },
147
- {
148
- "name": "code",
149
- "type": "string"
150
- }
151
- ]
152
- }
153
- ],
154
- "stateMachine": {
155
- "states": [
156
- {
157
- "name": "menu",
158
- "isInitial": true
159
- },
160
- {
161
- "name": "playing"
162
- },
163
- {
164
- "name": "paused"
165
- },
166
- {
167
- "name": "gameover"
168
- }
169
- ],
170
- "events": [
171
- {
172
- "key": "INIT",
173
- "name": "Initialize"
174
- },
175
- {
176
- "key": "START",
177
- "name": "Start"
178
- },
179
- {
180
- "key": "NAVIGATE",
181
- "name": "Navigate"
182
- },
183
- {
184
- "key": "LEFT",
185
- "name": "Left"
186
- },
187
- {
188
- "key": "RIGHT",
189
- "name": "Right"
190
- },
191
- {
192
- "key": "JUMP",
193
- "name": "Jump"
194
- },
195
- {
196
- "key": "STOP",
197
- "name": "Stop"
198
- },
199
- {
200
- "key": "PAUSE",
201
- "name": "Pause"
202
- },
203
- {
204
- "key": "GAME_OVER",
205
- "name": "Game Over"
206
- },
207
- {
208
- "key": "RESUME",
209
- "name": "Resume"
210
- },
211
- {
212
- "key": "CLOSE",
213
- "name": "Close"
214
- },
215
- {
216
- "key": "RESTART",
217
- "name": "Restart"
218
- },
219
- {
220
- "key": "PlatLevelLoaded",
221
- "name": "PlatLevel loaded",
222
- "payloadSchema": [
223
- {
224
- "name": "data",
225
- "type": "[PlatLevel]"
226
- }
227
- ]
228
- },
229
- {
230
- "key": "PlatLevelLoadFailed",
231
- "name": "PlatLevel load failed",
232
- "payloadSchema": [
233
- {
234
- "name": "error",
235
- "type": "string"
236
- },
237
- {
238
- "name": "code",
239
- "type": "string"
240
- }
241
- ]
242
- },
243
- {
244
- "key": "CollectibleSaved",
245
- "name": "Collectible saved",
246
- "payloadSchema": [
247
- {
248
- "name": "id",
249
- "type": "string"
250
- }
251
- ]
252
- },
253
- {
254
- "key": "CollectibleSaveFailed",
255
- "name": "Collectible save failed",
256
- "payloadSchema": [
257
- {
258
- "name": "error",
259
- "type": "string"
260
- },
261
- {
262
- "name": "code",
263
- "type": "string"
264
- }
265
- ]
266
- },
267
- {
268
- "key": "CollectibleUpdated",
269
- "name": "Collectible updated",
270
- "payloadSchema": [
271
- {
272
- "name": "id",
273
- "type": "string"
274
- }
275
- ]
276
- },
277
- {
278
- "key": "CollectibleUpdateFailed",
279
- "name": "Collectible update failed",
280
- "payloadSchema": [
281
- {
282
- "name": "error",
283
- "type": "string"
284
- },
285
- {
286
- "name": "code",
287
- "type": "string"
288
- }
289
- ]
290
- },
291
- {
292
- "key": "CollectibleDeleted",
293
- "name": "Collectible deleted",
294
- "payloadSchema": [
295
- {
296
- "name": "id",
297
- "type": "string"
298
- }
299
- ]
300
- },
301
- {
302
- "key": "CollectibleDeleteFailed",
303
- "name": "Collectible delete failed",
304
- "payloadSchema": [
305
- {
306
- "name": "error",
307
- "type": "string"
308
- },
309
- {
310
- "name": "code",
311
- "type": "string"
312
- }
313
- ]
314
- }
315
- ],
316
- "transitions": [
317
- {
318
- "from": "menu",
319
- "to": "menu",
320
- "event": "INIT",
321
- "effects": [
322
- [
323
- "fetch",
324
- "PlatLevel",
325
- {
326
- "emit": {
327
- "success": "PlatLevelLoaded",
328
- "failure": "PlatLevelLoadFailed"
329
- }
330
- }
331
- ],
332
- [
333
- "render-ui",
334
- "main",
335
- {
336
- "children": [
337
- {
338
- "type": "game-menu",
339
- "title": "Platformer",
340
- "subtitle": "Side-Scrolling Adventure",
341
- "menuItems": [
342
- {
343
- "variant": "primary",
344
- "label": "Start Game",
345
- "event": "START"
346
- }
347
- ]
348
- }
349
- ],
350
- "showTopBar": true,
351
- "type": "game-shell",
352
- "appName": "Platformer App"
353
- }
354
- ]
355
- ]
356
- },
357
- {
358
- "from": "menu",
359
- "to": "playing",
360
- "event": "START",
361
- "effects": [
362
- [
363
- "render-ui",
364
- "main",
365
- {
366
- "showTopBar": true,
367
- "children": [
368
- {
369
- "rightEvent": "RIGHT",
370
- "canvasWidth": 800.0,
371
- "stopEvent": "STOP",
372
- "bgColor": "#1a1a2e",
373
- "worldWidth": 2400.0,
374
- "jumpEvent": "JUMP",
375
- "leftEvent": "LEFT",
376
- "canvasHeight": 400.0,
377
- "type": "platformer-canvas",
378
- "followCamera": true,
379
- "worldHeight": 400.0
380
- }
381
- ],
382
- "appName": "Platformer App",
383
- "type": "game-shell"
384
- }
385
- ]
386
- ]
387
- },
388
- {
389
- "from": "menu",
390
- "to": "menu",
391
- "event": "NAVIGATE"
392
- },
393
- {
394
- "from": "playing",
395
- "to": "playing",
396
- "event": "LEFT"
397
- },
398
- {
399
- "from": "playing",
400
- "to": "playing",
401
- "event": "RIGHT"
402
- },
403
- {
404
- "from": "playing",
405
- "to": "playing",
406
- "event": "JUMP"
407
- },
408
- {
409
- "from": "playing",
410
- "to": "playing",
411
- "event": "STOP"
412
- },
413
- {
414
- "from": "playing",
415
- "to": "paused",
416
- "event": "PAUSE",
417
- "effects": [
418
- [
419
- "render-ui",
420
- "modal",
421
- {
422
- "title": "Paused",
423
- "type": "game-menu",
424
- "menuItems": [
425
- {
426
- "event": "RESUME",
427
- "variant": "primary",
428
- "label": "Resume"
429
- },
430
- {
431
- "label": "Quit",
432
- "event": "RESTART",
433
- "variant": "ghost"
434
- }
435
- ]
436
- }
437
- ]
438
- ]
439
- },
440
- {
441
- "from": "playing",
442
- "to": "gameover",
443
- "event": "GAME_OVER",
444
- "effects": [
445
- [
446
- "render-ui",
447
- "main",
448
- {
449
- "type": "game-shell",
450
- "appName": "Platformer App",
451
- "children": [
452
- {
453
- "type": "game-over-screen",
454
- "menuItems": [
455
- {
456
- "event": "RESTART",
457
- "label": "Play Again",
458
- "variant": "primary"
459
- },
460
- {
461
- "event": "RESTART",
462
- "label": "Main Menu",
463
- "variant": "secondary"
464
- }
465
- ],
466
- "title": "Game Over",
467
- "stats": [
468
- {
469
- "value": "@entity.score",
470
- "label": "Score"
471
- },
472
- {
473
- "label": "Lives",
474
- "value": "@entity.lives"
475
- }
476
- ]
477
- }
478
- ],
479
- "showTopBar": true
480
- }
481
- ]
482
- ]
483
- },
484
- {
485
- "from": "paused",
486
- "to": "paused",
487
- "event": "NAVIGATE"
488
- },
489
- {
490
- "from": "paused",
491
- "to": "playing",
492
- "event": "RESUME",
493
- "effects": [
494
- [
495
- "render-ui",
496
- "modal",
497
- null
498
- ],
499
- [
500
- "render-ui",
501
- "main",
502
- {
503
- "type": "game-shell",
504
- "showTopBar": true,
505
- "appName": "Platformer App",
506
- "children": [
507
- {
508
- "bgColor": "#1a1a2e",
509
- "jumpEvent": "JUMP",
510
- "followCamera": true,
511
- "leftEvent": "LEFT",
512
- "canvasWidth": 800.0,
513
- "canvasHeight": 400.0,
514
- "stopEvent": "STOP",
515
- "worldWidth": 2400.0,
516
- "worldHeight": 400.0,
517
- "type": "platformer-canvas",
518
- "rightEvent": "RIGHT"
519
- }
520
- ]
521
- }
522
- ]
523
- ]
524
- },
525
- {
526
- "from": "paused",
527
- "to": "playing",
528
- "event": "CLOSE",
529
- "effects": [
530
- [
531
- "render-ui",
532
- "modal",
533
- null
534
- ],
535
- [
536
- "render-ui",
537
- "main",
538
- {
539
- "appName": "Platformer App",
540
- "type": "game-shell",
541
- "showTopBar": true,
542
- "children": [
543
- {
544
- "followCamera": true,
545
- "canvasWidth": 800.0,
546
- "leftEvent": "LEFT",
547
- "worldWidth": 2400.0,
548
- "rightEvent": "RIGHT",
549
- "jumpEvent": "JUMP",
550
- "stopEvent": "STOP",
551
- "canvasHeight": 400.0,
552
- "worldHeight": 400.0,
553
- "type": "platformer-canvas",
554
- "bgColor": "#1a1a2e"
555
- }
556
- ]
557
- }
558
- ]
559
- ]
560
- },
561
- {
562
- "from": "paused",
563
- "to": "menu",
564
- "event": "RESTART",
565
- "effects": [
566
- [
567
- "render-ui",
568
- "modal",
569
- null
570
- ],
571
- [
572
- "render-ui",
573
- "main",
574
- {
575
- "appName": "Platformer App",
576
- "showTopBar": true,
577
- "type": "game-shell",
578
- "children": [
579
- {
580
- "subtitle": "Side-Scrolling Adventure",
581
- "type": "game-menu",
582
- "menuItems": [
583
- {
584
- "label": "Start Game",
585
- "event": "START",
586
- "variant": "primary"
587
- }
588
- ],
589
- "title": "Platformer"
590
- }
591
- ]
592
- }
593
- ]
594
- ]
595
- },
596
- {
597
- "from": "gameover",
598
- "to": "menu",
599
- "event": "RESTART",
600
- "effects": [
601
- [
602
- "render-ui",
603
- "main",
604
- {
605
- "type": "game-shell",
606
- "children": [
607
- {
608
- "type": "game-menu",
609
- "subtitle": "Side-Scrolling Adventure",
610
- "menuItems": [
611
- {
612
- "event": "START",
613
- "variant": "primary",
614
- "label": "Start Game"
615
- }
616
- ],
617
- "title": "Platformer"
618
- }
619
- ],
620
- "showTopBar": true,
621
- "appName": "Platformer App"
622
- }
623
- ]
624
- ]
625
- }
626
- ]
627
- },
628
- "scope": "collection"
629
- },
630
- {
631
- "name": "PlatLevelPlatformerCanvas",
632
- "category": "interaction",
633
- "linkedEntity": "PlatLevel",
634
- "emits": [
635
- {
636
- "event": "PlatLevelLoaded",
637
- "description": "Fired when PlatLevel finishes loading",
638
- "scope": "internal",
639
- "payloadSchema": [
640
- {
641
- "name": "data",
642
- "type": "[PlatLevel]"
643
- }
644
- ]
645
- },
646
- {
647
- "event": "PlatLevelLoadFailed",
648
- "description": "Fired when PlatLevel fails to load",
649
- "scope": "internal",
650
- "payloadSchema": [
651
- {
652
- "name": "error",
653
- "type": "string"
654
- },
655
- {
656
- "name": "code",
657
- "type": "string"
658
- }
659
- ]
660
- }
661
- ],
662
- "stateMachine": {
663
- "states": [
664
- {
665
- "name": "idle",
666
- "isInitial": true
667
- },
668
- {
669
- "name": "running"
670
- }
671
- ],
672
- "events": [
673
- {
674
- "key": "INIT",
675
- "name": "Initialize"
676
- },
677
- {
678
- "key": "START",
679
- "name": "Start"
680
- },
681
- {
682
- "key": "LEFT",
683
- "name": "Left"
684
- },
685
- {
686
- "key": "RIGHT",
687
- "name": "Right"
688
- },
689
- {
690
- "key": "JUMP",
691
- "name": "Jump"
692
- },
693
- {
694
- "key": "STOP",
695
- "name": "Stop"
696
- },
697
- {
698
- "key": "PlatLevelLoaded",
699
- "name": "PlatLevel loaded",
700
- "payloadSchema": [
701
- {
702
- "name": "data",
703
- "type": "[PlatLevel]"
704
- }
705
- ]
706
- },
707
- {
708
- "key": "PlatLevelLoadFailed",
709
- "name": "PlatLevel load failed",
710
- "payloadSchema": [
711
- {
712
- "name": "error",
713
- "type": "string"
714
- },
715
- {
716
- "name": "code",
717
- "type": "string"
718
- }
719
- ]
720
- }
721
- ],
722
- "transitions": [
723
- {
724
- "from": "idle",
725
- "to": "idle",
726
- "event": "INIT",
727
- "effects": [
728
- [
729
- "fetch",
730
- "PlatLevel",
731
- {
732
- "emit": {
733
- "success": "PlatLevelLoaded",
734
- "failure": "PlatLevelLoadFailed"
735
- }
736
- }
737
- ]
738
- ]
739
- },
740
- {
741
- "from": "idle",
742
- "to": "running",
743
- "event": "START",
744
- "effects": [
745
- [
746
- "render-ui",
747
- "main",
748
- {
749
- "type": "game-shell",
750
- "children": [
751
- {
752
- "jumpEvent": "JUMP",
753
- "worldHeight": 400.0,
754
- "leftEvent": "LEFT",
755
- "canvasHeight": 400.0,
756
- "canvasWidth": 800.0,
757
- "player": "@entity.player",
758
- "followCamera": true,
759
- "rightEvent": "RIGHT",
760
- "bgColor": "#1a1a2e",
761
- "worldWidth": 2400.0,
762
- "platforms": "@entity.platforms",
763
- "stopEvent": "STOP",
764
- "type": "platformer-canvas"
765
- }
766
- ],
767
- "appName": "Platformer App",
768
- "showTopBar": true
769
- }
770
- ]
771
- ]
772
- },
773
- {
774
- "from": "running",
775
- "to": "running",
776
- "event": "LEFT"
777
- },
778
- {
779
- "from": "running",
780
- "to": "running",
781
- "event": "RIGHT"
782
- },
783
- {
784
- "from": "running",
785
- "to": "running",
786
- "event": "JUMP"
787
- },
788
- {
789
- "from": "running",
790
- "to": "idle",
791
- "event": "STOP",
792
- "effects": [
793
- [
794
- "render-ui",
795
- "main",
796
- {
797
- "children": [
798
- {
799
- "followCamera": true,
800
- "jumpEvent": "JUMP",
801
- "platforms": "@entity.platforms",
802
- "leftEvent": "LEFT",
803
- "stopEvent": "STOP",
804
- "bgColor": "#1a1a2e",
805
- "rightEvent": "RIGHT",
806
- "type": "platformer-canvas",
807
- "worldHeight": 400.0,
808
- "player": "@entity.player",
809
- "canvasWidth": 800.0,
810
- "worldWidth": 2400.0,
811
- "canvasHeight": 400.0
812
- }
813
- ],
814
- "appName": "Platformer App",
815
- "type": "game-shell",
816
- "showTopBar": true
817
- }
818
- ]
819
- ]
820
- }
821
- ]
822
- },
823
- "scope": "collection"
824
- }
825
- ],
826
- "pages": [
827
- {
828
- "name": "GamePage",
829
- "path": "/game",
830
- "traits": [
831
- {
832
- "ref": "PlatLevelPlatformerFlow"
833
- },
834
- {
835
- "ref": "PlatLevelPlatformerCanvas"
836
- }
837
- ]
838
- }
839
- ]
840
- },
841
- {
842
- "name": "PlatScoreOrbital",
843
- "entity": {
844
- "name": "PlatScore",
845
- "persistence": "runtime",
846
- "fields": [
847
- {
848
- "name": "id",
849
- "type": "string",
850
- "required": true
851
- },
852
- {
853
- "name": "playerName",
854
- "type": "string",
855
- "required": true
856
- },
857
- {
858
- "name": "score",
859
- "type": "number",
860
- "required": true,
861
- "default": 0.0
862
- },
863
- {
864
- "name": "level",
865
- "type": "number",
866
- "default": 1.0
867
- },
868
- {
869
- "name": "completedAt",
870
- "type": "string"
871
- },
872
- {
873
- "name": "highScore",
874
- "type": "number"
875
- },
876
- {
877
- "name": "combo",
878
- "type": "number"
879
- },
880
- {
881
- "name": "multiplier",
882
- "type": "number"
883
- }
884
- ]
885
- },
886
- "traits": [
887
- {
888
- "name": "PlatScoreScoreBoard",
889
- "category": "interaction",
890
- "linkedEntity": "PlatScore",
891
- "emits": [
892
- {
893
- "event": "PlatScoreLoaded",
894
- "description": "Fired when PlatScore finishes loading",
895
- "scope": "internal",
896
- "payloadSchema": [
897
- {
898
- "name": "data",
899
- "type": "[PlatScore]"
900
- }
901
- ]
902
- },
903
- {
904
- "event": "PlatScoreLoadFailed",
905
- "description": "Fired when PlatScore fails to load",
906
- "scope": "internal",
907
- "payloadSchema": [
908
- {
909
- "name": "error",
910
- "type": "string"
911
- },
912
- {
913
- "name": "code",
914
- "type": "string"
915
- }
916
- ]
917
- }
918
- ],
919
- "stateMachine": {
920
- "states": [
921
- {
922
- "name": "idle",
923
- "isInitial": true
924
- }
925
- ],
926
- "events": [
927
- {
928
- "key": "INIT",
929
- "name": "Initialize"
930
- },
931
- {
932
- "key": "ADD_SCORE",
933
- "name": "Add Score",
934
- "payloadSchema": [
935
- {
936
- "name": "points",
937
- "type": "string"
938
- }
939
- ]
940
- },
941
- {
942
- "key": "COMBO",
943
- "name": "Combo",
944
- "payloadSchema": [
945
- {
946
- "name": "multiplier",
947
- "type": "string"
948
- }
949
- ]
950
- },
951
- {
952
- "key": "RESET",
953
- "name": "Reset"
954
- },
955
- {
956
- "key": "PlatScoreLoaded",
957
- "name": "PlatScore loaded",
958
- "payloadSchema": [
959
- {
960
- "name": "data",
961
- "type": "[PlatScore]"
962
- }
963
- ]
964
- },
965
- {
966
- "key": "PlatScoreLoadFailed",
967
- "name": "PlatScore load failed",
968
- "payloadSchema": [
969
- {
970
- "name": "error",
971
- "type": "string"
972
- },
973
- {
974
- "name": "code",
975
- "type": "string"
976
- }
977
- ]
978
- }
979
- ],
980
- "transitions": [
981
- {
982
- "from": "idle",
983
- "to": "idle",
984
- "event": "INIT",
985
- "effects": [
986
- [
987
- "fetch",
988
- "PlatScore",
989
- {
990
- "emit": {
991
- "failure": "PlatScoreLoadFailed",
992
- "success": "PlatScoreLoaded"
993
- }
994
- }
995
- ],
996
- [
997
- "render-ui",
998
- "main",
999
- {
1000
- "type": "game-shell",
1001
- "showTopBar": true,
1002
- "children": [
1003
- {
1004
- "score": "@entity.score",
1005
- "type": "score-board",
1006
- "combo": "@entity.combo",
1007
- "highScore": "@entity.highScore",
1008
- "multiplier": "@entity.multiplier",
1009
- "level": "@entity.level"
1010
- }
1011
- ],
1012
- "appName": "Platformer App"
1013
- }
1014
- ]
1015
- ]
1016
- },
1017
- {
1018
- "from": "idle",
1019
- "to": "idle",
1020
- "event": "ADD_SCORE",
1021
- "effects": [
1022
- [
1023
- "set",
1024
- "@entity.score",
1025
- [
1026
- "+",
1027
- "@entity.score",
1028
- "@payload.points"
1029
- ]
1030
- ],
1031
- [
1032
- "set",
1033
- "@entity.combo",
1034
- [
1035
- "+",
1036
- "@entity.combo",
1037
- 1.0
1038
- ]
1039
- ],
1040
- [
1041
- "render-ui",
1042
- "main",
1043
- {
1044
- "showTopBar": true,
1045
- "type": "game-shell",
1046
- "appName": "Platformer App",
1047
- "children": [
1048
- {
1049
- "score": "@entity.score",
1050
- "type": "score-board",
1051
- "highScore": "@entity.highScore",
1052
- "level": "@entity.level",
1053
- "combo": "@entity.combo",
1054
- "multiplier": "@entity.multiplier"
1055
- }
1056
- ]
1057
- }
1058
- ]
1059
- ]
1060
- },
1061
- {
1062
- "from": "idle",
1063
- "to": "idle",
1064
- "event": "COMBO",
1065
- "effects": [
1066
- [
1067
- "set",
1068
- "@entity.multiplier",
1069
- "@payload.multiplier"
1070
- ],
1071
- [
1072
- "render-ui",
1073
- "main",
1074
- {
1075
- "showTopBar": true,
1076
- "type": "game-shell",
1077
- "children": [
1078
- {
1079
- "highScore": "@entity.highScore",
1080
- "multiplier": "@entity.multiplier",
1081
- "level": "@entity.level",
1082
- "score": "@entity.score",
1083
- "type": "score-board",
1084
- "combo": "@entity.combo"
1085
- }
1086
- ],
1087
- "appName": "Platformer App"
1088
- }
1089
- ]
1090
- ]
1091
- },
1092
- {
1093
- "from": "idle",
1094
- "to": "idle",
1095
- "event": "RESET",
1096
- "effects": [
1097
- [
1098
- "set",
1099
- "@entity.score",
1100
- 0.0
1101
- ],
1102
- [
1103
- "set",
1104
- "@entity.combo",
1105
- 0.0
1106
- ],
1107
- [
1108
- "set",
1109
- "@entity.multiplier",
1110
- 1.0
1111
- ],
1112
- [
1113
- "render-ui",
1114
- "main",
1115
- {
1116
- "type": "game-shell",
1117
- "children": [
1118
- {
1119
- "level": "@entity.level",
1120
- "multiplier": "@entity.multiplier",
1121
- "combo": "@entity.combo",
1122
- "type": "score-board",
1123
- "highScore": "@entity.highScore",
1124
- "score": "@entity.score"
1125
- }
1126
- ],
1127
- "showTopBar": true,
1128
- "appName": "Platformer App"
1129
- }
1130
- ]
1131
- ]
1132
- }
1133
- ]
1134
- },
1135
- "scope": "collection"
1136
- }
1137
- ],
1138
- "pages": [
1139
- {
1140
- "name": "Scores",
1141
- "path": "/scores",
1142
- "traits": [
1143
- {
1144
- "ref": "PlatScoreScoreBoard"
1145
- }
1146
- ]
1147
- }
1148
- ]
1149
- },
1150
- {
1151
- "name": "CollectibleOrbital",
1152
- "entity": {
1153
- "name": "Collectible",
1154
- "collection": "collectibles",
1155
- "persistence": "persistent",
1156
- "fields": [
1157
- {
1158
- "name": "id",
1159
- "type": "string",
1160
- "required": true
1161
- },
1162
- {
1163
- "name": "name",
1164
- "type": "string",
1165
- "required": true
1166
- },
1167
- {
1168
- "name": "type",
1169
- "type": "string",
1170
- "required": true
1171
- },
1172
- {
1173
- "name": "quantity",
1174
- "type": "number"
1175
- },
1176
- {
1177
- "name": "rarity",
1178
- "type": "string"
1179
- },
1180
- {
1181
- "name": "pendingId",
1182
- "type": "string"
1183
- }
1184
- ]
1185
- },
1186
- "traits": [
1187
- {
1188
- "name": "CollectibleBrowse",
1189
- "category": "interaction",
1190
- "linkedEntity": "Collectible",
1191
- "emits": [
1192
- {
1193
- "event": "ADD_ITEM"
1194
- },
1195
- {
1196
- "event": "USE_ITEM",
1197
- "payloadSchema": [
1198
- {
1199
- "name": "id",
1200
- "type": "string",
1201
- "required": true
1202
- },
1203
- {
1204
- "name": "row.id",
1205
- "type": "string",
1206
- "required": true
1207
- },
1208
- {
1209
- "name": "row.name",
1210
- "type": "string",
1211
- "required": true
1212
- },
1213
- {
1214
- "name": "row.type",
1215
- "type": "string",
1216
- "required": true
1217
- },
1218
- {
1219
- "name": "row.quantity",
1220
- "type": "number"
1221
- },
1222
- {
1223
- "name": "row.rarity",
1224
- "type": "string"
1225
- },
1226
- {
1227
- "name": "row.pendingId",
1228
- "type": "string"
1229
- }
1230
- ]
1231
- },
1232
- {
1233
- "event": "DROP",
1234
- "payloadSchema": [
1235
- {
1236
- "name": "id",
1237
- "type": "string",
1238
- "required": true
1239
- },
1240
- {
1241
- "name": "row.id",
1242
- "type": "string",
1243
- "required": true
1244
- },
1245
- {
1246
- "name": "row.name",
1247
- "type": "string",
1248
- "required": true
1249
- },
1250
- {
1251
- "name": "row.type",
1252
- "type": "string",
1253
- "required": true
1254
- },
1255
- {
1256
- "name": "row.quantity",
1257
- "type": "number"
1258
- },
1259
- {
1260
- "name": "row.rarity",
1261
- "type": "string"
1262
- },
1263
- {
1264
- "name": "row.pendingId",
1265
- "type": "string"
1266
- }
1267
- ]
1268
- },
1269
- {
1270
- "event": "CollectibleLoaded",
1271
- "description": "Fired when Collectible finishes loading",
1272
- "scope": "internal",
1273
- "payloadSchema": [
1274
- {
1275
- "name": "data",
1276
- "type": "[Collectible]"
1277
- }
1278
- ]
1279
- },
1280
- {
1281
- "event": "CollectibleLoadFailed",
1282
- "description": "Fired when Collectible fails to load",
1283
- "scope": "internal",
1284
- "payloadSchema": [
1285
- {
1286
- "name": "error",
1287
- "type": "string"
1288
- },
1289
- {
1290
- "name": "code",
1291
- "type": "string"
1292
- }
1293
- ]
1294
- }
1295
- ],
1296
- "listens": [
1297
- {
1298
- "event": "ITEM_ADDED",
1299
- "triggers": "INIT",
1300
- "source": {
1301
- "kind": "trait",
1302
- "trait": "CollectibleAdd"
1303
- }
1304
- },
1305
- {
1306
- "event": "ITEM_USED",
1307
- "triggers": "INIT",
1308
- "source": {
1309
- "kind": "trait",
1310
- "trait": "CollectibleUse"
1311
- }
1312
- },
1313
- {
1314
- "event": "CONFIRM_DROP",
1315
- "triggers": "INIT",
1316
- "source": {
1317
- "kind": "trait",
1318
- "trait": "CollectibleDrop"
1319
- }
1320
- }
1321
- ],
1322
- "stateMachine": {
1323
- "states": [
1324
- {
1325
- "name": "browsing",
1326
- "isInitial": true
1327
- }
1328
- ],
1329
- "events": [
1330
- {
1331
- "key": "INIT",
1332
- "name": "Initialize"
1333
- },
1334
- {
1335
- "key": "CollectibleLoaded",
1336
- "name": "Collectible loaded",
1337
- "payloadSchema": [
1338
- {
1339
- "name": "data",
1340
- "type": "[Collectible]"
1341
- }
1342
- ]
1343
- },
1344
- {
1345
- "key": "CollectibleLoadFailed",
1346
- "name": "Collectible load failed",
1347
- "payloadSchema": [
1348
- {
1349
- "name": "error",
1350
- "type": "string"
1351
- },
1352
- {
1353
- "name": "code",
1354
- "type": "string"
1355
- }
1356
- ]
1357
- },
1358
- {
1359
- "key": "ADD_ITEM",
1360
- "name": "Add Item"
1361
- },
1362
- {
1363
- "key": "USE_ITEM",
1364
- "name": "Use Item"
1365
- },
1366
- {
1367
- "key": "DROP",
1368
- "name": "Drop"
1369
- }
1370
- ],
1371
- "transitions": [
1372
- {
1373
- "from": "browsing",
1374
- "to": "browsing",
1375
- "event": "INIT",
1376
- "effects": [
1377
- [
1378
- "fetch",
1379
- "Collectible",
1380
- {
1381
- "emit": {
1382
- "failure": "CollectibleLoadFailed",
1383
- "success": "CollectibleLoaded"
1384
- }
1385
- }
1386
- ],
1387
- [
1388
- "render-ui",
1389
- "main",
1390
- {
1391
- "className": "py-12",
1392
- "gap": "md",
1393
- "children": [
1394
- {
1395
- "type": "spinner"
1396
- },
1397
- {
1398
- "color": "muted",
1399
- "content": "Loading…",
1400
- "type": "typography",
1401
- "variant": "caption"
1402
- }
1403
- ],
1404
- "align": "center",
1405
- "direction": "vertical",
1406
- "type": "stack"
1407
- }
1408
- ]
1409
- ]
1410
- },
1411
- {
1412
- "from": "browsing",
1413
- "to": "browsing",
1414
- "event": "CollectibleLoaded",
1415
- "effects": [
1416
- [
1417
- "render-ui",
1418
- "main",
1419
- {
1420
- "appName": "Platformer App",
1421
- "children": [
1422
- {
1423
- "direction": "vertical",
1424
- "type": "stack",
1425
- "children": [
1426
- {
1427
- "type": "stack",
1428
- "justify": "between",
1429
- "direction": "horizontal",
1430
- "children": [
1431
- {
1432
- "children": [
1433
- {
1434
- "name": "package",
1435
- "type": "icon"
1436
- },
1437
- {
1438
- "content": "Collectibles",
1439
- "variant": "h2",
1440
- "type": "typography"
1441
- }
1442
- ],
1443
- "gap": "sm",
1444
- "align": "center",
1445
- "direction": "horizontal",
1446
- "type": "stack"
1447
- },
1448
- {
1449
- "type": "stack",
1450
- "gap": "sm",
1451
- "direction": "horizontal",
1452
- "children": [
1453
- {
1454
- "type": "button",
1455
- "icon": "plus",
1456
- "variant": "primary",
1457
- "label": "Add Collectible",
1458
- "action": "ADD_ITEM"
1459
- }
1460
- ]
1461
- }
1462
- ],
1463
- "align": "center",
1464
- "gap": "md"
1465
- },
1466
- {
1467
- "type": "divider"
1468
- },
1469
- {
1470
- "type": "data-grid",
1471
- "fields": [
1472
- {
1473
- "name": "name",
1474
- "icon": "package",
1475
- "label": "Name",
1476
- "variant": "h4"
1477
- },
1478
- {
1479
- "colorMap": {
1480
- "scheduled": "warning",
1481
- "inactive": "neutral",
1482
- "disabled": "neutral",
1483
- "failed": "destructive",
1484
- "archived": "neutral",
1485
- "pending": "warning",
1486
- "error": "destructive",
1487
- "completed": "success",
1488
- "active": "success",
1489
- "draft": "warning",
1490
- "cancelled": "destructive",
1491
- "done": "success"
1492
- },
1493
- "name": "type",
1494
- "label": "Type",
1495
- "variant": "badge"
1496
- },
1497
- {
1498
- "name": "quantity",
1499
- "label": "Quantity",
1500
- "variant": "caption"
1501
- }
1502
- ],
1503
- "itemActions": [
1504
- {
1505
- "label": "Use",
1506
- "variant": "ghost",
1507
- "event": "USE_ITEM"
1508
- },
1509
- {
1510
- "label": "Drop",
1511
- "event": "DROP",
1512
- "variant": "danger"
1513
- }
1514
- ],
1515
- "entity": "@payload.data"
1516
- }
1517
- ],
1518
- "gap": "lg",
1519
- "className": "max-w-5xl mx-auto w-full"
1520
- }
1521
- ],
1522
- "showTopBar": true,
1523
- "type": "game-shell"
1524
- }
1525
- ]
1526
- ]
1527
- },
1528
- {
1529
- "from": "browsing",
1530
- "to": "browsing",
1531
- "event": "CollectibleLoadFailed",
1532
- "effects": [
1533
- [
1534
- "render-ui",
1535
- "main",
1536
- {
1537
- "type": "stack",
1538
- "gap": "md",
1539
- "direction": "vertical",
1540
- "align": "center",
1541
- "className": "py-12",
1542
- "children": [
1543
- {
1544
- "type": "icon",
1545
- "name": "alert-triangle",
1546
- "color": "destructive"
1547
- },
1548
- {
1549
- "variant": "h3",
1550
- "type": "typography",
1551
- "content": "Failed to load collectible"
1552
- },
1553
- {
1554
- "content": "@payload.error",
1555
- "color": "muted",
1556
- "variant": "body",
1557
- "type": "typography"
1558
- },
1559
- {
1560
- "type": "button",
1561
- "action": "INIT",
1562
- "label": "Retry",
1563
- "variant": "primary",
1564
- "icon": "rotate-ccw"
1565
- }
1566
- ]
1567
- }
1568
- ]
1569
- ]
1570
- }
1571
- ]
1572
- },
1573
- "scope": "collection"
1574
- },
1575
- {
1576
- "name": "CollectibleAdd",
1577
- "category": "interaction",
1578
- "linkedEntity": "Collectible",
1579
- "emits": [
1580
- {
1581
- "event": "ITEM_ADDED"
1582
- },
1583
- {
1584
- "event": "CollectibleLoadFailed",
1585
- "description": "Fired when Collectible fails to load",
1586
- "scope": "internal",
1587
- "payloadSchema": [
1588
- {
1589
- "name": "error",
1590
- "type": "string"
1591
- },
1592
- {
1593
- "name": "code",
1594
- "type": "string"
1595
- }
1596
- ]
1597
- },
1598
- {
1599
- "event": "CollectibleLoaded",
1600
- "description": "Fired when Collectible finishes loading",
1601
- "scope": "internal",
1602
- "payloadSchema": [
1603
- {
1604
- "name": "data",
1605
- "type": "[Collectible]"
1606
- }
1607
- ]
1608
- },
1609
- {
1610
- "event": "CollectibleSaveFailed",
1611
- "scope": "internal",
1612
- "payloadSchema": [
1613
- {
1614
- "name": "error",
1615
- "type": "string"
1616
- },
1617
- {
1618
- "name": "code",
1619
- "type": "string"
1620
- }
1621
- ]
1622
- },
1623
- {
1624
- "event": "CollectibleSaved",
1625
- "scope": "internal",
1626
- "payloadSchema": [
1627
- {
1628
- "name": "id",
1629
- "type": "string"
1630
- }
1631
- ]
1632
- }
1633
- ],
1634
- "listens": [
1635
- {
1636
- "event": "ADD_ITEM",
1637
- "triggers": "ADD_ITEM",
1638
- "source": {
1639
- "kind": "trait",
1640
- "trait": "CollectibleBrowse"
1641
- }
1642
- }
1643
- ],
1644
- "stateMachine": {
1645
- "states": [
1646
- {
1647
- "name": "closed",
1648
- "isInitial": true
1649
- },
1650
- {
1651
- "name": "open"
1652
- }
1653
- ],
1654
- "events": [
1655
- {
1656
- "key": "INIT",
1657
- "name": "Initialize"
1658
- },
1659
- {
1660
- "key": "ADD_ITEM",
1661
- "name": "Add Item"
1662
- },
1663
- {
1664
- "key": "CLOSE",
1665
- "name": "Close"
1666
- },
1667
- {
1668
- "key": "SAVE",
1669
- "name": "Save",
1670
- "payloadSchema": [
1671
- {
1672
- "name": "data",
1673
- "type": "string"
1674
- }
1675
- ]
1676
- },
1677
- {
1678
- "key": "ITEM_ADDED",
1679
- "name": "Item Added"
1680
- },
1681
- {
1682
- "key": "CollectibleLoadFailed",
1683
- "name": "Collectible load failed",
1684
- "payloadSchema": [
1685
- {
1686
- "name": "error",
1687
- "type": "string"
1688
- },
1689
- {
1690
- "name": "code",
1691
- "type": "string"
1692
- }
1693
- ]
1694
- },
1695
- {
1696
- "key": "CollectibleLoaded",
1697
- "name": "Collectible loaded",
1698
- "payloadSchema": [
1699
- {
1700
- "name": "data",
1701
- "type": "[Collectible]"
1702
- }
1703
- ]
1704
- },
1705
- {
1706
- "key": "CollectibleSaveFailed",
1707
- "name": "Collectible save failed",
1708
- "payloadSchema": [
1709
- {
1710
- "name": "error",
1711
- "type": "string"
1712
- },
1713
- {
1714
- "name": "code",
1715
- "type": "string"
1716
- }
1717
- ]
1718
- },
1719
- {
1720
- "key": "CollectibleSaved",
1721
- "name": "Collectible saved",
1722
- "payloadSchema": [
1723
- {
1724
- "name": "id",
1725
- "type": "string"
1726
- }
1727
- ]
1728
- }
1729
- ],
1730
- "transitions": [
1731
- {
1732
- "from": "closed",
1733
- "to": "closed",
1734
- "event": "INIT",
1735
- "effects": [
1736
- [
1737
- "fetch",
1738
- "Collectible",
1739
- {
1740
- "emit": {
1741
- "success": "CollectibleLoaded",
1742
- "failure": "CollectibleLoadFailed"
1743
- }
1744
- }
1745
- ]
1746
- ]
1747
- },
1748
- {
1749
- "from": "closed",
1750
- "to": "open",
1751
- "event": "ADD_ITEM",
1752
- "effects": [
1753
- [
1754
- "fetch",
1755
- "Collectible",
1756
- {
1757
- "emit": {
1758
- "failure": "CollectibleLoadFailed",
1759
- "success": "CollectibleLoaded"
1760
- }
1761
- }
1762
- ],
1763
- [
1764
- "render-ui",
1765
- "modal",
1766
- {
1767
- "gap": "md",
1768
- "type": "stack",
1769
- "children": [
1770
- {
1771
- "direction": "horizontal",
1772
- "type": "stack",
1773
- "children": [
1774
- {
1775
- "type": "icon",
1776
- "name": "plus-circle"
1777
- },
1778
- {
1779
- "type": "typography",
1780
- "content": "Add Collectible",
1781
- "variant": "h3"
1782
- }
1783
- ],
1784
- "gap": "sm"
1785
- },
1786
- {
1787
- "type": "divider"
1788
- },
1789
- {
1790
- "submitEvent": "SAVE",
1791
- "type": "form-section",
1792
- "mode": "create",
1793
- "fields": [
1794
- "name",
1795
- "type",
1796
- "quantity",
1797
- "rarity"
1798
- ],
1799
- "cancelEvent": "CLOSE"
1800
- }
1801
- ],
1802
- "direction": "vertical"
1803
- }
1804
- ]
1805
- ]
1806
- },
1807
- {
1808
- "from": "open",
1809
- "to": "closed",
1810
- "event": "CLOSE",
1811
- "effects": [
1812
- [
1813
- "render-ui",
1814
- "modal",
1815
- null
1816
- ],
1817
- [
1818
- "render-ui",
1819
- "main",
1820
- {
1821
- "type": "box"
1822
- }
1823
- ],
1824
- [
1825
- "notify",
1826
- "Cancelled",
1827
- "info"
1828
- ]
1829
- ]
1830
- },
1831
- {
1832
- "from": "open",
1833
- "to": "closed",
1834
- "event": "SAVE",
1835
- "effects": [
1836
- [
1837
- "persist",
1838
- "create",
1839
- "Collectible",
1840
- "@payload.data",
1841
- {
1842
- "emit": {
1843
- "success": "CollectibleSaved",
1844
- "failure": "CollectibleSaveFailed"
1845
- }
1846
- }
1847
- ],
1848
- [
1849
- "render-ui",
1850
- "modal",
1851
- null
1852
- ],
1853
- [
1854
- "render-ui",
1855
- "main",
1856
- {
1857
- "type": "box"
1858
- }
1859
- ],
1860
- [
1861
- "emit",
1862
- "ITEM_ADDED"
1863
- ]
1864
- ]
1865
- }
1866
- ]
1867
- },
1868
- "scope": "collection"
1869
- },
1870
- {
1871
- "name": "CollectibleUse",
1872
- "category": "interaction",
1873
- "linkedEntity": "Collectible",
1874
- "emits": [
1875
- {
1876
- "event": "ITEM_USED"
1877
- },
1878
- {
1879
- "event": "CollectibleLoadFailed",
1880
- "description": "Fired when Collectible fails to load",
1881
- "scope": "internal",
1882
- "payloadSchema": [
1883
- {
1884
- "name": "error",
1885
- "type": "string"
1886
- },
1887
- {
1888
- "name": "code",
1889
- "type": "string"
1890
- }
1891
- ]
1892
- },
1893
- {
1894
- "event": "CollectibleLoaded",
1895
- "description": "Fired when Collectible finishes loading",
1896
- "scope": "internal",
1897
- "payloadSchema": [
1898
- {
1899
- "name": "data",
1900
- "type": "[Collectible]"
1901
- }
1902
- ]
1903
- },
1904
- {
1905
- "event": "CollectibleUpdateFailed",
1906
- "scope": "internal",
1907
- "payloadSchema": [
1908
- {
1909
- "name": "error",
1910
- "type": "string"
1911
- },
1912
- {
1913
- "name": "code",
1914
- "type": "string"
1915
- }
1916
- ]
1917
- },
1918
- {
1919
- "event": "CollectibleUpdated",
1920
- "scope": "internal",
1921
- "payloadSchema": [
1922
- {
1923
- "name": "id",
1924
- "type": "string"
1925
- }
1926
- ]
1927
- }
1928
- ],
1929
- "listens": [
1930
- {
1931
- "event": "USE_ITEM",
1932
- "triggers": "USE_ITEM",
1933
- "source": {
1934
- "kind": "trait",
1935
- "trait": "CollectibleBrowse"
1936
- }
1937
- }
1938
- ],
1939
- "stateMachine": {
1940
- "states": [
1941
- {
1942
- "name": "closed",
1943
- "isInitial": true
1944
- },
1945
- {
1946
- "name": "open"
1947
- }
1948
- ],
1949
- "events": [
1950
- {
1951
- "key": "INIT",
1952
- "name": "Initialize"
1953
- },
1954
- {
1955
- "key": "USE_ITEM",
1956
- "name": "Use Item",
1957
- "payloadSchema": [
1958
- {
1959
- "name": "id",
1960
- "type": "string"
1961
- }
1962
- ]
1963
- },
1964
- {
1965
- "key": "CLOSE",
1966
- "name": "Close"
1967
- },
1968
- {
1969
- "key": "SAVE",
1970
- "name": "Save",
1971
- "payloadSchema": [
1972
- {
1973
- "name": "data",
1974
- "type": "string"
1975
- }
1976
- ]
1977
- },
1978
- {
1979
- "key": "ITEM_USED",
1980
- "name": "Item Used"
1981
- },
1982
- {
1983
- "key": "CollectibleLoadFailed",
1984
- "name": "Collectible load failed",
1985
- "payloadSchema": [
1986
- {
1987
- "name": "error",
1988
- "type": "string"
1989
- },
1990
- {
1991
- "name": "code",
1992
- "type": "string"
1993
- }
1994
- ]
1995
- },
1996
- {
1997
- "key": "CollectibleLoaded",
1998
- "name": "Collectible loaded",
1999
- "payloadSchema": [
2000
- {
2001
- "name": "data",
2002
- "type": "[Collectible]"
2003
- }
2004
- ]
2005
- },
2006
- {
2007
- "key": "CollectibleUpdateFailed",
2008
- "name": "Collectible update failed",
2009
- "payloadSchema": [
2010
- {
2011
- "name": "error",
2012
- "type": "string"
2013
- },
2014
- {
2015
- "name": "code",
2016
- "type": "string"
2017
- }
2018
- ]
2019
- },
2020
- {
2021
- "key": "CollectibleUpdated",
2022
- "name": "Collectible updated",
2023
- "payloadSchema": [
2024
- {
2025
- "name": "id",
2026
- "type": "string"
2027
- }
2028
- ]
2029
- }
2030
- ],
2031
- "transitions": [
2032
- {
2033
- "from": "closed",
2034
- "to": "closed",
2035
- "event": "INIT",
2036
- "effects": [
2037
- [
2038
- "fetch",
2039
- "Collectible",
2040
- {
2041
- "emit": {
2042
- "failure": "CollectibleLoadFailed",
2043
- "success": "CollectibleLoaded"
2044
- }
2045
- }
2046
- ]
2047
- ]
2048
- },
2049
- {
2050
- "from": "closed",
2051
- "to": "open",
2052
- "event": "USE_ITEM",
2053
- "effects": [
2054
- [
2055
- "fetch",
2056
- "Collectible",
2057
- {
2058
- "id": "@payload.id",
2059
- "emit": {
2060
- "failure": "CollectibleLoadFailed",
2061
- "success": "CollectibleLoaded"
2062
- }
2063
- }
2064
- ],
2065
- [
2066
- "render-ui",
2067
- "modal",
2068
- {
2069
- "children": [
2070
- {
2071
- "type": "stack",
2072
- "direction": "horizontal",
2073
- "align": "center",
2074
- "children": [
2075
- {
2076
- "name": "zap",
2077
- "type": "icon"
2078
- },
2079
- {
2080
- "type": "typography",
2081
- "content": "Use Collectible",
2082
- "variant": "h3"
2083
- }
2084
- ],
2085
- "gap": "sm"
2086
- },
2087
- {
2088
- "type": "divider"
2089
- },
2090
- {
2091
- "type": "typography",
2092
- "content": "@entity.name",
2093
- "variant": "body"
2094
- },
2095
- {
2096
- "direction": "horizontal",
2097
- "children": [
2098
- {
2099
- "label": "Cancel",
2100
- "action": "CLOSE",
2101
- "type": "button",
2102
- "variant": "ghost"
2103
- },
2104
- {
2105
- "label": "Confirm Use",
2106
- "type": "button",
2107
- "variant": "primary",
2108
- "icon": "check",
2109
- "action": "SAVE"
2110
- }
2111
- ],
2112
- "gap": "sm",
2113
- "type": "stack",
2114
- "justify": "center"
2115
- }
2116
- ],
2117
- "direction": "vertical",
2118
- "type": "stack",
2119
- "gap": "md",
2120
- "align": "center"
2121
- }
2122
- ]
2123
- ]
2124
- },
2125
- {
2126
- "from": "open",
2127
- "to": "closed",
2128
- "event": "CLOSE",
2129
- "effects": [
2130
- [
2131
- "render-ui",
2132
- "modal",
2133
- null
2134
- ],
2135
- [
2136
- "render-ui",
2137
- "main",
2138
- {
2139
- "type": "box"
2140
- }
2141
- ],
2142
- [
2143
- "notify",
2144
- "Cancelled",
2145
- "info"
2146
- ]
2147
- ]
2148
- },
2149
- {
2150
- "from": "open",
2151
- "to": "closed",
2152
- "event": "SAVE",
2153
- "effects": [
2154
- [
2155
- "persist",
2156
- "update",
2157
- "Collectible",
2158
- "@payload.data",
2159
- {
2160
- "emit": {
2161
- "failure": "CollectibleUpdateFailed",
2162
- "success": "CollectibleUpdated"
2163
- }
2164
- }
2165
- ],
2166
- [
2167
- "render-ui",
2168
- "modal",
2169
- null
2170
- ],
2171
- [
2172
- "render-ui",
2173
- "main",
2174
- {
2175
- "type": "box"
2176
- }
2177
- ],
2178
- [
2179
- "emit",
2180
- "ITEM_USED"
2181
- ]
2182
- ]
2183
- }
2184
- ]
2185
- },
2186
- "scope": "collection"
2187
- },
2188
- {
2189
- "name": "CollectibleDrop",
2190
- "category": "interaction",
2191
- "linkedEntity": "Collectible",
2192
- "emits": [
2193
- {
2194
- "event": "CONFIRM_DROP"
2195
- },
2196
- {
2197
- "event": "CollectibleDeleteFailed",
2198
- "scope": "internal",
2199
- "payloadSchema": [
2200
- {
2201
- "name": "error",
2202
- "type": "string"
2203
- },
2204
- {
2205
- "name": "code",
2206
- "type": "string"
2207
- }
2208
- ]
2209
- },
2210
- {
2211
- "event": "CollectibleDeleted",
2212
- "scope": "internal",
2213
- "payloadSchema": [
2214
- {
2215
- "name": "id",
2216
- "type": "string"
2217
- }
2218
- ]
2219
- },
2220
- {
2221
- "event": "CollectibleLoadFailed",
2222
- "description": "Fired when Collectible fails to load",
2223
- "scope": "internal",
2224
- "payloadSchema": [
2225
- {
2226
- "name": "error",
2227
- "type": "string"
2228
- },
2229
- {
2230
- "name": "code",
2231
- "type": "string"
2232
- }
2233
- ]
2234
- },
2235
- {
2236
- "event": "CollectibleLoaded",
2237
- "description": "Fired when Collectible finishes loading",
2238
- "scope": "internal",
2239
- "payloadSchema": [
2240
- {
2241
- "name": "data",
2242
- "type": "[Collectible]"
2243
- }
2244
- ]
2245
- }
2246
- ],
2247
- "listens": [
2248
- {
2249
- "event": "DROP",
2250
- "triggers": "DROP",
2251
- "source": {
2252
- "kind": "trait",
2253
- "trait": "CollectibleBrowse"
2254
- }
2255
- }
2256
- ],
2257
- "stateMachine": {
2258
- "states": [
2259
- {
2260
- "name": "idle",
2261
- "isInitial": true
2262
- },
2263
- {
2264
- "name": "confirming"
2265
- }
2266
- ],
2267
- "events": [
2268
- {
2269
- "key": "INIT",
2270
- "name": "Initialize"
2271
- },
2272
- {
2273
- "key": "DROP",
2274
- "name": "Drop",
2275
- "payloadSchema": [
2276
- {
2277
- "name": "id",
2278
- "type": "string"
2279
- }
2280
- ]
2281
- },
2282
- {
2283
- "key": "CONFIRM_DROP",
2284
- "name": "Confirm Drop"
2285
- },
2286
- {
2287
- "key": "CANCEL",
2288
- "name": "Cancel"
2289
- },
2290
- {
2291
- "key": "CLOSE",
2292
- "name": "Close"
2293
- },
2294
- {
2295
- "key": "CollectibleDeleteFailed",
2296
- "name": "Collectible delete failed",
2297
- "payloadSchema": [
2298
- {
2299
- "name": "error",
2300
- "type": "string"
2301
- },
2302
- {
2303
- "name": "code",
2304
- "type": "string"
2305
- }
2306
- ]
2307
- },
2308
- {
2309
- "key": "CollectibleDeleted",
2310
- "name": "Collectible deleted",
2311
- "payloadSchema": [
2312
- {
2313
- "name": "id",
2314
- "type": "string"
2315
- }
2316
- ]
2317
- },
2318
- {
2319
- "key": "CollectibleLoadFailed",
2320
- "name": "Collectible load failed",
2321
- "payloadSchema": [
2322
- {
2323
- "name": "error",
2324
- "type": "string"
2325
- },
2326
- {
2327
- "name": "code",
2328
- "type": "string"
2329
- }
2330
- ]
2331
- },
2332
- {
2333
- "key": "CollectibleLoaded",
2334
- "name": "Collectible loaded",
2335
- "payloadSchema": [
2336
- {
2337
- "name": "data",
2338
- "type": "[Collectible]"
2339
- }
2340
- ]
2341
- }
2342
- ],
2343
- "transitions": [
2344
- {
2345
- "from": "idle",
2346
- "to": "idle",
2347
- "event": "INIT",
2348
- "effects": [
2349
- [
2350
- "fetch",
2351
- "Collectible",
2352
- {
2353
- "emit": {
2354
- "success": "CollectibleLoaded",
2355
- "failure": "CollectibleLoadFailed"
2356
- }
2357
- }
2358
- ]
2359
- ]
2360
- },
2361
- {
2362
- "from": "idle",
2363
- "to": "confirming",
2364
- "event": "DROP",
2365
- "effects": [
2366
- [
2367
- "set",
2368
- "@entity.pendingId",
2369
- "@payload.id"
2370
- ],
2371
- [
2372
- "fetch",
2373
- "Collectible",
2374
- {
2375
- "emit": {
2376
- "success": "CollectibleLoaded",
2377
- "failure": "CollectibleLoadFailed"
2378
- },
2379
- "id": "@payload.id"
2380
- }
2381
- ],
2382
- [
2383
- "render-ui",
2384
- "modal",
2385
- {
2386
- "gap": "md",
2387
- "direction": "vertical",
2388
- "type": "stack",
2389
- "children": [
2390
- {
2391
- "direction": "horizontal",
2392
- "type": "stack",
2393
- "children": [
2394
- {
2395
- "name": "alert-triangle",
2396
- "type": "icon"
2397
- },
2398
- {
2399
- "type": "typography",
2400
- "content": "Drop Collectible",
2401
- "variant": "h3"
2402
- }
2403
- ],
2404
- "gap": "sm",
2405
- "align": "center"
2406
- },
2407
- {
2408
- "type": "divider"
2409
- },
2410
- {
2411
- "type": "alert",
2412
- "variant": "error",
2413
- "message": "Are you sure you want to drop this collectible?"
2414
- },
2415
- {
2416
- "direction": "horizontal",
2417
- "justify": "end",
2418
- "type": "stack",
2419
- "gap": "sm",
2420
- "children": [
2421
- {
2422
- "action": "CANCEL",
2423
- "type": "button",
2424
- "label": "Cancel",
2425
- "variant": "ghost"
2426
- },
2427
- {
2428
- "action": "CONFIRM_DROP",
2429
- "label": "Drop",
2430
- "variant": "danger",
2431
- "type": "button",
2432
- "icon": "check"
2433
- }
2434
- ]
2435
- }
2436
- ]
2437
- }
2438
- ]
2439
- ]
2440
- },
2441
- {
2442
- "from": "confirming",
2443
- "to": "idle",
2444
- "event": "CONFIRM_DROP",
2445
- "effects": [
2446
- [
2447
- "persist",
2448
- "delete",
2449
- "Collectible",
2450
- "@entity.pendingId",
2451
- {
2452
- "emit": {
2453
- "success": "CollectibleDeleted",
2454
- "failure": "CollectibleDeleteFailed"
2455
- }
2456
- }
2457
- ],
2458
- [
2459
- "render-ui",
2460
- "modal",
2461
- null
2462
- ],
2463
- [
2464
- "render-ui",
2465
- "main",
2466
- {
2467
- "type": "box"
2468
- }
2469
- ],
2470
- [
2471
- "fetch",
2472
- "Collectible",
2473
- {
2474
- "emit": {
2475
- "failure": "CollectibleLoadFailed",
2476
- "success": "CollectibleLoaded"
2477
- }
2478
- }
2479
- ]
2480
- ]
2481
- },
2482
- {
2483
- "from": "confirming",
2484
- "to": "idle",
2485
- "event": "CANCEL",
2486
- "effects": [
2487
- [
2488
- "render-ui",
2489
- "modal",
2490
- null
2491
- ],
2492
- [
2493
- "render-ui",
2494
- "main",
2495
- {
2496
- "type": "box"
2497
- }
2498
- ],
2499
- [
2500
- "fetch",
2501
- "Collectible",
2502
- {
2503
- "emit": {
2504
- "failure": "CollectibleLoadFailed",
2505
- "success": "CollectibleLoaded"
2506
- }
2507
- }
2508
- ]
2509
- ]
2510
- },
2511
- {
2512
- "from": "confirming",
2513
- "to": "idle",
2514
- "event": "CLOSE",
2515
- "effects": [
2516
- [
2517
- "render-ui",
2518
- "modal",
2519
- null
2520
- ],
2521
- [
2522
- "render-ui",
2523
- "main",
2524
- {
2525
- "type": "box"
2526
- }
2527
- ],
2528
- [
2529
- "fetch",
2530
- "Collectible",
2531
- {
2532
- "emit": {
2533
- "failure": "CollectibleLoadFailed",
2534
- "success": "CollectibleLoaded"
2535
- }
2536
- }
2537
- ]
2538
- ]
2539
- }
2540
- ]
2541
- },
2542
- "scope": "collection"
2543
- }
2544
- ],
2545
- "pages": [
2546
- {
2547
- "name": "Collectibles",
2548
- "path": "/collectibles",
2549
- "traits": [
2550
- {
2551
- "ref": "CollectibleBrowse"
2552
- },
2553
- {
2554
- "ref": "CollectibleAdd"
2555
- },
2556
- {
2557
- "ref": "CollectibleUse"
2558
- },
2559
- {
2560
- "ref": "CollectibleDrop"
2561
- }
2562
- ]
2563
- }
2564
- ]
2565
- }
2566
- ]
2567
- }