@almadar/std 8.3.0 → 8.4.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 +62 -62
  2. package/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +101 -101
  3. package/behaviors/registry/agent/atoms/std-agent-classifier.orb +100 -100
  4. package/behaviors/registry/agent/atoms/std-agent-completion.orb +103 -103
  5. package/behaviors/registry/agent/atoms/std-agent-context-window.orb +386 -386
  6. package/behaviors/registry/agent/atoms/std-agent-conversation.orb +94 -94
  7. package/behaviors/registry/agent/atoms/std-agent-memory.orb +66 -66
  8. package/behaviors/registry/agent/atoms/std-agent-provider.orb +114 -114
  9. package/behaviors/registry/agent/atoms/std-agent-search.orb +61 -61
  10. package/behaviors/registry/agent/atoms/std-agent-session.orb +109 -109
  11. package/behaviors/registry/agent/atoms/std-agent-step-progress.orb +196 -196
  12. package/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +347 -347
  13. package/behaviors/registry/agent/atoms/std-agent-tool-call.orb +61 -60
  14. package/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +187 -187
  15. package/behaviors/registry/agent/molecules/std-agent-learner.orb +180 -180
  16. package/behaviors/registry/agent/molecules/std-agent-planner.orb +108 -108
  17. package/behaviors/registry/agent/molecules/std-agent-rag.orb +107 -107
  18. package/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +184 -184
  19. package/behaviors/registry/agent/organisms/std-agent-assistant.orb +1130 -1130
  20. package/behaviors/registry/agent/organisms/std-agent-builder.orb +2998 -2998
  21. package/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2135 -2135
  22. package/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1033 -1033
  23. package/behaviors/registry/agent/organisms/std-agent-tutor.orb +784 -784
  24. package/behaviors/registry/app/organisms/std-api-gateway.orb +798 -798
  25. package/behaviors/registry/app/organisms/std-booking-system.orb +1139 -1139
  26. package/behaviors/registry/app/organisms/std-cicd-pipeline.orb +776 -776
  27. package/behaviors/registry/app/organisms/std-cms.orb +469 -469
  28. package/behaviors/registry/app/organisms/std-coding-academy.orb +338 -338
  29. package/behaviors/registry/app/organisms/std-crm.orb +832 -832
  30. package/behaviors/registry/app/organisms/std-devops-dashboard.orb +1350 -1350
  31. package/behaviors/registry/app/organisms/std-ecommerce.orb +975 -975
  32. package/behaviors/registry/app/organisms/std-finance-tracker.orb +573 -573
  33. package/behaviors/registry/app/organisms/std-healthcare.orb +1370 -1370
  34. package/behaviors/registry/app/organisms/std-helpdesk.orb +617 -617
  35. package/behaviors/registry/app/organisms/std-hr-portal.orb +1177 -1177
  36. package/behaviors/registry/app/organisms/std-iot-dashboard.orb +871 -871
  37. package/behaviors/registry/app/organisms/std-lms.orb +839 -839
  38. package/behaviors/registry/app/organisms/std-project-manager.orb +667 -667
  39. package/behaviors/registry/app/organisms/std-realtime-chat.orb +667 -667
  40. package/behaviors/registry/app/organisms/std-social-feed.orb +230 -230
  41. package/behaviors/registry/app/organisms/std-trading-dashboard.orb +682 -682
  42. package/behaviors/registry/core/atoms/std-browse.orb +53 -53
  43. package/behaviors/registry/core/atoms/std-cache-aside.orb +89 -89
  44. package/behaviors/registry/core/atoms/std-calendar.orb +57 -57
  45. package/behaviors/registry/core/atoms/std-circuit-breaker.orb +196 -196
  46. package/behaviors/registry/core/atoms/std-confirmation.orb +19 -19
  47. package/behaviors/registry/core/atoms/std-display.orb +383 -383
  48. package/behaviors/registry/core/atoms/std-drawer.orb +56 -56
  49. package/behaviors/registry/core/atoms/std-filter.orb +42 -42
  50. package/behaviors/registry/core/atoms/std-gallery.orb +54 -54
  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 +42 -42
  54. package/behaviors/registry/core/atoms/std-rate-limiter.orb +179 -179
  55. package/behaviors/registry/core/atoms/std-related.orb +34 -34
  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 +52 -52
  59. package/behaviors/registry/core/molecules/std-cart.orb +45 -45
  60. package/behaviors/registry/core/molecules/std-filtered-list.orb +7 -7
  61. package/behaviors/registry/core/molecules/std-form-advanced.orb +127 -127
  62. package/behaviors/registry/core/molecules/std-list.orb +46 -46
  63. package/behaviors/registry/core/molecules/std-wizard-form.orb +147 -147
  64. package/behaviors/registry/game/atoms/std-collision.orb +121 -121
  65. package/behaviors/registry/game/atoms/std-combat.orb +68 -68
  66. package/behaviors/registry/game/atoms/std-dialogue-box.orb +25 -25
  67. package/behaviors/registry/game/atoms/std-game-canvas2d.orb +48 -48
  68. package/behaviors/registry/game/atoms/std-gameflow.orb +37 -37
  69. package/behaviors/registry/game/atoms/std-movement.orb +306 -306
  70. package/behaviors/registry/game/atoms/std-overworld.orb +68 -68
  71. package/behaviors/registry/game/atoms/std-physics2d.orb +76 -76
  72. package/behaviors/registry/game/atoms/std-quest.orb +124 -124
  73. package/behaviors/registry/game/atoms/std-timer.orb +274 -274
  74. package/behaviors/registry/game/organisms/std-arcade-game.orb +145 -145
  75. package/behaviors/registry/game/organisms/std-logic-training.orb +67 -67
  76. package/behaviors/registry/game/organisms/std-platformer-app.orb +218 -218
  77. package/behaviors/registry/game/organisms/std-puzzle-app.orb +90 -90
  78. package/behaviors/registry/game/organisms/std-rpg-game.orb +372 -372
  79. package/behaviors/registry/game/organisms/std-stem-lab.orb +345 -345
  80. package/behaviors/registry/game/organisms/std-strategy-game.orb +540 -540
  81. package/behaviors/registry/probes/molecules/std-source-scope-probe.orb +14 -14
  82. package/behaviors/registry/service/atoms/std-service-custom-bearer.orb +86 -86
  83. package/behaviors/registry/service/atoms/std-service-email.orb +72 -72
  84. package/behaviors/registry/service/atoms/std-service-github.orb +98 -98
  85. package/behaviors/registry/service/atoms/std-service-llm.orb +118 -118
  86. package/behaviors/registry/service/atoms/std-service-oauth.orb +118 -118
  87. package/behaviors/registry/service/atoms/std-service-redis.orb +103 -103
  88. package/behaviors/registry/service/atoms/std-service-storage.orb +105 -105
  89. package/behaviors/registry/service/atoms/std-service-stripe.orb +95 -95
  90. package/behaviors/registry/service/atoms/std-service-twilio.orb +107 -107
  91. package/behaviors/registry/service/atoms/std-service-youtube.orb +104 -104
  92. package/behaviors/registry/service/organisms/std-service-marketplace.orb +966 -966
  93. package/behaviors/registry/service/organisms/std-service-research-assistant.orb +905 -905
  94. package/dist/behaviors/registry/agent/atoms/std-agent-activity-log.orb +62 -62
  95. package/dist/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +101 -101
  96. package/dist/behaviors/registry/agent/atoms/std-agent-classifier.orb +100 -100
  97. package/dist/behaviors/registry/agent/atoms/std-agent-completion.orb +103 -103
  98. package/dist/behaviors/registry/agent/atoms/std-agent-context-window.orb +386 -386
  99. package/dist/behaviors/registry/agent/atoms/std-agent-conversation.orb +94 -94
  100. package/dist/behaviors/registry/agent/atoms/std-agent-memory.orb +66 -66
  101. package/dist/behaviors/registry/agent/atoms/std-agent-provider.orb +114 -114
  102. package/dist/behaviors/registry/agent/atoms/std-agent-search.orb +61 -61
  103. package/dist/behaviors/registry/agent/atoms/std-agent-session.orb +109 -109
  104. package/dist/behaviors/registry/agent/atoms/std-agent-step-progress.orb +196 -196
  105. package/dist/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +347 -347
  106. package/dist/behaviors/registry/agent/atoms/std-agent-tool-call.orb +61 -60
  107. package/dist/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +187 -187
  108. package/dist/behaviors/registry/agent/molecules/std-agent-learner.orb +180 -180
  109. package/dist/behaviors/registry/agent/molecules/std-agent-planner.orb +108 -108
  110. package/dist/behaviors/registry/agent/molecules/std-agent-rag.orb +107 -107
  111. package/dist/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +184 -184
  112. package/dist/behaviors/registry/agent/organisms/std-agent-assistant.orb +1130 -1130
  113. package/dist/behaviors/registry/agent/organisms/std-agent-builder.orb +2998 -2998
  114. package/dist/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2135 -2135
  115. package/dist/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1033 -1033
  116. package/dist/behaviors/registry/agent/organisms/std-agent-tutor.orb +784 -784
  117. package/dist/behaviors/registry/app/organisms/std-api-gateway.orb +798 -798
  118. package/dist/behaviors/registry/app/organisms/std-booking-system.orb +1139 -1139
  119. package/dist/behaviors/registry/app/organisms/std-cicd-pipeline.orb +776 -776
  120. package/dist/behaviors/registry/app/organisms/std-cms.orb +469 -469
  121. package/dist/behaviors/registry/app/organisms/std-coding-academy.orb +338 -338
  122. package/dist/behaviors/registry/app/organisms/std-crm.orb +832 -832
  123. package/dist/behaviors/registry/app/organisms/std-devops-dashboard.orb +1350 -1350
  124. package/dist/behaviors/registry/app/organisms/std-ecommerce.orb +975 -975
  125. package/dist/behaviors/registry/app/organisms/std-finance-tracker.orb +573 -573
  126. package/dist/behaviors/registry/app/organisms/std-healthcare.orb +1370 -1370
  127. package/dist/behaviors/registry/app/organisms/std-helpdesk.orb +617 -617
  128. package/dist/behaviors/registry/app/organisms/std-hr-portal.orb +1177 -1177
  129. package/dist/behaviors/registry/app/organisms/std-iot-dashboard.orb +871 -871
  130. package/dist/behaviors/registry/app/organisms/std-lms.orb +839 -839
  131. package/dist/behaviors/registry/app/organisms/std-project-manager.orb +667 -667
  132. package/dist/behaviors/registry/app/organisms/std-realtime-chat.orb +667 -667
  133. package/dist/behaviors/registry/app/organisms/std-social-feed.orb +230 -230
  134. package/dist/behaviors/registry/app/organisms/std-trading-dashboard.orb +682 -682
  135. package/dist/behaviors/registry/core/atoms/std-browse.orb +53 -53
  136. package/dist/behaviors/registry/core/atoms/std-cache-aside.orb +89 -89
  137. package/dist/behaviors/registry/core/atoms/std-calendar.orb +57 -57
  138. package/dist/behaviors/registry/core/atoms/std-circuit-breaker.orb +196 -196
  139. package/dist/behaviors/registry/core/atoms/std-confirmation.orb +19 -19
  140. package/dist/behaviors/registry/core/atoms/std-display.orb +383 -383
  141. package/dist/behaviors/registry/core/atoms/std-drawer.orb +56 -56
  142. package/dist/behaviors/registry/core/atoms/std-filter.orb +42 -42
  143. package/dist/behaviors/registry/core/atoms/std-gallery.orb +54 -54
  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 +42 -42
  147. package/dist/behaviors/registry/core/atoms/std-rate-limiter.orb +179 -179
  148. package/dist/behaviors/registry/core/atoms/std-related.orb +34 -34
  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 +52 -52
  152. package/dist/behaviors/registry/core/molecules/std-cart.orb +45 -45
  153. package/dist/behaviors/registry/core/molecules/std-filtered-list.orb +7 -7
  154. package/dist/behaviors/registry/core/molecules/std-form-advanced.orb +127 -127
  155. package/dist/behaviors/registry/core/molecules/std-list.orb +46 -46
  156. package/dist/behaviors/registry/core/molecules/std-wizard-form.orb +147 -147
  157. package/dist/behaviors/registry/game/atoms/std-collision.orb +121 -121
  158. package/dist/behaviors/registry/game/atoms/std-combat.orb +68 -68
  159. package/dist/behaviors/registry/game/atoms/std-dialogue-box.orb +25 -25
  160. package/dist/behaviors/registry/game/atoms/std-game-canvas2d.orb +48 -48
  161. package/dist/behaviors/registry/game/atoms/std-gameflow.orb +37 -37
  162. package/dist/behaviors/registry/game/atoms/std-movement.orb +306 -306
  163. package/dist/behaviors/registry/game/atoms/std-overworld.orb +68 -68
  164. package/dist/behaviors/registry/game/atoms/std-physics2d.orb +76 -76
  165. package/dist/behaviors/registry/game/atoms/std-quest.orb +124 -124
  166. package/dist/behaviors/registry/game/atoms/std-timer.orb +274 -274
  167. package/dist/behaviors/registry/game/organisms/std-arcade-game.orb +145 -145
  168. package/dist/behaviors/registry/game/organisms/std-logic-training.orb +67 -67
  169. package/dist/behaviors/registry/game/organisms/std-platformer-app.orb +218 -218
  170. package/dist/behaviors/registry/game/organisms/std-puzzle-app.orb +90 -90
  171. package/dist/behaviors/registry/game/organisms/std-rpg-game.orb +372 -372
  172. package/dist/behaviors/registry/game/organisms/std-stem-lab.orb +345 -345
  173. package/dist/behaviors/registry/game/organisms/std-strategy-game.orb +540 -540
  174. package/dist/behaviors/registry/probes/molecules/std-source-scope-probe.orb +14 -14
  175. package/dist/behaviors/registry/service/atoms/std-service-custom-bearer.orb +86 -86
  176. package/dist/behaviors/registry/service/atoms/std-service-email.orb +72 -72
  177. package/dist/behaviors/registry/service/atoms/std-service-github.orb +98 -98
  178. package/dist/behaviors/registry/service/atoms/std-service-llm.orb +118 -118
  179. package/dist/behaviors/registry/service/atoms/std-service-oauth.orb +118 -118
  180. package/dist/behaviors/registry/service/atoms/std-service-redis.orb +103 -103
  181. package/dist/behaviors/registry/service/atoms/std-service-storage.orb +105 -105
  182. package/dist/behaviors/registry/service/atoms/std-service-stripe.orb +95 -95
  183. package/dist/behaviors/registry/service/atoms/std-service-twilio.orb +107 -107
  184. package/dist/behaviors/registry/service/atoms/std-service-youtube.orb +104 -104
  185. package/dist/behaviors/registry/service/organisms/std-service-marketplace.orb +966 -966
  186. package/dist/behaviors/registry/service/organisms/std-service-research-assistant.orb +905 -905
  187. package/package.json +1 -1
