@almadar/std 3.6.0 → 3.6.1

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.
@@ -111,7 +111,7 @@
111
111
  "color": "muted"
112
112
  },
113
113
  {
114
- "type": "game-canvas2-d",
114
+ "type": "game-canvas-2d",
115
115
  "width": 800,
116
116
  "height": 600,
117
117
  "fps": 60
@@ -160,7 +160,7 @@
160
160
  ]
161
161
  },
162
162
  {
163
- "type": "game-canvas2-d",
163
+ "type": "game-canvas-2d",
164
164
  "width": 800,
165
165
  "height": 600,
166
166
  "fps": 60
@@ -221,7 +221,7 @@
221
221
  "color": "muted"
222
222
  },
223
223
  {
224
- "type": "game-canvas2-d",
224
+ "type": "game-canvas-2d",
225
225
  "width": 800,
226
226
  "height": 600,
227
227
  "fps": 60
@@ -148,7 +148,7 @@
148
148
  "render-ui",
149
149
  "main",
150
150
  {
151
- "type": "game-canvas3-d",
151
+ "type": "game-canvas-3d",
152
152
  "tiles": [
153
153
  "object/get",
154
154
  [
@@ -193,7 +193,7 @@
193
193
  "render-ui",
194
194
  "main",
195
195
  {
196
- "type": "game-canvas3-d",
196
+ "type": "game-canvas-3d",
197
197
  "tiles": [
198
198
  "object/get",
199
199
  [
@@ -238,7 +238,7 @@
238
238
  "render-ui",
239
239
  "main",
240
240
  {
241
- "type": "game-canvas3-d",
241
+ "type": "game-canvas-3d",
242
242
  "tiles": [
243
243
  "object/get",
244
244
  [
@@ -283,7 +283,7 @@
283
283
  "render-ui",
284
284
  "main",
285
285
  {
286
- "type": "game-canvas3-d",
286
+ "type": "game-canvas-3d",
287
287
  "tiles": [
288
288
  "object/get",
289
289
  [
@@ -328,7 +328,7 @@
328
328
  "render-ui",
329
329
  "main",
330
330
  {
331
- "type": "game-canvas3-d",
331
+ "type": "game-canvas-3d",
332
332
  "tiles": [
333
333
  "object/get",
334
334
  [
@@ -191,7 +191,7 @@
191
191
  "render-ui",
192
192
  "main",
193
193
  {
194
- "type": "game-canvas2-d",
194
+ "type": "game-canvas-2d",
195
195
  "width": 800,
196
196
  "height": 600,
197
197
  "fps": 60
@@ -217,7 +217,7 @@
217
217
  "render-ui",
218
218
  "main",
219
219
  {
220
- "type": "game-canvas2-d",
220
+ "type": "game-canvas-2d",
221
221
  "width": 800,
222
222
  "height": 600,
223
223
  "fps": 60
@@ -284,7 +284,7 @@
284
284
  "render-ui",
285
285
  "main",
286
286
  {
287
- "type": "game-canvas2-d",
287
+ "type": "game-canvas-2d",
288
288
  "width": 800,
289
289
  "height": 600,
290
290
  "fps": 60
@@ -306,7 +306,7 @@
306
306
  "render-ui",
307
307
  "main",
308
308
  {
309
- "type": "game-canvas2-d",
309
+ "type": "game-canvas-2d",
310
310
  "width": 800,
311
311
  "height": 600,
312
312
  "fps": 60
@@ -563,7 +563,7 @@
563
563
  "color": "muted"
564
564
  },
565
565
  {
566
- "type": "game-canvas2-d",
566
+ "type": "game-canvas-2d",
567
567
  "width": 800,
568
568
  "height": 600,
569
569
  "fps": 60
@@ -619,7 +619,7 @@
619
619
  ]
620
620
  },
621
621
  {
622
- "type": "game-canvas2-d",
622
+ "type": "game-canvas-2d",
623
623
  "width": 800,
624
624
  "height": 600,
625
625
  "fps": 60
@@ -687,7 +687,7 @@
687
687
  "color": "muted"
688
688
  },
689
689
  {
690
- "type": "game-canvas2-d",
690
+ "type": "game-canvas-2d",
691
691
  "width": 800,
692
692
  "height": 600,
693
693
  "fps": 60
@@ -182,7 +182,7 @@
182
182
  "showTopBar": true,
183
183
  "children": [
184
184
  {
185
- "type": "game-canvas2-d",
185
+ "type": "game-canvas-2d",
186
186
  "width": 800,
187
187
  "height": 600,
188
188
  "fps": 60
@@ -215,7 +215,7 @@
215
215
  "showTopBar": true,
216
216
  "children": [
217
217
  {
218
- "type": "game-canvas2-d",
218
+ "type": "game-canvas-2d",
219
219
  "width": 800,
220
220
  "height": 600,
221
221
  "fps": 60
@@ -289,7 +289,7 @@
289
289
  "showTopBar": true,
290
290
  "children": [
291
291
  {
292
- "type": "game-canvas2-d",
292
+ "type": "game-canvas-2d",
293
293
  "width": 800,
294
294
  "height": 600,
295
295
  "fps": 60
@@ -318,7 +318,7 @@
318
318
  "showTopBar": true,
319
319
  "children": [
320
320
  {
321
- "type": "game-canvas2-d",
321
+ "type": "game-canvas-2d",
322
322
  "width": 800,
323
323
  "height": 600,
324
324
  "fps": 60
@@ -1,13 +1,126 @@
1
1
  {
2
- "date": "2026-03-18T02:04:47+01:00",
3
- "total": 1,
4
- "pass": 0,
5
- "fail": 0,
6
- "skip": 1,
2
+ "date": "2026-03-28T10:28:29+01:00",
3
+ "total": 115,
4
+ "pass": 77,
5
+ "fail": 38,
6
+ "skip": 0,
7
7
  "passed": [
8
- ""
8
+ "std-async",
9
+ "std-browse",
10
+ "std-cache-aside",
11
+ "std-calendar",
12
+ "std-circuit-breaker",
13
+ "std-collision",
14
+ "std-combat-log",
15
+ "std-combat",
16
+ "std-confirmation",
17
+ "std-dialogue-box",
18
+ "std-display",
19
+ "std-drawer",
20
+ "std-filter",
21
+ "std-flip-card",
22
+ "std-game-audio",
23
+ "std-game-canvas2d",
24
+ "std-game-canvas3d",
25
+ "std-gameflow",
26
+ "std-game-hud",
27
+ "std-game-menu",
28
+ "std-game-over-screen",
29
+ "std-loading",
30
+ "std-modal",
31
+ "std-movement",
32
+ "std-notification",
33
+ "std-overworld",
34
+ "std-pagination",
35
+ "std-physics2d",
36
+ "std-quest",
37
+ "std-rate-limiter",
38
+ "std-rating",
39
+ "std-score-board",
40
+ "std-score",
41
+ "std-search",
42
+ "std-selection",
43
+ "std-service-email",
44
+ "std-service-github",
45
+ "std-service-llm",
46
+ "std-service-oauth",
47
+ "std-service-redis",
48
+ "std-service-storage",
49
+ "std-service-stripe",
50
+ "std-service-twilio",
51
+ "std-service-youtube",
52
+ "std-simulation-canvas",
53
+ "std-sort",
54
+ "std-sprite",
55
+ "std-tabs",
56
+ "std-text-effects",
57
+ "std-theme",
58
+ "std-timer",
59
+ "std-undo",
60
+ "std-upload",
61
+ "std-wizard",
62
+ "std-builder-game",
63
+ "std-classifier-game",
64
+ "std-debugger-game",
65
+ "std-detail",
66
+ "std-event-handler-game",
67
+ "std-form-advanced",
68
+ "std-messaging",
69
+ "std-negotiator-game",
70
+ "std-platformer-game",
71
+ "std-puzzle-game",
72
+ "std-quiz",
73
+ "std-sequencer-game",
74
+ "std-service-content-pipeline",
75
+ "std-service-devops-toolkit",
76
+ "std-service-notification-hub",
77
+ "std-service-payment-flow",
78
+ "std-simulator-game",
79
+ "std-turn-based-battle",
80
+ "std-arcade-game",
81
+ "std-coding-academy",
82
+ "std-logic-training",
83
+ "std-puzzle-app",
84
+ "std-strategy-game"
9
85
  ],
10
86
  "failed": [
11
- ""
87
+ "std-autoregressive",
88
+ "std-gallery",
89
+ "std-input",
90
+ "std-inventory-panel",
91
+ "std-isometric-canvas",
92
+ "std-platformer-canvas",
93
+ "std-service-custom-bearer",
94
+ "std-service-custom-header",
95
+ "std-service-custom-noauth",
96
+ "std-service-custom-query",
97
+ "std-validate-on-save",
98
+ "std-cart",
99
+ "std-geospatial",
100
+ "std-inventory",
101
+ "std-list",
102
+ "std-service-custom-api-tester",
103
+ "std-api-gateway",
104
+ "std-booking-system",
105
+ "std-cicd-pipeline",
106
+ "std-cms",
107
+ "std-crm",
108
+ "std-devops-dashboard",
109
+ "std-ecommerce",
110
+ "std-finance-tracker",
111
+ "std-healthcare",
112
+ "std-helpdesk",
113
+ "std-hr-portal",
114
+ "std-iot-dashboard",
115
+ "std-lms",
116
+ "std-platformer-app",
117
+ "std-project-manager",
118
+ "std-realtime-chat",
119
+ "std-rpg-game",
120
+ "std-service-marketplace",
121
+ "std-service-research-assistant",
122
+ "std-social-feed",
123
+ "std-stem-lab",
124
+ "std-trading-dashboard"
12
125
  ]
13
126
  }
package/dist/index.js CHANGED
@@ -4298,7 +4298,7 @@ function buildTrait3(c) {
4298
4298
  event: c.requestEvent,
4299
4299
  effects: [
4300
4300
  ["set", "@entity.pendingId", "@payload.id"],
4301
- ["fetch", entityName, "@payload.id"],
4301
+ ["fetch", entityName, { id: "@payload.id" }],
4302
4302
  ["render-ui", "modal", confirmModalView]
4303
4303
  ]
4304
4304
  },
@@ -11894,7 +11894,7 @@ function buildEntity48(c) {
11894
11894
  function buildTrait49(c) {
11895
11895
  const { width, height, fps } = c;
11896
11896
  const canvasConfig = {
11897
- type: "game-canvas2-d",
11897
+ type: "game-canvas-2d",
11898
11898
  width,
11899
11899
  height,
11900
11900
  fps
@@ -12014,7 +12014,7 @@ function buildEntity49(c) {
12014
12014
  function buildTrait50(c) {
12015
12015
  const { entityName, orientation, cameraMode, showGrid, shadows, backgroundColor } = c;
12016
12016
  const canvasView = {
12017
- type: "game-canvas3-d",
12017
+ type: "game-canvas-3d",
12018
12018
  tiles: ["object/get", ["array/first", `@${entityName}`], "tiles"],
12019
12019
  units: ["object/get", ["array/first", `@${entityName}`], "units"],
12020
12020
  features: ["object/get", ["array/first", `@${entityName}`], "features"],
@@ -12219,7 +12219,7 @@ function stdList(params) {
12219
12219
  openEvent: "EDIT",
12220
12220
  openPayload: [{ name: "id", type: "string", required: true }],
12221
12221
  closeEvent: "CLOSE",
12222
- openEffects: [["fetch", entityName, "@payload.id"]],
12222
+ openEffects: [["fetch", entityName, { id: "@payload.id" }]],
12223
12223
  saveEvent: "SAVE",
12224
12224
  saveEffects: [["persist", "update", entityName, "@payload.data"]],
12225
12225
  emitOnSave: UPDATED
@@ -12235,7 +12235,7 @@ function stdList(params) {
12235
12235
  openEvent: "VIEW",
12236
12236
  openPayload: [{ name: "id", type: "string", required: true }],
12237
12237
  closeEvent: "CLOSE",
12238
- openEffects: [["fetch", entityName, "@payload.id"]]
12238
+ openEffects: [["fetch", entityName, { id: "@payload.id" }]]
12239
12239
  }));
12240
12240
  const sm = browseTrait.stateMachine;
12241
12241
  sm.states.push({ name: "deleting" });
@@ -12251,7 +12251,7 @@ function stdList(params) {
12251
12251
  sm.transitions.push(
12252
12252
  // DELETE: browsing → deleting (fetch entity by ID, show confirmation modal)
12253
12253
  { from: "browsing", to: "deleting", event: "DELETE", effects: [
12254
- ["fetch", entityName, "@payload.id"],
12254
+ ["fetch", entityName, { id: "@payload.id" }],
12255
12255
  ["render-ui", "modal", {
12256
12256
  type: "stack",
12257
12257
  direction: "vertical",
@@ -12632,7 +12632,7 @@ function stdDetail(params) {
12632
12632
  openEvent: "VIEW",
12633
12633
  openPayload: [{ name: "id", type: "string", required: true }],
12634
12634
  closeEvent: "CLOSE",
12635
- openEffects: [["fetch", entityName, "@payload.id"]]
12635
+ openEffects: [["fetch", entityName, { id: "@payload.id" }]]
12636
12636
  }));
12637
12637
  const entity = makeEntity({ name: entityName, fields, persistence: c.persistence, collection: c.collection });
12638
12638
  const page = {
@@ -12775,7 +12775,7 @@ function stdInventory(params) {
12775
12775
  openEvent: "USE_ITEM",
12776
12776
  openPayload: [{ name: "id", type: "string", required: true }],
12777
12777
  closeEvent: "CLOSE",
12778
- openEffects: [["fetch", entityName, "@payload.id"]],
12778
+ openEffects: [["fetch", entityName, { id: "@payload.id" }]],
12779
12779
  saveEvent: "SAVE",
12780
12780
  saveEffects: [["persist", "update", entityName, "@payload.data"]],
12781
12781
  emitOnSave: "ITEM_USED"
@@ -12961,7 +12961,7 @@ function stdMessaging(params) {
12961
12961
  openEvent: "VIEW",
12962
12962
  openPayload: [{ name: "id", type: "string", required: true }],
12963
12963
  closeEvent: "CLOSE",
12964
- openEffects: [["fetch", entityName, "@payload.id"]]
12964
+ openEffects: [["fetch", entityName, { id: "@payload.id" }]]
12965
12965
  }));
12966
12966
  const entity = makeEntity({ name: entityName, fields, persistence: c.persistence, collection: c.collection });
12967
12967
  const page = {
@@ -13085,7 +13085,7 @@ function stdGeospatial(params) {
13085
13085
  openEvent: "SELECT",
13086
13086
  openPayload: [{ name: "id", type: "string", required: true }],
13087
13087
  closeEvent: "CLOSE",
13088
- openEffects: [["fetch", entityName, "@payload.id"]],
13088
+ openEffects: [["fetch", entityName, { id: "@payload.id" }]],
13089
13089
  saveEvent: "CONFIRM_SELECT",
13090
13090
  saveEffects: []
13091
13091
  }));
@@ -14047,7 +14047,7 @@ function buildPuzzleFlowTrait(c) {
14047
14047
  ]
14048
14048
  };
14049
14049
  const playingUI = {
14050
- type: "game-canvas2-d",
14050
+ type: "game-canvas-2d",
14051
14051
  width,
14052
14052
  height,
14053
14053
  fps: 60