@almadar/std 6.5.2 → 7.2.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.
- package/behaviors/registry/atoms/std-agent-activity-log.orb +240 -227
- package/behaviors/registry/atoms/std-agent-chat-thread.orb +296 -199
- package/behaviors/registry/atoms/std-agent-classifier.orb +384 -133
- package/behaviors/registry/atoms/std-agent-completion.orb +404 -141
- package/behaviors/registry/atoms/std-agent-context-window.orb +904 -607
- package/behaviors/registry/atoms/std-agent-conversation.orb +443 -234
- package/behaviors/registry/atoms/std-agent-memory.orb +584 -150
- package/behaviors/registry/atoms/std-agent-provider.orb +431 -174
- package/behaviors/registry/atoms/std-agent-search.orb +217 -61
- package/behaviors/registry/atoms/std-agent-session.orb +406 -159
- package/behaviors/registry/atoms/std-agent-step-progress.orb +314 -294
- package/behaviors/registry/atoms/std-agent-token-gauge.orb +577 -500
- package/behaviors/registry/atoms/std-agent-tool-call.orb +328 -138
- package/behaviors/registry/atoms/std-async.orb +147 -86
- package/behaviors/registry/atoms/std-autoregressive.orb +64 -73
- package/behaviors/registry/atoms/std-browse.orb +260 -126
- package/behaviors/registry/atoms/std-cache-aside.orb +358 -259
- package/behaviors/registry/atoms/std-calendar.orb +280 -215
- package/behaviors/registry/atoms/std-circuit-breaker.orb +295 -234
- package/behaviors/registry/atoms/std-collision.orb +136 -135
- package/behaviors/registry/atoms/std-combat-log.orb +108 -90
- package/behaviors/registry/atoms/std-combat.orb +171 -98
- package/behaviors/registry/atoms/std-confirmation.orb +28 -300
- package/behaviors/registry/atoms/std-dialogue-box.orb +111 -30
- package/behaviors/registry/atoms/std-display.orb +491 -587
- package/behaviors/registry/atoms/std-drawer.orb +194 -121
- package/behaviors/registry/atoms/std-filter.orb +311 -326
- package/behaviors/registry/atoms/std-flip-card.orb +223 -177
- package/behaviors/registry/atoms/std-gallery.orb +130 -151
- package/behaviors/registry/atoms/std-game-audio.orb +133 -72
- package/behaviors/registry/atoms/std-game-canvas2d.orb +112 -52
- package/behaviors/registry/atoms/std-game-canvas3d.orb +150 -107
- package/behaviors/registry/atoms/std-game-hud.orb +87 -20
- package/behaviors/registry/atoms/std-game-menu.orb +32 -32
- package/behaviors/registry/atoms/std-game-over-screen.orb +100 -33
- package/behaviors/registry/atoms/std-gameflow.orb +147 -80
- package/behaviors/registry/atoms/std-input.orb +128 -393
- package/behaviors/registry/atoms/std-inventory-panel.orb +108 -71
- package/behaviors/registry/atoms/std-isometric-canvas.orb +156 -407
- package/behaviors/registry/atoms/std-loading.orb +127 -126
- package/behaviors/registry/atoms/std-modal.orb +30 -267
- package/behaviors/registry/atoms/std-movement.orb +391 -292
- package/behaviors/registry/atoms/std-notification.orb +133 -75
- package/behaviors/registry/atoms/std-overworld.orb +194 -121
- package/behaviors/registry/atoms/std-pagination.orb +120 -53
- package/behaviors/registry/atoms/std-physics2d.orb +94 -93
- package/behaviors/registry/atoms/std-platformer-canvas.orb +110 -98
- package/behaviors/registry/atoms/std-push.orb +172 -36
- package/behaviors/registry/atoms/std-quest.orb +552 -449
- package/behaviors/registry/atoms/std-rate-limiter.orb +242 -241
- package/behaviors/registry/atoms/std-rating.orb +123 -65
- package/behaviors/registry/atoms/std-related.orb +202 -26
- package/behaviors/registry/atoms/std-score-board.orb +109 -28
- package/behaviors/registry/atoms/std-score.orb +210 -146
- package/behaviors/registry/atoms/std-search.orb +265 -138
- package/behaviors/registry/atoms/std-selection.orb +311 -220
- package/behaviors/registry/atoms/std-service-custom-bearer.orb +199 -110
- package/behaviors/registry/atoms/std-service-custom-header.orb +206 -117
- package/behaviors/registry/atoms/std-service-custom-noauth.orb +197 -108
- package/behaviors/registry/atoms/std-service-custom-query.orb +193 -104
- package/behaviors/registry/atoms/std-service-email.orb +195 -107
- package/behaviors/registry/atoms/std-service-github.orb +216 -122
- package/behaviors/registry/atoms/std-service-llm.orb +204 -122
- package/behaviors/registry/atoms/std-service-oauth.orb +290 -204
- package/behaviors/registry/atoms/std-service-redis.orb +177 -92
- package/behaviors/registry/atoms/std-service-storage.orb +211 -122
- package/behaviors/registry/atoms/std-service-stripe.orb +236 -154
- package/behaviors/registry/atoms/std-service-twilio.orb +221 -137
- package/behaviors/registry/atoms/std-service-youtube.orb +327 -241
- package/behaviors/registry/atoms/std-simulation-canvas.orb +97 -36
- package/behaviors/registry/atoms/std-sort.orb +284 -207
- package/behaviors/registry/atoms/std-sprite.orb +150 -74
- package/behaviors/registry/atoms/std-tabs.orb +129 -62
- package/behaviors/registry/atoms/std-text-effects.orb +251 -190
- package/behaviors/registry/atoms/std-theme.orb +193 -135
- package/behaviors/registry/atoms/std-timer.orb +320 -344
- package/behaviors/registry/atoms/std-undo.orb +278 -199
- package/behaviors/registry/atoms/std-upload.orb +112 -111
- package/behaviors/registry/atoms/std-validate-on-save.orb +159 -151
- package/behaviors/registry/atoms/std-wizard.orb +445 -336
- package/behaviors/registry/molecules/std-agent-fix-loop.orb +876 -857
- package/behaviors/registry/molecules/std-agent-learner.orb +635 -654
- package/behaviors/registry/molecules/std-agent-planner.orb +581 -548
- package/behaviors/registry/molecules/std-agent-rag.orb +414 -410
- package/behaviors/registry/molecules/std-agent-tool-loop.orb +716 -711
- package/behaviors/registry/molecules/std-batch-selected-list.orb +28 -12
- package/behaviors/registry/molecules/std-builder-game.orb +86 -28
- package/behaviors/registry/molecules/std-calendar-booking.orb +32 -8
- package/behaviors/registry/molecules/std-cart.orb +347 -406
- package/behaviors/registry/molecules/std-classifier-game.orb +95 -37
- package/behaviors/registry/molecules/std-dashboard-tabbed.orb +16 -10
- package/behaviors/registry/molecules/std-debugger-game.orb +95 -37
- package/behaviors/registry/molecules/std-detail.orb +133 -138
- package/behaviors/registry/molecules/std-drawer-master-list.orb +12 -6
- package/behaviors/registry/molecules/std-event-handler-game.orb +91 -33
- package/behaviors/registry/molecules/std-filtered-list.orb +14 -8
- package/behaviors/registry/molecules/std-form-advanced.orb +242 -153
- package/behaviors/registry/molecules/std-gallery-filtered.orb +16 -10
- package/behaviors/registry/molecules/std-geospatial.orb +175 -122
- package/behaviors/registry/molecules/std-inventory.orb +216 -170
- package/behaviors/registry/molecules/std-list.orb +280 -205
- package/behaviors/registry/molecules/std-messaging.orb +146 -99
- package/behaviors/registry/molecules/std-negotiator-game.orb +95 -37
- package/behaviors/registry/molecules/std-platformer-game.orb +300 -171
- package/behaviors/registry/molecules/std-push-activity-log.orb +32 -8
- package/behaviors/registry/molecules/std-puzzle-game.orb +287 -146
- package/behaviors/registry/molecules/std-quiz.orb +322 -263
- package/behaviors/registry/molecules/std-related-master-detail.orb +21 -15
- package/behaviors/registry/molecules/std-sequencer-game.orb +92 -34
- package/behaviors/registry/molecules/std-service-content-pipeline.orb +268 -267
- package/behaviors/registry/molecules/std-service-custom-api-tester.orb +245 -152
- package/behaviors/registry/molecules/std-service-devops-toolkit.orb +633 -294
- package/behaviors/registry/molecules/std-service-notification-hub.orb +237 -152
- package/behaviors/registry/molecules/std-service-payment-flow.orb +310 -180
- package/behaviors/registry/molecules/std-simulator-game.orb +96 -38
- package/behaviors/registry/molecules/std-turn-based-battle.orb +247 -137
- package/behaviors/registry/molecules/std-wizard-form.orb +60 -9
- package/behaviors/registry/organisms/std-agent-assistant.orb +2810 -1833
- package/behaviors/registry/organisms/std-agent-builder.orb +6401 -4539
- package/behaviors/registry/organisms/std-agent-pipeline.orb +5028 -3497
- package/behaviors/registry/organisms/std-agent-reviewer.orb +2219 -1406
- package/behaviors/registry/organisms/std-agent-tutor.orb +2069 -1384
- package/behaviors/registry/organisms/std-api-gateway.orb +1419 -870
- package/behaviors/registry/organisms/std-arcade-game.orb +488 -231
- package/behaviors/registry/organisms/std-booking-system.orb +2457 -1467
- package/behaviors/registry/organisms/std-cicd-pipeline.orb +1367 -825
- package/behaviors/registry/organisms/std-cms.orb +1549 -566
- package/behaviors/registry/organisms/std-coding-academy.orb +744 -495
- package/behaviors/registry/organisms/std-crm.orb +1997 -1014
- package/behaviors/registry/organisms/std-devops-dashboard.orb +2160 -1606
- package/behaviors/registry/organisms/std-ecommerce.orb +2279 -1153
- package/behaviors/registry/organisms/std-finance-tracker.orb +1375 -727
- package/behaviors/registry/organisms/std-healthcare.orb +2940 -1703
- package/behaviors/registry/organisms/std-helpdesk.orb +1443 -781
- package/behaviors/registry/organisms/std-hr-portal.orb +2361 -1440
- package/behaviors/registry/organisms/std-iot-dashboard.orb +1491 -1026
- package/behaviors/registry/organisms/std-lms.orb +1629 -1046
- package/behaviors/registry/organisms/std-logic-training.orb +321 -134
- package/behaviors/registry/organisms/std-platformer-app.orb +855 -417
- package/behaviors/registry/organisms/std-project-manager.orb +1795 -877
- package/behaviors/registry/organisms/std-puzzle-app.orb +407 -206
- package/behaviors/registry/organisms/std-realtime-chat.orb +1436 -844
- package/behaviors/registry/organisms/std-rpg-game.orb +1522 -1007
- package/behaviors/registry/organisms/std-service-marketplace.orb +2110 -1204
- package/behaviors/registry/organisms/std-service-research-assistant.orb +1285 -1078
- package/behaviors/registry/organisms/std-social-feed.orb +612 -252
- package/behaviors/registry/organisms/std-stem-lab.orb +642 -450
- package/behaviors/registry/organisms/std-strategy-game.orb +893 -650
- package/behaviors/registry/organisms/std-trading-dashboard.orb +1271 -805
- package/dist/behaviors/registry/atoms/std-agent-activity-log.orb +240 -227
- package/dist/behaviors/registry/atoms/std-agent-chat-thread.orb +296 -199
- package/dist/behaviors/registry/atoms/std-agent-classifier.orb +384 -133
- package/dist/behaviors/registry/atoms/std-agent-completion.orb +404 -141
- package/dist/behaviors/registry/atoms/std-agent-context-window.orb +904 -607
- package/dist/behaviors/registry/atoms/std-agent-conversation.orb +443 -234
- package/dist/behaviors/registry/atoms/std-agent-memory.orb +584 -150
- package/dist/behaviors/registry/atoms/std-agent-provider.orb +431 -174
- package/dist/behaviors/registry/atoms/std-agent-search.orb +217 -61
- package/dist/behaviors/registry/atoms/std-agent-session.orb +406 -159
- package/dist/behaviors/registry/atoms/std-agent-step-progress.orb +314 -294
- package/dist/behaviors/registry/atoms/std-agent-token-gauge.orb +577 -500
- package/dist/behaviors/registry/atoms/std-agent-tool-call.orb +328 -138
- package/dist/behaviors/registry/atoms/std-async.orb +147 -86
- package/dist/behaviors/registry/atoms/std-autoregressive.orb +64 -73
- package/dist/behaviors/registry/atoms/std-browse.orb +260 -126
- package/dist/behaviors/registry/atoms/std-cache-aside.orb +358 -259
- package/dist/behaviors/registry/atoms/std-calendar.orb +280 -215
- package/dist/behaviors/registry/atoms/std-circuit-breaker.orb +295 -234
- package/dist/behaviors/registry/atoms/std-collision.orb +136 -135
- package/dist/behaviors/registry/atoms/std-combat-log.orb +108 -90
- package/dist/behaviors/registry/atoms/std-combat.orb +171 -98
- package/dist/behaviors/registry/atoms/std-confirmation.orb +28 -300
- package/dist/behaviors/registry/atoms/std-dialogue-box.orb +111 -30
- package/dist/behaviors/registry/atoms/std-display.orb +491 -587
- package/dist/behaviors/registry/atoms/std-drawer.orb +194 -121
- package/dist/behaviors/registry/atoms/std-filter.orb +311 -326
- package/dist/behaviors/registry/atoms/std-flip-card.orb +223 -177
- package/dist/behaviors/registry/atoms/std-gallery.orb +130 -151
- package/dist/behaviors/registry/atoms/std-game-audio.orb +133 -72
- package/dist/behaviors/registry/atoms/std-game-canvas2d.orb +112 -52
- package/dist/behaviors/registry/atoms/std-game-canvas3d.orb +150 -107
- package/dist/behaviors/registry/atoms/std-game-hud.orb +87 -20
- package/dist/behaviors/registry/atoms/std-game-menu.orb +32 -32
- package/dist/behaviors/registry/atoms/std-game-over-screen.orb +100 -33
- package/dist/behaviors/registry/atoms/std-gameflow.orb +147 -80
- package/dist/behaviors/registry/atoms/std-input.orb +128 -393
- package/dist/behaviors/registry/atoms/std-inventory-panel.orb +108 -71
- package/dist/behaviors/registry/atoms/std-isometric-canvas.orb +156 -407
- package/dist/behaviors/registry/atoms/std-loading.orb +127 -126
- package/dist/behaviors/registry/atoms/std-modal.orb +30 -267
- package/dist/behaviors/registry/atoms/std-movement.orb +391 -292
- package/dist/behaviors/registry/atoms/std-notification.orb +133 -75
- package/dist/behaviors/registry/atoms/std-overworld.orb +194 -121
- package/dist/behaviors/registry/atoms/std-pagination.orb +120 -53
- package/dist/behaviors/registry/atoms/std-physics2d.orb +94 -93
- package/dist/behaviors/registry/atoms/std-platformer-canvas.orb +110 -98
- package/dist/behaviors/registry/atoms/std-push.orb +172 -36
- package/dist/behaviors/registry/atoms/std-quest.orb +552 -449
- package/dist/behaviors/registry/atoms/std-rate-limiter.orb +242 -241
- package/dist/behaviors/registry/atoms/std-rating.orb +123 -65
- package/dist/behaviors/registry/atoms/std-related.orb +202 -26
- package/dist/behaviors/registry/atoms/std-score-board.orb +109 -28
- package/dist/behaviors/registry/atoms/std-score.orb +210 -146
- package/dist/behaviors/registry/atoms/std-search.orb +265 -138
- package/dist/behaviors/registry/atoms/std-selection.orb +311 -220
- package/dist/behaviors/registry/atoms/std-service-custom-bearer.orb +199 -110
- package/dist/behaviors/registry/atoms/std-service-custom-header.orb +206 -117
- package/dist/behaviors/registry/atoms/std-service-custom-noauth.orb +197 -108
- package/dist/behaviors/registry/atoms/std-service-custom-query.orb +193 -104
- package/dist/behaviors/registry/atoms/std-service-email.orb +195 -107
- package/dist/behaviors/registry/atoms/std-service-github.orb +216 -122
- package/dist/behaviors/registry/atoms/std-service-llm.orb +204 -122
- package/dist/behaviors/registry/atoms/std-service-oauth.orb +290 -204
- package/dist/behaviors/registry/atoms/std-service-redis.orb +177 -92
- package/dist/behaviors/registry/atoms/std-service-storage.orb +211 -122
- package/dist/behaviors/registry/atoms/std-service-stripe.orb +236 -154
- package/dist/behaviors/registry/atoms/std-service-twilio.orb +221 -137
- package/dist/behaviors/registry/atoms/std-service-youtube.orb +327 -241
- package/dist/behaviors/registry/atoms/std-simulation-canvas.orb +97 -36
- package/dist/behaviors/registry/atoms/std-sort.orb +284 -207
- package/dist/behaviors/registry/atoms/std-sprite.orb +150 -74
- package/dist/behaviors/registry/atoms/std-tabs.orb +129 -62
- package/dist/behaviors/registry/atoms/std-text-effects.orb +251 -190
- package/dist/behaviors/registry/atoms/std-theme.orb +193 -135
- package/dist/behaviors/registry/atoms/std-timer.orb +320 -344
- package/dist/behaviors/registry/atoms/std-undo.orb +278 -199
- package/dist/behaviors/registry/atoms/std-upload.orb +112 -111
- package/dist/behaviors/registry/atoms/std-validate-on-save.orb +159 -151
- package/dist/behaviors/registry/atoms/std-wizard.orb +445 -336
- package/dist/behaviors/registry/molecules/std-agent-fix-loop.orb +876 -857
- package/dist/behaviors/registry/molecules/std-agent-learner.orb +635 -654
- package/dist/behaviors/registry/molecules/std-agent-planner.orb +581 -548
- package/dist/behaviors/registry/molecules/std-agent-rag.orb +414 -410
- package/dist/behaviors/registry/molecules/std-agent-tool-loop.orb +716 -711
- package/dist/behaviors/registry/molecules/std-batch-selected-list.orb +28 -12
- package/dist/behaviors/registry/molecules/std-builder-game.orb +86 -28
- package/dist/behaviors/registry/molecules/std-calendar-booking.orb +32 -8
- package/dist/behaviors/registry/molecules/std-cart.orb +347 -406
- package/dist/behaviors/registry/molecules/std-classifier-game.orb +95 -37
- package/dist/behaviors/registry/molecules/std-dashboard-tabbed.orb +16 -10
- package/dist/behaviors/registry/molecules/std-debugger-game.orb +95 -37
- package/dist/behaviors/registry/molecules/std-detail.orb +133 -138
- package/dist/behaviors/registry/molecules/std-drawer-master-list.orb +12 -6
- package/dist/behaviors/registry/molecules/std-event-handler-game.orb +91 -33
- package/dist/behaviors/registry/molecules/std-filtered-list.orb +14 -8
- package/dist/behaviors/registry/molecules/std-form-advanced.orb +242 -153
- package/dist/behaviors/registry/molecules/std-gallery-filtered.orb +16 -10
- package/dist/behaviors/registry/molecules/std-geospatial.orb +175 -122
- package/dist/behaviors/registry/molecules/std-inventory.orb +216 -170
- package/dist/behaviors/registry/molecules/std-list.orb +280 -205
- package/dist/behaviors/registry/molecules/std-messaging.orb +146 -99
- package/dist/behaviors/registry/molecules/std-negotiator-game.orb +95 -37
- package/dist/behaviors/registry/molecules/std-platformer-game.orb +300 -171
- package/dist/behaviors/registry/molecules/std-push-activity-log.orb +32 -8
- package/dist/behaviors/registry/molecules/std-puzzle-game.orb +287 -146
- package/dist/behaviors/registry/molecules/std-quiz.orb +322 -263
- package/dist/behaviors/registry/molecules/std-related-master-detail.orb +21 -15
- package/dist/behaviors/registry/molecules/std-sequencer-game.orb +92 -34
- package/dist/behaviors/registry/molecules/std-service-content-pipeline.orb +268 -267
- package/dist/behaviors/registry/molecules/std-service-custom-api-tester.orb +245 -152
- package/dist/behaviors/registry/molecules/std-service-devops-toolkit.orb +633 -294
- package/dist/behaviors/registry/molecules/std-service-notification-hub.orb +237 -152
- package/dist/behaviors/registry/molecules/std-service-payment-flow.orb +310 -180
- package/dist/behaviors/registry/molecules/std-simulator-game.orb +96 -38
- package/dist/behaviors/registry/molecules/std-turn-based-battle.orb +247 -137
- package/dist/behaviors/registry/molecules/std-wizard-form.orb +60 -9
- package/dist/behaviors/registry/organisms/std-agent-assistant.orb +2810 -1833
- package/dist/behaviors/registry/organisms/std-agent-builder.orb +6401 -4539
- package/dist/behaviors/registry/organisms/std-agent-pipeline.orb +5028 -3497
- package/dist/behaviors/registry/organisms/std-agent-reviewer.orb +2219 -1406
- package/dist/behaviors/registry/organisms/std-agent-tutor.orb +2069 -1384
- package/dist/behaviors/registry/organisms/std-api-gateway.orb +1419 -870
- package/dist/behaviors/registry/organisms/std-arcade-game.orb +488 -231
- package/dist/behaviors/registry/organisms/std-booking-system.orb +2457 -1467
- package/dist/behaviors/registry/organisms/std-cicd-pipeline.orb +1367 -825
- package/dist/behaviors/registry/organisms/std-cms.orb +1549 -566
- package/dist/behaviors/registry/organisms/std-coding-academy.orb +744 -495
- package/dist/behaviors/registry/organisms/std-crm.orb +1997 -1014
- package/dist/behaviors/registry/organisms/std-devops-dashboard.orb +2160 -1606
- package/dist/behaviors/registry/organisms/std-ecommerce.orb +2279 -1153
- package/dist/behaviors/registry/organisms/std-finance-tracker.orb +1375 -727
- package/dist/behaviors/registry/organisms/std-healthcare.orb +2940 -1703
- package/dist/behaviors/registry/organisms/std-helpdesk.orb +1443 -781
- package/dist/behaviors/registry/organisms/std-hr-portal.orb +2361 -1440
- package/dist/behaviors/registry/organisms/std-iot-dashboard.orb +1491 -1026
- package/dist/behaviors/registry/organisms/std-lms.orb +1629 -1046
- package/dist/behaviors/registry/organisms/std-logic-training.orb +321 -134
- package/dist/behaviors/registry/organisms/std-platformer-app.orb +855 -417
- package/dist/behaviors/registry/organisms/std-project-manager.orb +1795 -877
- package/dist/behaviors/registry/organisms/std-puzzle-app.orb +407 -206
- package/dist/behaviors/registry/organisms/std-realtime-chat.orb +1436 -844
- package/dist/behaviors/registry/organisms/std-rpg-game.orb +1522 -1007
- package/dist/behaviors/registry/organisms/std-service-marketplace.orb +2110 -1204
- package/dist/behaviors/registry/organisms/std-service-research-assistant.orb +1285 -1078
- package/dist/behaviors/registry/organisms/std-social-feed.orb +612 -252
- package/dist/behaviors/registry/organisms/std-stem-lab.orb +642 -450
- package/dist/behaviors/registry/organisms/std-strategy-game.orb +893 -650
- package/dist/behaviors/registry/organisms/std-trading-dashboard.orb +1271 -805
- package/dist/index.js +16 -4
- package/dist/index.js.map +1 -1
- package/dist/modules/core.js +16 -4
- package/dist/modules/core.js.map +1 -1
- package/dist/modules/index.js +16 -4
- package/dist/modules/index.js.map +1 -1
- package/dist/registry.js +16 -4
- package/dist/registry.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "std-social-feed",
|
|
3
3
|
"version": "1.0.0",
|
|
4
|
-
"description": "
|
|
4
|
+
"description": "std-social-feed as a Function",
|
|
5
5
|
"orbitals": [
|
|
6
6
|
{
|
|
7
7
|
"name": "PostOrbital",
|
|
@@ -31,26 +31,74 @@
|
|
|
31
31
|
},
|
|
32
32
|
{
|
|
33
33
|
"name": "createdAt",
|
|
34
|
-
"type": "
|
|
34
|
+
"type": "datetime",
|
|
35
35
|
"default": ""
|
|
36
36
|
},
|
|
37
37
|
{
|
|
38
38
|
"name": "likes",
|
|
39
39
|
"type": "number",
|
|
40
|
-
"default": 0
|
|
40
|
+
"default": 0.0
|
|
41
41
|
}
|
|
42
42
|
]
|
|
43
43
|
},
|
|
44
44
|
"traits": [
|
|
45
45
|
{
|
|
46
46
|
"name": "PostBrowse",
|
|
47
|
-
"linkedEntity": "Post",
|
|
48
47
|
"category": "interaction",
|
|
49
|
-
"
|
|
48
|
+
"linkedEntity": "Post",
|
|
49
|
+
"emits": [
|
|
50
50
|
{
|
|
51
|
-
"event": "
|
|
52
|
-
"
|
|
53
|
-
"
|
|
51
|
+
"event": "COMMENT",
|
|
52
|
+
"scope": "external",
|
|
53
|
+
"payload": [
|
|
54
|
+
{
|
|
55
|
+
"name": "id",
|
|
56
|
+
"type": "string"
|
|
57
|
+
}
|
|
58
|
+
]
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"event": "PostLoaded",
|
|
62
|
+
"description": "Fired when Post finishes loading",
|
|
63
|
+
"scope": "internal",
|
|
64
|
+
"payload": [
|
|
65
|
+
{
|
|
66
|
+
"name": "id",
|
|
67
|
+
"type": "string",
|
|
68
|
+
"required": true
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"name": "title",
|
|
72
|
+
"type": "string"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"name": "content",
|
|
76
|
+
"type": "string"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"name": "author",
|
|
80
|
+
"type": "string"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"name": "createdAt",
|
|
84
|
+
"type": "datetime"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"name": "likes",
|
|
88
|
+
"type": "number"
|
|
89
|
+
}
|
|
90
|
+
]
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"event": "PostLoadFailed",
|
|
94
|
+
"description": "Fired when Post fails to load",
|
|
95
|
+
"scope": "internal",
|
|
96
|
+
"payload": [
|
|
97
|
+
{
|
|
98
|
+
"name": "message",
|
|
99
|
+
"type": "string"
|
|
100
|
+
}
|
|
101
|
+
]
|
|
54
102
|
}
|
|
55
103
|
],
|
|
56
104
|
"stateMachine": {
|
|
@@ -66,12 +114,26 @@
|
|
|
66
114
|
"name": "Initialize"
|
|
67
115
|
},
|
|
68
116
|
{
|
|
69
|
-
"key": "
|
|
70
|
-
"name": "
|
|
117
|
+
"key": "COMMENT",
|
|
118
|
+
"name": "Comment"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"key": "PostLoaded",
|
|
122
|
+
"name": "Post loaded"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"key": "PostLoadFailed",
|
|
126
|
+
"name": "Post load failed",
|
|
127
|
+
"payload": [
|
|
128
|
+
{
|
|
129
|
+
"name": "message",
|
|
130
|
+
"type": "string"
|
|
131
|
+
}
|
|
132
|
+
]
|
|
71
133
|
},
|
|
72
134
|
{
|
|
73
135
|
"key": "VIEW",
|
|
74
|
-
"name": "
|
|
136
|
+
"name": "View",
|
|
75
137
|
"payload": [
|
|
76
138
|
{
|
|
77
139
|
"name": "id",
|
|
@@ -99,13 +161,12 @@
|
|
|
99
161
|
"render-ui",
|
|
100
162
|
"main",
|
|
101
163
|
{
|
|
102
|
-
"type": "dashboard-layout",
|
|
103
164
|
"appName": "SocialFeed",
|
|
104
165
|
"navItems": [
|
|
105
166
|
{
|
|
106
167
|
"label": "Feed",
|
|
107
|
-
"
|
|
108
|
-
"
|
|
168
|
+
"icon": "layout-list",
|
|
169
|
+
"href": "/feed"
|
|
109
170
|
},
|
|
110
171
|
{
|
|
111
172
|
"label": "Messages",
|
|
@@ -113,76 +174,73 @@
|
|
|
113
174
|
"icon": "message-circle"
|
|
114
175
|
}
|
|
115
176
|
],
|
|
177
|
+
"type": "dashboard-layout",
|
|
116
178
|
"children": [
|
|
117
179
|
{
|
|
118
|
-
"type": "stack",
|
|
119
|
-
"direction": "vertical",
|
|
120
|
-
"gap": "lg",
|
|
121
|
-
"className": "max-w-5xl mx-auto w-full",
|
|
122
180
|
"children": [
|
|
123
181
|
{
|
|
124
|
-
"type": "stack",
|
|
125
|
-
"direction": "horizontal",
|
|
126
|
-
"gap": "md",
|
|
127
|
-
"justify": "space-between",
|
|
128
182
|
"align": "center",
|
|
129
183
|
"children": [
|
|
130
184
|
{
|
|
131
185
|
"type": "stack",
|
|
132
|
-
"direction": "horizontal",
|
|
133
|
-
"gap": "sm",
|
|
134
|
-
"align": "center",
|
|
135
186
|
"children": [
|
|
136
187
|
{
|
|
188
|
+
"size": "lg",
|
|
137
189
|
"type": "icon",
|
|
138
|
-
"name": "rss"
|
|
139
|
-
"size": "lg"
|
|
190
|
+
"name": "rss"
|
|
140
191
|
},
|
|
141
192
|
{
|
|
193
|
+
"variant": "h2",
|
|
142
194
|
"type": "typography",
|
|
143
|
-
"content": "Feed"
|
|
144
|
-
"variant": "h2"
|
|
195
|
+
"content": "Feed"
|
|
145
196
|
}
|
|
146
|
-
]
|
|
197
|
+
],
|
|
198
|
+
"gap": "sm",
|
|
199
|
+
"direction": "horizontal",
|
|
200
|
+
"align": "center"
|
|
147
201
|
},
|
|
148
202
|
{
|
|
149
|
-
"type": "stack",
|
|
150
203
|
"direction": "horizontal",
|
|
151
204
|
"gap": "sm",
|
|
152
205
|
"children": [
|
|
153
206
|
{
|
|
154
|
-
"type": "button",
|
|
155
207
|
"label": "New Post",
|
|
156
|
-
"
|
|
208
|
+
"type": "button",
|
|
209
|
+
"icon": "plus",
|
|
157
210
|
"variant": "primary",
|
|
158
|
-
"
|
|
211
|
+
"event": "CREATE"
|
|
159
212
|
}
|
|
160
|
-
]
|
|
213
|
+
],
|
|
214
|
+
"type": "stack"
|
|
161
215
|
}
|
|
162
|
-
]
|
|
216
|
+
],
|
|
217
|
+
"gap": "md",
|
|
218
|
+
"direction": "horizontal",
|
|
219
|
+
"justify": "space-between",
|
|
220
|
+
"type": "stack"
|
|
163
221
|
},
|
|
164
222
|
{
|
|
165
223
|
"type": "divider"
|
|
166
224
|
},
|
|
167
225
|
{
|
|
168
226
|
"type": "data-list",
|
|
169
|
-
"entity": "Post",
|
|
170
227
|
"emptyIcon": "inbox",
|
|
171
|
-
"emptyTitle": "No posts yet",
|
|
172
228
|
"emptyDescription": "Share your first post.",
|
|
229
|
+
"entity": "Post",
|
|
173
230
|
"itemActions": [
|
|
174
231
|
{
|
|
175
|
-
"label": "View",
|
|
176
|
-
"event": "VIEW",
|
|
177
232
|
"variant": "ghost",
|
|
178
|
-
"size": "sm"
|
|
233
|
+
"size": "sm",
|
|
234
|
+
"event": "VIEW",
|
|
235
|
+
"label": "View"
|
|
179
236
|
}
|
|
180
237
|
],
|
|
238
|
+
"variant": "card",
|
|
181
239
|
"columns": [
|
|
182
240
|
{
|
|
241
|
+
"icon": "rss",
|
|
183
242
|
"name": "title",
|
|
184
|
-
"variant": "h3"
|
|
185
|
-
"icon": "rss"
|
|
243
|
+
"variant": "h3"
|
|
186
244
|
},
|
|
187
245
|
{
|
|
188
246
|
"name": "likes",
|
|
@@ -194,20 +252,24 @@
|
|
|
194
252
|
"variant": "body"
|
|
195
253
|
},
|
|
196
254
|
{
|
|
197
|
-
"
|
|
198
|
-
"
|
|
255
|
+
"variant": "body",
|
|
256
|
+
"name": "content"
|
|
199
257
|
},
|
|
200
258
|
{
|
|
201
|
-
"name": "createdAt",
|
|
202
259
|
"label": "Posted",
|
|
260
|
+
"format": "date",
|
|
203
261
|
"variant": "caption",
|
|
204
|
-
"
|
|
262
|
+
"name": "createdAt"
|
|
205
263
|
}
|
|
206
264
|
],
|
|
207
|
-
"
|
|
265
|
+
"emptyTitle": "No posts yet",
|
|
208
266
|
"gap": "sm"
|
|
209
267
|
}
|
|
210
|
-
]
|
|
268
|
+
],
|
|
269
|
+
"direction": "vertical",
|
|
270
|
+
"gap": "lg",
|
|
271
|
+
"type": "stack",
|
|
272
|
+
"className": "max-w-5xl mx-auto w-full"
|
|
211
273
|
}
|
|
212
274
|
]
|
|
213
275
|
}
|
|
@@ -216,29 +278,55 @@
|
|
|
216
278
|
}
|
|
217
279
|
]
|
|
218
280
|
},
|
|
281
|
+
"scope": "collection"
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"name": "PostCreate",
|
|
285
|
+
"category": "interaction",
|
|
286
|
+
"linkedEntity": "Post",
|
|
219
287
|
"emits": [
|
|
220
288
|
{
|
|
221
|
-
"event": "
|
|
222
|
-
"description": "
|
|
289
|
+
"event": "PostLoaded",
|
|
290
|
+
"description": "Fired when Post finishes loading",
|
|
291
|
+
"scope": "internal",
|
|
223
292
|
"payload": [
|
|
224
293
|
{
|
|
225
294
|
"name": "id",
|
|
226
295
|
"type": "string",
|
|
227
296
|
"required": true
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
"name": "title",
|
|
300
|
+
"type": "string"
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
"name": "content",
|
|
304
|
+
"type": "string"
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"name": "author",
|
|
308
|
+
"type": "string"
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
"name": "createdAt",
|
|
312
|
+
"type": "datetime"
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
"name": "likes",
|
|
316
|
+
"type": "number"
|
|
228
317
|
}
|
|
229
|
-
]
|
|
230
|
-
|
|
231
|
-
}
|
|
232
|
-
]
|
|
233
|
-
},
|
|
234
|
-
{
|
|
235
|
-
"name": "PostCreate",
|
|
236
|
-
"linkedEntity": "Post",
|
|
237
|
-
"category": "interaction",
|
|
238
|
-
"emits": [
|
|
318
|
+
]
|
|
319
|
+
},
|
|
239
320
|
{
|
|
240
|
-
"event": "
|
|
241
|
-
"
|
|
321
|
+
"event": "PostLoadFailed",
|
|
322
|
+
"description": "Fired when Post fails to load",
|
|
323
|
+
"scope": "internal",
|
|
324
|
+
"payload": [
|
|
325
|
+
{
|
|
326
|
+
"name": "message",
|
|
327
|
+
"type": "string"
|
|
328
|
+
}
|
|
329
|
+
]
|
|
242
330
|
}
|
|
243
331
|
],
|
|
244
332
|
"stateMachine": {
|
|
@@ -258,7 +346,7 @@
|
|
|
258
346
|
},
|
|
259
347
|
{
|
|
260
348
|
"key": "CREATE",
|
|
261
|
-
"name": "
|
|
349
|
+
"name": "Create"
|
|
262
350
|
},
|
|
263
351
|
{
|
|
264
352
|
"key": "CLOSE",
|
|
@@ -274,6 +362,20 @@
|
|
|
274
362
|
"required": true
|
|
275
363
|
}
|
|
276
364
|
]
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
"key": "PostLoaded",
|
|
368
|
+
"name": "Post loaded"
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
"key": "PostLoadFailed",
|
|
372
|
+
"name": "Post load failed",
|
|
373
|
+
"payload": [
|
|
374
|
+
{
|
|
375
|
+
"name": "message",
|
|
376
|
+
"type": "string"
|
|
377
|
+
}
|
|
378
|
+
]
|
|
277
379
|
}
|
|
278
380
|
],
|
|
279
381
|
"transitions": [
|
|
@@ -295,30 +397,36 @@
|
|
|
295
397
|
"effects": [
|
|
296
398
|
[
|
|
297
399
|
"fetch",
|
|
298
|
-
"Post"
|
|
400
|
+
"Post",
|
|
401
|
+
{
|
|
402
|
+
"emit": {
|
|
403
|
+
"failure": "PostLoadFailed",
|
|
404
|
+
"success": "PostLoaded"
|
|
405
|
+
}
|
|
406
|
+
}
|
|
299
407
|
],
|
|
300
408
|
[
|
|
301
409
|
"render-ui",
|
|
302
410
|
"modal",
|
|
303
411
|
{
|
|
412
|
+
"gap": "md",
|
|
304
413
|
"type": "stack",
|
|
305
414
|
"direction": "vertical",
|
|
306
|
-
"gap": "md",
|
|
307
415
|
"children": [
|
|
308
416
|
{
|
|
309
|
-
"type": "stack",
|
|
310
417
|
"direction": "horizontal",
|
|
311
418
|
"gap": "sm",
|
|
419
|
+
"type": "stack",
|
|
312
420
|
"children": [
|
|
313
421
|
{
|
|
314
|
-
"type": "icon",
|
|
315
422
|
"name": "plus-circle",
|
|
423
|
+
"type": "icon",
|
|
316
424
|
"size": "md"
|
|
317
425
|
},
|
|
318
426
|
{
|
|
427
|
+
"variant": "h3",
|
|
319
428
|
"type": "typography",
|
|
320
|
-
"content": "Create Post"
|
|
321
|
-
"variant": "h3"
|
|
429
|
+
"content": "Create Post"
|
|
322
430
|
}
|
|
323
431
|
]
|
|
324
432
|
},
|
|
@@ -326,17 +434,17 @@
|
|
|
326
434
|
"type": "divider"
|
|
327
435
|
},
|
|
328
436
|
{
|
|
437
|
+
"mode": "create",
|
|
329
438
|
"type": "form-section",
|
|
330
439
|
"entity": "Post",
|
|
331
|
-
"mode": "create",
|
|
332
|
-
"submitEvent": "SAVE",
|
|
333
440
|
"cancelEvent": "CLOSE",
|
|
334
441
|
"fields": [
|
|
335
442
|
"title",
|
|
336
443
|
"content",
|
|
337
444
|
"author",
|
|
338
445
|
"likes"
|
|
339
|
-
]
|
|
446
|
+
],
|
|
447
|
+
"submitEvent": "SAVE"
|
|
340
448
|
}
|
|
341
449
|
]
|
|
342
450
|
}
|
|
@@ -353,6 +461,13 @@
|
|
|
353
461
|
"modal",
|
|
354
462
|
null
|
|
355
463
|
],
|
|
464
|
+
[
|
|
465
|
+
"render-ui",
|
|
466
|
+
"main",
|
|
467
|
+
{
|
|
468
|
+
"type": "box"
|
|
469
|
+
}
|
|
470
|
+
],
|
|
356
471
|
[
|
|
357
472
|
"notify",
|
|
358
473
|
"Cancelled",
|
|
@@ -375,20 +490,67 @@
|
|
|
375
490
|
"render-ui",
|
|
376
491
|
"modal",
|
|
377
492
|
null
|
|
493
|
+
],
|
|
494
|
+
[
|
|
495
|
+
"render-ui",
|
|
496
|
+
"main",
|
|
497
|
+
{
|
|
498
|
+
"type": "box"
|
|
499
|
+
}
|
|
378
500
|
]
|
|
379
501
|
]
|
|
380
502
|
}
|
|
381
503
|
]
|
|
382
|
-
}
|
|
504
|
+
},
|
|
505
|
+
"scope": "collection"
|
|
383
506
|
},
|
|
384
507
|
{
|
|
385
508
|
"name": "PostView",
|
|
386
|
-
"linkedEntity": "Post",
|
|
387
509
|
"category": "interaction",
|
|
510
|
+
"linkedEntity": "Post",
|
|
388
511
|
"emits": [
|
|
389
512
|
{
|
|
390
|
-
"event": "
|
|
391
|
-
"
|
|
513
|
+
"event": "PostLoaded",
|
|
514
|
+
"description": "Fired when Post finishes loading",
|
|
515
|
+
"scope": "internal",
|
|
516
|
+
"payload": [
|
|
517
|
+
{
|
|
518
|
+
"name": "id",
|
|
519
|
+
"type": "string",
|
|
520
|
+
"required": true
|
|
521
|
+
},
|
|
522
|
+
{
|
|
523
|
+
"name": "title",
|
|
524
|
+
"type": "string"
|
|
525
|
+
},
|
|
526
|
+
{
|
|
527
|
+
"name": "content",
|
|
528
|
+
"type": "string"
|
|
529
|
+
},
|
|
530
|
+
{
|
|
531
|
+
"name": "author",
|
|
532
|
+
"type": "string"
|
|
533
|
+
},
|
|
534
|
+
{
|
|
535
|
+
"name": "createdAt",
|
|
536
|
+
"type": "datetime"
|
|
537
|
+
},
|
|
538
|
+
{
|
|
539
|
+
"name": "likes",
|
|
540
|
+
"type": "number"
|
|
541
|
+
}
|
|
542
|
+
]
|
|
543
|
+
},
|
|
544
|
+
{
|
|
545
|
+
"event": "PostLoadFailed",
|
|
546
|
+
"description": "Fired when Post fails to load",
|
|
547
|
+
"scope": "internal",
|
|
548
|
+
"payload": [
|
|
549
|
+
{
|
|
550
|
+
"name": "message",
|
|
551
|
+
"type": "string"
|
|
552
|
+
}
|
|
553
|
+
]
|
|
392
554
|
}
|
|
393
555
|
],
|
|
394
556
|
"stateMachine": {
|
|
@@ -408,7 +570,7 @@
|
|
|
408
570
|
},
|
|
409
571
|
{
|
|
410
572
|
"key": "VIEW",
|
|
411
|
-
"name": "
|
|
573
|
+
"name": "View",
|
|
412
574
|
"payload": [
|
|
413
575
|
{
|
|
414
576
|
"name": "id",
|
|
@@ -431,6 +593,20 @@
|
|
|
431
593
|
"required": true
|
|
432
594
|
}
|
|
433
595
|
]
|
|
596
|
+
},
|
|
597
|
+
{
|
|
598
|
+
"key": "PostLoaded",
|
|
599
|
+
"name": "Post loaded"
|
|
600
|
+
},
|
|
601
|
+
{
|
|
602
|
+
"key": "PostLoadFailed",
|
|
603
|
+
"name": "Post load failed",
|
|
604
|
+
"payload": [
|
|
605
|
+
{
|
|
606
|
+
"name": "message",
|
|
607
|
+
"type": "string"
|
|
608
|
+
}
|
|
609
|
+
]
|
|
434
610
|
}
|
|
435
611
|
],
|
|
436
612
|
"transitions": [
|
|
@@ -454,109 +630,111 @@
|
|
|
454
630
|
"fetch",
|
|
455
631
|
"Post",
|
|
456
632
|
{
|
|
457
|
-
"id": "@payload.id"
|
|
633
|
+
"id": "@payload.id",
|
|
634
|
+
"emit": {
|
|
635
|
+
"failure": "PostLoadFailed",
|
|
636
|
+
"success": "PostLoaded"
|
|
637
|
+
}
|
|
458
638
|
}
|
|
459
639
|
],
|
|
460
640
|
[
|
|
461
641
|
"render-ui",
|
|
462
642
|
"modal",
|
|
463
643
|
{
|
|
464
|
-
"type": "stack",
|
|
465
|
-
"direction": "vertical",
|
|
466
644
|
"gap": "md",
|
|
645
|
+
"direction": "vertical",
|
|
646
|
+
"type": "stack",
|
|
467
647
|
"children": [
|
|
468
648
|
{
|
|
469
|
-
"type": "stack",
|
|
470
|
-
"direction": "horizontal",
|
|
471
|
-
"gap": "sm",
|
|
472
|
-
"align": "center",
|
|
473
649
|
"children": [
|
|
474
650
|
{
|
|
651
|
+
"size": "md",
|
|
475
652
|
"type": "icon",
|
|
476
|
-
"name": "eye"
|
|
477
|
-
"size": "md"
|
|
653
|
+
"name": "eye"
|
|
478
654
|
},
|
|
479
655
|
{
|
|
480
|
-
"type": "typography",
|
|
481
656
|
"variant": "h3",
|
|
657
|
+
"type": "typography",
|
|
482
658
|
"content": "@entity.title"
|
|
483
659
|
}
|
|
484
|
-
]
|
|
660
|
+
],
|
|
661
|
+
"type": "stack",
|
|
662
|
+
"direction": "horizontal",
|
|
663
|
+
"align": "center",
|
|
664
|
+
"gap": "sm"
|
|
485
665
|
},
|
|
486
666
|
{
|
|
487
667
|
"type": "divider"
|
|
488
668
|
},
|
|
489
669
|
{
|
|
490
|
-
"type": "stack",
|
|
491
|
-
"direction": "horizontal",
|
|
492
670
|
"gap": "md",
|
|
493
671
|
"children": [
|
|
494
672
|
{
|
|
495
|
-
"
|
|
673
|
+
"content": "Title",
|
|
496
674
|
"variant": "caption",
|
|
497
|
-
"
|
|
675
|
+
"type": "typography"
|
|
498
676
|
},
|
|
499
677
|
{
|
|
500
678
|
"type": "typography",
|
|
501
|
-
"
|
|
502
|
-
"
|
|
679
|
+
"content": "@entity.title",
|
|
680
|
+
"variant": "body"
|
|
503
681
|
}
|
|
504
|
-
]
|
|
682
|
+
],
|
|
683
|
+
"type": "stack",
|
|
684
|
+
"direction": "horizontal"
|
|
505
685
|
},
|
|
506
686
|
{
|
|
507
|
-
"type": "stack",
|
|
508
687
|
"direction": "horizontal",
|
|
509
|
-
"gap": "md",
|
|
510
688
|
"children": [
|
|
511
689
|
{
|
|
512
690
|
"type": "typography",
|
|
513
|
-
"
|
|
514
|
-
"
|
|
691
|
+
"content": "Content",
|
|
692
|
+
"variant": "caption"
|
|
515
693
|
},
|
|
516
694
|
{
|
|
517
|
-
"type": "typography",
|
|
518
695
|
"variant": "body",
|
|
696
|
+
"type": "typography",
|
|
519
697
|
"content": "@entity.content"
|
|
520
698
|
}
|
|
521
|
-
]
|
|
699
|
+
],
|
|
700
|
+
"gap": "md",
|
|
701
|
+
"type": "stack"
|
|
522
702
|
},
|
|
523
703
|
{
|
|
524
704
|
"type": "stack",
|
|
525
|
-
"direction": "horizontal",
|
|
526
|
-
"gap": "md",
|
|
527
705
|
"children": [
|
|
528
706
|
{
|
|
529
|
-
"type": "typography",
|
|
530
707
|
"variant": "caption",
|
|
531
|
-
"content": "Author"
|
|
708
|
+
"content": "Author",
|
|
709
|
+
"type": "typography"
|
|
532
710
|
},
|
|
533
711
|
{
|
|
534
712
|
"type": "typography",
|
|
535
713
|
"variant": "body",
|
|
536
714
|
"content": "@entity.author"
|
|
537
715
|
}
|
|
538
|
-
]
|
|
716
|
+
],
|
|
717
|
+
"gap": "md",
|
|
718
|
+
"direction": "horizontal"
|
|
539
719
|
},
|
|
540
720
|
{
|
|
541
|
-
"type": "stack",
|
|
542
|
-
"direction": "horizontal",
|
|
543
721
|
"gap": "md",
|
|
722
|
+
"type": "stack",
|
|
544
723
|
"children": [
|
|
545
724
|
{
|
|
725
|
+
"content": "Created At",
|
|
546
726
|
"type": "typography",
|
|
547
|
-
"variant": "caption"
|
|
548
|
-
"content": "Created At"
|
|
727
|
+
"variant": "caption"
|
|
549
728
|
},
|
|
550
729
|
{
|
|
551
730
|
"type": "typography",
|
|
552
731
|
"variant": "body",
|
|
553
732
|
"content": "@entity.createdAt"
|
|
554
733
|
}
|
|
555
|
-
]
|
|
734
|
+
],
|
|
735
|
+
"direction": "horizontal"
|
|
556
736
|
},
|
|
557
737
|
{
|
|
558
|
-
"type": "stack",
|
|
559
|
-
"direction": "horizontal",
|
|
560
738
|
"gap": "md",
|
|
561
739
|
"children": [
|
|
562
740
|
{
|
|
@@ -565,11 +743,13 @@
|
|
|
565
743
|
"content": "Likes"
|
|
566
744
|
},
|
|
567
745
|
{
|
|
568
|
-
"type": "typography",
|
|
569
746
|
"variant": "body",
|
|
747
|
+
"type": "typography",
|
|
570
748
|
"content": "@entity.likes"
|
|
571
749
|
}
|
|
572
|
-
]
|
|
750
|
+
],
|
|
751
|
+
"direction": "horizontal",
|
|
752
|
+
"type": "stack"
|
|
573
753
|
},
|
|
574
754
|
{
|
|
575
755
|
"type": "divider"
|
|
@@ -577,16 +757,16 @@
|
|
|
577
757
|
{
|
|
578
758
|
"type": "stack",
|
|
579
759
|
"direction": "horizontal",
|
|
580
|
-
"gap": "sm",
|
|
581
|
-
"justify": "end",
|
|
582
760
|
"children": [
|
|
583
761
|
{
|
|
584
|
-
"type": "button",
|
|
585
|
-
"label": "Close",
|
|
586
762
|
"event": "CLOSE",
|
|
587
|
-
"
|
|
763
|
+
"label": "Close",
|
|
764
|
+
"variant": "ghost",
|
|
765
|
+
"type": "button"
|
|
588
766
|
}
|
|
589
|
-
]
|
|
767
|
+
],
|
|
768
|
+
"gap": "sm",
|
|
769
|
+
"justify": "end"
|
|
590
770
|
}
|
|
591
771
|
]
|
|
592
772
|
}
|
|
@@ -603,6 +783,13 @@
|
|
|
603
783
|
"modal",
|
|
604
784
|
null
|
|
605
785
|
],
|
|
786
|
+
[
|
|
787
|
+
"render-ui",
|
|
788
|
+
"main",
|
|
789
|
+
{
|
|
790
|
+
"type": "box"
|
|
791
|
+
}
|
|
792
|
+
],
|
|
606
793
|
[
|
|
607
794
|
"notify",
|
|
608
795
|
"Cancelled",
|
|
@@ -619,18 +806,25 @@
|
|
|
619
806
|
"render-ui",
|
|
620
807
|
"modal",
|
|
621
808
|
null
|
|
809
|
+
],
|
|
810
|
+
[
|
|
811
|
+
"render-ui",
|
|
812
|
+
"main",
|
|
813
|
+
{
|
|
814
|
+
"type": "box"
|
|
815
|
+
}
|
|
622
816
|
]
|
|
623
817
|
]
|
|
624
818
|
}
|
|
625
819
|
]
|
|
626
|
-
}
|
|
820
|
+
},
|
|
821
|
+
"scope": "collection"
|
|
627
822
|
}
|
|
628
823
|
],
|
|
629
824
|
"pages": [
|
|
630
825
|
{
|
|
631
826
|
"name": "FeedPage",
|
|
632
827
|
"path": "/feed",
|
|
633
|
-
"isInitial": true,
|
|
634
828
|
"traits": [
|
|
635
829
|
{
|
|
636
830
|
"ref": "PostBrowse"
|
|
@@ -658,8 +852,7 @@
|
|
|
658
852
|
},
|
|
659
853
|
{
|
|
660
854
|
"name": "body",
|
|
661
|
-
"type": "string"
|
|
662
|
-
"default": ""
|
|
855
|
+
"type": "string"
|
|
663
856
|
},
|
|
664
857
|
{
|
|
665
858
|
"name": "author",
|
|
@@ -668,12 +861,11 @@
|
|
|
668
861
|
},
|
|
669
862
|
{
|
|
670
863
|
"name": "postId",
|
|
671
|
-
"type": "string"
|
|
672
|
-
"default": ""
|
|
864
|
+
"type": "string"
|
|
673
865
|
},
|
|
674
866
|
{
|
|
675
867
|
"name": "createdAt",
|
|
676
|
-
"type": "
|
|
868
|
+
"type": "datetime",
|
|
677
869
|
"default": ""
|
|
678
870
|
}
|
|
679
871
|
]
|
|
@@ -681,18 +873,64 @@
|
|
|
681
873
|
"traits": [
|
|
682
874
|
{
|
|
683
875
|
"name": "CommentBrowse",
|
|
684
|
-
"linkedEntity": "Comment",
|
|
685
876
|
"category": "interaction",
|
|
877
|
+
"linkedEntity": "Comment",
|
|
878
|
+
"emits": [
|
|
879
|
+
{
|
|
880
|
+
"event": "CommentLoaded",
|
|
881
|
+
"description": "Fired when Comment finishes loading",
|
|
882
|
+
"scope": "internal",
|
|
883
|
+
"payload": [
|
|
884
|
+
{
|
|
885
|
+
"name": "id",
|
|
886
|
+
"type": "string",
|
|
887
|
+
"required": true
|
|
888
|
+
},
|
|
889
|
+
{
|
|
890
|
+
"name": "body",
|
|
891
|
+
"type": "string"
|
|
892
|
+
},
|
|
893
|
+
{
|
|
894
|
+
"name": "author",
|
|
895
|
+
"type": "string"
|
|
896
|
+
},
|
|
897
|
+
{
|
|
898
|
+
"name": "postId",
|
|
899
|
+
"type": "string"
|
|
900
|
+
},
|
|
901
|
+
{
|
|
902
|
+
"name": "createdAt",
|
|
903
|
+
"type": "datetime"
|
|
904
|
+
}
|
|
905
|
+
]
|
|
906
|
+
},
|
|
907
|
+
{
|
|
908
|
+
"event": "CommentLoadFailed",
|
|
909
|
+
"description": "Fired when Comment fails to load",
|
|
910
|
+
"scope": "internal",
|
|
911
|
+
"payload": [
|
|
912
|
+
{
|
|
913
|
+
"name": "message",
|
|
914
|
+
"type": "string"
|
|
915
|
+
}
|
|
916
|
+
]
|
|
917
|
+
}
|
|
918
|
+
],
|
|
686
919
|
"listens": [
|
|
687
920
|
{
|
|
688
921
|
"event": "SEND",
|
|
689
922
|
"triggers": "INIT",
|
|
690
|
-
"
|
|
923
|
+
"source": {
|
|
924
|
+
"kind": "trait",
|
|
925
|
+
"trait": "CommentCompose"
|
|
926
|
+
}
|
|
691
927
|
},
|
|
692
928
|
{
|
|
693
929
|
"event": "COMMENT",
|
|
694
930
|
"triggers": "INIT",
|
|
695
|
-
"
|
|
931
|
+
"source": {
|
|
932
|
+
"kind": "any"
|
|
933
|
+
}
|
|
696
934
|
}
|
|
697
935
|
],
|
|
698
936
|
"stateMachine": {
|
|
@@ -708,21 +946,16 @@
|
|
|
708
946
|
"name": "Initialize"
|
|
709
947
|
},
|
|
710
948
|
{
|
|
711
|
-
"key": "
|
|
712
|
-
"name": "
|
|
949
|
+
"key": "CommentLoaded",
|
|
950
|
+
"name": "Comment loaded"
|
|
713
951
|
},
|
|
714
952
|
{
|
|
715
|
-
"key": "
|
|
716
|
-
"name": "
|
|
953
|
+
"key": "CommentLoadFailed",
|
|
954
|
+
"name": "Comment load failed",
|
|
717
955
|
"payload": [
|
|
718
956
|
{
|
|
719
|
-
"name": "
|
|
720
|
-
"type": "string"
|
|
721
|
-
"required": true
|
|
722
|
-
},
|
|
723
|
-
{
|
|
724
|
-
"name": "row",
|
|
725
|
-
"type": "object"
|
|
957
|
+
"name": "message",
|
|
958
|
+
"type": "string"
|
|
726
959
|
}
|
|
727
960
|
]
|
|
728
961
|
}
|
|
@@ -741,13 +974,13 @@
|
|
|
741
974
|
"render-ui",
|
|
742
975
|
"main",
|
|
743
976
|
{
|
|
744
|
-
"type": "dashboard-layout",
|
|
745
977
|
"appName": "SocialFeed",
|
|
978
|
+
"type": "dashboard-layout",
|
|
746
979
|
"navItems": [
|
|
747
980
|
{
|
|
748
|
-
"
|
|
981
|
+
"icon": "layout-list",
|
|
749
982
|
"href": "/feed",
|
|
750
|
-
"
|
|
983
|
+
"label": "Feed"
|
|
751
984
|
},
|
|
752
985
|
{
|
|
753
986
|
"label": "Messages",
|
|
@@ -757,69 +990,59 @@
|
|
|
757
990
|
],
|
|
758
991
|
"children": [
|
|
759
992
|
{
|
|
993
|
+
"gap": "lg",
|
|
760
994
|
"type": "stack",
|
|
761
995
|
"direction": "vertical",
|
|
762
|
-
"gap": "lg",
|
|
763
996
|
"className": "max-w-5xl mx-auto w-full",
|
|
764
997
|
"children": [
|
|
765
998
|
{
|
|
766
|
-
"type": "stack",
|
|
767
|
-
"direction": "horizontal",
|
|
768
|
-
"gap": "md",
|
|
769
|
-
"justify": "space-between",
|
|
770
999
|
"align": "center",
|
|
1000
|
+
"justify": "space-between",
|
|
1001
|
+
"type": "stack",
|
|
771
1002
|
"children": [
|
|
772
1003
|
{
|
|
773
|
-
"type": "stack",
|
|
774
1004
|
"direction": "horizontal",
|
|
775
|
-
"gap": "sm",
|
|
776
1005
|
"align": "center",
|
|
1006
|
+
"gap": "sm",
|
|
777
1007
|
"children": [
|
|
778
1008
|
{
|
|
779
|
-
"type": "icon",
|
|
780
1009
|
"name": "message-circle",
|
|
781
|
-
"size": "lg"
|
|
1010
|
+
"size": "lg",
|
|
1011
|
+
"type": "icon"
|
|
782
1012
|
},
|
|
783
1013
|
{
|
|
784
1014
|
"type": "typography",
|
|
785
1015
|
"content": "Messages",
|
|
786
1016
|
"variant": "h2"
|
|
787
1017
|
}
|
|
788
|
-
]
|
|
1018
|
+
],
|
|
1019
|
+
"type": "stack"
|
|
789
1020
|
},
|
|
790
1021
|
{
|
|
791
|
-
"type": "stack",
|
|
792
1022
|
"direction": "horizontal",
|
|
1023
|
+
"type": "stack",
|
|
793
1024
|
"gap": "sm",
|
|
794
1025
|
"children": [
|
|
795
1026
|
{
|
|
796
|
-
"
|
|
1027
|
+
"variant": "primary",
|
|
797
1028
|
"label": "Compose",
|
|
1029
|
+
"type": "button",
|
|
798
1030
|
"event": "COMPOSE",
|
|
799
|
-
"variant": "primary",
|
|
800
1031
|
"icon": "edit"
|
|
801
1032
|
}
|
|
802
1033
|
]
|
|
803
1034
|
}
|
|
804
|
-
]
|
|
1035
|
+
],
|
|
1036
|
+
"direction": "horizontal",
|
|
1037
|
+
"gap": "md"
|
|
805
1038
|
},
|
|
806
1039
|
{
|
|
807
1040
|
"type": "divider"
|
|
808
1041
|
},
|
|
809
1042
|
{
|
|
810
1043
|
"type": "data-list",
|
|
811
|
-
"entity": "Comment",
|
|
812
1044
|
"emptyIcon": "inbox",
|
|
813
|
-
"
|
|
814
|
-
"emptyDescription": "Start a new conversation.",
|
|
815
|
-
"itemActions": [
|
|
816
|
-
{
|
|
817
|
-
"label": "View",
|
|
818
|
-
"event": "VIEW",
|
|
819
|
-
"variant": "ghost",
|
|
820
|
-
"size": "sm"
|
|
821
|
-
}
|
|
822
|
-
],
|
|
1045
|
+
"gap": "sm",
|
|
823
1046
|
"columns": [
|
|
824
1047
|
{
|
|
825
1048
|
"name": "author",
|
|
@@ -832,12 +1055,22 @@
|
|
|
832
1055
|
},
|
|
833
1056
|
{
|
|
834
1057
|
"name": "createdAt",
|
|
835
|
-
"
|
|
836
|
-
"
|
|
1058
|
+
"format": "date",
|
|
1059
|
+
"variant": "caption"
|
|
837
1060
|
}
|
|
838
1061
|
],
|
|
839
|
-
"
|
|
840
|
-
|
|
1062
|
+
"itemActions": [
|
|
1063
|
+
{
|
|
1064
|
+
"variant": "ghost",
|
|
1065
|
+
"event": "VIEW",
|
|
1066
|
+
"label": "View",
|
|
1067
|
+
"size": "sm"
|
|
1068
|
+
}
|
|
1069
|
+
],
|
|
1070
|
+
"entity": "Comment",
|
|
1071
|
+
"emptyDescription": "Start a new conversation.",
|
|
1072
|
+
"emptyTitle": "No messages yet",
|
|
1073
|
+
"variant": "card"
|
|
841
1074
|
}
|
|
842
1075
|
]
|
|
843
1076
|
}
|
|
@@ -847,16 +1080,55 @@
|
|
|
847
1080
|
]
|
|
848
1081
|
}
|
|
849
1082
|
]
|
|
850
|
-
}
|
|
1083
|
+
},
|
|
1084
|
+
"scope": "collection"
|
|
851
1085
|
},
|
|
852
1086
|
{
|
|
853
1087
|
"name": "CommentCompose",
|
|
854
|
-
"linkedEntity": "Comment",
|
|
855
1088
|
"category": "interaction",
|
|
1089
|
+
"linkedEntity": "Comment",
|
|
856
1090
|
"emits": [
|
|
857
1091
|
{
|
|
858
|
-
"event": "SEND"
|
|
859
|
-
|
|
1092
|
+
"event": "SEND"
|
|
1093
|
+
},
|
|
1094
|
+
{
|
|
1095
|
+
"event": "CommentLoaded",
|
|
1096
|
+
"description": "Fired when Comment finishes loading",
|
|
1097
|
+
"scope": "internal",
|
|
1098
|
+
"payload": [
|
|
1099
|
+
{
|
|
1100
|
+
"name": "id",
|
|
1101
|
+
"type": "string",
|
|
1102
|
+
"required": true
|
|
1103
|
+
},
|
|
1104
|
+
{
|
|
1105
|
+
"name": "body",
|
|
1106
|
+
"type": "string"
|
|
1107
|
+
},
|
|
1108
|
+
{
|
|
1109
|
+
"name": "author",
|
|
1110
|
+
"type": "string"
|
|
1111
|
+
},
|
|
1112
|
+
{
|
|
1113
|
+
"name": "postId",
|
|
1114
|
+
"type": "string"
|
|
1115
|
+
},
|
|
1116
|
+
{
|
|
1117
|
+
"name": "createdAt",
|
|
1118
|
+
"type": "datetime"
|
|
1119
|
+
}
|
|
1120
|
+
]
|
|
1121
|
+
},
|
|
1122
|
+
{
|
|
1123
|
+
"event": "CommentLoadFailed",
|
|
1124
|
+
"description": "Fired when Comment fails to load",
|
|
1125
|
+
"scope": "internal",
|
|
1126
|
+
"payload": [
|
|
1127
|
+
{
|
|
1128
|
+
"name": "message",
|
|
1129
|
+
"type": "string"
|
|
1130
|
+
}
|
|
1131
|
+
]
|
|
860
1132
|
}
|
|
861
1133
|
],
|
|
862
1134
|
"stateMachine": {
|
|
@@ -876,7 +1148,7 @@
|
|
|
876
1148
|
},
|
|
877
1149
|
{
|
|
878
1150
|
"key": "COMPOSE",
|
|
879
|
-
"name": "
|
|
1151
|
+
"name": "Compose"
|
|
880
1152
|
},
|
|
881
1153
|
{
|
|
882
1154
|
"key": "CLOSE",
|
|
@@ -884,12 +1156,25 @@
|
|
|
884
1156
|
},
|
|
885
1157
|
{
|
|
886
1158
|
"key": "SEND",
|
|
887
|
-
"name": "
|
|
1159
|
+
"name": "Send",
|
|
888
1160
|
"payload": [
|
|
889
1161
|
{
|
|
890
1162
|
"name": "data",
|
|
891
|
-
"type": "
|
|
892
|
-
|
|
1163
|
+
"type": "string"
|
|
1164
|
+
}
|
|
1165
|
+
]
|
|
1166
|
+
},
|
|
1167
|
+
{
|
|
1168
|
+
"key": "CommentLoaded",
|
|
1169
|
+
"name": "Comment loaded"
|
|
1170
|
+
},
|
|
1171
|
+
{
|
|
1172
|
+
"key": "CommentLoadFailed",
|
|
1173
|
+
"name": "Comment load failed",
|
|
1174
|
+
"payload": [
|
|
1175
|
+
{
|
|
1176
|
+
"name": "message",
|
|
1177
|
+
"type": "string"
|
|
893
1178
|
}
|
|
894
1179
|
]
|
|
895
1180
|
}
|
|
@@ -916,23 +1201,21 @@
|
|
|
916
1201
|
"modal",
|
|
917
1202
|
{
|
|
918
1203
|
"type": "stack",
|
|
919
|
-
"direction": "vertical",
|
|
920
|
-
"gap": "md",
|
|
921
1204
|
"children": [
|
|
922
1205
|
{
|
|
923
1206
|
"type": "stack",
|
|
924
|
-
"direction": "horizontal",
|
|
925
1207
|
"gap": "sm",
|
|
1208
|
+
"direction": "horizontal",
|
|
926
1209
|
"children": [
|
|
927
1210
|
{
|
|
1211
|
+
"size": "md",
|
|
928
1212
|
"type": "icon",
|
|
929
|
-
"name": "edit"
|
|
930
|
-
"size": "md"
|
|
1213
|
+
"name": "edit"
|
|
931
1214
|
},
|
|
932
1215
|
{
|
|
1216
|
+
"variant": "h3",
|
|
933
1217
|
"type": "typography",
|
|
934
|
-
"content": "New Comment"
|
|
935
|
-
"variant": "h3"
|
|
1218
|
+
"content": "New Comment"
|
|
936
1219
|
}
|
|
937
1220
|
]
|
|
938
1221
|
},
|
|
@@ -940,18 +1223,20 @@
|
|
|
940
1223
|
"type": "divider"
|
|
941
1224
|
},
|
|
942
1225
|
{
|
|
943
|
-
"type": "form-section",
|
|
944
|
-
"entity": "Comment",
|
|
945
|
-
"mode": "create",
|
|
946
|
-
"submitEvent": "SEND",
|
|
947
1226
|
"cancelEvent": "CLOSE",
|
|
948
1227
|
"fields": [
|
|
949
1228
|
"body",
|
|
950
1229
|
"author",
|
|
951
1230
|
"postId"
|
|
952
|
-
]
|
|
1231
|
+
],
|
|
1232
|
+
"mode": "create",
|
|
1233
|
+
"entity": "Comment",
|
|
1234
|
+
"submitEvent": "SEND",
|
|
1235
|
+
"type": "form-section"
|
|
953
1236
|
}
|
|
954
|
-
]
|
|
1237
|
+
],
|
|
1238
|
+
"gap": "md",
|
|
1239
|
+
"direction": "vertical"
|
|
955
1240
|
}
|
|
956
1241
|
]
|
|
957
1242
|
]
|
|
@@ -966,6 +1251,13 @@
|
|
|
966
1251
|
"modal",
|
|
967
1252
|
null
|
|
968
1253
|
],
|
|
1254
|
+
[
|
|
1255
|
+
"render-ui",
|
|
1256
|
+
"main",
|
|
1257
|
+
{
|
|
1258
|
+
"type": "box"
|
|
1259
|
+
}
|
|
1260
|
+
],
|
|
969
1261
|
[
|
|
970
1262
|
"notify",
|
|
971
1263
|
"Cancelled",
|
|
@@ -988,20 +1280,63 @@
|
|
|
988
1280
|
"render-ui",
|
|
989
1281
|
"modal",
|
|
990
1282
|
null
|
|
1283
|
+
],
|
|
1284
|
+
[
|
|
1285
|
+
"render-ui",
|
|
1286
|
+
"main",
|
|
1287
|
+
{
|
|
1288
|
+
"type": "box"
|
|
1289
|
+
}
|
|
991
1290
|
]
|
|
992
1291
|
]
|
|
993
1292
|
}
|
|
994
1293
|
]
|
|
995
|
-
}
|
|
1294
|
+
},
|
|
1295
|
+
"scope": "collection"
|
|
996
1296
|
},
|
|
997
1297
|
{
|
|
998
1298
|
"name": "CommentView",
|
|
999
|
-
"linkedEntity": "Comment",
|
|
1000
1299
|
"category": "interaction",
|
|
1300
|
+
"linkedEntity": "Comment",
|
|
1001
1301
|
"emits": [
|
|
1002
1302
|
{
|
|
1003
|
-
"event": "
|
|
1004
|
-
"
|
|
1303
|
+
"event": "CommentLoaded",
|
|
1304
|
+
"description": "Fired when Comment finishes loading",
|
|
1305
|
+
"scope": "internal",
|
|
1306
|
+
"payload": [
|
|
1307
|
+
{
|
|
1308
|
+
"name": "id",
|
|
1309
|
+
"type": "string",
|
|
1310
|
+
"required": true
|
|
1311
|
+
},
|
|
1312
|
+
{
|
|
1313
|
+
"name": "body",
|
|
1314
|
+
"type": "string"
|
|
1315
|
+
},
|
|
1316
|
+
{
|
|
1317
|
+
"name": "author",
|
|
1318
|
+
"type": "string"
|
|
1319
|
+
},
|
|
1320
|
+
{
|
|
1321
|
+
"name": "postId",
|
|
1322
|
+
"type": "string"
|
|
1323
|
+
},
|
|
1324
|
+
{
|
|
1325
|
+
"name": "createdAt",
|
|
1326
|
+
"type": "datetime"
|
|
1327
|
+
}
|
|
1328
|
+
]
|
|
1329
|
+
},
|
|
1330
|
+
{
|
|
1331
|
+
"event": "CommentLoadFailed",
|
|
1332
|
+
"description": "Fired when Comment fails to load",
|
|
1333
|
+
"scope": "internal",
|
|
1334
|
+
"payload": [
|
|
1335
|
+
{
|
|
1336
|
+
"name": "message",
|
|
1337
|
+
"type": "string"
|
|
1338
|
+
}
|
|
1339
|
+
]
|
|
1005
1340
|
}
|
|
1006
1341
|
],
|
|
1007
1342
|
"stateMachine": {
|
|
@@ -1021,12 +1356,11 @@
|
|
|
1021
1356
|
},
|
|
1022
1357
|
{
|
|
1023
1358
|
"key": "VIEW",
|
|
1024
|
-
"name": "
|
|
1359
|
+
"name": "View",
|
|
1025
1360
|
"payload": [
|
|
1026
1361
|
{
|
|
1027
1362
|
"name": "id",
|
|
1028
|
-
"type": "string"
|
|
1029
|
-
"required": true
|
|
1363
|
+
"type": "string"
|
|
1030
1364
|
}
|
|
1031
1365
|
]
|
|
1032
1366
|
},
|
|
@@ -1036,12 +1370,19 @@
|
|
|
1036
1370
|
},
|
|
1037
1371
|
{
|
|
1038
1372
|
"key": "SAVE",
|
|
1039
|
-
"name": "Save"
|
|
1373
|
+
"name": "Save"
|
|
1374
|
+
},
|
|
1375
|
+
{
|
|
1376
|
+
"key": "CommentLoaded",
|
|
1377
|
+
"name": "Comment loaded"
|
|
1378
|
+
},
|
|
1379
|
+
{
|
|
1380
|
+
"key": "CommentLoadFailed",
|
|
1381
|
+
"name": "Comment load failed",
|
|
1040
1382
|
"payload": [
|
|
1041
1383
|
{
|
|
1042
|
-
"name": "
|
|
1043
|
-
"type": "
|
|
1044
|
-
"required": true
|
|
1384
|
+
"name": "message",
|
|
1385
|
+
"type": "string"
|
|
1045
1386
|
}
|
|
1046
1387
|
]
|
|
1047
1388
|
}
|
|
@@ -1067,34 +1408,35 @@
|
|
|
1067
1408
|
"fetch",
|
|
1068
1409
|
"Comment",
|
|
1069
1410
|
{
|
|
1070
|
-
"id": "@payload.id"
|
|
1411
|
+
"id": "@payload.id",
|
|
1412
|
+
"emit": {
|
|
1413
|
+
"success": "CommentLoaded",
|
|
1414
|
+
"failure": "CommentLoadFailed"
|
|
1415
|
+
}
|
|
1071
1416
|
}
|
|
1072
1417
|
],
|
|
1073
1418
|
[
|
|
1074
1419
|
"render-ui",
|
|
1075
1420
|
"modal",
|
|
1076
1421
|
{
|
|
1077
|
-
"type": "stack",
|
|
1078
|
-
"direction": "vertical",
|
|
1079
|
-
"gap": "md",
|
|
1080
1422
|
"children": [
|
|
1081
1423
|
{
|
|
1082
|
-
"type": "stack",
|
|
1083
|
-
"direction": "horizontal",
|
|
1084
|
-
"gap": "sm",
|
|
1085
|
-
"align": "center",
|
|
1086
1424
|
"children": [
|
|
1087
1425
|
{
|
|
1088
|
-
"type": "icon",
|
|
1089
1426
|
"name": "eye",
|
|
1090
|
-
"size": "md"
|
|
1427
|
+
"size": "md",
|
|
1428
|
+
"type": "icon"
|
|
1091
1429
|
},
|
|
1092
1430
|
{
|
|
1093
1431
|
"type": "typography",
|
|
1094
1432
|
"variant": "h3",
|
|
1095
1433
|
"content": "@entity.body"
|
|
1096
1434
|
}
|
|
1097
|
-
]
|
|
1435
|
+
],
|
|
1436
|
+
"align": "center",
|
|
1437
|
+
"type": "stack",
|
|
1438
|
+
"gap": "sm",
|
|
1439
|
+
"direction": "horizontal"
|
|
1098
1440
|
},
|
|
1099
1441
|
{
|
|
1100
1442
|
"type": "divider"
|
|
@@ -1102,68 +1444,68 @@
|
|
|
1102
1444
|
{
|
|
1103
1445
|
"type": "stack",
|
|
1104
1446
|
"direction": "horizontal",
|
|
1105
|
-
"gap": "md",
|
|
1106
1447
|
"children": [
|
|
1107
1448
|
{
|
|
1108
|
-
"type": "typography",
|
|
1109
1449
|
"variant": "caption",
|
|
1110
|
-
"content": "Body"
|
|
1450
|
+
"content": "Body",
|
|
1451
|
+
"type": "typography"
|
|
1111
1452
|
},
|
|
1112
1453
|
{
|
|
1454
|
+
"content": "@entity.body",
|
|
1113
1455
|
"type": "typography",
|
|
1114
|
-
"variant": "body"
|
|
1115
|
-
"content": "@entity.body"
|
|
1456
|
+
"variant": "body"
|
|
1116
1457
|
}
|
|
1117
|
-
]
|
|
1458
|
+
],
|
|
1459
|
+
"gap": "md"
|
|
1118
1460
|
},
|
|
1119
1461
|
{
|
|
1120
|
-
"type": "stack",
|
|
1121
|
-
"direction": "horizontal",
|
|
1122
|
-
"gap": "md",
|
|
1123
1462
|
"children": [
|
|
1124
1463
|
{
|
|
1125
|
-
"type": "typography",
|
|
1126
1464
|
"variant": "caption",
|
|
1127
|
-
"content": "Author"
|
|
1465
|
+
"content": "Author",
|
|
1466
|
+
"type": "typography"
|
|
1128
1467
|
},
|
|
1129
1468
|
{
|
|
1130
|
-
"
|
|
1469
|
+
"content": "@entity.author",
|
|
1131
1470
|
"variant": "body",
|
|
1132
|
-
"
|
|
1471
|
+
"type": "typography"
|
|
1133
1472
|
}
|
|
1134
|
-
]
|
|
1473
|
+
],
|
|
1474
|
+
"type": "stack",
|
|
1475
|
+
"gap": "md",
|
|
1476
|
+
"direction": "horizontal"
|
|
1135
1477
|
},
|
|
1136
1478
|
{
|
|
1137
|
-
"type": "stack",
|
|
1138
1479
|
"direction": "horizontal",
|
|
1139
|
-
"gap": "md",
|
|
1140
1480
|
"children": [
|
|
1141
1481
|
{
|
|
1142
|
-
"type": "typography",
|
|
1143
1482
|
"variant": "caption",
|
|
1144
|
-
"content": "Post ID"
|
|
1483
|
+
"content": "Post ID",
|
|
1484
|
+
"type": "typography"
|
|
1145
1485
|
},
|
|
1146
1486
|
{
|
|
1147
1487
|
"type": "typography",
|
|
1148
|
-
"
|
|
1149
|
-
"
|
|
1488
|
+
"content": "@entity.postId",
|
|
1489
|
+
"variant": "body"
|
|
1150
1490
|
}
|
|
1151
|
-
]
|
|
1491
|
+
],
|
|
1492
|
+
"type": "stack",
|
|
1493
|
+
"gap": "md"
|
|
1152
1494
|
},
|
|
1153
1495
|
{
|
|
1154
|
-
"type": "stack",
|
|
1155
1496
|
"direction": "horizontal",
|
|
1156
1497
|
"gap": "md",
|
|
1498
|
+
"type": "stack",
|
|
1157
1499
|
"children": [
|
|
1158
1500
|
{
|
|
1501
|
+
"content": "Created At",
|
|
1159
1502
|
"type": "typography",
|
|
1160
|
-
"variant": "caption"
|
|
1161
|
-
"content": "Created At"
|
|
1503
|
+
"variant": "caption"
|
|
1162
1504
|
},
|
|
1163
1505
|
{
|
|
1164
|
-
"
|
|
1506
|
+
"content": "@entity.createdAt",
|
|
1165
1507
|
"variant": "body",
|
|
1166
|
-
"
|
|
1508
|
+
"type": "typography"
|
|
1167
1509
|
}
|
|
1168
1510
|
]
|
|
1169
1511
|
},
|
|
@@ -1171,20 +1513,23 @@
|
|
|
1171
1513
|
"type": "divider"
|
|
1172
1514
|
},
|
|
1173
1515
|
{
|
|
1174
|
-
"type": "stack",
|
|
1175
|
-
"direction": "horizontal",
|
|
1176
1516
|
"gap": "sm",
|
|
1177
1517
|
"justify": "end",
|
|
1518
|
+
"type": "stack",
|
|
1519
|
+
"direction": "horizontal",
|
|
1178
1520
|
"children": [
|
|
1179
1521
|
{
|
|
1180
1522
|
"type": "button",
|
|
1181
|
-
"
|
|
1523
|
+
"variant": "ghost",
|
|
1182
1524
|
"event": "CLOSE",
|
|
1183
|
-
"
|
|
1525
|
+
"label": "Close"
|
|
1184
1526
|
}
|
|
1185
1527
|
]
|
|
1186
1528
|
}
|
|
1187
|
-
]
|
|
1529
|
+
],
|
|
1530
|
+
"type": "stack",
|
|
1531
|
+
"gap": "md",
|
|
1532
|
+
"direction": "vertical"
|
|
1188
1533
|
}
|
|
1189
1534
|
]
|
|
1190
1535
|
]
|
|
@@ -1199,6 +1544,13 @@
|
|
|
1199
1544
|
"modal",
|
|
1200
1545
|
null
|
|
1201
1546
|
],
|
|
1547
|
+
[
|
|
1548
|
+
"render-ui",
|
|
1549
|
+
"main",
|
|
1550
|
+
{
|
|
1551
|
+
"type": "box"
|
|
1552
|
+
}
|
|
1553
|
+
],
|
|
1202
1554
|
[
|
|
1203
1555
|
"notify",
|
|
1204
1556
|
"Cancelled",
|
|
@@ -1215,16 +1567,24 @@
|
|
|
1215
1567
|
"render-ui",
|
|
1216
1568
|
"modal",
|
|
1217
1569
|
null
|
|
1570
|
+
],
|
|
1571
|
+
[
|
|
1572
|
+
"render-ui",
|
|
1573
|
+
"main",
|
|
1574
|
+
{
|
|
1575
|
+
"type": "box"
|
|
1576
|
+
}
|
|
1218
1577
|
]
|
|
1219
1578
|
]
|
|
1220
1579
|
}
|
|
1221
1580
|
]
|
|
1222
|
-
}
|
|
1581
|
+
},
|
|
1582
|
+
"scope": "collection"
|
|
1223
1583
|
}
|
|
1224
1584
|
],
|
|
1225
1585
|
"pages": [
|
|
1226
1586
|
{
|
|
1227
|
-
"name": "
|
|
1587
|
+
"name": "Messages",
|
|
1228
1588
|
"path": "/messages",
|
|
1229
1589
|
"traits": [
|
|
1230
1590
|
{
|
|
@@ -1241,4 +1601,4 @@
|
|
|
1241
1601
|
]
|
|
1242
1602
|
}
|
|
1243
1603
|
]
|
|
1244
|
-
}
|
|
1604
|
+
}
|