@@ -333,8 +333,8 @@
333
333
  "ChatMessage",
334
334
  {
335
335
  "emit": {
336
- "success": "ChatMessageLoaded",
337
- "failure": "ChatMessageLoadFailed"
336
+ "failure": "ChatMessageLoadFailed",
337
+ "success": "ChatMessageLoaded"
338
338
  }
339
339
  }
340
340
  ],
@@ -342,22 +342,22 @@
342
342
  "render-ui",
343
343
  "main",
344
344
  {
345
+ "direction": "vertical",
345
346
  "gap": "md",
346
- "type": "stack",
347
347
  "className": "py-12",
348
- "direction": "vertical",
349
- "align": "center",
348
+ "type": "stack",
350
349
  "children": [
351
350
  {
352
351
  "type": "spinner"
353
352
  },
354
353
  {
354
+ "variant": "caption",
355
355
  "type": "typography",
356
356
  "color": "muted",
357
- "content": "Loading…",
358
- "variant": "caption"
357
+ "content": "Loading…"
359
358
  }
360
- ]
359
+ ],
360
+ "align": "center"
361
361
  }
362
362
  ]
363
363
  ]
@@ -371,19 +371,45 @@
371
371
  "render-ui",
372
372
  "main",
373
373
  {
374
+ "appName": "Realtime Chat",
375
+ "navItems": [
376
+ {
377
+ "icon": "layout-list",
378
+ "href": "/chat",
379
+ "label": "Chat"
380
+ },
381
+ {
382
+ "label": "Channels",
383
+ "href": "/channels",
384
+ "icon": "hash"
385
+ },
386
+ {
387
+ "href": "/online",
388
+ "label": "Online",
389
+ "icon": "layout-list"
390
+ }
391
+ ],
392
+ "type": "dashboard-layout",
374
393
  "children": [
375
394
  {
395
+ "gap": "lg",
396
+ "type": "stack",
397
+ "direction": "vertical",
398
+ "className": "max-w-5xl mx-auto w-full",
376
399
  "children": [
377
400
  {
378
- "type": "stack",
379
401
  "direction": "horizontal",
380
- "justify": "between",
402
+ "gap": "md",
403
+ "align": "center",
404
+ "type": "stack",
381
405
  "children": [
382
406
  {
407
+ "align": "center",
408
+ "type": "stack",
383
409
  "children": [
384
410
  {
385
- "type": "icon",
386
- "name": "message-circle"
411
+ "name": "message-circle",
412
+ "type": "icon"
387
413
  },
388
414
  {
389
415
  "content": "Chat",
@@ -391,86 +417,60 @@
391
417
  "variant": "h2"
392
418
  }
393
419
  ],
394
- "gap": "sm",
395
- "type": "stack",
396
420
  "direction": "horizontal",
397
- "align": "center"
421
+ "gap": "sm"
398
422
  },
399
423
  {
400
- "type": "stack",
424
+ "gap": "sm",
401
425
  "direction": "horizontal",
402
426
  "children": [
403
427
  {
428
+ "icon": "edit",
429
+ "action": "COMPOSE",
404
430
  "variant": "primary",
405
431
  "type": "button",
406
- "action": "COMPOSE",
407
- "icon": "edit",
408
432
  "label": "Compose"
409
433
  }
410
434
  ],
411
- "gap": "sm"
435
+ "type": "stack"
412
436
  }
413
437
  ],
414
- "gap": "md",
415
- "align": "center"
438
+ "justify": "between"
416
439
  },
417
440
  {
418
441
  "type": "divider"
419
442
  },
420
443
  {
444
+ "fields": [],
421
445
  "senderField": "sender",
446
+ "gap": "sm",
447
+ "type": "data-list",
448
+ "variant": "message",
449
+ "entity": "@payload.data",
422
450
  "itemActions": [
423
451
  {
424
- "event": "VIEW",
425
452
  "variant": "ghost",
426
- "label": "View"
453
+ "label": "View",
454
+ "event": "VIEW"
427
455
  }
428
456
  ],
429
- "entity": "@payload.data",
430
457
  "columns": [
431
458
  {
432
459
  "variant": "h4",
433
460
  "name": "sender"
434
461
  },
435
462
  {
436
- "variant": "body",
437
- "name": "content"
463
+ "name": "content",
464
+ "variant": "body"
438
465
  },
439
466
  {
440
467
  "format": "date",
441
- "variant": "caption",
442
- "name": "timestamp"
468
+ "name": "timestamp",
469
+ "variant": "caption"
443
470
  }
444
- ],
445
- "variant": "message",
446
- "fields": [],
447
- "type": "data-list",
448
- "gap": "sm"
471
+ ]
449
472
  }
450
- ],
451
- "direction": "vertical",
452
- "type": "stack",
453
- "className": "max-w-5xl mx-auto w-full",
454
- "gap": "lg"
455
- }
456
- ],
457
- "appName": "Realtime Chat",
458
- "type": "dashboard-layout",
459
- "navItems": [
460
- {
461
- "icon": "layout-list",
462
- "href": "/chat",
463
- "label": "Chat"
464
- },
465
- {
466
- "label": "Channels",
467
- "href": "/channels",
468
- "icon": "hash"
469
- },
470
- {
471
- "href": "/online",
472
- "label": "Online",
473
- "icon": "layout-list"
473
+ ]
474
474
  }
475
475
  ]
476
476
  }
@@ -486,36 +486,36 @@
486
486
  "render-ui",
487
487
  "main",
488
488
  {
489
- "align": "center",
490
489
  "className": "py-12",
491
- "gap": "md",
492
490
  "children": [
493
491
  {
494
492
  "color": "destructive",
495
- "name": "alert-triangle",
496
- "type": "icon"
493
+ "type": "icon",
494
+ "name": "alert-triangle"
497
495
  },
498
496
  {
497
+ "type": "typography",
499
498
  "variant": "h3",
500
- "content": "Failed to load chatmessage",
501
- "type": "typography"
499
+ "content": "Failed to load chatmessage"
502
500
  },
503
501
  {
504
- "color": "muted",
505
502
  "variant": "body",
503
+ "content": "@payload.error",
506
504
  "type": "typography",
507
- "content": "@payload.error"
505
+ "color": "muted"
508
506
  },
509
507
  {
510
- "type": "button",
511
- "action": "INIT",
512
- "icon": "rotate-ccw",
508
+ "label": "Retry",
513
509
  "variant": "primary",
514
- "label": "Retry"
510
+ "icon": "rotate-ccw",
511
+ "action": "INIT",
512
+ "type": "button"
515
513
  }
516
514
  ],
517
- "type": "stack",
518
- "direction": "vertical"
515
+ "direction": "vertical",
516
+ "gap": "md",
517
+ "align": "center",
518
+ "type": "stack"
519
519
  }
520
520
  ]
521
521
  ]
@@ -687,7 +687,7 @@
687
687
  "render-ui",
688
688
  "modal",
689
689
  {
690
- "type": "stack",
690
+ "gap": "md",
691
691
  "children": [
692
692
  {
693
693
  "direction": "horizontal",
@@ -697,9 +697,9 @@
697
697
  "type": "icon"
698
698
  },
699
699
  {
700
- "content": "New ChatMessage",
700
+ "type": "typography",
701
701
  "variant": "h3",
702
- "type": "typography"
702
+ "content": "New ChatMessage"
703
703
  }
704
704
  ],
705
705
  "gap": "sm",
@@ -709,20 +709,20 @@
709
709
  "type": "divider"
710
710
  },
711
711
  {
712
+ "mode": "create",
712
713
  "type": "form-section",
713
714
  "submitEvent": "SEND",
714
- "cancelEvent": "CLOSE",
715
- "mode": "create",
716
715
  "fields": [
717
716
  "sender",
718
717
  "content",
719
718
  "channel",
720
719
  "timestamp"
721
- ]
720
+ ],
721
+ "cancelEvent": "CLOSE"
722
722
  }
723
723
  ],
724
724
  "direction": "vertical",
725
- "gap": "md"
725
+ "type": "stack"
726
726
  }
727
727
  ]
728
728
  ]
@@ -905,11 +905,11 @@
905
905
  "fetch",
906
906
  "ChatMessage",
907
907
  {
908
+ "id": "@payload.id",
908
909
  "emit": {
909
910
  "failure": "ChatMessageLoadFailed",
910
911
  "success": "ChatMessageLoaded"
911
- },
912
- "id": "@payload.id"
912
+ }
913
913
  }
914
914
  ],
915
915
  [
@@ -918,12 +918,13 @@
918
918
  {
919
919
  "direction": "vertical",
920
920
  "type": "stack",
921
+ "gap": "md",
921
922
  "children": [
922
923
  {
923
- "type": "stack",
924
- "direction": "horizontal",
925
924
  "gap": "sm",
925
+ "direction": "horizontal",
926
926
  "align": "center",
927
+ "type": "stack",
927
928
  "children": [
928
929
  {
929
930
  "type": "icon",
@@ -931,8 +932,8 @@
931
932
  },
932
933
  {
933
934
  "content": "@entity.sender",
934
- "variant": "h3",
935
- "type": "typography"
935
+ "type": "typography",
936
+ "variant": "h3"
936
937
  }
937
938
  ]
938
939
  },
@@ -940,7 +941,6 @@
940
941
  "type": "divider"
941
942
  },
942
943
  {
943
- "gap": "md",
944
944
  "type": "stack",
945
945
  "direction": "horizontal",
946
946
  "children": [
@@ -950,47 +950,50 @@
950
950
  "type": "typography"
951
951
  },
952
952
  {
953
+ "type": "typography",
953
954
  "content": "@entity.sender",
954
- "variant": "body",
955
- "type": "typography"
955
+ "variant": "body"
956
956
  }
957
- ]
957
+ ],
958
+ "gap": "md"
958
959
  },
