@smartico/public-api 0.0.370 → 0.0.371

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.
@@ -343,6 +343,15 @@ export interface SAWTemplateUI {
343
343
  * Back-Office label: _"Steps to finish game"_.
344
344
  */
345
345
  steps_to_finish_game?: number;
346
+ /**
347
+ * Minimum number of path steps / collectible prizes a Voyager session
348
+ * must include before the game can finish. Acts as a floor for the
349
+ * randomly-chosen path length so that sessions cannot terminate after
350
+ * only one or two prizes. When omitted, no minimum is enforced.
351
+ * Must be `>= 1` and `<= steps_to_finish_game`.
352
+ * Back-Office label: _"Min. number of prizes"_.
353
+ */
354
+ min_steps_to_finish_game?: number;
346
355
  /**
347
356
  * Difficulty level of the Voyager (space-exploration) mini-game,
348
357
  * controlling obstacle frequency and game speed.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartico/public-api",
3
- "version": "0.0.370",
3
+ "version": "0.0.371",
4
4
  "description": "Smartico public API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -431,6 +431,16 @@ export interface SAWTemplateUI {
431
431
  */
432
432
  steps_to_finish_game?: number;
433
433
 
434
+ /**
435
+ * Minimum number of path steps / collectible prizes a Voyager session
436
+ * must include before the game can finish. Acts as a floor for the
437
+ * randomly-chosen path length so that sessions cannot terminate after
438
+ * only one or two prizes. When omitted, no minimum is enforced.
439
+ * Must be `>= 1` and `<= steps_to_finish_game`.
440
+ * Back-Office label: _"Min. number of prizes"_.
441
+ */
442
+ min_steps_to_finish_game?: number;
443
+
434
444
  // ─── Voyager specific ────────────────────────────────────────────────────
435
445
 
436
446
  /**