@smartico/public-api 0.0.285 → 0.0.287

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.
@@ -53,5 +53,6 @@ export interface SAWTemplateUI {
53
53
  steps_to_finish_game?: number;
54
54
  wheel_layout?: SAWWheelLayout;
55
55
  background_music_volume?: number;
56
- game_difficulty: SAWGameDifficultyType;
56
+ /** Voyager specific */
57
+ game_difficulty?: SAWGameDifficultyType;
57
58
  }
@@ -27,3 +27,4 @@ export * from './SAWWinningHistoryResponse';
27
27
  export * from './SAWGameLayout';
28
28
  export * from './PrizeModifiers';
29
29
  export * from './SAWWheelLayout';
30
+ export * from './SAWGameDifficulty';
package/dist/index.js CHANGED
@@ -575,6 +575,24 @@ exports.SAWWheelLayout = void 0;
575
575
  SAWWheelLayout[SAWWheelLayout["BottomAligned"] = 4] = "BottomAligned";
576
576
  })(exports.SAWWheelLayout || (exports.SAWWheelLayout = {}));
577
577
 
578
+ exports.SAWGameDifficultyType = void 0;
579
+ (function (SAWGameDifficultyType) {
580
+ SAWGameDifficultyType[SAWGameDifficultyType["EASY"] = 1] = "EASY";
581
+ SAWGameDifficultyType[SAWGameDifficultyType["MEDIUM"] = 2] = "MEDIUM";
582
+ SAWGameDifficultyType[SAWGameDifficultyType["HARD"] = 3] = "HARD";
583
+ })(exports.SAWGameDifficultyType || (exports.SAWGameDifficultyType = {}));
584
+ exports.SAWGameDifficultyTypeName = void 0;
585
+ (function (SAWGameDifficultyTypeName) {
586
+ SAWGameDifficultyTypeName["EASY"] = "easy";
587
+ SAWGameDifficultyTypeName["MEDIUM"] = "medium";
588
+ SAWGameDifficultyTypeName["HARD"] = "hard";
589
+ })(exports.SAWGameDifficultyTypeName || (exports.SAWGameDifficultyTypeName = {}));
590
+ /** @hidden */
591
+ var SawGameDifficultyTypeNamed = function SawGameDifficultyTypeNamed(type) {
592
+ var _SAWGameDifficultyTyp;
593
+ return (_SAWGameDifficultyTyp = {}, _SAWGameDifficultyTyp[exports.SAWGameDifficultyType.EASY] = exports.SAWGameDifficultyTypeName.EASY, _SAWGameDifficultyTyp[exports.SAWGameDifficultyType.MEDIUM] = exports.SAWGameDifficultyTypeName.MEDIUM, _SAWGameDifficultyTyp[exports.SAWGameDifficultyType.HARD] = exports.SAWGameDifficultyTypeName.HARD, _SAWGameDifficultyTyp)[type];
594
+ };
595
+
578
596
  var NodeCache = /*#__PURE__*/function () {
579
597
  function NodeCache() {
580
598
  var _this = this;
@@ -5082,6 +5100,7 @@ exports.SAWHistoryTransform = SAWHistoryTransform;
5082
5100
  exports.SAWTemplatesTransform = SAWTemplatesTransform;
5083
5101
  exports.SAWUtils = SAWUtils;
5084
5102
  exports.SAWWinSoundFiles = SAWWinSoundFiles;
5103
+ exports.SawGameDifficultyTypeNamed = SawGameDifficultyTypeNamed;
5085
5104
  exports.SmarticoAPI = SmarticoAPI;
5086
5105
  exports.StoreCategoryTransform = StoreCategoryTransform;
5087
5106
  exports.StoreItemPurchasedTransform = StoreItemPurchasedTransform;