959
960
  {
961
+ "type": "stack",
960
962
  "gap": "md",
963
+ "direction": "horizontal",
961
964
  "children": [
962
965
  {
963
- "content": "Content",
964
966
  "type": "typography",
965
- "variant": "caption"
967
+ "variant": "caption",
968
+ "content": "Content"
966
969
  },
967
970
  {
968
971
  "content": "@entity.content",
969
- "variant": "body",
970
- "type": "typography"
972
+ "type": "typography",
973
+ "variant": "body"
971
974
  }
972
- ],
973
- "type": "stack",
974
- "direction": "horizontal"
975
+ ]
975
976
  },
976
977
  {
978
+ "type": "stack",
979
+ "gap": "md",
977
980
  "children": [
978
981
  {
979
982
  "content": "Channel",
980
- "type": "typography",
981
- "variant": "caption"
983
+ "variant": "caption",
984
+ "type": "typography"
982
985
  },
983
986
  {
987
+ "variant": "body",
984
988
  "content": "@entity.channel",
985
- "type": "typography",
986
- "variant": "body"
989
+ "type": "typography"
987
990
  }
988
991
  ],
989
- "gap": "md",
990
- "type": "stack",
991
992
  "direction": "horizontal"
992
993
  },
993
994
  {
995
+ "gap": "md",
996
+ "direction": "horizontal",
994
997
  "children": [
995
998
  {
996
999
  "variant": "caption",
@@ -998,34 +1001,31 @@
998
1001
  "type": "typography"
999
1002
  },
1000
1003
  {
1001
- "type": "typography",
1004
+ "variant": "body",
1002
1005
  "content": "@entity.timestamp",
1003
- "variant": "body"
1006
+ "type": "typography"
1004
1007
  }
1005
1008
  ],
1006
- "type": "stack",
1007
- "direction": "horizontal",
1008
- "gap": "md"
1009
+ "type": "stack"
1009
1010
  },
1010
1011
  {
1011
1012
  "type": "divider"
1012
1013
  },
1013
1014
  {
1014
1015
  "direction": "horizontal",
1016
+ "type": "stack",
1015
1017
  "justify": "end",
1016
1018
  "children": [
1017
1019
  {
1020
+ "action": "CLOSE",
1018
1021
  "type": "button",
1019
1022
  "label": "Close",
1020
- "action": "CLOSE",
1021
1023
  "variant": "ghost"
1022
1024
  }
1023
1025
  ],
1024
- "type": "stack",
1025
1026
  "gap": "sm"
1026
1027
  }
1027
- ],
1028
- "gap": "md"
1028
+ ]
1029
1029
  }
1030
1030
  ]
1031
1031
  ]
@@ -1239,8 +1239,8 @@
1239
1239
  "Channel",
1240
1240
  {
1241
1241
  "emit": {
1242
- "failure": "ChannelLoadFailed",
1243
- "success": "ChannelLoaded"
1242
+ "success": "ChannelLoaded",
1243
+ "failure": "ChannelLoadFailed"
1244
1244
  }
1245
1245
  }
1246
1246
  ],
@@ -1249,8 +1249,8 @@
1249
1249
  "main",
1250
1250
  {
1251
1251
  "gap": "md",
1252
- "type": "stack",
1253
1252
  "align": "center",
1253
+ "type": "stack",
1254
1254
  "className": "py-12",
1255
1255
  "children": [
1256
1256
  {
@@ -1258,9 +1258,9 @@
1258
1258
  },
1259
1259
  {
1260
1260
  "color": "muted",
1261
- "content": "Loading…",
1261
+ "variant": "caption",
1262
1262
  "type": "typography",
1263
- "variant": "caption"
1263
+ "content": "Loading…"
1264
1264
  }
1265
1265
  ],
1266
1266
  "direction": "vertical"
@@ -1277,33 +1277,20 @@
1277
1277
  "render-ui",
1278
1278
  "main",
1279
1279
  {
1280
- "appName": "Realtime Chat",
1281
- "navItems": [
1282
- {
1283
- "href": "/chat",
1284
- "icon": "layout-list",
1285
- "label": "Chat"
1286
- },
1287
- {
1288
- "icon": "hash",
1289
- "href": "/channels",
1290
- "label": "Channels"
1291
- },
1292
- {
1293
- "href": "/online",
1294
- "icon": "layout-list",
1295
- "label": "Online"
1296
- }
1297
- ],
1298
1280
  "children": [
1299
1281
  {
1282
+ "direction": "vertical",
1300
1283
  "type": "stack",
1301
- "gap": "lg",
1284
+ "className": "max-w-5xl mx-auto w-full",
1302
1285
  "children": [
1303
1286
  {
1304
- "direction": "horizontal",
1287
+ "align": "center",
1288
+ "gap": "md",
1305
1289
  "children": [
1306
1290
  {
1291
+ "direction": "horizontal",
1292
+ "type": "stack",
1293
+ "gap": "sm",
1307
1294
  "align": "center",
1308
1295
  "children": [
1309
1296
  {
@@ -1311,59 +1298,56 @@
1311
1298
  "name": "hash"
1312
1299
  },
1313
1300
  {
1301
+ "content": "Channels",
1314
1302
  "type": "typography",
1315
- "variant": "h2",
1316
- "content": "Channels"
1303
+ "variant": "h2"
1317
1304
  }
1318
- ],
1319
- "gap": "sm",
1320
- "type": "stack",
1321
- "direction": "horizontal"
1305
+ ]
1322
1306
  },
1323
1307
  {
1324
1308
  "gap": "sm",
1309
+ "direction": "horizontal",
1310
+ "type": "stack",
1325
1311
  "children": [
1326
1312
  {
1327
- "type": "button",
1328
- "action": "CREATE",
1329
1313
  "variant": "primary",
1314
+ "action": "CREATE",
1315
+ "icon": "plus",
1330
1316
  "label": "Create Channel",
1331
- "icon": "plus"
1317
+ "type": "button"
1332
1318
  }
1333
- ],
1334
- "type": "stack",
1335
- "direction": "horizontal"
1319
+ ]
1336
1320
  }
1337
1321
  ],
1338
- "align": "center",
1339
- "gap": "md",
1340
- "justify": "between",
1341
- "type": "stack"
1322
+ "type": "stack",
1323
+ "direction": "horizontal",
1324
+ "justify": "between"
1342
1325
  },
1343
1326
  {
1344
1327
  "type": "divider"
1345
1328
  },
1346
1329
  {
1347
- "type": "data-list",
1348
- "fields": [],
1349
- "entity": "@payload.data",
1350
1330
  "itemActions": [
1351
1331
  {
1352
1332
  "variant": "ghost",
1353
- "label": "View",
1354
- "event": "VIEW"
1333
+ "event": "VIEW",
1334
+ "label": "View"
1355
1335
  },
1356
1336
  {
1357
- "variant": "ghost",
1337
+ "event": "EDIT",
1358
1338
  "label": "Edit",
1359
- "event": "EDIT"
1339
+ "variant": "ghost"
1360
1340
  },
1361
1341
  {
1362
- "label": "Delete",
1363
1342
  "event": "DELETE",
1364
- "variant": "danger"
1343
+ "variant": "danger",
1344
+ "label": "Delete"
1365
1345
  }
1366
1346
  ],
1347
+ "type": "data-list",
1348
+ "gap": "sm",
1349
+ "variant": "card",
1350
+ "fields": [],
1367
1351
  "columns": [
1368
1352
  {
1369
1353
  "name": "name",
@@ -1372,73 +1356,89 @@
1372
1356
  },
1373
1357
  {
1374
1358
  "name": "memberCount",
1375
- "label": "Members",
1359
+ "format": "number",
1376
1360
  "variant": "badge",
1377
- "format": "number"
1361
+ "label": "Members"
1378
1362
  },
1379
1363
  {
1380
1364
  "name": "description",
1381
1365
  "variant": "body"
1382
1366
  },
1383
1367
  {
1384
- "variant": "body",
1385
- "name": "isPrivate",
1386
1368
  "label": "Private",
1387
- "format": "boolean"
1369
+ "variant": "body",
1370
+ "format": "boolean",
1371
+ "name": "isPrivate"
1388
1372
  }
1389
1373
  ],
1390
- "variant": "card",
1391
- "gap": "sm"
1374
+ "entity": "@payload.data"
1392
1375
  }
1393
1376
  ],
1394
- "direction": "vertical",
1395
- "className": "max-w-5xl mx-auto w-full"
1377
+ "gap": "lg"
1396
1378
  }
1397
1379
  ],
1398
- "type": "dashboard-layout"
1399
- }
1400
- ]
1401
- ]
1402
- },
1403
- {
1404
- "from": "browsing",
1405
- "to": "browsing",
1380
+ "type": "dashboard-layout",
1381
+ "navItems": [
1382
+ {
1383
+ "href": "/chat",
1384
+ "label": "Chat",
1385
+ "icon": "layout-list"
1386
+ },
1387
+ {
1388
+ "label": "Channels",
1389
+ "href": "/channels",
1390
+ "icon": "hash"
1391
+ },
1392
+ {
1393
+ "href": "/online",
1394
+ "icon": "layout-list",
1395
+ "label": "Online"
1396
+ }
1397
+ ],
1398
+ "appName": "Realtime Chat"
1399
+ }
1400
+ ]
1401
+ ]
1402
+ },
1403
+ {
1404
+ "from": "browsing",
1405
+ "to": "browsing",
1406
1406
  "event": "ChannelLoadFailed",
1407
1407
  "effects": [
1408
1408
  [
1409
1409
  "render-ui",
1410
1410
  "main",
1411
1411
  {
1412
- "type": "stack",
1413
- "direction": "vertical",
1412
+ "align": "center",
1414
1413
  "children": [
1415
1414
  {
1416
- "color": "destructive",
1415
+ "type": "icon",
1417
1416
  "name": "alert-triangle",
1418
- "type": "icon"
1417
+ "color": "destructive"
1419
1418
  },
1420
1419
  {
1421
1420
  "variant": "h3",
1422
- "content": "Failed to load channel",
1423
- "type": "typography"
1421
+ "type": "typography",
1422
+ "content": "Failed to load channel"
1424
1423
  },
1425
1424
  {
1426
- "variant": "body",
1427
- "type": "typography",
1428
1425
  "content": "@payload.error",
1429
- "color": "muted"
1426
+ "color": "muted",
1427
+ "type": "typography",
1428
+ "variant": "body"
1430
1429
  },
1431
1430
  {
1432
1431
  "type": "button",
1433
- "variant": "primary",
1434
- "label": "Retry",
1432
+ "action": "INIT",
1435
1433
  "icon": "rotate-ccw",
1436
- "action": "INIT"
1434
+ "label": "Retry",
1435
+ "variant": "primary"
1437
1436
  }
1438
1437
  ],
1439
- "className": "py-12",
1438
+ "type": "stack",
1440
1439
  "gap": "md",
1441
- "align": "center"
1440
+ "className": "py-12",
1441
+ "direction": "vertical"
1442
1442
  }
1443
1443
  ]
1444
1444
  ]
@@ -1614,8 +1614,8 @@
1614
1614
  "Channel",
1615
1615
  {
1616
1616
  "emit": {
1617
- "failure": "ChannelLoadFailed",
1618
- "success": "ChannelLoaded"
1617
+ "success": "ChannelLoaded",
1618
+ "failure": "ChannelLoadFailed"
1619
1619
  }
1620
1620
  }
1621
1621
  ],
@@ -1623,22 +1623,23 @@
1623
1623
  "render-ui",
1624
1624
  "modal",
1625
1625
  {
1626
- "type": "stack",
1627
1626
  "gap": "md",
1627
+ "direction": "vertical",
1628
+ "type": "stack",
1628
1629
  "children": [
1629
1630
  {
1630
1631
  "direction": "horizontal",
1631
- "type": "stack",
1632
1632
  "gap": "sm",
1633
+ "type": "stack",
1633
1634
  "children": [
1634
1635
  {
1635
1636
  "name": "plus-circle",
1636
1637
  "type": "icon"
1637
1638
  },
1638
1639
  {
1639
- "variant": "h3",
1640
+ "type": "typography",
1640
1641
  "content": "Create Channel",
1641
- "type": "typography"
1642
+ "variant": "h3"
1642
1643
  }
1643
1644
  ]
1644
1645
  },
@@ -1646,19 +1647,18 @@
1646
1647
  "type": "divider"
1647
1648
  },
1648
1649
  {
1650
+ "type": "form-section",
1649
1651
  "mode": "create",
1650
- "submitEvent": "SAVE",
1651
1652
  "cancelEvent": "CLOSE",
1653
+ "submitEvent": "SAVE",
1652
1654
  "fields": [
1653
1655
  "name",
1654
1656
  "description",
1655
1657
  "memberCount",
1656
1658
  "isPrivate"
1657
- ],
1658
- "type": "form-section"
1659
+ ]
1659
1660
  }
