@almadar/std 8.5.1 → 9.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/behaviors/registry/agent/atoms/std-agent-activity-log.orb +97 -97
- package/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +129 -129
- package/behaviors/registry/agent/atoms/std-agent-classifier.orb +127 -127
- package/behaviors/registry/agent/atoms/std-agent-completion.orb +133 -133
- package/behaviors/registry/agent/atoms/std-agent-context-window.orb +419 -419
- package/behaviors/registry/agent/atoms/std-agent-conversation.orb +100 -100
- package/behaviors/registry/agent/atoms/std-agent-memory.orb +112 -112
- package/behaviors/registry/agent/atoms/std-agent-provider.orb +138 -138
- package/behaviors/registry/agent/atoms/std-agent-search.orb +78 -78
- package/behaviors/registry/agent/atoms/std-agent-session.orb +171 -171
- package/behaviors/registry/agent/atoms/std-agent-step-progress.orb +202 -202
- package/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +358 -358
- package/behaviors/registry/agent/atoms/std-agent-tool-call.orb +79 -79
- package/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +204 -204
- package/behaviors/registry/agent/molecules/std-agent-learner.orb +190 -190
- package/behaviors/registry/agent/molecules/std-agent-planner.orb +152 -152
- package/behaviors/registry/agent/molecules/std-agent-rag.orb +115 -115
- package/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +188 -188
- package/behaviors/registry/agent/organisms/std-agent-assistant.orb +1219 -1219
- package/behaviors/registry/agent/organisms/std-agent-builder.orb +2995 -2995
- package/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2285 -2285
- package/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1063 -1063
- package/behaviors/registry/agent/organisms/std-agent-tutor.orb +876 -876
- package/behaviors/registry/app/organisms/std-api-gateway.orb +840 -840
- package/behaviors/registry/app/organisms/std-booking-system.orb +1248 -1248
- package/behaviors/registry/app/organisms/std-cicd-pipeline.orb +816 -816
- package/behaviors/registry/app/organisms/std-cms.orb +587 -587
- package/behaviors/registry/app/organisms/std-coding-academy.orb +416 -416
- package/behaviors/registry/app/organisms/std-crm.orb +966 -966
- package/behaviors/registry/app/organisms/std-devops-dashboard.orb +1375 -1375
- package/behaviors/registry/app/organisms/std-ecommerce.orb +1109 -1109
- package/behaviors/registry/app/organisms/std-finance-tracker.orb +716 -716
- package/behaviors/registry/app/organisms/std-healthcare.orb +1473 -1473
- package/behaviors/registry/app/organisms/std-helpdesk.orb +693 -693
- package/behaviors/registry/app/organisms/std-hr-portal.orb +1252 -1252
- package/behaviors/registry/app/organisms/std-iot-dashboard.orb +895 -895
- package/behaviors/registry/app/organisms/std-lms.orb +876 -876
- package/behaviors/registry/app/organisms/std-project-manager.orb +790 -790
- package/behaviors/registry/app/organisms/std-realtime-chat.orb +740 -740
- package/behaviors/registry/app/organisms/std-social-feed.orb +266 -266
- package/behaviors/registry/app/organisms/std-trading-dashboard.orb +699 -699
- package/behaviors/registry/core/atoms/std-browse.orb +67 -67
- package/behaviors/registry/core/atoms/std-cache-aside.orb +97 -97
- package/behaviors/registry/core/atoms/std-calendar.orb +62 -62
- package/behaviors/registry/core/atoms/std-circuit-breaker.orb +188 -188
- package/behaviors/registry/core/atoms/std-confirmation.orb +34 -34
- package/behaviors/registry/core/atoms/std-display.orb +370 -370
- package/behaviors/registry/core/atoms/std-drawer.orb +61 -61
- package/behaviors/registry/core/atoms/std-filter.orb +63 -63
- package/behaviors/registry/core/atoms/std-gallery.orb +55 -55
- package/behaviors/registry/core/atoms/std-modal.orb +19 -19
- package/behaviors/registry/core/atoms/std-pagination.orb +53 -53
- package/behaviors/registry/core/atoms/std-push.orb +49 -49
- package/behaviors/registry/core/atoms/std-rate-limiter.orb +185 -185
- package/behaviors/registry/core/atoms/std-related.orb +39 -39
- package/behaviors/registry/core/atoms/std-search.orb +73 -73
- package/behaviors/registry/core/atoms/std-selection.orb +110 -110
- package/behaviors/registry/core/atoms/std-tabs.orb +47 -47
- package/behaviors/registry/core/molecules/std-cart.orb +60 -60
- package/behaviors/registry/core/molecules/std-filtered-list.orb +11 -11
- package/behaviors/registry/core/molecules/std-form-advanced.orb +140 -140
- package/behaviors/registry/core/molecules/std-list.orb +68 -68
- package/behaviors/registry/core/molecules/std-wizard-form.orb +152 -152
- package/behaviors/registry/game/atoms/std-collision.orb +140 -140
- package/behaviors/registry/game/atoms/std-combat.orb +76 -76
- package/behaviors/registry/game/atoms/std-dialogue-box.orb +27 -27
- package/behaviors/registry/game/atoms/std-game-canvas2d.orb +47 -47
- package/behaviors/registry/game/atoms/std-gameflow.orb +49 -49
- package/behaviors/registry/game/atoms/std-movement.orb +276 -276
- package/behaviors/registry/game/atoms/std-overworld.orb +64 -64
- package/behaviors/registry/game/atoms/std-physics2d.orb +88 -88
- package/behaviors/registry/game/atoms/std-quest.orb +129 -129
- package/behaviors/registry/game/atoms/std-timer.orb +285 -285
- package/behaviors/registry/game/organisms/std-arcade-game.orb +172 -172
- package/behaviors/registry/game/organisms/std-logic-training.orb +89 -89
- package/behaviors/registry/game/organisms/std-platformer-app.orb +281 -281
- package/behaviors/registry/game/organisms/std-puzzle-app.orb +110 -110
- package/behaviors/registry/game/organisms/std-rpg-game.orb +446 -446
- package/behaviors/registry/game/organisms/std-stem-lab.orb +349 -349
- package/behaviors/registry/game/organisms/std-strategy-game.orb +550 -550
- package/behaviors/registry/probes/molecules/std-source-scope-probe.orb +35 -35
- package/behaviors/registry/service/atoms/std-service-custom-bearer.orb +93 -93
- package/behaviors/registry/service/atoms/std-service-email.orb +92 -92
- package/behaviors/registry/service/atoms/std-service-github.orb +111 -111
- package/behaviors/registry/service/atoms/std-service-llm.orb +132 -132
- package/behaviors/registry/service/atoms/std-service-oauth.orb +133 -133
- package/behaviors/registry/service/atoms/std-service-redis.orb +114 -114
- package/behaviors/registry/service/atoms/std-service-storage.orb +140 -140
- package/behaviors/registry/service/atoms/std-service-stripe.orb +115 -115
- package/behaviors/registry/service/atoms/std-service-twilio.orb +131 -131
- package/behaviors/registry/service/atoms/std-service-youtube.orb +128 -128
- package/behaviors/registry/service/organisms/std-service-marketplace.orb +1092 -1092
- package/behaviors/registry/service/organisms/std-service-research-assistant.orb +978 -978
- package/dist/behaviors/registry/agent/atoms/std-agent-activity-log.orb +97 -97
- package/dist/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +129 -129
- package/dist/behaviors/registry/agent/atoms/std-agent-classifier.orb +127 -127
- package/dist/behaviors/registry/agent/atoms/std-agent-completion.orb +133 -133
- package/dist/behaviors/registry/agent/atoms/std-agent-context-window.orb +419 -419
- package/dist/behaviors/registry/agent/atoms/std-agent-conversation.orb +100 -100
- package/dist/behaviors/registry/agent/atoms/std-agent-memory.orb +112 -112
- package/dist/behaviors/registry/agent/atoms/std-agent-provider.orb +138 -138
- package/dist/behaviors/registry/agent/atoms/std-agent-search.orb +78 -78
- package/dist/behaviors/registry/agent/atoms/std-agent-session.orb +171 -171
- package/dist/behaviors/registry/agent/atoms/std-agent-step-progress.orb +202 -202
- package/dist/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +358 -358
- package/dist/behaviors/registry/agent/atoms/std-agent-tool-call.orb +79 -79
- package/dist/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +204 -204
- package/dist/behaviors/registry/agent/molecules/std-agent-learner.orb +190 -190
- package/dist/behaviors/registry/agent/molecules/std-agent-planner.orb +152 -152
- package/dist/behaviors/registry/agent/molecules/std-agent-rag.orb +115 -115
- package/dist/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +188 -188
- package/dist/behaviors/registry/agent/organisms/std-agent-assistant.orb +1219 -1219
- package/dist/behaviors/registry/agent/organisms/std-agent-builder.orb +2995 -2995
- package/dist/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2285 -2285
- package/dist/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1063 -1063
- package/dist/behaviors/registry/agent/organisms/std-agent-tutor.orb +876 -876
- package/dist/behaviors/registry/app/organisms/std-api-gateway.orb +840 -840
- package/dist/behaviors/registry/app/organisms/std-booking-system.orb +1248 -1248
- package/dist/behaviors/registry/app/organisms/std-cicd-pipeline.orb +816 -816
- package/dist/behaviors/registry/app/organisms/std-cms.orb +587 -587
- package/dist/behaviors/registry/app/organisms/std-coding-academy.orb +416 -416
- package/dist/behaviors/registry/app/organisms/std-crm.orb +966 -966
- package/dist/behaviors/registry/app/organisms/std-devops-dashboard.orb +1375 -1375
- package/dist/behaviors/registry/app/organisms/std-ecommerce.orb +1109 -1109
- package/dist/behaviors/registry/app/organisms/std-finance-tracker.orb +716 -716
- package/dist/behaviors/registry/app/organisms/std-healthcare.orb +1473 -1473
- package/dist/behaviors/registry/app/organisms/std-helpdesk.orb +693 -693
- package/dist/behaviors/registry/app/organisms/std-hr-portal.orb +1252 -1252
- package/dist/behaviors/registry/app/organisms/std-iot-dashboard.orb +895 -895
- package/dist/behaviors/registry/app/organisms/std-lms.orb +876 -876
- package/dist/behaviors/registry/app/organisms/std-project-manager.orb +790 -790
- package/dist/behaviors/registry/app/organisms/std-realtime-chat.orb +740 -740
- package/dist/behaviors/registry/app/organisms/std-social-feed.orb +266 -266
- package/dist/behaviors/registry/app/organisms/std-trading-dashboard.orb +699 -699
- package/dist/behaviors/registry/core/atoms/std-browse.orb +67 -67
- package/dist/behaviors/registry/core/atoms/std-cache-aside.orb +97 -97
- package/dist/behaviors/registry/core/atoms/std-calendar.orb +62 -62
- package/dist/behaviors/registry/core/atoms/std-circuit-breaker.orb +188 -188
- package/dist/behaviors/registry/core/atoms/std-confirmation.orb +34 -34
- package/dist/behaviors/registry/core/atoms/std-display.orb +370 -370
- package/dist/behaviors/registry/core/atoms/std-drawer.orb +61 -61
- package/dist/behaviors/registry/core/atoms/std-filter.orb +63 -63
- package/dist/behaviors/registry/core/atoms/std-gallery.orb +55 -55
- package/dist/behaviors/registry/core/atoms/std-modal.orb +19 -19
- package/dist/behaviors/registry/core/atoms/std-pagination.orb +53 -53
- package/dist/behaviors/registry/core/atoms/std-push.orb +49 -49
- package/dist/behaviors/registry/core/atoms/std-rate-limiter.orb +185 -185
- package/dist/behaviors/registry/core/atoms/std-related.orb +39 -39
- package/dist/behaviors/registry/core/atoms/std-search.orb +73 -73
- package/dist/behaviors/registry/core/atoms/std-selection.orb +110 -110
- package/dist/behaviors/registry/core/atoms/std-tabs.orb +47 -47
- package/dist/behaviors/registry/core/molecules/std-cart.orb +60 -60
- package/dist/behaviors/registry/core/molecules/std-filtered-list.orb +11 -11
- package/dist/behaviors/registry/core/molecules/std-form-advanced.orb +140 -140
- package/dist/behaviors/registry/core/molecules/std-list.orb +68 -68
- package/dist/behaviors/registry/core/molecules/std-wizard-form.orb +152 -152
- package/dist/behaviors/registry/game/atoms/std-collision.orb +140 -140
- package/dist/behaviors/registry/game/atoms/std-combat.orb +76 -76
- package/dist/behaviors/registry/game/atoms/std-dialogue-box.orb +27 -27
- package/dist/behaviors/registry/game/atoms/std-game-canvas2d.orb +47 -47
- package/dist/behaviors/registry/game/atoms/std-gameflow.orb +49 -49
- package/dist/behaviors/registry/game/atoms/std-movement.orb +276 -276
- package/dist/behaviors/registry/game/atoms/std-overworld.orb +64 -64
- package/dist/behaviors/registry/game/atoms/std-physics2d.orb +88 -88
- package/dist/behaviors/registry/game/atoms/std-quest.orb +129 -129
- package/dist/behaviors/registry/game/atoms/std-timer.orb +285 -285
- package/dist/behaviors/registry/game/organisms/std-arcade-game.orb +172 -172
- package/dist/behaviors/registry/game/organisms/std-logic-training.orb +89 -89
- package/dist/behaviors/registry/game/organisms/std-platformer-app.orb +281 -281
- package/dist/behaviors/registry/game/organisms/std-puzzle-app.orb +110 -110
- package/dist/behaviors/registry/game/organisms/std-rpg-game.orb +446 -446
- package/dist/behaviors/registry/game/organisms/std-stem-lab.orb +349 -349
- package/dist/behaviors/registry/game/organisms/std-strategy-game.orb +550 -550
- package/dist/behaviors/registry/probes/molecules/std-source-scope-probe.orb +35 -35
- package/dist/behaviors/registry/service/atoms/std-service-custom-bearer.orb +93 -93
- package/dist/behaviors/registry/service/atoms/std-service-email.orb +92 -92
- package/dist/behaviors/registry/service/atoms/std-service-github.orb +111 -111
- package/dist/behaviors/registry/service/atoms/std-service-llm.orb +132 -132
- package/dist/behaviors/registry/service/atoms/std-service-oauth.orb +133 -133
- package/dist/behaviors/registry/service/atoms/std-service-redis.orb +114 -114
- package/dist/behaviors/registry/service/atoms/std-service-storage.orb +140 -140
- package/dist/behaviors/registry/service/atoms/std-service-stripe.orb +115 -115
- package/dist/behaviors/registry/service/atoms/std-service-twilio.orb +131 -131
- package/dist/behaviors/registry/service/atoms/std-service-youtube.orb +128 -128
- package/dist/behaviors/registry/service/organisms/std-service-marketplace.orb +1092 -1092
- package/dist/behaviors/registry/service/organisms/std-service-research-assistant.orb +978 -978
- package/package.json +1 -1
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
{
|
|
45
45
|
"event": "LOOT_DROPPED",
|
|
46
46
|
"scope": "external",
|
|
47
|
-
"
|
|
47
|
+
"payloadSchema": [
|
|
48
48
|
{
|
|
49
49
|
"name": "itemId",
|
|
50
50
|
"type": "string"
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"event": "BattleStateLoaded",
|
|
56
56
|
"description": "Fired when BattleState finishes loading",
|
|
57
57
|
"scope": "internal",
|
|
58
|
-
"
|
|
58
|
+
"payloadSchema": [
|
|
59
59
|
{
|
|
60
60
|
"name": "data",
|
|
61
61
|
"type": "[BattleState]"
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"event": "BattleStateLoadFailed",
|
|
67
67
|
"description": "Fired when BattleState fails to load",
|
|
68
68
|
"scope": "internal",
|
|
69
|
-
"
|
|
69
|
+
"payloadSchema": [
|
|
70
70
|
{
|
|
71
71
|
"name": "error",
|
|
72
72
|
"type": "string"
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
{
|
|
81
81
|
"event": "RpgItemSaved",
|
|
82
82
|
"scope": "internal",
|
|
83
|
-
"
|
|
83
|
+
"payloadSchema": [
|
|
84
84
|
{
|
|
85
85
|
"name": "id",
|
|
86
86
|
"type": "string"
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
{
|
|
91
91
|
"event": "RpgItemSaveFailed",
|
|
92
92
|
"scope": "internal",
|
|
93
|
-
"
|
|
93
|
+
"payloadSchema": [
|
|
94
94
|
{
|
|
95
95
|
"name": "error",
|
|
96
96
|
"type": "string"
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
{
|
|
105
105
|
"event": "RpgItemUpdated",
|
|
106
106
|
"scope": "internal",
|
|
107
|
-
"
|
|
107
|
+
"payloadSchema": [
|
|
108
108
|
{
|
|
109
109
|
"name": "id",
|
|
110
110
|
"type": "string"
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
{
|
|
115
115
|
"event": "RpgItemUpdateFailed",
|
|
116
116
|
"scope": "internal",
|
|
117
|
-
"
|
|
117
|
+
"payloadSchema": [
|
|
118
118
|
{
|
|
119
119
|
"name": "error",
|
|
120
120
|
"type": "string"
|
|
@@ -128,7 +128,7 @@
|
|
|
128
128
|
{
|
|
129
129
|
"event": "RpgItemDeleted",
|
|
130
130
|
"scope": "internal",
|
|
131
|
-
"
|
|
131
|
+
"payloadSchema": [
|
|
132
132
|
{
|
|
133
133
|
"name": "id",
|
|
134
134
|
"type": "string"
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
{
|
|
139
139
|
"event": "RpgItemDeleteFailed",
|
|
140
140
|
"scope": "internal",
|
|
141
|
-
"
|
|
141
|
+
"payloadSchema": [
|
|
142
142
|
{
|
|
143
143
|
"name": "error",
|
|
144
144
|
"type": "string"
|
|
@@ -152,7 +152,7 @@
|
|
|
152
152
|
{
|
|
153
153
|
"event": "MissionUpdated",
|
|
154
154
|
"scope": "internal",
|
|
155
|
-
"
|
|
155
|
+
"payloadSchema": [
|
|
156
156
|
{
|
|
157
157
|
"name": "id",
|
|
158
158
|
"type": "string"
|
|
@@ -162,7 +162,7 @@
|
|
|
162
162
|
{
|
|
163
163
|
"event": "MissionUpdateFailed",
|
|
164
164
|
"scope": "internal",
|
|
165
|
-
"
|
|
165
|
+
"payloadSchema": [
|
|
166
166
|
{
|
|
167
167
|
"name": "error",
|
|
168
168
|
"type": "string"
|
|
@@ -243,7 +243,7 @@
|
|
|
243
243
|
{
|
|
244
244
|
"key": "BattleStateLoaded",
|
|
245
245
|
"name": "BattleState loaded",
|
|
246
|
-
"
|
|
246
|
+
"payloadSchema": [
|
|
247
247
|
{
|
|
248
248
|
"name": "data",
|
|
249
249
|
"type": "[BattleState]"
|
|
@@ -253,7 +253,7 @@
|
|
|
253
253
|
{
|
|
254
254
|
"key": "BattleStateLoadFailed",
|
|
255
255
|
"name": "BattleState load failed",
|
|
256
|
-
"
|
|
256
|
+
"payloadSchema": [
|
|
257
257
|
{
|
|
258
258
|
"name": "error",
|
|
259
259
|
"type": "string"
|
|
@@ -267,7 +267,7 @@
|
|
|
267
267
|
{
|
|
268
268
|
"key": "RpgItemSaved",
|
|
269
269
|
"name": "Rpg item saved",
|
|
270
|
-
"
|
|
270
|
+
"payloadSchema": [
|
|
271
271
|
{
|
|
272
272
|
"name": "id",
|
|
273
273
|
"type": "string"
|
|
@@ -277,7 +277,7 @@
|
|
|
277
277
|
{
|
|
278
278
|
"key": "RpgItemSaveFailed",
|
|
279
279
|
"name": "Rpg item save failed",
|
|
280
|
-
"
|
|
280
|
+
"payloadSchema": [
|
|
281
281
|
{
|
|
282
282
|
"name": "error",
|
|
283
283
|
"type": "string"
|
|
@@ -291,7 +291,7 @@
|
|
|
291
291
|
{
|
|
292
292
|
"key": "RpgItemUpdated",
|
|
293
293
|
"name": "Rpg item updated",
|
|
294
|
-
"
|
|
294
|
+
"payloadSchema": [
|
|
295
295
|
{
|
|
296
296
|
"name": "id",
|
|
297
297
|
"type": "string"
|
|
@@ -301,7 +301,7 @@
|
|
|
301
301
|
{
|
|
302
302
|
"key": "RpgItemUpdateFailed",
|
|
303
303
|
"name": "Rpg item update failed",
|
|
304
|
-
"
|
|
304
|
+
"payloadSchema": [
|
|
305
305
|
{
|
|
306
306
|
"name": "error",
|
|
307
307
|
"type": "string"
|
|
@@ -315,7 +315,7 @@
|
|
|
315
315
|
{
|
|
316
316
|
"key": "RpgItemDeleted",
|
|
317
317
|
"name": "Rpg item deleted",
|
|
318
|
-
"
|
|
318
|
+
"payloadSchema": [
|
|
319
319
|
{
|
|
320
320
|
"name": "id",
|
|
321
321
|
"type": "string"
|
|
@@ -325,7 +325,7 @@
|
|
|
325
325
|
{
|
|
326
326
|
"key": "RpgItemDeleteFailed",
|
|
327
327
|
"name": "Rpg item delete failed",
|
|
328
|
-
"
|
|
328
|
+
"payloadSchema": [
|
|
329
329
|
{
|
|
330
330
|
"name": "error",
|
|
331
331
|
"type": "string"
|
|
@@ -339,7 +339,7 @@
|
|
|
339
339
|
{
|
|
340
340
|
"key": "MissionUpdated",
|
|
341
341
|
"name": "Mission updated",
|
|
342
|
-
"
|
|
342
|
+
"payloadSchema": [
|
|
343
343
|
{
|
|
344
344
|
"name": "id",
|
|
345
345
|
"type": "string"
|
|
@@ -349,7 +349,7 @@
|
|
|
349
349
|
{
|
|
350
350
|
"key": "MissionUpdateFailed",
|
|
351
351
|
"name": "Mission update failed",
|
|
352
|
-
"
|
|
352
|
+
"payloadSchema": [
|
|
353
353
|
{
|
|
354
354
|
"name": "error",
|
|
355
355
|
"type": "string"
|
|
@@ -372,8 +372,8 @@
|
|
|
372
372
|
"BattleState",
|
|
373
373
|
{
|
|
374
374
|
"emit": {
|
|
375
|
-
"
|
|
376
|
-
"
|
|
375
|
+
"success": "BattleStateLoaded",
|
|
376
|
+
"failure": "BattleStateLoadFailed"
|
|
377
377
|
}
|
|
378
378
|
}
|
|
379
379
|
],
|
|
@@ -381,23 +381,23 @@
|
|
|
381
381
|
"render-ui",
|
|
382
382
|
"main",
|
|
383
383
|
{
|
|
384
|
-
"appName": "RPG Game",
|
|
385
|
-
"showTopBar": true,
|
|
386
|
-
"type": "game-shell",
|
|
387
384
|
"children": [
|
|
388
385
|
{
|
|
389
|
-
"title": "Battle Arena",
|
|
390
386
|
"type": "game-menu",
|
|
387
|
+
"subtitle": "Turn-Based Strategy",
|
|
391
388
|
"menuItems": [
|
|
392
389
|
{
|
|
393
|
-
"event": "START",
|
|
394
390
|
"variant": "primary",
|
|
391
|
+
"event": "START",
|
|
395
392
|
"label": "Start Battle"
|
|
396
393
|
}
|
|
397
394
|
],
|
|
398
|
-
"
|
|
395
|
+
"title": "Battle Arena"
|
|
399
396
|
}
|
|
400
|
-
]
|
|
397
|
+
],
|
|
398
|
+
"showTopBar": true,
|
|
399
|
+
"appName": "RPG Game",
|
|
400
|
+
"type": "game-shell"
|
|
401
401
|
}
|
|
402
402
|
]
|
|
403
403
|
]
|
|
@@ -412,23 +412,23 @@
|
|
|
412
412
|
"main",
|
|
413
413
|
{
|
|
414
414
|
"appName": "RPG Game",
|
|
415
|
-
"showTopBar": true,
|
|
416
|
-
"type": "game-shell",
|
|
417
415
|
"children": [
|
|
418
416
|
{
|
|
419
417
|
"stats": [
|
|
420
418
|
{
|
|
421
|
-
"
|
|
422
|
-
"
|
|
419
|
+
"value": "@entity.turn",
|
|
420
|
+
"label": "Turn"
|
|
423
421
|
},
|
|
424
422
|
{
|
|
425
|
-
"
|
|
426
|
-
"
|
|
423
|
+
"label": "Score",
|
|
424
|
+
"value": "@entity.score"
|
|
427
425
|
}
|
|
428
426
|
],
|
|
429
427
|
"type": "game-hud"
|
|
430
428
|
}
|
|
431
|
-
]
|
|
429
|
+
],
|
|
430
|
+
"showTopBar": true,
|
|
431
|
+
"type": "game-shell"
|
|
432
432
|
}
|
|
433
433
|
]
|
|
434
434
|
]
|
|
@@ -456,9 +456,6 @@
|
|
|
456
456
|
"render-ui",
|
|
457
457
|
"main",
|
|
458
458
|
{
|
|
459
|
-
"showTopBar": true,
|
|
460
|
-
"type": "game-shell",
|
|
461
|
-
"appName": "RPG Game",
|
|
462
459
|
"children": [
|
|
463
460
|
{
|
|
464
461
|
"type": "game-hud",
|
|
@@ -473,7 +470,10 @@
|
|
|
473
470
|
}
|
|
474
471
|
]
|
|
475
472
|
}
|
|
476
|
-
]
|
|
473
|
+
],
|
|
474
|
+
"type": "game-shell",
|
|
475
|
+
"appName": "RPG Game",
|
|
476
|
+
"showTopBar": true
|
|
477
477
|
}
|
|
478
478
|
]
|
|
479
479
|
]
|
|
@@ -487,19 +487,19 @@
|
|
|
487
487
|
"render-ui",
|
|
488
488
|
"modal",
|
|
489
489
|
{
|
|
490
|
-
"type": "game-menu",
|
|
491
490
|
"menuItems": [
|
|
492
491
|
{
|
|
493
492
|
"event": "RESUME",
|
|
494
|
-
"
|
|
495
|
-
"
|
|
493
|
+
"label": "Resume",
|
|
494
|
+
"variant": "primary"
|
|
496
495
|
},
|
|
497
496
|
{
|
|
498
497
|
"label": "Quit",
|
|
499
|
-
"
|
|
500
|
-
"
|
|
498
|
+
"variant": "ghost",
|
|
499
|
+
"event": "RESTART"
|
|
501
500
|
}
|
|
502
501
|
],
|
|
502
|
+
"type": "game-menu",
|
|
503
503
|
"title": "Paused"
|
|
504
504
|
}
|
|
505
505
|
]
|
|
@@ -514,12 +514,12 @@
|
|
|
514
514
|
"render-ui",
|
|
515
515
|
"main",
|
|
516
516
|
{
|
|
517
|
-
"showTopBar": true,
|
|
518
|
-
"appName": "RPG Game",
|
|
519
517
|
"type": "game-shell",
|
|
518
|
+
"appName": "RPG Game",
|
|
519
|
+
"showTopBar": true,
|
|
520
520
|
"children": [
|
|
521
521
|
{
|
|
522
|
-
"
|
|
522
|
+
"type": "game-over-screen",
|
|
523
523
|
"stats": [
|
|
524
524
|
{
|
|
525
525
|
"label": "Turns",
|
|
@@ -530,19 +530,19 @@
|
|
|
530
530
|
"label": "Score"
|
|
531
531
|
}
|
|
532
532
|
],
|
|
533
|
-
"type": "game-over-screen",
|
|
534
533
|
"menuItems": [
|
|
535
534
|
{
|
|
536
|
-
"event": "RESTART",
|
|
537
535
|
"variant": "primary",
|
|
536
|
+
"event": "RESTART",
|
|
538
537
|
"label": "Play Again"
|
|
539
538
|
},
|
|
540
539
|
{
|
|
541
|
-
"event": "RESTART",
|
|
542
540
|
"variant": "secondary",
|
|
541
|
+
"event": "RESTART",
|
|
543
542
|
"label": "Main Menu"
|
|
544
543
|
}
|
|
545
|
-
]
|
|
544
|
+
],
|
|
545
|
+
"title": "Battle Over"
|
|
546
546
|
}
|
|
547
547
|
]
|
|
548
548
|
}
|
|
@@ -568,7 +568,6 @@
|
|
|
568
568
|
"render-ui",
|
|
569
569
|
"main",
|
|
570
570
|
{
|
|
571
|
-
"type": "game-shell",
|
|
572
571
|
"children": [
|
|
573
572
|
{
|
|
574
573
|
"type": "game-hud",
|
|
@@ -584,8 +583,9 @@
|
|
|
584
583
|
]
|
|
585
584
|
}
|
|
586
585
|
],
|
|
587
|
-
"
|
|
588
|
-
"
|
|
586
|
+
"appName": "RPG Game",
|
|
587
|
+
"type": "game-shell",
|
|
588
|
+
"showTopBar": true
|
|
589
589
|
}
|
|
590
590
|
]
|
|
591
591
|
]
|
|
@@ -604,10 +604,8 @@
|
|
|
604
604
|
"render-ui",
|
|
605
605
|
"main",
|
|
606
606
|
{
|
|
607
|
-
"type": "game-shell",
|
|
608
607
|
"children": [
|
|
609
608
|
{
|
|
610
|
-
"type": "game-hud",
|
|
611
609
|
"stats": [
|
|
612
610
|
{
|
|
613
611
|
"label": "Turn",
|
|
@@ -617,9 +615,11 @@
|
|
|
617
615
|
"label": "Score",
|
|
618
616
|
"value": "@entity.score"
|
|
619
617
|
}
|
|
620
|
-
]
|
|
618
|
+
],
|
|
619
|
+
"type": "game-hud"
|
|
621
620
|
}
|
|
622
621
|
],
|
|
622
|
+
"type": "game-shell",
|
|
623
623
|
"showTopBar": true,
|
|
624
624
|
"appName": "RPG Game"
|
|
625
625
|
}
|
|
@@ -640,9 +640,10 @@
|
|
|
640
640
|
"render-ui",
|
|
641
641
|
"main",
|
|
642
642
|
{
|
|
643
|
-
"
|
|
643
|
+
"appName": "RPG Game",
|
|
644
644
|
"children": [
|
|
645
645
|
{
|
|
646
|
+
"type": "game-menu",
|
|
646
647
|
"title": "Battle Arena",
|
|
647
648
|
"menuItems": [
|
|
648
649
|
{
|
|
@@ -651,12 +652,11 @@
|
|
|
651
652
|
"variant": "primary"
|
|
652
653
|
}
|
|
653
654
|
],
|
|
654
|
-
"subtitle": "Turn-Based Strategy"
|
|
655
|
-
"type": "game-menu"
|
|
655
|
+
"subtitle": "Turn-Based Strategy"
|
|
656
656
|
}
|
|
657
657
|
],
|
|
658
|
-
"
|
|
659
|
-
"
|
|
658
|
+
"showTopBar": true,
|
|
659
|
+
"type": "game-shell"
|
|
660
660
|
}
|
|
661
661
|
]
|
|
662
662
|
]
|
|
@@ -670,23 +670,23 @@
|
|
|
670
670
|
"render-ui",
|
|
671
671
|
"main",
|
|
672
672
|
{
|
|
673
|
+
"appName": "RPG Game",
|
|
674
|
+
"showTopBar": true,
|
|
675
|
+
"type": "game-shell",
|
|
673
676
|
"children": [
|
|
674
677
|
{
|
|
675
|
-
"type": "game-menu",
|
|
676
678
|
"title": "Battle Arena",
|
|
679
|
+
"subtitle": "Turn-Based Strategy",
|
|
680
|
+
"type": "game-menu",
|
|
677
681
|
"menuItems": [
|
|
678
682
|
{
|
|
679
683
|
"variant": "primary",
|
|
680
|
-
"
|
|
681
|
-
"
|
|
684
|
+
"event": "START",
|
|
685
|
+
"label": "Start Battle"
|
|
682
686
|
}
|
|
683
|
-
]
|
|
684
|
-
"subtitle": "Turn-Based Strategy"
|
|
687
|
+
]
|
|
685
688
|
}
|
|
686
|
-
]
|
|
687
|
-
"showTopBar": true,
|
|
688
|
-
"type": "game-shell",
|
|
689
|
-
"appName": "RPG Game"
|
|
689
|
+
]
|
|
690
690
|
}
|
|
691
691
|
]
|
|
692
692
|
]
|
|
@@ -704,7 +704,7 @@
|
|
|
704
704
|
"event": "BattleStateLoaded",
|
|
705
705
|
"description": "Fired when BattleState finishes loading",
|
|
706
706
|
"scope": "internal",
|
|
707
|
-
"
|
|
707
|
+
"payloadSchema": [
|
|
708
708
|
{
|
|
709
709
|
"name": "data",
|
|
710
710
|
"type": "[BattleState]"
|
|
@@ -715,7 +715,7 @@
|
|
|
715
715
|
"event": "BattleStateLoadFailed",
|
|
716
716
|
"description": "Fired when BattleState fails to load",
|
|
717
717
|
"scope": "internal",
|
|
718
|
-
"
|
|
718
|
+
"payloadSchema": [
|
|
719
719
|
{
|
|
720
720
|
"name": "error",
|
|
721
721
|
"type": "string"
|
|
@@ -742,7 +742,7 @@
|
|
|
742
742
|
{
|
|
743
743
|
"key": "LOG_EVENT",
|
|
744
744
|
"name": "Log Event",
|
|
745
|
-
"
|
|
745
|
+
"payloadSchema": [
|
|
746
746
|
{
|
|
747
747
|
"name": "data",
|
|
748
748
|
"type": "object",
|
|
@@ -757,7 +757,7 @@
|
|
|
757
757
|
{
|
|
758
758
|
"key": "BattleStateLoaded",
|
|
759
759
|
"name": "BattleState loaded",
|
|
760
|
-
"
|
|
760
|
+
"payloadSchema": [
|
|
761
761
|
{
|
|
762
762
|
"name": "data",
|
|
763
763
|
"type": "[BattleState]"
|
|
@@ -767,7 +767,7 @@
|
|
|
767
767
|
{
|
|
768
768
|
"key": "BattleStateLoadFailed",
|
|
769
769
|
"name": "BattleState load failed",
|
|
770
|
-
"
|
|
770
|
+
"payloadSchema": [
|
|
771
771
|
{
|
|
772
772
|
"name": "error",
|
|
773
773
|
"type": "string"
|
|
@@ -790,8 +790,8 @@
|
|
|
790
790
|
"BattleState",
|
|
791
791
|
{
|
|
792
792
|
"emit": {
|
|
793
|
-
"
|
|
794
|
-
"
|
|
793
|
+
"success": "BattleStateLoaded",
|
|
794
|
+
"failure": "BattleStateLoadFailed"
|
|
795
795
|
}
|
|
796
796
|
}
|
|
797
797
|
]
|
|
@@ -806,19 +806,19 @@
|
|
|
806
806
|
"render-ui",
|
|
807
807
|
"main",
|
|
808
808
|
{
|
|
809
|
-
"showTopBar": true,
|
|
810
809
|
"type": "game-shell",
|
|
811
|
-
"appName": "RPG Game",
|
|
812
810
|
"children": [
|
|
813
811
|
{
|
|
814
|
-
"showTimestamps": true,
|
|
815
|
-
"title": "Combat Log",
|
|
816
|
-
"type": "combat-log",
|
|
817
812
|
"autoScroll": true,
|
|
813
|
+
"type": "combat-log",
|
|
814
|
+
"showTimestamps": true,
|
|
815
|
+
"events": "@BattleState",
|
|
818
816
|
"maxVisible": 10.0,
|
|
819
|
-
"
|
|
817
|
+
"title": "Combat Log"
|
|
820
818
|
}
|
|
821
|
-
]
|
|
819
|
+
],
|
|
820
|
+
"appName": "RPG Game",
|
|
821
|
+
"showTopBar": true
|
|
822
822
|
}
|
|
823
823
|
]
|
|
824
824
|
]
|
|
@@ -833,17 +833,17 @@
|
|
|
833
833
|
"main",
|
|
834
834
|
{
|
|
835
835
|
"type": "game-shell",
|
|
836
|
-
"appName": "RPG Game",
|
|
837
836
|
"children": [
|
|
838
837
|
{
|
|
838
|
+
"showTimestamps": true,
|
|
839
839
|
"maxVisible": 10.0,
|
|
840
|
-
"title": "Combat Log",
|
|
841
|
-
"autoScroll": true,
|
|
842
840
|
"type": "combat-log",
|
|
843
|
-
"
|
|
844
|
-
"
|
|
841
|
+
"events": "@BattleState",
|
|
842
|
+
"title": "Combat Log",
|
|
843
|
+
"autoScroll": true
|
|
845
844
|
}
|
|
846
845
|
],
|
|
846
|
+
"appName": "RPG Game",
|
|
847
847
|
"showTopBar": true
|
|
848
848
|
}
|
|
849
849
|
]
|
|
@@ -908,7 +908,7 @@
|
|
|
908
908
|
{
|
|
909
909
|
"event": "ENCOUNTER_STARTED",
|
|
910
910
|
"scope": "external",
|
|
911
|
-
"
|
|
911
|
+
"payloadSchema": [
|
|
912
912
|
{
|
|
913
913
|
"name": "zoneId",
|
|
914
914
|
"type": "string"
|
|
@@ -918,7 +918,7 @@
|
|
|
918
918
|
{
|
|
919
919
|
"event": "QUEST_ACCEPTED",
|
|
920
920
|
"scope": "external",
|
|
921
|
-
"
|
|
921
|
+
"payloadSchema": [
|
|
922
922
|
{
|
|
923
923
|
"name": "questId",
|
|
924
924
|
"type": "string"
|
|
@@ -929,7 +929,7 @@
|
|
|
929
929
|
"event": "WorldZoneLoaded",
|
|
930
930
|
"description": "Fired when WorldZone finishes loading",
|
|
931
931
|
"scope": "internal",
|
|
932
|
-
"
|
|
932
|
+
"payloadSchema": [
|
|
933
933
|
{
|
|
934
934
|
"name": "data",
|
|
935
935
|
"type": "[WorldZone]"
|
|
@@ -940,7 +940,7 @@
|
|
|
940
940
|
"event": "WorldZoneLoadFailed",
|
|
941
941
|
"description": "Fired when WorldZone fails to load",
|
|
942
942
|
"scope": "internal",
|
|
943
|
-
"
|
|
943
|
+
"payloadSchema": [
|
|
944
944
|
{
|
|
945
945
|
"name": "error",
|
|
946
946
|
"type": "string"
|
|
@@ -973,7 +973,7 @@
|
|
|
973
973
|
{
|
|
974
974
|
"key": "WorldZoneLoaded",
|
|
975
975
|
"name": "WorldZone loaded",
|
|
976
|
-
"
|
|
976
|
+
"payloadSchema": [
|
|
977
977
|
{
|
|
978
978
|
"name": "data",
|
|
979
979
|
"type": "[WorldZone]"
|
|
@@ -983,7 +983,7 @@
|
|
|
983
983
|
{
|
|
984
984
|
"key": "WorldZoneLoadFailed",
|
|
985
985
|
"name": "WorldZone load failed",
|
|
986
|
-
"
|
|
986
|
+
"payloadSchema": [
|
|
987
987
|
{
|
|
988
988
|
"name": "error",
|
|
989
989
|
"type": "string"
|
|
@@ -1031,22 +1031,22 @@
|
|
|
1031
1031
|
"render-ui",
|
|
1032
1032
|
"main",
|
|
1033
1033
|
{
|
|
1034
|
+
"gap": "md",
|
|
1035
|
+
"align": "center",
|
|
1036
|
+
"type": "stack",
|
|
1034
1037
|
"className": "py-12",
|
|
1035
1038
|
"children": [
|
|
1036
1039
|
{
|
|
1037
1040
|
"type": "spinner"
|
|
1038
1041
|
},
|
|
1039
1042
|
{
|
|
1040
|
-
"
|
|
1041
|
-
"content": "Loading map…",
|
|
1043
|
+
"type": "typography",
|
|
1042
1044
|
"color": "muted",
|
|
1043
|
-
"
|
|
1045
|
+
"variant": "caption",
|
|
1046
|
+
"content": "Loading map…"
|
|
1044
1047
|
}
|
|
1045
1048
|
],
|
|
1046
|
-
"direction": "vertical"
|
|
1047
|
-
"type": "stack",
|
|
1048
|
-
"gap": "md",
|
|
1049
|
-
"align": "center"
|
|
1049
|
+
"direction": "vertical"
|
|
1050
1050
|
}
|
|
1051
1051
|
]
|
|
1052
1052
|
]
|
|
@@ -1062,14 +1062,15 @@
|
|
|
1062
1062
|
{
|
|
1063
1063
|
"showTopBar": true,
|
|
1064
1064
|
"type": "game-shell",
|
|
1065
|
-
"appName": "RPG Game",
|
|
1066
1065
|
"children": [
|
|
1067
1066
|
{
|
|
1067
|
+
"type": "stack",
|
|
1068
|
+
"direction": "vertical",
|
|
1069
|
+
"gap": "lg",
|
|
1068
1070
|
"children": [
|
|
1069
1071
|
{
|
|
1072
|
+
"type": "stack",
|
|
1070
1073
|
"direction": "horizontal",
|
|
1071
|
-
"justify": "between",
|
|
1072
|
-
"gap": "md",
|
|
1073
1074
|
"children": [
|
|
1074
1075
|
{
|
|
1075
1076
|
"children": [
|
|
@@ -1084,89 +1085,88 @@
|
|
|
1084
1085
|
}
|
|
1085
1086
|
],
|
|
1086
1087
|
"gap": "md",
|
|
1087
|
-
"
|
|
1088
|
-
"
|
|
1088
|
+
"direction": "horizontal",
|
|
1089
|
+
"type": "stack"
|
|
1089
1090
|
},
|
|
1090
1091
|
{
|
|
1091
|
-
"status": "online",
|
|
1092
1092
|
"label": "Exploring",
|
|
1093
1093
|
"pulse": false,
|
|
1094
|
-
"type": "status-dot"
|
|
1094
|
+
"type": "status-dot",
|
|
1095
|
+
"status": "online"
|
|
1095
1096
|
}
|
|
1096
1097
|
],
|
|
1097
|
-
"
|
|
1098
|
+
"gap": "md",
|
|
1099
|
+
"justify": "between"
|
|
1098
1100
|
},
|
|
1099
1101
|
{
|
|
1100
1102
|
"type": "divider"
|
|
1101
1103
|
},
|
|
1102
1104
|
{
|
|
1105
|
+
"zoom": 10.0,
|
|
1103
1106
|
"height": "200px",
|
|
1104
1107
|
"type": "map-view",
|
|
1105
|
-
"zoom": 10.0,
|
|
1106
1108
|
"markers": []
|
|
1107
1109
|
},
|
|
1108
1110
|
{
|
|
1109
|
-
"type": "data-grid",
|
|
1110
|
-
"entity": "@payload.data",
|
|
1111
1111
|
"renderItem": [
|
|
1112
1112
|
"fn",
|
|
1113
1113
|
"item",
|
|
1114
1114
|
{
|
|
1115
|
-
"type": "stack",
|
|
1116
1115
|
"children": [
|
|
1117
1116
|
{
|
|
1118
1117
|
"direction": "horizontal",
|
|
1119
|
-
"align": "center",
|
|
1120
|
-
"justify": "between",
|
|
1121
1118
|
"children": [
|
|
1122
1119
|
{
|
|
1120
|
+
"direction": "horizontal",
|
|
1123
1121
|
"children": [
|
|
1124
1122
|
{
|
|
1125
1123
|
"type": "icon",
|
|
1126
1124
|
"name": "map-pin"
|
|
1127
1125
|
},
|
|
1128
1126
|
{
|
|
1129
|
-
"variant": "h4",
|
|
1130
1127
|
"content": "@item.name",
|
|
1131
|
-
"type": "typography"
|
|
1128
|
+
"type": "typography",
|
|
1129
|
+
"variant": "h4"
|
|
1132
1130
|
}
|
|
1133
1131
|
],
|
|
1134
|
-
"type": "stack",
|
|
1135
1132
|
"align": "center",
|
|
1136
|
-
"
|
|
1137
|
-
"
|
|
1133
|
+
"gap": "sm",
|
|
1134
|
+
"type": "stack"
|
|
1138
1135
|
},
|
|
1139
1136
|
{
|
|
1140
1137
|
"type": "badge",
|
|
1141
1138
|
"label": "@item.description"
|
|
1142
1139
|
}
|
|
1143
1140
|
],
|
|
1141
|
+
"align": "center",
|
|
1142
|
+
"justify": "between",
|
|
1144
1143
|
"type": "stack"
|
|
1145
1144
|
},
|
|
1146
1145
|
{
|
|
1147
|
-
"variant": "caption",
|
|
1148
1146
|
"content": "@item.level",
|
|
1149
|
-
"type": "typography"
|
|
1147
|
+
"type": "typography",
|
|
1148
|
+
"variant": "caption"
|
|
1150
1149
|
}
|
|
1151
1150
|
],
|
|
1151
|
+
"gap": "sm",
|
|
1152
1152
|
"direction": "vertical",
|
|
1153
|
-
"
|
|
1153
|
+
"type": "stack"
|
|
1154
1154
|
}
|
|
1155
1155
|
],
|
|
1156
|
+
"entity": "@payload.data",
|
|
1156
1157
|
"itemActions": [
|
|
1157
1158
|
{
|
|
1158
|
-
"
|
|
1159
|
-
"
|
|
1159
|
+
"label": "Travel",
|
|
1160
|
+
"event": "TRAVEL"
|
|
1160
1161
|
}
|
|
1161
1162
|
],
|
|
1163
|
+
"type": "data-grid",
|
|
1162
1164
|
"fields": []
|
|
1163
1165
|
}
|
|
1164
|
-
]
|
|
1165
|
-
"direction": "vertical",
|
|
1166
|
-
"type": "stack",
|
|
1167
|
-
"gap": "lg"
|
|
1166
|
+
]
|
|
1168
1167
|
}
|
|
1169
|
-
]
|
|
1168
|
+
],
|
|
1169
|
+
"appName": "RPG Game"
|
|
1170
1170
|
}
|
|
1171
1171
|
]
|
|
1172
1172
|
]
|
|
@@ -1180,36 +1180,36 @@
|
|
|
1180
1180
|
"render-ui",
|
|
1181
1181
|
"main",
|
|
1182
1182
|
{
|
|
1183
|
-
"
|
|
1183
|
+
"type": "stack",
|
|
1184
|
+
"align": "center",
|
|
1185
|
+
"direction": "vertical",
|
|
1184
1186
|
"children": [
|
|
1185
1187
|
{
|
|
1186
|
-
"color": "destructive",
|
|
1187
1188
|
"type": "icon",
|
|
1188
|
-
"name": "alert-triangle"
|
|
1189
|
+
"name": "alert-triangle",
|
|
1190
|
+
"color": "destructive"
|
|
1189
1191
|
},
|
|
1190
1192
|
{
|
|
1191
|
-
"variant": "h3",
|
|
1192
1193
|
"content": "Failed to load map",
|
|
1193
|
-
"type": "typography"
|
|
1194
|
+
"type": "typography",
|
|
1195
|
+
"variant": "h3"
|
|
1194
1196
|
},
|
|
1195
1197
|
{
|
|
1196
|
-
"
|
|
1198
|
+
"color": "muted",
|
|
1197
1199
|
"type": "typography",
|
|
1198
|
-
"
|
|
1199
|
-
"
|
|
1200
|
+
"variant": "body",
|
|
1201
|
+
"content": "@payload.error"
|
|
1200
1202
|
},
|
|
1201
1203
|
{
|
|
1202
1204
|
"type": "button",
|
|
1203
|
-
"action": "INIT",
|
|
1204
1205
|
"variant": "primary",
|
|
1205
1206
|
"icon": "rotate-ccw",
|
|
1207
|
+
"action": "INIT",
|
|
1206
1208
|
"label": "Retry"
|
|
1207
1209
|
}
|
|
1208
1210
|
],
|
|
1209
|
-
"direction": "vertical",
|
|
1210
1211
|
"gap": "md",
|
|
1211
|
-
"
|
|
1212
|
-
"type": "stack"
|
|
1212
|
+
"className": "py-12"
|
|
1213
1213
|
}
|
|
1214
1214
|
]
|
|
1215
1215
|
]
|
|
@@ -1223,43 +1223,43 @@
|
|
|
1223
1223
|
"render-ui",
|
|
1224
1224
|
"main",
|
|
1225
1225
|
{
|
|
1226
|
-
"showTopBar": true,
|
|
1227
|
-
"type": "game-shell",
|
|
1228
|
-
"appName": "RPG Game",
|
|
1229
1226
|
"children": [
|
|
1230
1227
|
{
|
|
1228
|
+
"align": "center",
|
|
1229
|
+
"direction": "vertical",
|
|
1231
1230
|
"gap": "lg",
|
|
1232
1231
|
"type": "stack",
|
|
1233
|
-
"align": "center",
|
|
1234
1232
|
"children": [
|
|
1235
1233
|
{
|
|
1236
1234
|
"direction": "horizontal",
|
|
1235
|
+
"type": "stack",
|
|
1236
|
+
"gap": "md",
|
|
1237
1237
|
"children": [
|
|
1238
1238
|
{
|
|
1239
1239
|
"name": "loader",
|
|
1240
1240
|
"type": "icon"
|
|
1241
1241
|
},
|
|
1242
1242
|
{
|
|
1243
|
+
"content": "Traveling...",
|
|
1243
1244
|
"variant": "h2",
|
|
1244
|
-
"type": "typography"
|
|
1245
|
-
"content": "Traveling..."
|
|
1245
|
+
"type": "typography"
|
|
1246
1246
|
}
|
|
1247
|
-
]
|
|
1248
|
-
"type": "stack",
|
|
1249
|
-
"gap": "md"
|
|
1247
|
+
]
|
|
1250
1248
|
},
|
|
1251
1249
|
{
|
|
1252
1250
|
"type": "divider"
|
|
1253
1251
|
},
|
|
1254
1252
|
{
|
|
1255
|
-
"content": "Traveling to the destination worldzone.",
|
|
1256
1253
|
"type": "typography",
|
|
1257
|
-
"variant": "body"
|
|
1254
|
+
"variant": "body",
|
|
1255
|
+
"content": "Traveling to the destination worldzone."
|
|
1258
1256
|
}
|
|
1259
|
-
]
|
|
1260
|
-
"direction": "vertical"
|
|
1257
|
+
]
|
|
1261
1258
|
}
|
|
1262
|
-
]
|
|
1259
|
+
],
|
|
1260
|
+
"showTopBar": true,
|
|
1261
|
+
"type": "game-shell",
|
|
1262
|
+
"appName": "RPG Game"
|
|
1263
1263
|
}
|
|
1264
1264
|
]
|
|
1265
1265
|
]
|
|
@@ -1274,8 +1274,8 @@
|
|
|
1274
1274
|
"WorldZone",
|
|
1275
1275
|
{
|
|
1276
1276
|
"emit": {
|
|
1277
|
-
"
|
|
1278
|
-
"
|
|
1277
|
+
"failure": "WorldZoneLoadFailed",
|
|
1278
|
+
"success": "WorldZoneLoaded"
|
|
1279
1279
|
}
|
|
1280
1280
|
}
|
|
1281
1281
|
],
|
|
@@ -1351,7 +1351,7 @@
|
|
|
1351
1351
|
"event": "RpgItemLoaded",
|
|
1352
1352
|
"description": "Fired when RpgItem finishes loading",
|
|
1353
1353
|
"scope": "internal",
|
|
1354
|
-
"
|
|
1354
|
+
"payloadSchema": [
|
|
1355
1355
|
{
|
|
1356
1356
|
"name": "data",
|
|
1357
1357
|
"type": "[RpgItem]"
|
|
@@ -1362,7 +1362,7 @@
|
|
|
1362
1362
|
"event": "RpgItemLoadFailed",
|
|
1363
1363
|
"description": "Fired when RpgItem fails to load",
|
|
1364
1364
|
"scope": "internal",
|
|
1365
|
-
"
|
|
1365
|
+
"payloadSchema": [
|
|
1366
1366
|
{
|
|
1367
1367
|
"name": "error",
|
|
1368
1368
|
"type": "string"
|
|
@@ -1422,7 +1422,7 @@
|
|
|
1422
1422
|
{
|
|
1423
1423
|
"key": "RpgItemLoaded",
|
|
1424
1424
|
"name": "RpgItem loaded",
|
|
1425
|
-
"
|
|
1425
|
+
"payloadSchema": [
|
|
1426
1426
|
{
|
|
1427
1427
|
"name": "data",
|
|
1428
1428
|
"type": "[RpgItem]"
|
|
@@ -1432,7 +1432,7 @@
|
|
|
1432
1432
|
{
|
|
1433
1433
|
"key": "RpgItemLoadFailed",
|
|
1434
1434
|
"name": "RpgItem load failed",
|
|
1435
|
-
"
|
|
1435
|
+
"payloadSchema": [
|
|
1436
1436
|
{
|
|
1437
1437
|
"name": "error",
|
|
1438
1438
|
"type": "string"
|
|
@@ -1464,22 +1464,22 @@
|
|
|
1464
1464
|
"render-ui",
|
|
1465
1465
|
"main",
|
|
1466
1466
|
{
|
|
1467
|
-
"gap": "md",
|
|
1468
|
-
"className": "py-12",
|
|
1469
1467
|
"type": "stack",
|
|
1468
|
+
"className": "py-12",
|
|
1470
1469
|
"children": [
|
|
1471
1470
|
{
|
|
1472
1471
|
"type": "spinner"
|
|
1473
1472
|
},
|
|
1474
1473
|
{
|
|
1475
|
-
"color": "muted",
|
|
1476
|
-
"content": "Loading…",
|
|
1477
1474
|
"type": "typography",
|
|
1478
|
-
"
|
|
1475
|
+
"color": "muted",
|
|
1476
|
+
"variant": "caption",
|
|
1477
|
+
"content": "Loading…"
|
|
1479
1478
|
}
|
|
1480
1479
|
],
|
|
1481
|
-
"
|
|
1482
|
-
"align": "center"
|
|
1480
|
+
"gap": "md",
|
|
1481
|
+
"align": "center",
|
|
1482
|
+
"direction": "vertical"
|
|
1483
1483
|
}
|
|
1484
1484
|
]
|
|
1485
1485
|
]
|
|
@@ -1493,110 +1493,110 @@
|
|
|
1493
1493
|
"render-ui",
|
|
1494
1494
|
"main",
|
|
1495
1495
|
{
|
|
1496
|
-
"
|
|
1496
|
+
"type": "game-shell",
|
|
1497
1497
|
"children": [
|
|
1498
1498
|
{
|
|
1499
1499
|
"direction": "vertical",
|
|
1500
1500
|
"gap": "lg",
|
|
1501
|
-
"type": "stack",
|
|
1502
|
-
"className": "max-w-5xl mx-auto w-full",
|
|
1503
1501
|
"children": [
|
|
1504
1502
|
{
|
|
1505
|
-
"gap": "md",
|
|
1506
1503
|
"align": "center",
|
|
1507
|
-
"type": "stack",
|
|
1508
1504
|
"direction": "horizontal",
|
|
1505
|
+
"type": "stack",
|
|
1509
1506
|
"children": [
|
|
1510
1507
|
{
|
|
1508
|
+
"type": "stack",
|
|
1509
|
+
"gap": "sm",
|
|
1510
|
+
"direction": "horizontal",
|
|
1511
1511
|
"children": [
|
|
1512
1512
|
{
|
|
1513
1513
|
"type": "icon",
|
|
1514
1514
|
"name": "briefcase"
|
|
1515
1515
|
},
|
|
1516
1516
|
{
|
|
1517
|
+
"content": "Inventory",
|
|
1517
1518
|
"variant": "h2",
|
|
1518
|
-
"type": "typography"
|
|
1519
|
-
"content": "Inventory"
|
|
1519
|
+
"type": "typography"
|
|
1520
1520
|
}
|
|
1521
1521
|
],
|
|
1522
|
-
"type": "stack",
|
|
1523
|
-
"gap": "sm",
|
|
1524
|
-
"direction": "horizontal",
|
|
1525
1522
|
"align": "center"
|
|
1526
1523
|
},
|
|
1527
1524
|
{
|
|
1528
1525
|
"children": [
|
|
1529
1526
|
{
|
|
1530
|
-
"
|
|
1531
|
-
"label": "Add RpgItem",
|
|
1532
|
-
"icon": "plus",
|
|
1527
|
+
"variant": "primary",
|
|
1533
1528
|
"type": "button",
|
|
1534
|
-
"
|
|
1529
|
+
"label": "Add RpgItem",
|
|
1530
|
+
"action": "ADD_ITEM",
|
|
1531
|
+
"icon": "plus"
|
|
1535
1532
|
}
|
|
1536
1533
|
],
|
|
1537
1534
|
"gap": "sm",
|
|
1538
|
-
"
|
|
1539
|
-
"
|
|
1535
|
+
"direction": "horizontal",
|
|
1536
|
+
"type": "stack"
|
|
1540
1537
|
}
|
|
1541
1538
|
],
|
|
1542
|
-
"justify": "between"
|
|
1539
|
+
"justify": "between",
|
|
1540
|
+
"gap": "md"
|
|
1543
1541
|
},
|
|
1544
1542
|
{
|
|
1545
1543
|
"type": "divider"
|
|
1546
1544
|
},
|
|
1547
1545
|
{
|
|
1548
|
-
"
|
|
1549
|
-
{
|
|
1550
|
-
"label": "Use",
|
|
1551
|
-
"variant": "ghost",
|
|
1552
|
-
"event": "USE_ITEM"
|
|
1553
|
-
},
|
|
1554
|
-
{
|
|
1555
|
-
"label": "Drop",
|
|
1556
|
-
"event": "DROP",
|
|
1557
|
-
"variant": "danger"
|
|
1558
|
-
}
|
|
1559
|
-
],
|
|
1560
|
-
"fields": [],
|
|
1546
|
+
"entity": "@payload.data",
|
|
1561
1547
|
"columns": [
|
|
1562
1548
|
{
|
|
1563
|
-
"
|
|
1564
|
-
"label": "Name",
|
|
1549
|
+
"icon": "briefcase",
|
|
1565
1550
|
"variant": "h4",
|
|
1566
|
-
"
|
|
1551
|
+
"label": "Name",
|
|
1552
|
+
"name": "name"
|
|
1567
1553
|
},
|
|
1568
1554
|
{
|
|
1569
|
-
"name": "type",
|
|
1570
1555
|
"label": "Type",
|
|
1556
|
+
"variant": "badge",
|
|
1557
|
+
"name": "type",
|
|
1571
1558
|
"colorMap": {
|
|
1572
|
-
"
|
|
1573
|
-
"
|
|
1559
|
+
"failed": "destructive",
|
|
1560
|
+
"completed": "success",
|
|
1561
|
+
"done": "success",
|
|
1562
|
+
"pending": "warning",
|
|
1574
1563
|
"draft": "warning",
|
|
1564
|
+
"archived": "neutral",
|
|
1575
1565
|
"inactive": "neutral",
|
|
1576
1566
|
"error": "destructive",
|
|
1577
|
-
"scheduled": "warning",
|
|
1578
|
-
"done": "success",
|
|
1579
|
-
"completed": "success",
|
|
1580
1567
|
"disabled": "neutral",
|
|
1568
|
+
"scheduled": "warning",
|
|
1581
1569
|
"cancelled": "destructive",
|
|
1582
|
-
"
|
|
1583
|
-
|
|
1584
|
-
},
|
|
1585
|
-
"variant": "badge"
|
|
1570
|
+
"active": "success"
|
|
1571
|
+
}
|
|
1586
1572
|
},
|
|
1587
1573
|
{
|
|
1588
|
-
"
|
|
1574
|
+
"variant": "caption",
|
|
1589
1575
|
"name": "quantity",
|
|
1590
|
-
"
|
|
1576
|
+
"label": "Quantity"
|
|
1591
1577
|
}
|
|
1592
1578
|
],
|
|
1593
|
-
"
|
|
1579
|
+
"itemActions": [
|
|
1580
|
+
{
|
|
1581
|
+
"label": "Use",
|
|
1582
|
+
"event": "USE_ITEM",
|
|
1583
|
+
"variant": "ghost"
|
|
1584
|
+
},
|
|
1585
|
+
{
|
|
1586
|
+
"event": "DROP",
|
|
1587
|
+
"variant": "danger",
|
|
1588
|
+
"label": "Drop"
|
|
1589
|
+
}
|
|
1590
|
+
],
|
|
1591
|
+
"fields": [],
|
|
1594
1592
|
"type": "data-grid"
|
|
1595
1593
|
}
|
|
1596
|
-
]
|
|
1594
|
+
],
|
|
1595
|
+
"type": "stack",
|
|
1596
|
+
"className": "max-w-5xl mx-auto w-full"
|
|
1597
1597
|
}
|
|
1598
1598
|
],
|
|
1599
|
-
"
|
|
1599
|
+
"appName": "RPG Game",
|
|
1600
1600
|
"showTopBar": true
|
|
1601
1601
|
}
|
|
1602
1602
|
]
|
|
@@ -1611,36 +1611,36 @@
|
|
|
1611
1611
|
"render-ui",
|
|
1612
1612
|
"main",
|
|
1613
1613
|
{
|
|
1614
|
+
"gap": "md",
|
|
1615
|
+
"direction": "vertical",
|
|
1616
|
+
"align": "center",
|
|
1617
|
+
"className": "py-12",
|
|
1614
1618
|
"children": [
|
|
1615
1619
|
{
|
|
1616
|
-
"color": "destructive",
|
|
1617
1620
|
"name": "alert-triangle",
|
|
1618
|
-
"type": "icon"
|
|
1621
|
+
"type": "icon",
|
|
1622
|
+
"color": "destructive"
|
|
1619
1623
|
},
|
|
1620
1624
|
{
|
|
1621
|
-
"variant": "h3",
|
|
1622
1625
|
"type": "typography",
|
|
1623
|
-
"content": "Failed to load rpgitem"
|
|
1626
|
+
"content": "Failed to load rpgitem",
|
|
1627
|
+
"variant": "h3"
|
|
1624
1628
|
},
|
|
1625
1629
|
{
|
|
1626
|
-
"variant": "body",
|
|
1627
1630
|
"color": "muted",
|
|
1631
|
+
"variant": "body",
|
|
1628
1632
|
"type": "typography",
|
|
1629
1633
|
"content": "@payload.error"
|
|
1630
1634
|
},
|
|
1631
1635
|
{
|
|
1632
|
-
"
|
|
1636
|
+
"icon": "rotate-ccw",
|
|
1633
1637
|
"action": "INIT",
|
|
1634
1638
|
"type": "button",
|
|
1635
|
-
"
|
|
1636
|
-
"
|
|
1639
|
+
"label": "Retry",
|
|
1640
|
+
"variant": "primary"
|
|
1637
1641
|
}
|
|
1638
1642
|
],
|
|
1639
|
-
"
|
|
1640
|
-
"type": "stack",
|
|
1641
|
-
"align": "center",
|
|
1642
|
-
"gap": "md",
|
|
1643
|
-
"className": "py-12"
|
|
1643
|
+
"type": "stack"
|
|
1644
1644
|
}
|
|
1645
1645
|
]
|
|
1646
1646
|
]
|
|
@@ -1661,7 +1661,7 @@
|
|
|
1661
1661
|
"event": "RpgItemLoadFailed",
|
|
1662
1662
|
"description": "Fired when RpgItem fails to load",
|
|
1663
1663
|
"scope": "internal",
|
|
1664
|
-
"
|
|
1664
|
+
"payloadSchema": [
|
|
1665
1665
|
{
|
|
1666
1666
|
"name": "error",
|
|
1667
1667
|
"type": "string"
|
|
@@ -1676,7 +1676,7 @@
|
|
|
1676
1676
|
"event": "RpgItemLoaded",
|
|
1677
1677
|
"description": "Fired when RpgItem finishes loading",
|
|
1678
1678
|
"scope": "internal",
|
|
1679
|
-
"
|
|
1679
|
+
"payloadSchema": [
|
|
1680
1680
|
{
|
|
1681
1681
|
"name": "data",
|
|
1682
1682
|
"type": "[RpgItem]"
|
|
@@ -1686,7 +1686,7 @@
|
|
|
1686
1686
|
{
|
|
1687
1687
|
"event": "RpgItemSaveFailed",
|
|
1688
1688
|
"scope": "internal",
|
|
1689
|
-
"
|
|
1689
|
+
"payloadSchema": [
|
|
1690
1690
|
{
|
|
1691
1691
|
"name": "error",
|
|
1692
1692
|
"type": "string"
|
|
@@ -1700,7 +1700,7 @@
|
|
|
1700
1700
|
{
|
|
1701
1701
|
"event": "RpgItemSaved",
|
|
1702
1702
|
"scope": "internal",
|
|
1703
|
-
"
|
|
1703
|
+
"payloadSchema": [
|
|
1704
1704
|
{
|
|
1705
1705
|
"name": "id",
|
|
1706
1706
|
"type": "string"
|
|
@@ -1734,7 +1734,7 @@
|
|
|
1734
1734
|
{
|
|
1735
1735
|
"key": "SAVE",
|
|
1736
1736
|
"name": "Save",
|
|
1737
|
-
"
|
|
1737
|
+
"payloadSchema": [
|
|
1738
1738
|
{
|
|
1739
1739
|
"name": "data",
|
|
1740
1740
|
"type": "string"
|
|
@@ -1748,7 +1748,7 @@
|
|
|
1748
1748
|
{
|
|
1749
1749
|
"key": "RpgItemLoadFailed",
|
|
1750
1750
|
"name": "RpgItem load failed",
|
|
1751
|
-
"
|
|
1751
|
+
"payloadSchema": [
|
|
1752
1752
|
{
|
|
1753
1753
|
"name": "error",
|
|
1754
1754
|
"type": "string"
|
|
@@ -1762,7 +1762,7 @@
|
|
|
1762
1762
|
{
|
|
1763
1763
|
"key": "RpgItemLoaded",
|
|
1764
1764
|
"name": "RpgItem loaded",
|
|
1765
|
-
"
|
|
1765
|
+
"payloadSchema": [
|
|
1766
1766
|
{
|
|
1767
1767
|
"name": "data",
|
|
1768
1768
|
"type": "[RpgItem]"
|
|
@@ -1772,7 +1772,7 @@
|
|
|
1772
1772
|
{
|
|
1773
1773
|
"key": "RpgItemSaveFailed",
|
|
1774
1774
|
"name": "RpgItem save failed",
|
|
1775
|
-
"
|
|
1775
|
+
"payloadSchema": [
|
|
1776
1776
|
{
|
|
1777
1777
|
"name": "error",
|
|
1778
1778
|
"type": "string"
|
|
@@ -1786,7 +1786,7 @@
|
|
|
1786
1786
|
{
|
|
1787
1787
|
"key": "RpgItemSaved",
|
|
1788
1788
|
"name": "RpgItem saved",
|
|
1789
|
-
"
|
|
1789
|
+
"payloadSchema": [
|
|
1790
1790
|
{
|
|
1791
1791
|
"name": "id",
|
|
1792
1792
|
"type": "string"
|
|
@@ -1816,8 +1816,8 @@
|
|
|
1816
1816
|
"RpgItem",
|
|
1817
1817
|
{
|
|
1818
1818
|
"emit": {
|
|
1819
|
-
"
|
|
1820
|
-
"
|
|
1819
|
+
"success": "RpgItemLoaded",
|
|
1820
|
+
"failure": "RpgItemLoadFailed"
|
|
1821
1821
|
}
|
|
1822
1822
|
}
|
|
1823
1823
|
],
|
|
@@ -1825,42 +1825,42 @@
|
|
|
1825
1825
|
"render-ui",
|
|
1826
1826
|
"modal",
|
|
1827
1827
|
{
|
|
1828
|
-
"gap": "md",
|
|
1829
|
-
"type": "stack",
|
|
1830
1828
|
"direction": "vertical",
|
|
1831
1829
|
"children": [
|
|
1832
1830
|
{
|
|
1833
1831
|
"direction": "horizontal",
|
|
1832
|
+
"gap": "sm",
|
|
1833
|
+
"type": "stack",
|
|
1834
1834
|
"children": [
|
|
1835
1835
|
{
|
|
1836
1836
|
"name": "plus-circle",
|
|
1837
1837
|
"type": "icon"
|
|
1838
1838
|
},
|
|
1839
1839
|
{
|
|
1840
|
-
"type": "typography",
|
|
1841
1840
|
"variant": "h3",
|
|
1842
|
-
"content": "Add RpgItem"
|
|
1841
|
+
"content": "Add RpgItem",
|
|
1842
|
+
"type": "typography"
|
|
1843
1843
|
}
|
|
1844
|
-
]
|
|
1845
|
-
"type": "stack",
|
|
1846
|
-
"gap": "sm"
|
|
1844
|
+
]
|
|
1847
1845
|
},
|
|
1848
1846
|
{
|
|
1849
1847
|
"type": "divider"
|
|
1850
1848
|
},
|
|
1851
1849
|
{
|
|
1852
|
-
"cancelEvent": "CLOSE",
|
|
1853
|
-
"submitEvent": "SAVE",
|
|
1854
|
-
"mode": "create",
|
|
1855
|
-
"type": "form-section",
|
|
1856
1850
|
"fields": [
|
|
1857
1851
|
"name",
|
|
1858
1852
|
"type",
|
|
1859
1853
|
"quantity",
|
|
1860
1854
|
"rarity"
|
|
1861
|
-
]
|
|
1855
|
+
],
|
|
1856
|
+
"submitEvent": "SAVE",
|
|
1857
|
+
"type": "form-section",
|
|
1858
|
+
"mode": "create",
|
|
1859
|
+
"cancelEvent": "CLOSE"
|
|
1862
1860
|
}
|
|
1863
|
-
]
|
|
1861
|
+
],
|
|
1862
|
+
"type": "stack",
|
|
1863
|
+
"gap": "md"
|
|
1864
1864
|
}
|
|
1865
1865
|
]
|
|
1866
1866
|
]
|
|
@@ -1901,8 +1901,8 @@
|
|
|
1901
1901
|
"@payload.data",
|
|
1902
1902
|
{
|
|
1903
1903
|
"emit": {
|
|
1904
|
-
"
|
|
1905
|
-
"
|
|
1904
|
+
"failure": "RpgItemSaveFailed",
|
|
1905
|
+
"success": "RpgItemSaved"
|
|
1906
1906
|
}
|
|
1907
1907
|
}
|
|
1908
1908
|
],
|
|
@@ -1940,7 +1940,7 @@
|
|
|
1940
1940
|
"event": "RpgItemLoadFailed",
|
|
1941
1941
|
"description": "Fired when RpgItem fails to load",
|
|
1942
1942
|
"scope": "internal",
|
|
1943
|
-
"
|
|
1943
|
+
"payloadSchema": [
|
|
1944
1944
|
{
|
|
1945
1945
|
"name": "error",
|
|
1946
1946
|
"type": "string"
|
|
@@ -1955,7 +1955,7 @@
|
|
|
1955
1955
|
"event": "RpgItemLoaded",
|
|
1956
1956
|
"description": "Fired when RpgItem finishes loading",
|
|
1957
1957
|
"scope": "internal",
|
|
1958
|
-
"
|
|
1958
|
+
"payloadSchema": [
|
|
1959
1959
|
{
|
|
1960
1960
|
"name": "data",
|
|
1961
1961
|
"type": "[RpgItem]"
|
|
@@ -1965,7 +1965,7 @@
|
|
|
1965
1965
|
{
|
|
1966
1966
|
"event": "RpgItemUpdateFailed",
|
|
1967
1967
|
"scope": "internal",
|
|
1968
|
-
"
|
|
1968
|
+
"payloadSchema": [
|
|
1969
1969
|
{
|
|
1970
1970
|
"name": "error",
|
|
1971
1971
|
"type": "string"
|
|
@@ -1979,7 +1979,7 @@
|
|
|
1979
1979
|
{
|
|
1980
1980
|
"event": "RpgItemUpdated",
|
|
1981
1981
|
"scope": "internal",
|
|
1982
|
-
"
|
|
1982
|
+
"payloadSchema": [
|
|
1983
1983
|
{
|
|
1984
1984
|
"name": "id",
|
|
1985
1985
|
"type": "string"
|
|
@@ -2005,7 +2005,7 @@
|
|
|
2005
2005
|
{
|
|
2006
2006
|
"key": "USE_ITEM",
|
|
2007
2007
|
"name": "Use Item",
|
|
2008
|
-
"
|
|
2008
|
+
"payloadSchema": [
|
|
2009
2009
|
{
|
|
2010
2010
|
"name": "id",
|
|
2011
2011
|
"type": "string"
|
|
@@ -2019,7 +2019,7 @@
|
|
|
2019
2019
|
{
|
|
2020
2020
|
"key": "SAVE",
|
|
2021
2021
|
"name": "Save",
|
|
2022
|
-
"
|
|
2022
|
+
"payloadSchema": [
|
|
2023
2023
|
{
|
|
2024
2024
|
"name": "data",
|
|
2025
2025
|
"type": "string"
|
|
@@ -2033,7 +2033,7 @@
|
|
|
2033
2033
|
{
|
|
2034
2034
|
"key": "RpgItemLoadFailed",
|
|
2035
2035
|
"name": "RpgItem load failed",
|
|
2036
|
-
"
|
|
2036
|
+
"payloadSchema": [
|
|
2037
2037
|
{
|
|
2038
2038
|
"name": "error",
|
|
2039
2039
|
"type": "string"
|
|
@@ -2047,7 +2047,7 @@
|
|
|
2047
2047
|
{
|
|
2048
2048
|
"key": "RpgItemLoaded",
|
|
2049
2049
|
"name": "RpgItem loaded",
|
|
2050
|
-
"
|
|
2050
|
+
"payloadSchema": [
|
|
2051
2051
|
{
|
|
2052
2052
|
"name": "data",
|
|
2053
2053
|
"type": "[RpgItem]"
|
|
@@ -2057,7 +2057,7 @@
|
|
|
2057
2057
|
{
|
|
2058
2058
|
"key": "RpgItemUpdateFailed",
|
|
2059
2059
|
"name": "RpgItem update failed",
|
|
2060
|
-
"
|
|
2060
|
+
"payloadSchema": [
|
|
2061
2061
|
{
|
|
2062
2062
|
"name": "error",
|
|
2063
2063
|
"type": "string"
|
|
@@ -2071,7 +2071,7 @@
|
|
|
2071
2071
|
{
|
|
2072
2072
|
"key": "RpgItemUpdated",
|
|
2073
2073
|
"name": "RpgItem updated",
|
|
2074
|
-
"
|
|
2074
|
+
"payloadSchema": [
|
|
2075
2075
|
{
|
|
2076
2076
|
"name": "id",
|
|
2077
2077
|
"type": "string"
|
|
@@ -2102,8 +2102,8 @@
|
|
|
2102
2102
|
{
|
|
2103
2103
|
"id": "@payload.id",
|
|
2104
2104
|
"emit": {
|
|
2105
|
-
"
|
|
2106
|
-
"
|
|
2105
|
+
"success": "RpgItemLoaded",
|
|
2106
|
+
"failure": "RpgItemLoadFailed"
|
|
2107
2107
|
}
|
|
2108
2108
|
}
|
|
2109
2109
|
],
|
|
@@ -2111,58 +2111,58 @@
|
|
|
2111
2111
|
"render-ui",
|
|
2112
2112
|
"modal",
|
|
2113
2113
|
{
|
|
2114
|
-
"type": "stack",
|
|
2115
|
-
"direction": "vertical",
|
|
2116
|
-
"gap": "md",
|
|
2117
2114
|
"align": "center",
|
|
2115
|
+
"gap": "md",
|
|
2118
2116
|
"children": [
|
|
2119
2117
|
{
|
|
2120
|
-
"gap": "sm",
|
|
2121
|
-
"direction": "horizontal",
|
|
2122
2118
|
"children": [
|
|
2123
2119
|
{
|
|
2124
|
-
"
|
|
2125
|
-
"
|
|
2120
|
+
"name": "zap",
|
|
2121
|
+
"type": "icon"
|
|
2126
2122
|
},
|
|
2127
2123
|
{
|
|
2128
|
-
"
|
|
2124
|
+
"content": "Use RpgItem",
|
|
2129
2125
|
"variant": "h3",
|
|
2130
|
-
"
|
|
2126
|
+
"type": "typography"
|
|
2131
2127
|
}
|
|
2132
2128
|
],
|
|
2129
|
+
"align": "center",
|
|
2133
2130
|
"type": "stack",
|
|
2134
|
-
"
|
|
2131
|
+
"direction": "horizontal",
|
|
2132
|
+
"gap": "sm"
|
|
2135
2133
|
},
|
|
2136
2134
|
{
|
|
2137
2135
|
"type": "divider"
|
|
2138
2136
|
},
|
|
2139
2137
|
{
|
|
2140
2138
|
"content": "@entity.name",
|
|
2141
|
-
"
|
|
2142
|
-
"
|
|
2139
|
+
"variant": "body",
|
|
2140
|
+
"type": "typography"
|
|
2143
2141
|
},
|
|
2144
2142
|
{
|
|
2145
2143
|
"type": "stack",
|
|
2146
2144
|
"gap": "sm",
|
|
2147
|
-
"direction": "horizontal",
|
|
2148
2145
|
"justify": "center",
|
|
2146
|
+
"direction": "horizontal",
|
|
2149
2147
|
"children": [
|
|
2150
2148
|
{
|
|
2151
|
-
"variant": "ghost",
|
|
2152
|
-
"action": "CLOSE",
|
|
2153
2149
|
"label": "Cancel",
|
|
2150
|
+
"action": "CLOSE",
|
|
2151
|
+
"variant": "ghost",
|
|
2154
2152
|
"type": "button"
|
|
2155
2153
|
},
|
|
2156
2154
|
{
|
|
2157
|
-
"label": "Confirm Use",
|
|
2158
|
-
"type": "button",
|
|
2159
|
-
"icon": "check",
|
|
2160
2155
|
"variant": "primary",
|
|
2161
|
-
"action": "SAVE"
|
|
2156
|
+
"action": "SAVE",
|
|
2157
|
+
"icon": "check",
|
|
2158
|
+
"type": "button",
|
|
2159
|
+
"label": "Confirm Use"
|
|
2162
2160
|
}
|
|
2163
2161
|
]
|
|
2164
2162
|
}
|
|
2165
|
-
]
|
|
2163
|
+
],
|
|
2164
|
+
"type": "stack",
|
|
2165
|
+
"direction": "vertical"
|
|
2166
2166
|
}
|
|
2167
2167
|
]
|
|
2168
2168
|
]
|
|
@@ -2203,8 +2203,8 @@
|
|
|
2203
2203
|
"@payload.data",
|
|
2204
2204
|
{
|
|
2205
2205
|
"emit": {
|
|
2206
|
-
"
|
|
2207
|
-
"
|
|
2206
|
+
"failure": "RpgItemUpdateFailed",
|
|
2207
|
+
"success": "RpgItemUpdated"
|
|
2208
2208
|
}
|
|
2209
2209
|
}
|
|
2210
2210
|
],
|
|
@@ -2241,7 +2241,7 @@
|
|
|
2241
2241
|
{
|
|
2242
2242
|
"event": "RpgItemDeleteFailed",
|
|
2243
2243
|
"scope": "internal",
|
|
2244
|
-
"
|
|
2244
|
+
"payloadSchema": [
|
|
2245
2245
|
{
|
|
2246
2246
|
"name": "error",
|
|
2247
2247
|
"type": "string"
|
|
@@ -2255,7 +2255,7 @@
|
|
|
2255
2255
|
{
|
|
2256
2256
|
"event": "RpgItemDeleted",
|
|
2257
2257
|
"scope": "internal",
|
|
2258
|
-
"
|
|
2258
|
+
"payloadSchema": [
|
|
2259
2259
|
{
|
|
2260
2260
|
"name": "id",
|
|
2261
2261
|
"type": "string"
|
|
@@ -2266,7 +2266,7 @@
|
|
|
2266
2266
|
"event": "RpgItemLoadFailed",
|
|
2267
2267
|
"description": "Fired when RpgItem fails to load",
|
|
2268
2268
|
"scope": "internal",
|
|
2269
|
-
"
|
|
2269
|
+
"payloadSchema": [
|
|
2270
2270
|
{
|
|
2271
2271
|
"name": "error",
|
|
2272
2272
|
"type": "string"
|
|
@@ -2281,7 +2281,7 @@
|
|
|
2281
2281
|
"event": "RpgItemLoaded",
|
|
2282
2282
|
"description": "Fired when RpgItem finishes loading",
|
|
2283
2283
|
"scope": "internal",
|
|
2284
|
-
"
|
|
2284
|
+
"payloadSchema": [
|
|
2285
2285
|
{
|
|
2286
2286
|
"name": "data",
|
|
2287
2287
|
"type": "[RpgItem]"
|
|
@@ -2307,7 +2307,7 @@
|
|
|
2307
2307
|
{
|
|
2308
2308
|
"key": "DROP",
|
|
2309
2309
|
"name": "Drop",
|
|
2310
|
-
"
|
|
2310
|
+
"payloadSchema": [
|
|
2311
2311
|
{
|
|
2312
2312
|
"name": "id",
|
|
2313
2313
|
"type": "string"
|
|
@@ -2329,7 +2329,7 @@
|
|
|
2329
2329
|
{
|
|
2330
2330
|
"key": "RpgItemDeleteFailed",
|
|
2331
2331
|
"name": "RpgItem delete failed",
|
|
2332
|
-
"
|
|
2332
|
+
"payloadSchema": [
|
|
2333
2333
|
{
|
|
2334
2334
|
"name": "error",
|
|
2335
2335
|
"type": "string"
|
|
@@ -2343,7 +2343,7 @@
|
|
|
2343
2343
|
{
|
|
2344
2344
|
"key": "RpgItemDeleted",
|
|
2345
2345
|
"name": "RpgItem deleted",
|
|
2346
|
-
"
|
|
2346
|
+
"payloadSchema": [
|
|
2347
2347
|
{
|
|
2348
2348
|
"name": "id",
|
|
2349
2349
|
"type": "string"
|
|
@@ -2353,7 +2353,7 @@
|
|
|
2353
2353
|
{
|
|
2354
2354
|
"key": "RpgItemLoadFailed",
|
|
2355
2355
|
"name": "RpgItem load failed",
|
|
2356
|
-
"
|
|
2356
|
+
"payloadSchema": [
|
|
2357
2357
|
{
|
|
2358
2358
|
"name": "error",
|
|
2359
2359
|
"type": "string"
|
|
@@ -2367,7 +2367,7 @@
|
|
|
2367
2367
|
{
|
|
2368
2368
|
"key": "RpgItemLoaded",
|
|
2369
2369
|
"name": "RpgItem loaded",
|
|
2370
|
-
"
|
|
2370
|
+
"payloadSchema": [
|
|
2371
2371
|
{
|
|
2372
2372
|
"name": "data",
|
|
2373
2373
|
"type": "[RpgItem]"
|
|
@@ -2401,68 +2401,68 @@
|
|
|
2401
2401
|
"fetch",
|
|
2402
2402
|
"RpgItem",
|
|
2403
2403
|
{
|
|
2404
|
+
"id": "@payload.id",
|
|
2404
2405
|
"emit": {
|
|
2405
|
-
"
|
|
2406
|
-
"
|
|
2407
|
-
}
|
|
2408
|
-
"id": "@payload.id"
|
|
2406
|
+
"failure": "RpgItemLoadFailed",
|
|
2407
|
+
"success": "RpgItemLoaded"
|
|
2408
|
+
}
|
|
2409
2409
|
}
|
|
2410
2410
|
],
|
|
2411
2411
|
[
|
|
2412
2412
|
"render-ui",
|
|
2413
2413
|
"modal",
|
|
2414
2414
|
{
|
|
2415
|
-
"
|
|
2415
|
+
"type": "stack",
|
|
2416
|
+
"direction": "vertical",
|
|
2416
2417
|
"children": [
|
|
2417
2418
|
{
|
|
2418
|
-
"gap": "sm",
|
|
2419
|
-
"type": "stack",
|
|
2420
|
-
"align": "center",
|
|
2421
|
-
"direction": "horizontal",
|
|
2422
2419
|
"children": [
|
|
2423
2420
|
{
|
|
2424
|
-
"
|
|
2425
|
-
"
|
|
2421
|
+
"type": "icon",
|
|
2422
|
+
"name": "alert-triangle"
|
|
2426
2423
|
},
|
|
2427
2424
|
{
|
|
2428
|
-
"
|
|
2425
|
+
"variant": "h3",
|
|
2429
2426
|
"type": "typography",
|
|
2430
|
-
"
|
|
2427
|
+
"content": "Drop RpgItem"
|
|
2431
2428
|
}
|
|
2432
|
-
]
|
|
2429
|
+
],
|
|
2430
|
+
"gap": "sm",
|
|
2431
|
+
"type": "stack",
|
|
2432
|
+
"direction": "horizontal",
|
|
2433
|
+
"align": "center"
|
|
2433
2434
|
},
|
|
2434
2435
|
{
|
|
2435
2436
|
"type": "divider"
|
|
2436
2437
|
},
|
|
2437
2438
|
{
|
|
2438
|
-
"message": "Are you sure you want to drop this rpgitem?",
|
|
2439
2439
|
"type": "alert",
|
|
2440
|
-
"variant": "error"
|
|
2440
|
+
"variant": "error",
|
|
2441
|
+
"message": "Are you sure you want to drop this rpgitem?"
|
|
2441
2442
|
},
|
|
2442
2443
|
{
|
|
2444
|
+
"justify": "end",
|
|
2443
2445
|
"children": [
|
|
2444
2446
|
{
|
|
2445
|
-
"action": "CANCEL",
|
|
2446
|
-
"type": "button",
|
|
2447
2447
|
"label": "Cancel",
|
|
2448
|
-
"
|
|
2448
|
+
"action": "CANCEL",
|
|
2449
|
+
"variant": "ghost",
|
|
2450
|
+
"type": "button"
|
|
2449
2451
|
},
|
|
2450
2452
|
{
|
|
2451
|
-
"variant": "danger",
|
|
2452
|
-
"icon": "check",
|
|
2453
|
-
"type": "button",
|
|
2454
2453
|
"action": "CONFIRM_DROP",
|
|
2455
|
-
"label": "Drop"
|
|
2454
|
+
"label": "Drop",
|
|
2455
|
+
"icon": "check",
|
|
2456
|
+
"variant": "danger",
|
|
2457
|
+
"type": "button"
|
|
2456
2458
|
}
|
|
2457
2459
|
],
|
|
2458
|
-
"
|
|
2460
|
+
"gap": "sm",
|
|
2459
2461
|
"type": "stack",
|
|
2460
|
-
"direction": "horizontal"
|
|
2461
|
-
"gap": "sm"
|
|
2462
|
+
"direction": "horizontal"
|
|
2462
2463
|
}
|
|
2463
2464
|
],
|
|
2464
|
-
"
|
|
2465
|
-
"type": "stack"
|
|
2465
|
+
"gap": "md"
|
|
2466
2466
|
}
|
|
2467
2467
|
]
|
|
2468
2468
|
]
|
|
@@ -2614,7 +2614,7 @@
|
|
|
2614
2614
|
"event": "MissionLoadFailed",
|
|
2615
2615
|
"description": "Fired when Mission fails to load",
|
|
2616
2616
|
"scope": "internal",
|
|
2617
|
-
"
|
|
2617
|
+
"payloadSchema": [
|
|
2618
2618
|
{
|
|
2619
2619
|
"name": "error",
|
|
2620
2620
|
"type": "string"
|
|
@@ -2629,7 +2629,7 @@
|
|
|
2629
2629
|
"event": "MissionLoaded",
|
|
2630
2630
|
"description": "Fired when Mission finishes loading",
|
|
2631
2631
|
"scope": "internal",
|
|
2632
|
-
"
|
|
2632
|
+
"payloadSchema": [
|
|
2633
2633
|
{
|
|
2634
2634
|
"name": "data",
|
|
2635
2635
|
"type": "[Mission]"
|
|
@@ -2639,7 +2639,7 @@
|
|
|
2639
2639
|
{
|
|
2640
2640
|
"event": "MissionUpdateFailed",
|
|
2641
2641
|
"scope": "internal",
|
|
2642
|
-
"
|
|
2642
|
+
"payloadSchema": [
|
|
2643
2643
|
{
|
|
2644
2644
|
"name": "error",
|
|
2645
2645
|
"type": "string"
|
|
@@ -2653,7 +2653,7 @@
|
|
|
2653
2653
|
{
|
|
2654
2654
|
"event": "MissionUpdated",
|
|
2655
2655
|
"scope": "internal",
|
|
2656
|
-
"
|
|
2656
|
+
"payloadSchema": [
|
|
2657
2657
|
{
|
|
2658
2658
|
"name": "id",
|
|
2659
2659
|
"type": "string"
|
|
@@ -2700,7 +2700,7 @@
|
|
|
2700
2700
|
{
|
|
2701
2701
|
"key": "MissionLoaded",
|
|
2702
2702
|
"name": "Mission loaded",
|
|
2703
|
-
"
|
|
2703
|
+
"payloadSchema": [
|
|
2704
2704
|
{
|
|
2705
2705
|
"name": "data",
|
|
2706
2706
|
"type": "[Mission]"
|
|
@@ -2710,7 +2710,7 @@
|
|
|
2710
2710
|
{
|
|
2711
2711
|
"key": "MissionLoadFailed",
|
|
2712
2712
|
"name": "Mission load failed",
|
|
2713
|
-
"
|
|
2713
|
+
"payloadSchema": [
|
|
2714
2714
|
{
|
|
2715
2715
|
"name": "error",
|
|
2716
2716
|
"type": "string"
|
|
@@ -2740,7 +2740,7 @@
|
|
|
2740
2740
|
{
|
|
2741
2741
|
"key": "SAVE",
|
|
2742
2742
|
"name": "Save",
|
|
2743
|
-
"
|
|
2743
|
+
"payloadSchema": [
|
|
2744
2744
|
{
|
|
2745
2745
|
"name": "data",
|
|
2746
2746
|
"type": "Mission"
|
|
@@ -2762,7 +2762,7 @@
|
|
|
2762
2762
|
{
|
|
2763
2763
|
"key": "MissionUpdateFailed",
|
|
2764
2764
|
"name": "Mission update failed",
|
|
2765
|
-
"
|
|
2765
|
+
"payloadSchema": [
|
|
2766
2766
|
{
|
|
2767
2767
|
"name": "error",
|
|
2768
2768
|
"type": "string"
|
|
@@ -2776,7 +2776,7 @@
|
|
|
2776
2776
|
{
|
|
2777
2777
|
"key": "MissionUpdated",
|
|
2778
2778
|
"name": "Mission updated",
|
|
2779
|
-
"
|
|
2779
|
+
"payloadSchema": [
|
|
2780
2780
|
{
|
|
2781
2781
|
"name": "id",
|
|
2782
2782
|
"type": "string"
|
|
@@ -2804,22 +2804,22 @@
|
|
|
2804
2804
|
"render-ui",
|
|
2805
2805
|
"main",
|
|
2806
2806
|
{
|
|
2807
|
+
"type": "stack",
|
|
2808
|
+
"direction": "vertical",
|
|
2809
|
+
"gap": "md",
|
|
2810
|
+
"align": "center",
|
|
2811
|
+
"className": "py-12",
|
|
2807
2812
|
"children": [
|
|
2808
2813
|
{
|
|
2809
2814
|
"type": "spinner"
|
|
2810
2815
|
},
|
|
2811
2816
|
{
|
|
2812
2817
|
"variant": "caption",
|
|
2813
|
-
"type": "typography",
|
|
2814
2818
|
"content": "Loading missions…",
|
|
2819
|
+
"type": "typography",
|
|
2815
2820
|
"color": "muted"
|
|
2816
2821
|
}
|
|
2817
|
-
]
|
|
2818
|
-
"type": "stack",
|
|
2819
|
-
"align": "center",
|
|
2820
|
-
"gap": "md",
|
|
2821
|
-
"direction": "vertical",
|
|
2822
|
-
"className": "py-12"
|
|
2822
|
+
]
|
|
2823
2823
|
}
|
|
2824
2824
|
]
|
|
2825
2825
|
]
|
|
@@ -2839,46 +2839,54 @@
|
|
|
2839
2839
|
"children": [
|
|
2840
2840
|
{
|
|
2841
2841
|
"type": "stack",
|
|
2842
|
+
"direction": "horizontal",
|
|
2843
|
+
"justify": "between",
|
|
2844
|
+
"gap": "md",
|
|
2842
2845
|
"children": [
|
|
2843
2846
|
{
|
|
2844
2847
|
"direction": "horizontal",
|
|
2848
|
+
"type": "stack",
|
|
2845
2849
|
"gap": "md",
|
|
2846
2850
|
"children": [
|
|
2847
2851
|
{
|
|
2848
|
-
"
|
|
2849
|
-
"
|
|
2852
|
+
"type": "icon",
|
|
2853
|
+
"name": "flag"
|
|
2850
2854
|
},
|
|
2851
2855
|
{
|
|
2852
|
-
"type": "typography",
|
|
2853
2856
|
"content": "Missions Board",
|
|
2857
|
+
"type": "typography",
|
|
2854
2858
|
"variant": "h2"
|
|
2855
2859
|
}
|
|
2856
|
-
]
|
|
2857
|
-
"type": "stack"
|
|
2860
|
+
]
|
|
2858
2861
|
}
|
|
2859
|
-
]
|
|
2860
|
-
"direction": "horizontal",
|
|
2861
|
-
"gap": "md",
|
|
2862
|
-
"justify": "between"
|
|
2862
|
+
]
|
|
2863
2863
|
},
|
|
2864
2864
|
{
|
|
2865
2865
|
"type": "divider"
|
|
2866
2866
|
},
|
|
2867
2867
|
{
|
|
2868
2868
|
"entity": "@payload.data",
|
|
2869
|
+
"groupBy": "status",
|
|
2870
|
+
"itemActions": [
|
|
2871
|
+
{
|
|
2872
|
+
"event": "ACCEPT",
|
|
2873
|
+
"label": "Accept"
|
|
2874
|
+
}
|
|
2875
|
+
],
|
|
2876
|
+
"fields": [],
|
|
2877
|
+
"type": "data-list",
|
|
2869
2878
|
"renderItem": [
|
|
2870
2879
|
"fn",
|
|
2871
2880
|
"item",
|
|
2872
2881
|
{
|
|
2873
|
-
"type": "stack",
|
|
2874
|
-
"direction": "vertical",
|
|
2875
2882
|
"children": [
|
|
2876
2883
|
{
|
|
2877
|
-
"
|
|
2884
|
+
"align": "center",
|
|
2885
|
+
"justify": "between",
|
|
2878
2886
|
"children": [
|
|
2879
2887
|
{
|
|
2880
|
-
"type": "stack",
|
|
2881
2888
|
"gap": "sm",
|
|
2889
|
+
"type": "stack",
|
|
2882
2890
|
"align": "center",
|
|
2883
2891
|
"direction": "horizontal",
|
|
2884
2892
|
"children": [
|
|
@@ -2888,18 +2896,17 @@
|
|
|
2888
2896
|
},
|
|
2889
2897
|
{
|
|
2890
2898
|
"type": "typography",
|
|
2891
|
-
"
|
|
2892
|
-
"
|
|
2899
|
+
"variant": "h4",
|
|
2900
|
+
"content": "@item.title"
|
|
2893
2901
|
}
|
|
2894
2902
|
]
|
|
2895
2903
|
},
|
|
2896
2904
|
{
|
|
2897
|
-
"
|
|
2898
|
-
"
|
|
2905
|
+
"type": "badge",
|
|
2906
|
+
"label": "@item.description"
|
|
2899
2907
|
}
|
|
2900
2908
|
],
|
|
2901
|
-
"
|
|
2902
|
-
"align": "center",
|
|
2909
|
+
"type": "stack",
|
|
2903
2910
|
"direction": "horizontal"
|
|
2904
2911
|
},
|
|
2905
2912
|
{
|
|
@@ -2908,22 +2915,15 @@
|
|
|
2908
2915
|
"content": "@item.status"
|
|
2909
2916
|
}
|
|
2910
2917
|
],
|
|
2918
|
+
"direction": "vertical",
|
|
2919
|
+
"type": "stack",
|
|
2911
2920
|
"gap": "sm"
|
|
2912
2921
|
}
|
|
2913
|
-
],
|
|
2914
|
-
"fields": [],
|
|
2915
|
-
"groupBy": "status",
|
|
2916
|
-
"type": "data-list",
|
|
2917
|
-
"itemActions": [
|
|
2918
|
-
{
|
|
2919
|
-
"label": "Accept",
|
|
2920
|
-
"event": "ACCEPT"
|
|
2921
|
-
}
|
|
2922
2922
|
]
|
|
2923
2923
|
}
|
|
2924
2924
|
],
|
|
2925
|
-
"
|
|
2926
|
-
"
|
|
2925
|
+
"direction": "vertical",
|
|
2926
|
+
"type": "stack"
|
|
2927
2927
|
}
|
|
2928
2928
|
],
|
|
2929
2929
|
"type": "game-shell",
|
|
@@ -2942,36 +2942,36 @@
|
|
|
2942
2942
|
"render-ui",
|
|
2943
2943
|
"main",
|
|
2944
2944
|
{
|
|
2945
|
+
"className": "py-12",
|
|
2946
|
+
"align": "center",
|
|
2947
|
+
"type": "stack",
|
|
2945
2948
|
"direction": "vertical",
|
|
2946
2949
|
"gap": "md",
|
|
2947
|
-
"align": "center",
|
|
2948
|
-
"className": "py-12",
|
|
2949
2950
|
"children": [
|
|
2950
2951
|
{
|
|
2951
|
-
"type": "icon",
|
|
2952
2952
|
"name": "alert-triangle",
|
|
2953
|
+
"type": "icon",
|
|
2953
2954
|
"color": "destructive"
|
|
2954
2955
|
},
|
|
2955
2956
|
{
|
|
2956
2957
|
"type": "typography",
|
|
2957
|
-
"
|
|
2958
|
-
"
|
|
2958
|
+
"variant": "h3",
|
|
2959
|
+
"content": "Failed to load missions"
|
|
2959
2960
|
},
|
|
2960
2961
|
{
|
|
2962
|
+
"content": "@payload.error",
|
|
2961
2963
|
"variant": "body",
|
|
2962
|
-
"type": "typography",
|
|
2963
2964
|
"color": "muted",
|
|
2964
|
-
"
|
|
2965
|
+
"type": "typography"
|
|
2965
2966
|
},
|
|
2966
2967
|
{
|
|
2967
|
-
"icon": "rotate-ccw",
|
|
2968
|
-
"label": "Retry",
|
|
2969
2968
|
"action": "INIT",
|
|
2969
|
+
"variant": "primary",
|
|
2970
|
+
"icon": "rotate-ccw",
|
|
2970
2971
|
"type": "button",
|
|
2971
|
-
"
|
|
2972
|
+
"label": "Retry"
|
|
2972
2973
|
}
|
|
2973
|
-
]
|
|
2974
|
-
"type": "stack"
|
|
2974
|
+
]
|
|
2975
2975
|
}
|
|
2976
2976
|
]
|
|
2977
2977
|
]
|
|
@@ -2985,24 +2985,24 @@
|
|
|
2985
2985
|
"render-ui",
|
|
2986
2986
|
"main",
|
|
2987
2987
|
{
|
|
2988
|
-
"appName": "RPG Game",
|
|
2989
|
-
"type": "game-shell",
|
|
2990
2988
|
"showTopBar": true,
|
|
2989
|
+
"type": "game-shell",
|
|
2991
2990
|
"children": [
|
|
2992
2991
|
{
|
|
2993
2992
|
"gap": "lg",
|
|
2994
|
-
"direction": "vertical",
|
|
2995
2993
|
"align": "center",
|
|
2994
|
+
"type": "stack",
|
|
2995
|
+
"direction": "vertical",
|
|
2996
2996
|
"children": [
|
|
2997
2997
|
{
|
|
2998
|
+
"variant": "h2",
|
|
2998
2999
|
"type": "typography",
|
|
2999
|
-
"content": "Quest Active"
|
|
3000
|
-
"variant": "h2"
|
|
3000
|
+
"content": "Quest Active"
|
|
3001
3001
|
},
|
|
3002
3002
|
{
|
|
3003
|
-
"
|
|
3003
|
+
"showPercentage": true,
|
|
3004
3004
|
"value": 50.0,
|
|
3005
|
-
"
|
|
3005
|
+
"type": "progress-bar"
|
|
3006
3006
|
},
|
|
3007
3007
|
{
|
|
3008
3008
|
"direction": "horizontal",
|
|
@@ -3016,23 +3016,23 @@
|
|
|
3016
3016
|
"label": "Progress"
|
|
3017
3017
|
},
|
|
3018
3018
|
{
|
|
3019
|
-
"label": "Complete",
|
|
3020
|
-
"type": "button",
|
|
3021
3019
|
"variant": "success",
|
|
3022
|
-
"action": "COMPLETE"
|
|
3020
|
+
"action": "COMPLETE",
|
|
3021
|
+
"type": "button",
|
|
3022
|
+
"label": "Complete"
|
|
3023
3023
|
},
|
|
3024
3024
|
{
|
|
3025
|
-
"label": "Fail",
|
|
3026
3025
|
"action": "FAIL",
|
|
3026
|
+
"type": "button",
|
|
3027
3027
|
"variant": "danger",
|
|
3028
|
-
"
|
|
3028
|
+
"label": "Fail"
|
|
3029
3029
|
}
|
|
3030
3030
|
]
|
|
3031
3031
|
}
|
|
3032
|
-
]
|
|
3033
|
-
"type": "stack"
|
|
3032
|
+
]
|
|
3034
3033
|
}
|
|
3035
|
-
]
|
|
3034
|
+
],
|
|
3035
|
+
"appName": "RPG Game"
|
|
3036
3036
|
}
|
|
3037
3037
|
]
|
|
3038
3038
|
]
|
|
@@ -3046,43 +3046,43 @@
|
|
|
3046
3046
|
"render-ui",
|
|
3047
3047
|
"modal",
|
|
3048
3048
|
{
|
|
3049
|
-
"type": "stack",
|
|
3050
3049
|
"children": [
|
|
3051
3050
|
{
|
|
3051
|
+
"direction": "horizontal",
|
|
3052
|
+
"gap": "sm",
|
|
3053
|
+
"type": "stack",
|
|
3052
3054
|
"children": [
|
|
3053
3055
|
{
|
|
3054
|
-
"
|
|
3055
|
-
"
|
|
3056
|
+
"type": "icon",
|
|
3057
|
+
"name": "trending-up"
|
|
3056
3058
|
},
|
|
3057
3059
|
{
|
|
3060
|
+
"variant": "h3",
|
|
3058
3061
|
"type": "typography",
|
|
3059
|
-
"content": "Update Progress"
|
|
3060
|
-
"variant": "h3"
|
|
3062
|
+
"content": "Update Progress"
|
|
3061
3063
|
}
|
|
3062
|
-
]
|
|
3063
|
-
"gap": "sm",
|
|
3064
|
-
"type": "stack",
|
|
3065
|
-
"direction": "horizontal"
|
|
3064
|
+
]
|
|
3066
3065
|
},
|
|
3067
3066
|
{
|
|
3068
3067
|
"type": "divider"
|
|
3069
3068
|
},
|
|
3070
3069
|
{
|
|
3070
|
+
"entity": "@entity",
|
|
3071
|
+
"cancelEvent": "CANCEL",
|
|
3072
|
+
"mode": "edit",
|
|
3073
|
+
"type": "form-section",
|
|
3074
|
+
"submitEvent": "SAVE",
|
|
3071
3075
|
"fields": [
|
|
3072
3076
|
"title",
|
|
3073
3077
|
"description",
|
|
3074
3078
|
"status",
|
|
3075
3079
|
"reward"
|
|
3076
|
-
]
|
|
3077
|
-
"type": "form-section",
|
|
3078
|
-
"mode": "edit",
|
|
3079
|
-
"entity": "@entity",
|
|
3080
|
-
"submitEvent": "SAVE",
|
|
3081
|
-
"cancelEvent": "CANCEL"
|
|
3080
|
+
]
|
|
3082
3081
|
}
|
|
3083
3082
|
],
|
|
3083
|
+
"direction": "vertical",
|
|
3084
3084
|
"gap": "md",
|
|
3085
|
-
"
|
|
3085
|
+
"type": "stack"
|
|
3086
3086
|
}
|
|
3087
3087
|
]
|
|
3088
3088
|
]
|
|
@@ -3096,10 +3096,12 @@
|
|
|
3096
3096
|
"render-ui",
|
|
3097
3097
|
"main",
|
|
3098
3098
|
{
|
|
3099
|
+
"type": "game-shell",
|
|
3100
|
+
"showTopBar": true,
|
|
3099
3101
|
"children": [
|
|
3100
3102
|
{
|
|
3101
|
-
"align": "center",
|
|
3102
3103
|
"gap": "lg",
|
|
3104
|
+
"align": "center",
|
|
3103
3105
|
"type": "stack",
|
|
3104
3106
|
"children": [
|
|
3105
3107
|
{
|
|
@@ -3108,8 +3110,8 @@
|
|
|
3108
3110
|
},
|
|
3109
3111
|
{
|
|
3110
3112
|
"variant": "h2",
|
|
3111
|
-
"
|
|
3112
|
-
"
|
|
3113
|
+
"type": "typography",
|
|
3114
|
+
"content": "Quest Complete"
|
|
3113
3115
|
},
|
|
3114
3116
|
{
|
|
3115
3117
|
"type": "alert",
|
|
@@ -3118,17 +3120,15 @@
|
|
|
3118
3120
|
},
|
|
3119
3121
|
{
|
|
3120
3122
|
"label": "View Quests",
|
|
3121
|
-
"type": "button",
|
|
3122
3123
|
"action": "RESET",
|
|
3123
|
-
"
|
|
3124
|
-
"
|
|
3124
|
+
"variant": "primary",
|
|
3125
|
+
"type": "button",
|
|
3126
|
+
"icon": "arrow-left"
|
|
3125
3127
|
}
|
|
3126
3128
|
],
|
|
3127
3129
|
"direction": "vertical"
|
|
3128
3130
|
}
|
|
3129
3131
|
],
|
|
3130
|
-
"showTopBar": true,
|
|
3131
|
-
"type": "game-shell",
|
|
3132
3132
|
"appName": "RPG Game"
|
|
3133
3133
|
}
|
|
3134
3134
|
]
|
|
@@ -3143,21 +3143,22 @@
|
|
|
3143
3143
|
"render-ui",
|
|
3144
3144
|
"main",
|
|
3145
3145
|
{
|
|
3146
|
-
"type": "game-shell",
|
|
3147
3146
|
"appName": "RPG Game",
|
|
3147
|
+
"type": "game-shell",
|
|
3148
3148
|
"showTopBar": true,
|
|
3149
3149
|
"children": [
|
|
3150
3150
|
{
|
|
3151
|
-
"
|
|
3151
|
+
"type": "stack",
|
|
3152
|
+
"direction": "vertical",
|
|
3152
3153
|
"children": [
|
|
3153
3154
|
{
|
|
3154
|
-
"
|
|
3155
|
-
"
|
|
3155
|
+
"name": "x-circle",
|
|
3156
|
+
"type": "icon"
|
|
3156
3157
|
},
|
|
3157
3158
|
{
|
|
3158
3159
|
"type": "typography",
|
|
3159
|
-
"
|
|
3160
|
-
"
|
|
3160
|
+
"content": "Quest Failed",
|
|
3161
|
+
"variant": "h2"
|
|
3161
3162
|
},
|
|
3162
3163
|
{
|
|
3163
3164
|
"message": "The quest was not completed. You can try again.",
|
|
@@ -3166,15 +3167,14 @@
|
|
|
3166
3167
|
},
|
|
3167
3168
|
{
|
|
3168
3169
|
"type": "button",
|
|
3169
|
-
"
|
|
3170
|
+
"label": "View Quests",
|
|
3170
3171
|
"action": "RESET",
|
|
3171
3172
|
"variant": "primary",
|
|
3172
|
-
"
|
|
3173
|
+
"icon": "arrow-left"
|
|
3173
3174
|
}
|
|
3174
3175
|
],
|
|
3175
|
-
"
|
|
3176
|
-
"
|
|
3177
|
-
"gap": "lg"
|
|
3176
|
+
"gap": "lg",
|
|
3177
|
+
"align": "center"
|
|
3178
3178
|
}
|
|
3179
3179
|
]
|
|
3180
3180
|
}
|
|
@@ -3237,8 +3237,8 @@
|
|
|
3237
3237
|
"Mission",
|
|
3238
3238
|
{
|
|
3239
3239
|
"emit": {
|
|
3240
|
-
"
|
|
3241
|
-
"
|
|
3240
|
+
"success": "MissionLoaded",
|
|
3241
|
+
"failure": "MissionLoadFailed"
|
|
3242
3242
|
}
|
|
3243
3243
|
}
|
|
3244
3244
|
],
|
|
@@ -3266,8 +3266,8 @@
|
|
|
3266
3266
|
"Mission",
|
|
3267
3267
|
{
|
|
3268
3268
|
"emit": {
|
|
3269
|
-
"
|
|
3270
|
-
"
|
|
3269
|
+
"success": "MissionLoaded",
|
|
3270
|
+
"failure": "MissionLoadFailed"
|
|
3271
3271
|
}
|
|
3272
3272
|
}
|
|
3273
3273
|
],
|
|
@@ -3314,8 +3314,8 @@
|
|
|
3314
3314
|
"Mission",
|
|
3315
3315
|
{
|
|
3316
3316
|
"emit": {
|
|
3317
|
-
"
|
|
3318
|
-
"
|
|
3317
|
+
"failure": "MissionLoadFailed",
|
|
3318
|
+
"success": "MissionLoaded"
|
|
3319
3319
|
}
|
|
3320
3320
|
}
|
|
3321
3321
|
],
|
|
@@ -3346,4 +3346,4 @@
|
|
|
3346
3346
|
]
|
|
3347
3347
|
}
|
|
3348
3348
|
]
|
|
3349
|
-
}
|
|
3349
|
+
}
|