@smartico/public-api 0.0.202 → 0.0.203
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/dist/CustomSections/AchCustomSection.d.ts +2 -1
- package/dist/MiniGames/SAWGameType.d.ts +3 -1
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.mjs +5 -1
- package/dist/index.modern.mjs.map +1 -1
- package/docs/enums/SAWGameTypeName.md +6 -0
- package/package.json +1 -1
- package/src/CustomSections/AchCustomSection.ts +1 -0
- package/src/MiniGames/SAWGameType.ts +3 -0
package/dist/index.modern.mjs
CHANGED
|
@@ -306,6 +306,7 @@ var SAWGameType;
|
|
|
306
306
|
SAWGameType[SAWGameType["Quiz"] = 6] = "Quiz";
|
|
307
307
|
SAWGameType[SAWGameType["LootboxWeekdays"] = 7] = "LootboxWeekdays";
|
|
308
308
|
SAWGameType[SAWGameType["LootboxCalendarDays"] = 8] = "LootboxCalendarDays";
|
|
309
|
+
SAWGameType[SAWGameType["TreasureHunt"] = 9] = "TreasureHunt";
|
|
309
310
|
})(SAWGameType || (SAWGameType = {}));
|
|
310
311
|
var SAWGameTypeName;
|
|
311
312
|
(function (SAWGameTypeName) {
|
|
@@ -317,6 +318,7 @@ var SAWGameTypeName;
|
|
|
317
318
|
SAWGameTypeName["Quiz"] = "quiz";
|
|
318
319
|
SAWGameTypeName["LootboxWeekdays"] = "lootbox_weekdays";
|
|
319
320
|
SAWGameTypeName["LootboxCalendarDays"] = "lootbox_calendar_days";
|
|
321
|
+
SAWGameTypeName["TreasureHunt"] = "treasure_hunt";
|
|
320
322
|
SAWGameTypeName["Unknown"] = "unknown";
|
|
321
323
|
})(SAWGameTypeName || (SAWGameTypeName = {}));
|
|
322
324
|
/** @hidden */
|
|
@@ -329,7 +331,8 @@ const SAWGameTypeNamed = type => {
|
|
|
329
331
|
[SAWGameType.PrizeDrop]: SAWGameTypeName.PrizeDrop,
|
|
330
332
|
[SAWGameType.Quiz]: SAWGameTypeName.Quiz,
|
|
331
333
|
[SAWGameType.LootboxWeekdays]: SAWGameTypeName.LootboxWeekdays,
|
|
332
|
-
[SAWGameType.LootboxCalendarDays]: SAWGameTypeName.LootboxCalendarDays
|
|
334
|
+
[SAWGameType.LootboxCalendarDays]: SAWGameTypeName.LootboxCalendarDays,
|
|
335
|
+
[SAWGameType.TreasureHunt]: SAWGameTypeName.TreasureHunt
|
|
333
336
|
}[type] || SAWGameTypeName.Unknown;
|
|
334
337
|
};
|
|
335
338
|
|
|
@@ -2118,6 +2121,7 @@ var AchCustomSectionType;
|
|
|
2118
2121
|
AchCustomSectionType[AchCustomSectionType["REDIRECT_LINK"] = 9] = "REDIRECT_LINK";
|
|
2119
2122
|
AchCustomSectionType[AchCustomSectionType["LOOTBOX_WEEKLY"] = 10] = "LOOTBOX_WEEKLY";
|
|
2120
2123
|
AchCustomSectionType[AchCustomSectionType["LOOTBOX_CALENDAR_DAYS"] = 11] = "LOOTBOX_CALENDAR_DAYS";
|
|
2124
|
+
AchCustomSectionType[AchCustomSectionType["TREASURE_HUNT"] = 12] = "TREASURE_HUNT";
|
|
2121
2125
|
})(AchCustomSectionType || (AchCustomSectionType = {}));
|
|
2122
2126
|
var AchCustomLayoutTheme;
|
|
2123
2127
|
(function (AchCustomLayoutTheme) {
|