1660
- ],
1661
- "direction": "vertical"
1661
+ ]
1662
1662
  }
1663
1663
  ]
1664
1664
  ]
@@ -1699,8 +1699,8 @@
1699
1699
  "@payload.data",
1700
1700
  {
1701
1701
  "emit": {
1702
- "failure": "ChannelSaveFailed",
1703
- "success": "ChannelSaved"
1702
+ "success": "ChannelSaved",
1703
+ "failure": "ChannelSaveFailed"
1704
1704
  }
1705
1705
  }
1706
1706
  ],
@@ -1913,43 +1913,43 @@
1913
1913
  "render-ui",
1914
1914
  "modal",
1915
1915
  {
1916
+ "direction": "vertical",
1917
+ "type": "stack",
1916
1918
  "gap": "md",
1917
1919
  "children": [
1918
1920
  {
1919
1921
  "type": "stack",
1922
+ "gap": "sm",
1920
1923
  "direction": "horizontal",
1921
1924
  "children": [
1922
1925
  {
1923
- "type": "icon",
1924
- "name": "edit"
1926
+ "name": "edit",
1927
+ "type": "icon"
1925
1928
  },
1926
1929
  {
1927
- "content": "Edit Channel",
1930
+ "variant": "h3",
1928
1931
  "type": "typography",
1929
- "variant": "h3"
1932
+ "content": "Edit Channel"
1930
1933
  }
1931
- ],
1932
- "gap": "sm"
1934
+ ]
1933
1935
  },
1934
1936
  {
1935
1937
  "type": "divider"
1936
1938
  },
1937
1939
  {
1938
- "type": "form-section",
1939
1940
  "entity": "@payload.row",
1941
+ "submitEvent": "SAVE",
1940
1942
  "fields": [
1941
1943
  "name",
1942
1944
  "description",
1943
1945
  "memberCount",
1944
1946
  "isPrivate"
1945
1947
  ],
1946
- "cancelEvent": "CLOSE",
1947
- "submitEvent": "SAVE",
1948
- "mode": "edit"
1948
+ "type": "form-section",
1949
+ "mode": "edit",
1950
+ "cancelEvent": "CLOSE"
1949
1951
  }
1950
- ],
1951
- "type": "stack",
1952
- "direction": "vertical"
1952
+ ]
1953
1953
  }
1954
1954
  ]
1955
1955
  ]
@@ -1990,8 +1990,8 @@
1990
1990
  "@payload.data",
1991
1991
  {
1992
1992
  "emit": {
1993
- "success": "ChannelUpdated",
1994
- "failure": "ChannelUpdateFailed"
1993
+ "failure": "ChannelUpdateFailed",
1994
+ "success": "ChannelUpdated"
1995
1995
  }
1996
1996
  }
1997
1997
  ],
@@ -2129,8 +2129,8 @@
2129
2129
  "Channel",
2130
2130
  {
2131
2131
  "emit": {
2132
- "failure": "ChannelLoadFailed",
2133
- "success": "ChannelLoaded"
2132
+ "success": "ChannelLoaded",
2133
+ "failure": "ChannelLoadFailed"
2134
2134
  },
2135
2135
  "id": "@payload.id"
2136
2136
  }
@@ -2139,10 +2139,12 @@
2139
2139
  "render-ui",
2140
2140
  "modal",
2141
2141
  {
2142
- "type": "stack",
2143
2142
  "direction": "vertical",
2143
+ "type": "stack",
2144
+ "gap": "md",
2144
2145
  "children": [
2145
2146
  {
2147
+ "gap": "sm",
2146
2148
  "children": [
2147
2149
  {
2148
2150
  "name": "eye",
@@ -2154,15 +2156,17 @@
2154
2156
  "variant": "h3"
2155
2157
  }
2156
2158
  ],
2159
+ "type": "stack",
2157
2160
  "align": "center",
2158
- "gap": "sm",
2159
- "direction": "horizontal",
2160
- "type": "stack"
2161
+ "direction": "horizontal"
2161
2162
  },
2162
2163
  {
2163
2164
  "type": "divider"
2164
2165
  },
2165
2166
  {
2167
+ "type": "stack",
2168
+ "direction": "horizontal",
2169
+ "gap": "md",
2166
2170
  "children": [
2167
2171
  {
2168
2172
  "type": "typography",
@@ -2170,92 +2174,88 @@
2170
2174
  "content": "Name"
2171
2175
  },
2172
2176
  {
2173
- "content": "@entity.name",
2177
+ "variant": "body",
2174
2178
  "type": "typography",
2175
- "variant": "body"
2179
+ "content": "@entity.name"
2176
2180
  }
2177
- ],
2178
- "gap": "md",
2179
- "direction": "horizontal",
2180
- "type": "stack"
2181
+ ]
2181
2182
  },
2182
2183
  {
2183
- "gap": "md",
2184
2184
  "direction": "horizontal",
2185
- "type": "stack",
2186
2185
  "children": [
2187
2186
  {
2188
- "variant": "caption",
2189
2187
  "type": "typography",
2190
- "content": "Description"
2188
+ "content": "Description",
2189
+ "variant": "caption"
2191
2190
  },
2192
2191
  {
2193
2192
  "type": "typography",
2194
- "content": "@entity.description",
2195
- "variant": "body"
2193
+ "variant": "body",
2194
+ "content": "@entity.description"
2196
2195
  }
2197
- ]
2196
+ ],
2197
+ "type": "stack",
2198
+ "gap": "md"
2198
2199
  },
2199
2200
  {
2200
- "type": "stack",
2201
- "direction": "horizontal",
2202
- "gap": "md",
2203
2201
  "children": [
2204
2202
  {
2205
2203
  "content": "Member Count",
2206
- "type": "typography",
2207
- "variant": "caption"
2204
+ "variant": "caption",
2205
+ "type": "typography"
2208
2206
  },
2209
2207
  {
2210
- "variant": "body",
2211
2208
  "type": "typography",
2209
+ "variant": "body",
2212
2210
  "content": "@entity.memberCount"
2213
2211
  }
2214
- ]
2212
+ ],
2213
+ "direction": "horizontal",
2214
+ "type": "stack",
2215
+ "gap": "md"
2215
2216
  },
2216
2217
  {
2217
- "type": "stack",
2218
- "gap": "md",
2219
2218
  "children": [
2220
2219
  {
2221
- "type": "typography",
2222
2220
  "content": "Is Private",
2221
+ "type": "typography",
2223
2222
  "variant": "caption"
2224
2223
  },
2225
2224
  {
2225
+ "type": "typography",
2226
2226
  "variant": "body",
2227
- "content": "@entity.isPrivate",
2228
- "type": "typography"
2227
+ "content": "@entity.isPrivate"
2229
2228
  }
2230
2229
  ],
2231
- "direction": "horizontal"
2230
+ "type": "stack",
2231
+ "direction": "horizontal",
2232
+ "gap": "md"
2232
2233
  },
2233
2234
  {
2234
2235
  "type": "divider"
2235
2236
  },
2236
2237
  {
2238
+ "gap": "sm",
2239
+ "type": "stack",
2240
+ "justify": "end",
2237
2241
  "children": [
2238
2242
  {
2239
- "label": "Edit",
2240
- "action": "EDIT",
2241
- "type": "button",
2243
+ "icon": "edit",
2242
2244
  "variant": "primary",
2243
- "icon": "edit"
2245
+ "type": "button",
2246
+ "label": "Edit",
2247
+ "action": "EDIT"
2244
2248
  },
2245
2249
  {
2246
- "type": "button",
2247
- "variant": "ghost",
2250
+ "action": "CLOSE",
2248
2251
  "label": "Close",
2249
- "action": "CLOSE"
2252
+ "type": "button",
2253
+ "variant": "ghost"
2250
2254
  }
2251
2255
  ],
2252
- "gap": "sm",
2253
- "type": "stack",
2254
- "justify": "end",
2255
2256
  "direction": "horizontal"
2256
2257
  }
2257
- ],
2258
- "gap": "md"
2258
+ ]
2259
2259
  }
2260
2260
  ]
2261
2261
  ]
@@ -2483,8 +2483,8 @@
2483
2483
  "Channel",
2484
2484
  {
2485
2485
  "emit": {
2486
- "failure": "ChannelLoadFailed",
2487
- "success": "ChannelLoaded"
2486
+ "success": "ChannelLoaded",
2487
+ "failure": "ChannelLoadFailed"
2488
2488
  },
2489
2489
  "id": "@payload.id"
2490
2490
  }
@@ -2493,57 +2493,57 @@
2493
2493
  "render-ui",
2494
2494
  "modal",
2495
2495
  {
2496
+ "type": "stack",
2497
+ "gap": "md",
2496
2498
  "children": [
2497
2499
  {
2498
2500
  "type": "stack",
2501
+ "direction": "horizontal",
2499
2502
  "children": [
2500
2503
  {
2501
- "type": "icon",
2502
- "name": "alert-triangle"
2504
+ "name": "alert-triangle",
2505
+ "type": "icon"
2503
2506
  },
2504
2507
  {
2505
- "type": "typography",
2506
2508
  "variant": "h3",
2507
- "content": "Delete Channel"
2509
+ "content": "Delete Channel",
2510
+ "type": "typography"
2508
2511
  }
2509
2512
  ],
2510
- "gap": "sm",
2511
- "direction": "horizontal",
2512
- "align": "center"
2513
+ "align": "center",
2514
+ "gap": "sm"
2513
2515
  },
2514
2516
  {
2515
2517
  "type": "divider"
2516
2518
  },
2517
2519
  {
2518
2520
  "type": "alert",
2519
- "message": "This action cannot be undone.",
2520
- "variant": "error"
2521
+ "variant": "error",
2522
+ "message": "This action cannot be undone."
2521
2523
  },
2522
2524
  {
2523
- "justify": "end",
2524
- "type": "stack",
2525
2525
  "children": [
2526
2526
  {
2527
- "type": "button",
2528
- "label": "Cancel",
2529
2527
  "action": "CANCEL",
2530
- "variant": "ghost"
2528
+ "type": "button",
2529
+ "variant": "ghost",
2530
+ "label": "Cancel"
2531
2531
  },
2532
2532
  {
2533
+ "action": "CONFIRM_DELETE",
2534
+ "variant": "danger",
2533
2535
  "icon": "check",
2534
2536
  "label": "Delete",
2535
- "type": "button",
2536
- "action": "CONFIRM_DELETE",
2537
- "variant": "danger"
2537
+ "type": "button"
2538
2538
  }
2539
2539
  ],
2540
+ "type": "stack",
2541
+ "justify": "end",
2540
2542
  "direction": "horizontal",
2541
2543
  "gap": "sm"
2542
2544
  }
2543
2545
  ],
2544
- "direction": "vertical",
2545
- "gap": "md",
2546
- "type": "stack"
2546
+ "direction": "vertical"
2547
2547
  }
2548
2548
  ]
2549
2549
  ]
@@ -2560,8 +2560,8 @@
2560
2560
  "@entity.pendingId",
2561
2561
  {
2562
2562
  "emit": {
2563
- "failure": "ChannelDeleteFailed",
2564
- "success": "ChannelDeleted"
2563
+ "success": "ChannelDeleted",
2564
+ "failure": "ChannelDeleteFailed"
2565
2565
  }
2566
2566
  }
2567
2567
  ],
@@ -2791,8 +2791,8 @@
2791
2791
  "OnlineUser",
2792
2792
  {
2793
2793
  "emit": {
2794
- "success": "OnlineUserLoaded",
2795
- "failure": "OnlineUserLoadFailed"
2794
+ "failure": "OnlineUserLoadFailed",
2795
+ "success": "OnlineUserLoaded"
2796
2796
  }
2797
2797
  }
2798
2798
  ],
@@ -2800,16 +2800,15 @@
2800
2800
  "render-ui",
2801
2801
  "main",
