@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
|
@@ -9,7 +9,8 @@ export declare enum AchCustomSectionType {
|
|
|
9
9
|
QUIZ = 8,
|
|
10
10
|
REDIRECT_LINK = 9,
|
|
11
11
|
LOOTBOX_WEEKLY = 10,
|
|
12
|
-
LOOTBOX_CALENDAR_DAYS = 11
|
|
12
|
+
LOOTBOX_CALENDAR_DAYS = 11,
|
|
13
|
+
TREASURE_HUNT = 12
|
|
13
14
|
}
|
|
14
15
|
export declare enum AchCustomLayoutTheme {
|
|
15
16
|
VALENTINES_LIGHT = "valentines-light",
|
|
@@ -7,7 +7,8 @@ export declare enum SAWGameType {
|
|
|
7
7
|
PrizeDrop = 5,
|
|
8
8
|
Quiz = 6,
|
|
9
9
|
LootboxWeekdays = 7,
|
|
10
|
-
LootboxCalendarDays = 8
|
|
10
|
+
LootboxCalendarDays = 8,
|
|
11
|
+
TreasureHunt = 9
|
|
11
12
|
}
|
|
12
13
|
export declare enum SAWGameTypeName {
|
|
13
14
|
SpinAWheel = "wheel",
|
|
@@ -18,6 +19,7 @@ export declare enum SAWGameTypeName {
|
|
|
18
19
|
Quiz = "quiz",
|
|
19
20
|
LootboxWeekdays = "lootbox_weekdays",
|
|
20
21
|
LootboxCalendarDays = "lootbox_calendar_days",
|
|
22
|
+
TreasureHunt = "treasure_hunt",
|
|
21
23
|
Unknown = "unknown"
|
|
22
24
|
}
|
|
23
25
|
/** @hidden */
|
package/dist/index.js
CHANGED
|
@@ -332,6 +332,7 @@ exports.SAWGameType = void 0;
|
|
|
332
332
|
SAWGameType[SAWGameType["Quiz"] = 6] = "Quiz";
|
|
333
333
|
SAWGameType[SAWGameType["LootboxWeekdays"] = 7] = "LootboxWeekdays";
|
|
334
334
|
SAWGameType[SAWGameType["LootboxCalendarDays"] = 8] = "LootboxCalendarDays";
|
|
335
|
+
SAWGameType[SAWGameType["TreasureHunt"] = 9] = "TreasureHunt";
|
|
335
336
|
})(exports.SAWGameType || (exports.SAWGameType = {}));
|
|
336
337
|
exports.SAWGameTypeName = void 0;
|
|
337
338
|
(function (SAWGameTypeName) {
|
|
@@ -343,12 +344,13 @@ exports.SAWGameTypeName = void 0;
|
|
|
343
344
|
SAWGameTypeName["Quiz"] = "quiz";
|
|
344
345
|
SAWGameTypeName["LootboxWeekdays"] = "lootbox_weekdays";
|
|
345
346
|
SAWGameTypeName["LootboxCalendarDays"] = "lootbox_calendar_days";
|
|
347
|
+
SAWGameTypeName["TreasureHunt"] = "treasure_hunt";
|
|
346
348
|
SAWGameTypeName["Unknown"] = "unknown";
|
|
347
349
|
})(exports.SAWGameTypeName || (exports.SAWGameTypeName = {}));
|
|
348
350
|
/** @hidden */
|
|
349
351
|
var SAWGameTypeNamed = function SAWGameTypeNamed(type) {
|
|
350
352
|
var _SAWGameType$SpinAWhe;
|
|
351
|
-
return (_SAWGameType$SpinAWhe = {}, _SAWGameType$SpinAWhe[exports.SAWGameType.SpinAWheel] = exports.SAWGameTypeName.SpinAWheel, _SAWGameType$SpinAWhe[exports.SAWGameType.ScratchCard] = exports.SAWGameTypeName.ScratchCard, _SAWGameType$SpinAWhe[exports.SAWGameType.MatchX] = exports.SAWGameTypeName.MatchX, _SAWGameType$SpinAWhe[exports.SAWGameType.GiftBox] = exports.SAWGameTypeName.GiftBox, _SAWGameType$SpinAWhe[exports.SAWGameType.PrizeDrop] = exports.SAWGameTypeName.PrizeDrop, _SAWGameType$SpinAWhe[exports.SAWGameType.Quiz] = exports.SAWGameTypeName.Quiz, _SAWGameType$SpinAWhe[exports.SAWGameType.LootboxWeekdays] = exports.SAWGameTypeName.LootboxWeekdays, _SAWGameType$SpinAWhe[exports.SAWGameType.LootboxCalendarDays] = exports.SAWGameTypeName.LootboxCalendarDays, _SAWGameType$SpinAWhe)[type] || exports.SAWGameTypeName.Unknown;
|
|
353
|
+
return (_SAWGameType$SpinAWhe = {}, _SAWGameType$SpinAWhe[exports.SAWGameType.SpinAWheel] = exports.SAWGameTypeName.SpinAWheel, _SAWGameType$SpinAWhe[exports.SAWGameType.ScratchCard] = exports.SAWGameTypeName.ScratchCard, _SAWGameType$SpinAWhe[exports.SAWGameType.MatchX] = exports.SAWGameTypeName.MatchX, _SAWGameType$SpinAWhe[exports.SAWGameType.GiftBox] = exports.SAWGameTypeName.GiftBox, _SAWGameType$SpinAWhe[exports.SAWGameType.PrizeDrop] = exports.SAWGameTypeName.PrizeDrop, _SAWGameType$SpinAWhe[exports.SAWGameType.Quiz] = exports.SAWGameTypeName.Quiz, _SAWGameType$SpinAWhe[exports.SAWGameType.LootboxWeekdays] = exports.SAWGameTypeName.LootboxWeekdays, _SAWGameType$SpinAWhe[exports.SAWGameType.LootboxCalendarDays] = exports.SAWGameTypeName.LootboxCalendarDays, _SAWGameType$SpinAWhe[exports.SAWGameType.TreasureHunt] = exports.SAWGameTypeName.TreasureHunt, _SAWGameType$SpinAWhe)[type] || exports.SAWGameTypeName.Unknown;
|
|
352
354
|
};
|
|
353
355
|
|
|
354
356
|
/** @hidden */
|
|
@@ -2507,6 +2509,7 @@ var AchCustomSectionType;
|
|
|
2507
2509
|
AchCustomSectionType[AchCustomSectionType["REDIRECT_LINK"] = 9] = "REDIRECT_LINK";
|
|
2508
2510
|
AchCustomSectionType[AchCustomSectionType["LOOTBOX_WEEKLY"] = 10] = "LOOTBOX_WEEKLY";
|
|
2509
2511
|
AchCustomSectionType[AchCustomSectionType["LOOTBOX_CALENDAR_DAYS"] = 11] = "LOOTBOX_CALENDAR_DAYS";
|
|
2512
|
+
AchCustomSectionType[AchCustomSectionType["TREASURE_HUNT"] = 12] = "TREASURE_HUNT";
|
|
2510
2513
|
})(AchCustomSectionType || (AchCustomSectionType = {}));
|
|
2511
2514
|
var AchCustomLayoutTheme;
|
|
2512
2515
|
(function (AchCustomLayoutTheme) {
|