2802
2802
  {
2803
- "type": "dashboard-layout",
2804
2803
  "navItems": [
2805
2804
  {
2806
- "href": "/chat",
2805
+ "label": "Chat",
2807
2806
  "icon": "layout-list",
2808
- "label": "Chat"
2807
+ "href": "/chat"
2809
2808
  },
2810
2809
  {
2811
- "href": "/channels",
2812
2810
  "label": "Channels",
2811
+ "href": "/channels",
2813
2812
  "icon": "hash"
2814
2813
  },
2815
2814
  {
@@ -2818,12 +2817,14 @@
2818
2817
  "label": "Online"
2819
2818
  }
2820
2819
  ],
2820
+ "type": "dashboard-layout",
2821
2821
  "appName": "Realtime Chat",
2822
2822
  "children": [
2823
2823
  {
2824
2824
  "type": "scaled-diagram",
2825
2825
  "children": [
2826
2826
  {
2827
+ "gap": "lg",
2827
2828
  "children": [
2828
2829
  {
2829
2830
  "items": [
@@ -2838,18 +2839,13 @@
2838
2839
  "type": "breadcrumb"
2839
2840
  },
2840
2841
  {
2841
- "gap": "md",
2842
- "type": "stack",
2843
2842
  "direction": "horizontal",
2844
- "justify": "between",
2845
2843
  "children": [
2846
2844
  {
2847
- "gap": "md",
2848
- "type": "stack",
2849
2845
  "children": [
2850
2846
  {
2851
- "name": "users",
2852
- "type": "icon"
2847
+ "type": "icon",
2848
+ "name": "users"
2853
2849
  },
2854
2850
  {
2855
2851
  "type": "typography",
@@ -2857,92 +2853,95 @@
2857
2853
  "content": "Online Users"
2858
2854
  }
2859
2855
  ],
2860
- "direction": "horizontal"
2856
+ "direction": "horizontal",
2857
+ "type": "stack",
2858
+ "gap": "md"
2861
2859
  },
2862
2860
  {
2863
- "label": "Refresh",
2864
- "variant": "secondary",
2865
- "icon": "refresh-cw",
2866
2861
  "action": "REFRESH",
2867
- "type": "button"
2862
+ "variant": "secondary",
2863
+ "label": "Refresh",
2864
+ "type": "button",
2865
+ "icon": "refresh-cw"
2868
2866
  }
2869
- ]
2867
+ ],
2868
+ "gap": "md",
2869
+ "type": "stack",
2870
+ "justify": "between"
2870
2871
  },
2871
2872
  {
2872
2873
  "type": "divider"
2873
2874
  },
2874
2875
  {
2875
- "type": "box",
2876
2876
  "padding": "md",
2877
2877
  "children": [
2878
2878
  {
2879
- "cols": 3.0,
2880
2879
  "children": [
2881
2880
  {
2882
2881
  "type": "card",
2883
2882
  "children": [
2884
2883
  {
2884
+ "gap": "sm",
2885
+ "type": "stack",
2885
2886
  "direction": "vertical",
2886
2887
  "children": [
2887
2888
  {
2889
+ "variant": "caption",
2888
2890
  "content": "Username",
2889
- "type": "typography",
2890
- "variant": "caption"
2891
+ "type": "typography"
2891
2892
  },
2892
2893
  {
2893
- "content": "@entity.username",
2894
+ "variant": "h3",
2894
2895
  "type": "typography",
2895
- "variant": "h3"
2896
+ "content": "@entity.username"
2896
2897
  }
2897
- ],
2898
- "gap": "sm",
2899
- "type": "stack"
2898
+ ]
2900
2899
  }
2901
2900
  ]
2902
2901
  },
2903
2902
  {
2904
- "type": "card",
2905
2903
  "children": [
2906
2904
  {
2907
2905
  "children": [
2908
2906
  {
2909
2907
  "content": "Status",
2910
- "variant": "caption",
2911
- "type": "typography"
2908
+ "type": "typography",
2909
+ "variant": "caption"
2912
2910
  },
2913
2911
  {
2914
2912
  "content": "@entity.status",
2915
- "type": "typography",
2916
- "variant": "h3"
2913
+ "variant": "h3",
2914
+ "type": "typography"
2917
2915
  }
2918
2916
  ],
2919
2917
  "type": "stack",
2920
2918
  "direction": "vertical",
2921
2919
  "gap": "sm"
2922
2920
  }
2923
- ]
2921
+ ],
2922
+ "type": "card"
2924
2923
  },
2925
2924
  {
2925
+ "type": "card",
2926
2926
  "children": [
2927
2927
  {
2928
- "direction": "vertical",
2928
+ "type": "stack",
2929
2929
  "children": [
2930
2930
  {
2931
2931
  "content": "LastActive",
2932
- "variant": "caption",
2933
- "type": "typography"
2932
+ "type": "typography",
2933
+ "variant": "caption"
2934
2934
  },
2935
2935
  {
2936
- "type": "typography",
2936
+ "content": "@entity.lastActive",
2937
2937
  "variant": "h3",
2938
- "content": "@entity.lastActive"
2938
+ "type": "typography"
2939
2939
  }
2940
2940
  ],
2941
- "type": "stack",
2942
- "gap": "sm"
2941
+ "gap": "sm",
2942
+ "direction": "vertical"
2943
2943
  }
2944
- ],
2945
- "type": "card"
2944
+ ]
2946
2945
  },
2947
2946
  {
2948
2947
  "type": "card",
@@ -2950,6 +2949,7 @@
2950
2949
  {
2951
2950
  "gap": "sm",
2952
2951
  "type": "stack",
2952
+ "direction": "vertical",
2953
2953
  "children": [
2954
2954
  {
2955
2955
  "variant": "caption",
@@ -2957,33 +2957,34 @@
2957
2957
  "type": "typography"
2958
2958
  },
2959
2959
  {
2960
- "type": "typography",
2961
2960
  "variant": "h3",
2962
- "content": "@entity.avatar"
2961
+ "content": "@entity.avatar",
2962
+ "type": "typography"
2963
2963
  }
2964
- ],
2965
- "direction": "vertical"
2964
+ ]
2966
2965
  }
2967
2966
  ]
2968
2967
  }
2969
2968
  ],
2969
+ "cols": 3.0,
2970
2970
  "type": "simple-grid"
2971
2971
  }
2972
- ]
2972
+ ],
2973
+ "type": "box"
2973
2974
  },
2974
2975
  {
2975
2976
  "type": "divider"
2976
2977
  },
2977
2978
  {
2978
- "type": "grid",
2979
2979
  "cols": 2.0,
2980
+ "type": "grid",
2980
2981
  "gap": "md",
2981
2982
  "children": [
2982
2983
  {
2983
2984
  "children": [
2984
2985
  {
2985
- "variant": "caption",
2986
2986
  "content": "Chart View",
2987
+ "variant": "caption",
2987
2988
  "type": "typography"
2988
2989
  }
2989
2990
  ],
@@ -2993,23 +2994,24 @@
2993
2994
  "type": "card",
2994
2995
  "children": [
2995
2996
  {
2997
+ "type": "typography",
2996
2998
  "content": "Graph View",
2997
- "variant": "caption",
2998
- "type": "typography"
2999
+ "variant": "caption"
2999
3000
  }
3000
3001
  ]
3001
3002
  }
3002
3003
  ]
3003
3004
  },
3004
3005
  {
3006
+ "type": "line-chart",
3005
3007
  "data": [
3006
3008
  {
3007
3009
  "date": "Jan",
3008
3010
  "value": 12.0
3009
3011
  },
3010
3012
  {
3011
- "date": "Feb",
3012
- "value": 19.0
3013
+ "value": 19.0,
3014
+ "date": "Feb"
3013
3015
  },
3014
3016
  {
3015
3017
  "date": "Mar",
@@ -3020,42 +3022,29 @@
3020
3022
  "value": 25.0
3021
3023
  },
3022
3024
  {
3023
- "value": 22.0,
3024
- "date": "May"
3025
+ "date": "May",
3026
+ "value": 22.0
3025
3027
  },
3026
3028
  {
3027
- "date": "Jun",
3028
- "value": 30.0
3029
+ "value": 30.0,
3030
+ "date": "Jun"
3029
3031
  }
3030
- ],
3031
- "type": "line-chart"
3032
+ ]
3032
3033
  },
3033
3034
  {
3034
3035
  "items": [
3035
3036
  {
3036
- "label": "Current",
3037
- "color": "primary"
3037
+ "color": "primary",
3038
+ "label": "Current"
3038
3039
  },
3039
3040
  {
3040
- "label": "Previous",
3041
- "color": "muted"
3041
+ "color": "muted",
3042
+ "label": "Previous"
3042
3043
  }
3043
3044
  ],
3044
3045
  "type": "chart-legend"
3045
3046
  },
3046
3047
  {
3047
- "edges": [
3048
- {
3049
- "source": "a",
3050
- "target": "b"
3051
- },
3052
- {
3053
- "source": "b",
3054
- "target": "c"
3055
- }
3056
- ],
3057
- "width": 400.0,
3058
- "type": "graph-view",
3059
3048
  "nodes": [
3060
3049
  {
3061
3050
  "label": "Start",
@@ -3070,12 +3059,23 @@
3070
3059
  "id": "c"
3071
3060
  }
3072
3061
  ],
3073
- "height": 200.0
3062
+ "height": 200.0,
3063
+ "width": 400.0,
3064
+ "type": "graph-view",
3065
+ "edges": [
3066
+ {
3067
+ "source": "a",
3068
+ "target": "b"
3069
+ },
3070
+ {
3071
+ "source": "b",
3072
+ "target": "c"
3073
+ }
3074
+ ]
3074
3075
  }
3075
3076
  ],
3076
- "gap": "lg",
3077
- "direction": "vertical",
3078
- "type": "stack"
3077
+ "type": "stack",
3078
+ "direction": "vertical"
3079
3079
  }
3080
3080
  ]
3081
3081
  }
@@ -3094,8 +3094,8 @@
3094
3094
  "OnlineUser",
3095
3095
  {
3096
3096
  "emit": {
3097
- "success": "OnlineUserLoaded",
3098
- "failure": "OnlineUserLoadFailed"
3097
+ "failure": "OnlineUserLoadFailed",
3098
+ "success": "OnlineUserLoaded"
3099
3099
  }
3100
3100
  }
3101
3101
  ],
@@ -3105,29 +3105,30 @@
3105
3105
  {
3106
3106
  "navItems": [
3107
3107
  {
3108
- "label": "Chat",
3108
+ "href": "/chat",
3109
3109
  "icon": "layout-list",
3110
- "href": "/chat"
3110
+ "label": "Chat"
3111
3111
  },
3112
3112
  {
3113
- "label": "Channels",
3114
3113
  "href": "/channels",
3115
- "icon": "hash"
3114
+ "icon": "hash",
3115
+ "label": "Channels"
3116
3116
  },
3117
3117
  {
3118
- "label": "Online",
3119
3118
  "href": "/online",
3120
- "icon": "layout-list"
3119
+ "icon": "layout-list",
3120
+ "label": "Online"
3121
3121
  }
3122
3122
  ],
3123
- "type": "dashboard-layout",
3124
3123
  "appName": "Realtime Chat",
3124
+ "type": "dashboard-layout",
3125
3125
  "children": [
3126
3126
  {
3127
3127
  "type": "scaled-diagram",
3128
3128
  "children": [
3129
3129
  {
3130
3130
  "type": "stack",
3131
+ "direction": "vertical",
3131
3132
  "children": [
3132
3133
  {
3133
3134
  "items": [
@@ -3143,9 +3144,11 @@
3143
3144
  },
3144
3145
  {
3145
3146
  "type": "stack",
3146
- "gap": "md",
3147
+ "justify": "between",
3147
3148
  "children": [
3148
3149
  {
3150
+ "gap": "md",
3151
+ "type": "stack",
3149
3152
  "direction": "horizontal",
3150
3153
  "children": [
3151
3154
  {
@@ -3153,34 +3156,29 @@
3153
3156
  "type": "icon"
3154
3157
  },
3155
3158
  {
3156
- "variant": "h2",
3157
3159
  "type": "typography",
3158
- "content": "Online Users"
3160
+ "content": "Online Users",
3161
+ "variant": "h2"
3159
3162
  }
3160
- ],
3161
- "type": "stack",
3162
- "gap": "md"
3163
+ ]
3163
3164
  },
3164
3165
  {
3166
+ "icon": "refresh-cw",
3167
+ "type": "button",
3165
3168
  "label": "Refresh",
3166
3169
  "action": "REFRESH",
3167
- "type": "button",
3168
- "variant": "secondary",
3169
- "icon": "refresh-cw"
3170
+ "variant": "secondary"
3170
3171
  }
3171
3172
  ],
3172
- "justify": "between",
3173
+ "gap": "md",
3173
3174
  "direction": "horizontal"
3174
3175
  },
3175
3176
  {
3176
3177
  "type": "divider"
3177
3178
  },
3178
3179
  {
3179
- "type": "box",
3180
- "padding": "md",
3181
3180
  "children": [
3182
3181
  {
3183
- "cols": 3.0,
3184
3182
  "children": [
3185
3183
  {
3186
3184
  "type": "card",
@@ -3189,27 +3187,27 @@
3189
3187
  "gap": "sm",
3190
3188
  "children": [
3191
3189
  {
3192
- "content": "Username",
3190
+ "variant": "caption",
3193
3191
  "type": "typography",
3194
- "variant": "caption"
3192
+ "content": "Username"
3195
3193
  },
3196
3194
  {
3197
- "content": "@entity.username",
3198
3195
  "type": "typography",
3199
- "variant": "h3"
3196
+ "variant": "h3",
3197
+ "content": "@entity.username"
3200
3198
  }
3201
3199
  ],
3202
- "direction": "vertical",
3203
- "type": "stack"
3200
+ "type": "stack",
3201
+ "direction": "vertical"
3204
3202
  }
3205
3203
  ]
3206
3204
  },
3207
3205
  {
3208
- "type": "card",
3209
3206
  "children": [
3210
3207
  {
3211
- "gap": "sm",
3212
3208
  "type": "stack",
3209
+ "direction": "vertical",
3210
+ "gap": "sm",
3213
3211
  "children": [
3214
3212
  {
3215
3213
  "type": "typography",
@@ -3221,16 +3219,15 @@
3221
3219
  "content": "@entity.status",
3222
3220
  "type": "typography"
3223
3221
  }
3224
- ],
3225
- "direction": "vertical"
3222
+ ]
3226
3223
  }
3227
- ]
3224
+ ],
3225
+ "type": "card"
3228
3226
  },
3229
3227
  {
3230
3228
  "type": "card",
3231
3229
  "children": [
3232
3230
  {
3233
- "direction": "vertical",
3234
3231
  "children": [
3235
3232
  {
3236
3233
  "variant": "caption",
@@ -3238,12 +3235,13 @@
3238
3235
  "type": "typography"
3239
3236
  },
3240
3237
  {
3241
- "variant": "h3",
3242
3238
  "type": "typography",
3239
+ "variant": "h3",
3243
3240
  "content": "@entity.lastActive"
3244
3241
  }
3245
3242
  ],
3246
3243
  "type": "stack",
3244
+ "direction": "vertical",
3247
3245
  "gap": "sm"
3248
3246
  }
3249
3247
  ]
@@ -3252,13 +3250,12 @@
3252
3250
  "type": "card",
3253
3251
  "children": [
3254
3252
  {
3255
- "type": "stack",
3256
3253
  "direction": "vertical",
3257
3254
  "children": [
3258
3255
  {
3259
- "variant": "caption",
3256
+ "content": "Avatar",
3260
3257
  "type": "typography",
3261
- "content": "Avatar"
3258
+ "variant": "caption"
3262
3259
  },
3263
3260
  {
3264
3261
  "variant": "h3",
@@ -3266,14 +3263,18 @@
3266
3263
  "type": "typography"
3267
3264
  }
3268
3265
  ],
3266
+ "type": "stack",
3269
3267
  "gap": "sm"
3270
3268
  }
3271
3269
  ]
3272
3270
  }
3273
3271
  ],
3274
- "type": "simple-grid"
3272
+ "type": "simple-grid",
3273
+ "cols": 3.0
3275
3274
  }
3276
- ]
3275
+ ],
3276
+ "padding": "md",
3277
+ "type": "box"
3277
3278
  },
3278
3279
  {
3279
3280
  "type": "divider"
@@ -3285,25 +3286,25 @@
3285
3286
  "children": [
3286
3287
  {
3287
3288
  "variant": "caption",
3288
- "content": "Chart View",
3289
- "type": "typography"
3289
+ "type": "typography",
3290
+ "content": "Chart View"
3290
3291
  }
3291
3292
  ]
3292
3293
  },
3293
3294
  {
3294
3295
  "children": [
3295
3296
  {
3296
- "content": "Graph View",
3297
3297
  "type": "typography",
3298
+ "content": "Graph View",
3298
3299
  "variant": "caption"
3299
3300
  }
3300
3301
  ],
3301
3302
  "type": "card"
3302
3303
  }
3303
3304
  ],
3304
- "cols": 2.0,
3305
3305
  "gap": "md",
3306
- "type": "grid"
3306
+ "type": "grid",
3307
+ "cols": 2.0
3307
3308
  },
3308
3309
  {
3309
3310
  "data": [
@@ -3335,19 +3336,31 @@
3335
3336
  "type": "line-chart"
3336
3337
  },
3337
3338
  {
3338
- "type": "chart-legend",
3339
3339
  "items": [
3340
3340
  {
3341
- "color": "primary",
3342
- "label": "Current"
3341
+ "label": "Current",
3342
+ "color": "primary"
3343
3343
  },
3344
3344
  {
3345
- "color": "muted",
3346
- "label": "Previous"
3345
+ "label": "Previous",
3346
+ "color": "muted"
3347
3347
  }
3348
- ]
3348
+ ],
3349
+ "type": "chart-legend"
3349
3350
  },
3350
3351
  {
3352
+ "width": 400.0,
3353
+ "edges": [
3354
+ {
3355
+ "target": "b",
3356
+ "source": "a"
3357
+ },
3358
+ {
3359
+ "source": "b",
3360
+ "target": "c"
3361
+ }
3362
+ ],
3363
+ "type": "graph-view",
3351
3364
  "nodes": [
3352
3365
  {
3353
3366
  "id": "a",
@@ -3358,26 +3371,13 @@
3358
3371
  "label": "Process"
3359
3372
  },
3360
3373
  {
3361
- "label": "End",
3362
- "id": "c"
3363
- }
3364
- ],
3365
- "width": 400.0,
3366
- "edges": [
3367
- {
3368
- "source": "a",
3369
- "target": "b"
3370
- },
3371
- {
3372
- "source": "b",
3373
- "target": "c"
3374
+ "id": "c",
3375
+ "label": "End"
3374
3376
  }
3375
3377
  ],
3376
- "height": 200.0,
3377
- "type": "graph-view"
3378
+ "height": 200.0
3378
3379
  }
3379
3380
  ],
3380
- "direction": "vertical",
3381
3381
  "gap": "lg"
3382
3382
  }
3383
3383
  ]
@@ -3397,8 +3397,8 @@
3397
3397
  "OnlineUser",
3398
3398
  {
3399
3399
  "emit": {
3400
- "failure": "OnlineUserLoadFailed",
3401
- "success": "OnlineUserLoaded"
3400
+ "success": "OnlineUserLoaded",
3401
+ "failure": "OnlineUserLoadFailed"
3402
3402
  }
3403
3403
  }
3404
3404
  ],
@@ -3406,17 +3406,17 @@
3406
3406
  "render-ui",
3407
3407
  "main",
3408
3408
  {
3409
- "type": "dashboard-layout",
3410
3409
  "appName": "Realtime Chat",
3410
+ "type": "dashboard-layout",
3411
3411
  "children": [
3412
3412
  {
3413
+ "type": "scaled-diagram",
3413
3414
  "children": [
3414
3415
  {
3415
3416
  "gap": "lg",
3416
- "type": "stack",
3417
- "direction": "vertical",
3418
3417
  "children": [
3419
3418
  {
3419
+ "type": "breadcrumb",
3420
3420
  "items": [
3421
3421
  {
3422
3422
  "label": "Home",
@@ -3425,39 +3425,38 @@
3425
3425
  {
3426
3426
  "label": "Online Users"
3427
3427
  }
3428
- ],
3429
- "type": "breadcrumb"
3428
+ ]
3430
3429
  },
3431
3430
  {
3432
- "type": "stack",
3433
- "direction": "horizontal",
3434
- "justify": "between",
3435
- "gap": "md",
3436
3431
  "children": [
3437
3432
  {
3438
- "gap": "md",
3433
+ "type": "stack",
3439
3434
  "children": [
3440
3435
  {
3441
3436
  "type": "icon",
3442
3437
  "name": "users"
3443
3438
  },
3444
3439
  {
3445
- "variant": "h2",
3446
3440
  "type": "typography",
3441
+ "variant": "h2",
3447
3442
  "content": "Online Users"
3448
3443
  }
3449
3444
  ],
3450
- "type": "stack",
3445
+ "gap": "md",
3451
3446
  "direction": "horizontal"
3452
3447
  },
3453
3448
  {
3449
+ "action": "REFRESH",
3454
3450
  "type": "button",
3451
+ "variant": "secondary",
3455
3452
  "label": "Refresh",
3456
- "icon": "refresh-cw",
3457
- "action": "REFRESH",
3458
- "variant": "secondary"
3453
+ "icon": "refresh-cw"
3459
3454
  }
3460
- ]
3455
+ ],
3456
+ "gap": "md",
3457
+ "justify": "between",
3458
+ "type": "stack",
3459
+ "direction": "horizontal"
3461
3460
  },
3462
3461
  {
3463
3462
  "type": "divider"
@@ -3465,39 +3464,40 @@
3465
3464
  {
3466
3465
  "children": [
3467
3466
  {
3468
- "type": "simple-grid",
3467
+ "cols": 3.0,
3469
3468
  "children": [
3470
3469
  {
3471
- "type": "card",
3472
3470
  "children": [
3473
3471
  {
3474
- "type": "stack",
3475
3472
  "direction": "vertical",
3476
- "gap": "sm",
3477
3473
  "children": [
3478
3474
  {
3479
- "variant": "caption",
3480
3475
  "type": "typography",
3476
+ "variant": "caption",
3481
3477
  "content": "Username"
3482
3478
  },
3483
3479
  {
3484
- "type": "typography",
3480
+ "variant": "h3",
3485
3481
  "content": "@entity.username",
3486
- "variant": "h3"
3482
+ "type": "typography"
3487
3483
  }
3488
- ]
3484
+ ],
3485
+ "type": "stack",
3486
+ "gap": "sm"
3489
3487
  }
3490
- ]
3488
+ ],
3489
+ "type": "card"
3491
3490
  },
3492
3491
  {
3493
3492
  "children": [
3494
3493
  {
3495
3494
  "direction": "vertical",
3495
+ "type": "stack",
3496
3496
  "children": [
3497
3497
  {
3498
+ "content": "Status",
3498
3499
  "type": "typography",
3499
- "variant": "caption",
3500
- "content": "Status"
3500
+ "variant": "caption"
3501
3501
  },
3502
3502
  {
3503
3503
  "content": "@entity.status",
@@ -3505,7 +3505,6 @@
3505
3505
  "variant": "h3"
3506
3506
  }
3507
3507
  ],
3508
- "type": "stack",
3509
3508
  "gap": "sm"
3510
3509
  }
3511
3510
  ],
@@ -3515,21 +3514,21 @@
3515
3514
  "type": "card",
3516
3515
  "children": [
3517
3516
  {
3517
+ "direction": "vertical",
3518
3518
  "children": [
3519
3519
  {
3520
- "variant": "caption",
3521
3520
  "type": "typography",
3521
+ "variant": "caption",
3522
3522
  "content": "LastActive"
3523
3523
  },
3524
3524
  {
3525
- "content": "@entity.lastActive",
3526
3525
  "type": "typography",
3526
+ "content": "@entity.lastActive",
3527
3527
  "variant": "h3"
3528
3528
  }
3529
3529
  ],
3530
- "type": "stack",
3531
- "direction": "vertical",
3532
- "gap": "sm"
3530
+ "gap": "sm",
3531
+ "type": "stack"
3533
3532
  }
3534
3533
  ]
3535
3534
  },
@@ -3537,71 +3536,70 @@
3537
3536
  "type": "card",
3538
3537
  "children": [
3539
3538
  {
3539
+ "gap": "sm",
3540
3540
  "children": [
3541
3541
  {
3542
- "content": "Avatar",
3542
+ "variant": "caption",
3543
3543
  "type": "typography",
3544
- "variant": "caption"
3544
+ "content": "Avatar"
3545
3545
  },
3546
3546
  {
3547
- "content": "@entity.avatar",
3547
+ "variant": "h3",
3548
3548
  "type": "typography",
3549
- "variant": "h3"
3549
+ "content": "@entity.avatar"
3550
3550
  }
3551
3551
  ],
3552
3552
  "direction": "vertical",
3553
- "gap": "sm",
3554
3553
  "type": "stack"
3555
3554
  }
3556
3555
  ]
3557
3556
  }
3558
3557
  ],
3559
- "cols": 3.0
3558
+ "type": "simple-grid"
3560
3559
  }
3561
3560
  ],
3562
- "padding": "md",
3563
- "type": "box"
3561
+ "type": "box",
3562
+ "padding": "md"
3564
3563
  },
3565
3564
  {
3566
3565
  "type": "divider"
3567
3566
  },
3568
3567
  {
3569
- "type": "grid",
3570
- "cols": 2.0,
3571
3568
  "children": [
3572
3569
  {
3570
+ "type": "card",
3573
3571
  "children": [
3574
3572
  {
3575
3573
  "variant": "caption",
3576
- "type": "typography",
3577
- "content": "Chart View"
3574
+ "content": "Chart View",
3575
+ "type": "typography"
3578
3576
  }
3579
- ],
3580
- "type": "card"
3577
+ ]
3581
3578
  },
3582
3579
  {
3580
+ "type": "card",
3583
3581
  "children": [
3584
3582
  {
3585
3583
  "content": "Graph View",
3586
3584
  "variant": "caption",
3587
3585
  "type": "typography"
3588
3586
  }
3589
- ],
3590
- "type": "card"
3587
+ ]
3591
3588
  }
3592
3589
  ],
3590
+ "cols": 2.0,
3591
+ "type": "grid",
3593
3592
  "gap": "md"
3594
3593
  },
3595
3594
  {
3596
- "type": "line-chart",
3597
3595
  "data": [
3598
3596
  {
3599
3597
  "date": "Jan",
3600
3598
  "value": 12.0
3601
3599
  },
3602
3600
  {
3603
- "value": 19.0,
3604
- "date": "Feb"
3601
+ "date": "Feb",
3602
+ "value": 19.0
3605
3603
  },
3606
3604
  {
3607
3605
  "date": "Mar",
@@ -3612,17 +3610,17 @@
3612
3610
  "date": "Apr"
3613
3611
  },
3614
3612
  {
3615
- "date": "May",
3616
- "value": 22.0
3613
+ "value": 22.0,
3614
+ "date": "May"
3617
3615
  },
3618
3616
  {
3619
3617
  "value": 30.0,
3620
3618
  "date": "Jun"
3621
3619
  }
3622
- ]
3620
+ ],
3621
+ "type": "line-chart"
3623
3622
  },
3624
3623
  {
3625
- "type": "chart-legend",
3626
3624
  "items": [
3627
3625
  {
3628
3626
  "label": "Current",
@@ -3632,14 +3630,26 @@
3632
3630
  "color": "muted",
3633
3631
  "label": "Previous"
3634
3632
  }
3635
- ]
3633
+ ],
3634
+ "type": "chart-legend"
3636
3635
  },
3637
3636
  {
3637
+ "edges": [
3638
+ {
3639
+ "source": "a",
3640
+ "target": "b"
3641
+ },
3642
+ {
3643
+ "source": "b",
3644
+ "target": "c"
3645
+ }
3646
+ ],
3647
+ "type": "graph-view",
3638
3648
  "width": 400.0,
3639
3649
  "nodes": [
3640
3650
  {
3641
- "label": "Start",
3642
- "id": "a"
3651
+ "id": "a",
3652
+ "label": "Start"
3643
3653
  },
3644
3654
  {
3645
3655
  "id": "b",
@@ -3650,23 +3660,13 @@
3650
3660
  "id": "c"
3651
3661
  }
3652
3662
  ],
3653
- "height": 200.0,
3654
- "type": "graph-view",
3655
- "edges": [
3656
- {
3657
- "source": "a",
3658
- "target": "b"
3659
- },
3660
- {
3661
- "source": "b",
3662
- "target": "c"
3663
- }
3664
- ]
3663
+ "height": 200.0
3665
3664
  }
3666
- ]
3665
+ ],
3666
+ "direction": "vertical",
3667
+ "type": "stack"
3667
3668
  }
3668
- ],
3669
- "type": "scaled-diagram"
3669
+ ]
3670
3670
  }
3671
3671
  ],
3672
3672
  "navItems": [
@@ -3676,14 +3676,14 @@
3676
3676
  "href": "/chat"
3677
3677
  },
3678
3678
  {
3679
+ "label": "Channels",
3679
3680
  "href": "/channels",
3680
- "icon": "hash",
3681
- "label": "Channels"
3681
+ "icon": "hash"
3682
3682
  },
3683
3683
  {
3684
+ "icon": "layout-list",
3684
3685
  "label": "Online",
3685
- "href": "/online",
3686
- "icon": "layout-list"
3686
+ "href": "/online"
3687
3687
  }
3688
3688
  ]
3689
3689
  }
@@ -3711,54 +3711,54 @@
3711
3711
  {
3712
3712
  "children": [
3713
3713
  {
3714
+ "type": "scaled-diagram",
3714
3715
  "children": [
3715
3716
  {
3716
- "gap": "lg",
3717
3717
  "type": "stack",
3718
- "direction": "vertical",
3718
+ "gap": "lg",
3719
3719
  "children": [
3720
3720
  {
3721
- "type": "breadcrumb",
3722
3721
  "items": [
3723
3722
  {
3724
- "href": "/",
3725
- "label": "Home"
3723
+ "label": "Home",
3724
+ "href": "/"
3726
3725
  },
3727
3726
  {
3728
3727
  "label": "Online Users"
3729
3728
  }
3730
- ]
3729
+ ],
3730
+ "type": "breadcrumb"
3731
3731
  },
3732
3732
  {
3733
- "direction": "horizontal",
3733
+ "gap": "md",
3734
3734
  "type": "stack",
3735
+ "direction": "horizontal",
3735
3736
  "justify": "between",
3736
3737
  "children": [
3737
3738
  {
3738
- "direction": "horizontal",
3739
+ "type": "stack",
3739
3740
  "children": [
3740
3741
  {
3741
3742
  "name": "users",
3742
3743
  "type": "icon"
3743
3744
  },
3744
3745
  {
3745
- "content": "Online Users",
3746
3746
  "type": "typography",
3747
+ "content": "Online Users",
3747
3748
  "variant": "h2"
3748
3749
  }
3749
3750
  ],
3750
- "type": "stack",
3751
+ "direction": "horizontal",
3751
3752
  "gap": "md"
3752
3753
  },
3753
3754
  {
3754
- "type": "button",
3755
3755
  "action": "REFRESH",
3756
- "icon": "refresh-cw",
3757
3756
  "label": "Refresh",
3758
- "variant": "secondary"
3757
+ "variant": "secondary",
3758
+ "type": "button",
3759
+ "icon": "refresh-cw"
3759
3760
  }
3760
- ],
3761
- "gap": "md"
3761
+ ]
3762
3762
  },
3763
3763
  {
3764
3764
  "type": "divider"
@@ -3768,24 +3768,23 @@
3768
3768
  "children": [
3769
3769
  {
3770
3770
  "type": "simple-grid",
3771
- "cols": 3.0,
3772
3771
  "children": [
3773
3772
  {
3774
3773
  "children": [
3775
3774
  {
3776
- "gap": "sm",
3777
3775
  "type": "stack",
3778
3776
  "direction": "vertical",
3777
+ "gap": "sm",
3779
3778
  "children": [
3780
3779
  {
3781
- "type": "typography",
3782
3780
  "variant": "caption",
3783
- "content": "Username"
3781
+ "content": "Username",
3782
+ "type": "typography"
3784
3783
  },
3785
3784
  {
3785
+ "type": "typography",
3786
3786
  "variant": "h3",
3787
- "content": "@entity.username",
3788
- "type": "typography"
3787
+ "content": "@entity.username"
3789
3788
  }
3790
3789
  ]
3791
3790
  }
@@ -3795,32 +3794,30 @@
3795
3794
  {
3796
3795
  "children": [
3797
3796
  {
3798
- "direction": "vertical",
3797
+ "gap": "sm",
3798
+ "type": "stack",
3799
3799
  "children": [
3800
3800
  {
3801
3801
  "variant": "caption",
3802
- "type": "typography",
3803
- "content": "Status"
3802
+ "content": "Status",
3803
+ "type": "typography"
3804
3804
  },
3805
3805
  {
3806
- "variant": "h3",
3807
3806
  "type": "typography",
3808
- "content": "@entity.status"
3807
+ "content": "@entity.status",
3808
+ "variant": "h3"
3809
3809
  }
3810
3810
  ],
3811
- "type": "stack",
3812
- "gap": "sm"
3811
+ "direction": "vertical"
3813
3812
  }
3814
3813
  ],
3815
3814
  "type": "card"
3816
3815
  },
3817
3816
  {
3818
- "type": "card",
3819
3817
  "children": [
3820
3818
  {
3821
3819
  "type": "stack",
3822
3820
  "direction": "vertical",
3823
- "gap": "sm",
3824
3821
  "children": [
3825
3822
  {
3826
3823
  "type": "typography",
@@ -3832,33 +3829,36 @@
3832
3829
  "variant": "h3",
3833
3830
  "content": "@entity.lastActive"
3834
3831
  }
3835
- ]
3832
+ ],
3833
+ "gap": "sm"
3836
3834
  }
3837
- ]
3835
+ ],
3836
+ "type": "card"
3838
3837
  },
3839
3838
  {
3839
+ "type": "card",
3840
3840
  "children": [
3841
3841
  {
3842
+ "type": "stack",
3842
3843
  "direction": "vertical",
3843
3844
  "gap": "sm",
3844
- "type": "stack",
3845
3845
  "children": [
3846
3846
  {
3847
- "type": "typography",
3848
3847
  "variant": "caption",
3849
- "content": "Avatar"
3848
+ "content": "Avatar",
3849
+ "type": "typography"
3850
3850
  },
3851
3851
  {
3852
3852
  "type": "typography",
3853
- "content": "@entity.avatar",
3854
- "variant": "h3"
3853
+ "variant": "h3",
3854
+ "content": "@entity.avatar"
3855
3855
  }
3856
3856
  ]
3857
3857
  }
3858
- ],
3859
- "type": "card"
3858
+ ]
3860
3859
  }
3861
- ]
3860
+ ],
3861
+ "cols": 3.0
3862
3862
  }
3863
3863
  ],
3864
3864
  "type": "box"
@@ -3868,37 +3868,36 @@
3868
3868
  },
3869
3869
  {
3870
3870
  "cols": 2.0,
3871
+ "type": "grid",
3871
3872
  "gap": "md",
3872
3873
  "children": [
3873
3874
  {
3875
+ "type": "card",
3874
3876
  "children": [
3875
3877
  {
3878
+ "type": "typography",
3876
3879
  "content": "Chart View",
3877
- "variant": "caption",
3878
- "type": "typography"
3880
+ "variant": "caption"
3879
3881
  }
3880
- ],
3881
- "type": "card"
3882
+ ]
3882
3883
  },
3883
3884
  {
3884
3885
  "type": "card",
3885
3886
  "children": [
3886
3887
  {
3887
3888
  "variant": "caption",
3888
- "type": "typography",
3889
- "content": "Graph View"
3889
+ "content": "Graph View",
3890
+ "type": "typography"
3890
3891
  }
3891
3892
  ]
3892
3893
  }
3893
- ],
3894
- "type": "grid"
3894
+ ]
3895
3895
  },
3896
3896
  {
3897
- "type": "line-chart",
3898
3897
  "data": [
3899
3898
  {
3900
- "value": 12.0,
3901
- "date": "Jan"
3899
+ "date": "Jan",
3900
+ "value": 12.0
3902
3901
  },
3903
3902
  {
3904
3903
  "date": "Feb",
@@ -3913,14 +3912,15 @@
3913
3912
  "value": 25.0
3914
3913
  },
3915
3914
  {
3916
- "date": "May",
3917
- "value": 22.0
3915
+ "value": 22.0,
3916
+ "date": "May"
3918
3917
  },
3919
3918
  {
3920
- "value": 30.0,
3921
- "date": "Jun"
3919
+ "date": "Jun",
3920
+ "value": 30.0
3922
3921
  }
3923
- ]
3922
+ ],
3923
+ "type": "line-chart"
3924
3924
  },
3925
3925
  {
3926
3926
  "type": "chart-legend",
@@ -3930,22 +3930,24 @@
3930
3930
  "color": "primary"
3931
3931
  },
3932
3932
  {
3933
- "label": "Previous",
3934
- "color": "muted"
3933
+ "color": "muted",
3934
+ "label": "Previous"
3935
3935
  }
3936
3936
  ]
3937
3937
  },
3938
3938
  {
3939
3939
  "edges": [
3940
3940
  {
3941
- "target": "b",
3942
- "source": "a"
3941
+ "source": "a",
3942
+ "target": "b"
3943
3943
  },
3944
3944
  {
3945
3945
  "source": "b",
3946
3946
  "target": "c"
3947
3947
  }
3948
3948
  ],
3949
+ "type": "graph-view",
3950
+ "width": 400.0,
3949
3951
  "nodes": [
3950
3952
  {
3951
3953
  "id": "a",
@@ -3956,39 +3958,37 @@
3956
3958
  "label": "Process"
3957
3959
  },
3958
3960
  {
3959
- "label": "End",
3960
- "id": "c"
3961
+ "id": "c",
3962
+ "label": "End"
3961
3963
  }
3962
3964
  ],
3963
- "type": "graph-view",
3964
- "width": 400.0,
3965
3965
  "height": 200.0
3966
3966
  }
3967
- ]
3967
+ ],
3968
+ "direction": "vertical"
3968
3969
  }
3969
- ],
3970
- "type": "scaled-diagram"
3970
+ ]
3971
3971
  }
3972
3972
  ],
3973
- "appName": "Realtime Chat",
3974
- "type": "dashboard-layout",
3975
3973
  "navItems": [
3976
3974
  {
3975
+ "icon": "layout-list",
3977
3976
  "href": "/chat",
3978
- "label": "Chat",
3979
- "icon": "layout-list"
3977
+ "label": "Chat"
3980
3978
  },
3981
3979
  {
3982
- "href": "/channels",
3980
+ "icon": "hash",
3983
3981
  "label": "Channels",
3984
- "icon": "hash"
3982
+ "href": "/channels"
3985
3983
  },
3986
3984
  {
3987
3985
  "icon": "layout-list",
3988
3986
  "label": "Online",
3989
3987
  "href": "/online"
3990
3988
  }
3991
- ]
3989
+ ],
3990
+ "type": "dashboard-layout",
3991
+ "appName": "Realtime Chat"
3992
3992
  }
3993
3993
  ]
3994
3994
  ]
@@ -4012,34 +4012,32 @@
4012
4012
  "render-ui",
4013
4013
  "main",
4014
4014
  {
4015
- "type": "dashboard-layout",
4016
4015
  "navItems": [
4017
4016
  {
4018
- "href": "/chat",
4017
+ "icon": "layout-list",
4019
4018
  "label": "Chat",
4020
- "icon": "layout-list"
4019
+ "href": "/chat"
4021
4020
  },
4022
4021
  {
4022
+ "icon": "hash",
4023
4023
  "href": "/channels",
4024
- "label": "Channels",
4025
- "icon": "hash"
4024
+ "label": "Channels"
4026
4025
  },
4027
4026
  {
4028
- "href": "/online",
4027
+ "icon": "layout-list",
4029
4028
  "label": "Online",
4030
- "icon": "layout-list"
4029
+ "href": "/online"
4031
4030
  }
4032
4031
  ],
4032
+ "appName": "Realtime Chat",
4033
+ "type": "dashboard-layout",
4033
4034
  "children": [
4034
4035
  {
4035
4036
  "children": [
4036
4037
  {
4037
4038
  "type": "stack",
4038
- "gap": "lg",
4039
- "direction": "vertical",
4040
4039
  "children": [
4041
4040
  {
4042
- "type": "breadcrumb",
4043
4041
  "items": [
4044
4042
  {
4045
4043
  "href": "/",
@@ -4048,38 +4046,39 @@
4048
4046
  {
4049
4047
  "label": "Online Users"
4050
4048
  }
4051
- ]
4049
+ ],
4050
+ "type": "breadcrumb"
4052
4051
  },
4053
4052
  {
4054
- "type": "stack",
4055
4053
  "children": [
4056
4054
  {
4055
+ "direction": "horizontal",
4056
+ "type": "stack",
4057
+ "gap": "md",
4057
4058
  "children": [
4058
4059
  {
4059
4060
  "name": "users",
4060
4061
  "type": "icon"
4061
4062
  },
4062
4063
  {
4063
- "content": "Online Users",
4064
4064
  "type": "typography",
4065
+ "content": "Online Users",
4065
4066
  "variant": "h2"
4066
4067
  }
4067
- ],
4068
- "type": "stack",
4069
- "gap": "md",
4070
- "direction": "horizontal"
4068
+ ]
4071
4069
  },
4072
4070
  {
4073
- "variant": "secondary",
4074
4071
  "type": "button",
4072
+ "variant": "secondary",
4075
4073
  "action": "REFRESH",
4076
- "icon": "refresh-cw",
4077
- "label": "Refresh"
4074
+ "label": "Refresh",
4075
+ "icon": "refresh-cw"
4078
4076
  }
4079
4077
  ],
4080
4078
  "direction": "horizontal",
4081
- "justify": "between",
4082
- "gap": "md"
4079
+ "gap": "md",
4080
+ "type": "stack",
4081
+ "justify": "between"
4083
4082
  },
4084
4083
  {
4085
4084
  "type": "divider"
@@ -4093,26 +4092,26 @@
4093
4092
  "cols": 3.0,
4094
4093
  "children": [
4095
4094
  {
4096
- "type": "card",
4097
4095
  "children": [
4098
4096
  {
4099
4097
  "direction": "vertical",
4100
4098
  "type": "stack",
4099
+ "gap": "sm",
4101
4100
  "children": [
4102
4101
  {
4103
- "type": "typography",
4104
4102
  "variant": "caption",
4105
- "content": "Username"
4103
+ "content": "Username",
4104
+ "type": "typography"
4106
4105
  },
4107
4106
  {
4108
- "variant": "h3",
4109
4107
  "type": "typography",
4108
+ "variant": "h3",
4110
4109
  "content": "@entity.username"
4111
4110
  }
4112
- ],
4113
- "gap": "sm"
4111
+ ]
4114
4112
  }
4115
- ]
4113
+ ],
4114
+ "type": "card"
4116
4115
  },
4117
4116
  {
4118
4117
  "type": "card",
@@ -4122,14 +4121,14 @@
4122
4121
  "type": "stack",
4123
4122
  "children": [
4124
4123
  {
4125
- "variant": "caption",
4124
+ "content": "Status",
4126
4125
  "type": "typography",
4127
- "content": "Status"
4126
+ "variant": "caption"
4128
4127
  },
4129
4128
  {
4129
+ "content": "@entity.status",
4130
4130
  "type": "typography",
4131
- "variant": "h3",
4132
- "content": "@entity.status"
4131
+ "variant": "h3"
4133
4132
  }
4134
4133
  ],
4135
4134
  "gap": "sm"
@@ -4140,45 +4139,45 @@
4140
4139
  "type": "card",
4141
4140
  "children": [
4142
4141
  {
4142
+ "type": "stack",
4143
4143
  "direction": "vertical",
4144
- "gap": "sm",
4145
4144
  "children": [
4146
4145
  {
4146
+ "type": "typography",
4147
4147
  "variant": "caption",
4148
- "content": "LastActive",
4149
- "type": "typography"
4148
+ "content": "LastActive"
4150
4149
  },
4151
4150
  {
4152
4151
  "type": "typography",
4153
- "variant": "h3",
4154
- "content": "@entity.lastActive"
4152
+ "content": "@entity.lastActive",
4153
+ "variant": "h3"
4155
4154
  }
4156
4155
  ],
4157
- "type": "stack"
4156
+ "gap": "sm"
4158
4157
  }
4159
4158
  ]
4160
4159
  },
4161
4160
  {
4162
- "type": "card",
4163
4161
  "children": [
4164
4162
  {
4163
+ "gap": "sm",
4165
4164
  "direction": "vertical",
4166
4165
  "type": "stack",
4167
- "gap": "sm",
4168
4166
  "children": [
4169
4167
  {
4170
- "content": "Avatar",
4168
+ "variant": "caption",
4171
4169
  "type": "typography",
4172
- "variant": "caption"
4170
+ "content": "Avatar"
4173
4171
  },
4174
4172
  {
4175
- "variant": "h3",
4173
+ "content": "@entity.avatar",
4176
4174
  "type": "typography",
4177
- "content": "@entity.avatar"
4175
+ "variant": "h3"
4178
4176
  }
4179
4177
  ]
4180
4178
  }
4181
- ]
4179
+ ],
4180
+ "type": "card"
4182
4181
  }
4183
4182
  ]
4184
4183
  }
@@ -4188,16 +4187,17 @@
4188
4187
  "type": "divider"
4189
4188
  },
4190
4189
  {
4190
+ "gap": "md",
4191
4191
  "children": [
4192
4192
  {
4193
+ "type": "card",
4193
4194
  "children": [
4194
4195
  {
4195
- "variant": "caption",
4196
4196
  "content": "Chart View",
4197
- "type": "typography"
4197
+ "type": "typography",
4198
+ "variant": "caption"
4198
4199
  }
4199
- ],
4200
- "type": "card"
4200
+ ]
4201
4201
  },
4202
4202
  {
4203
4203
  "children": [
@@ -4210,28 +4210,26 @@
4210
4210
  "type": "card"
4211
4211
  }
4212
4212
  ],
4213
- "cols": 2.0,
4214
- "gap": "md",
4215
- "type": "grid"
4213
+ "type": "grid",
4214
+ "cols": 2.0
4216
4215
  },
4217
4216
  {
4218
- "type": "line-chart",
4219
4217
  "data": [
4220
4218
  {
4221
4219
  "date": "Jan",
4222
4220
  "value": 12.0
4223
4221
  },
4224
4222
  {
4225
- "value": 19.0,
4226
- "date": "Feb"
4223
+ "date": "Feb",
4224
+ "value": 19.0
4227
4225
  },
4228
4226
  {
4229
- "date": "Mar",
4230
- "value": 15.0
4227
+ "value": 15.0,
4228
+ "date": "Mar"
4231
4229
  },
4232
4230
  {
4233
- "date": "Apr",
4234
- "value": 25.0
4231
+ "value": 25.0,
4232
+ "date": "Apr"
4235
4233
  },
4236
4234
  {
4237
4235
  "date": "May",
@@ -4241,33 +4239,32 @@
4241
4239
  "value": 30.0,
4242
4240
  "date": "Jun"
4243
4241
  }
4244
- ]
4242
+ ],
4243
+ "type": "line-chart"
4245
4244
  },
4246
4245
  {
4246
+ "type": "chart-legend",
4247
4247
  "items": [
4248
4248
  {
4249
- "label": "Current",
4250
- "color": "primary"
4249
+ "color": "primary",
4250
+ "label": "Current"
4251
4251
  },
4252
4252
  {
4253
- "label": "Previous",
4254
- "color": "muted"
4253
+ "color": "muted",
4254
+ "label": "Previous"
4255
4255
  }
4256
- ],
4257
- "type": "chart-legend"
4256
+ ]
4258
4257
  },
4259
4258
  {
4260
4259
  "width": 400.0,
4261
- "height": 200.0,
4262
- "type": "graph-view",
4263
4260
  "nodes": [
4264
4261
  {
4265
4262
  "label": "Start",
4266
4263
  "id": "a"
4267
4264
  },
4268
4265
  {
4269
- "id": "b",
4270
- "label": "Process"
4266
+ "label": "Process",
4267
+ "id": "b"
4271
4268
  },
4272
4269
  {
4273
4270
  "id": "c",
@@ -4276,22 +4273,25 @@
4276
4273
  ],
4277
4274
  "edges": [
4278
4275
  {
4279
- "target": "b",
4280
- "source": "a"
4276
+ "source": "a",
4277
+ "target": "b"
4281
4278
  },
4282
4279
  {
4283
- "target": "c",
4284
- "source": "b"
4280
+ "source": "b",
4281
+ "target": "c"
4285
4282
  }
4286
- ]
4283
+ ],
4284
+ "type": "graph-view",
4285
+ "height": 200.0
4287
4286
  }
4288
- ]
4287
+ ],
4288
+ "direction": "vertical",
4289
+ "gap": "lg"
4289
4290
  }
4290
4291
  ],
4291
4292
  "type": "scaled-diagram"
4292
4293
  }
4293
- ],
4294
- "appName": "Realtime Chat"
4294
+ ]
4295
4295
  }
4296
4296
  ]
4297
4297
  ]