@orbit-software/sdk 1.10.0

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.
Files changed (189) hide show
  1. package/dist/esm/Overlay.d.ts +2 -0
  2. package/dist/esm/app/helpers.d.ts +2 -0
  3. package/dist/esm/app/ui/assets/IconBack.d.ts +1 -0
  4. package/dist/esm/app/ui/assets/IconClosePlain.d.ts +3 -0
  5. package/dist/esm/app/ui/components/AvatarProgress.d.ts +13 -0
  6. package/dist/esm/app/ui/components/ClosableModal.d.ts +11 -0
  7. package/dist/esm/app/ui/components/IconBalance.d.ts +3 -0
  8. package/dist/esm/app/ui/components/InputSwitch.d.ts +9 -0
  9. package/dist/esm/app/ui/components/Inventory/Inventory.d.ts +2 -0
  10. package/dist/esm/app/ui/components/Inventory/context.d.ts +10 -0
  11. package/dist/esm/app/ui/components/XsButton.d.ts +6 -0
  12. package/dist/esm/app/ui/hooks/useAnimateNumber.d.ts +1 -0
  13. package/dist/esm/app/utils.d.ts +2 -0
  14. package/dist/esm/boolean-D78EXBUO.mjs +1986 -0
  15. package/dist/esm/bootstrap.d.ts +1 -0
  16. package/dist/esm/features/profile/assets/IconAd.d.ts +1 -0
  17. package/dist/esm/features/profile/assets/IconAddCircle.d.ts +1 -0
  18. package/dist/esm/features/profile/assets/IconCurrencyStar.d.ts +3 -0
  19. package/dist/esm/features/profile/assets/IconDrag.d.ts +2 -0
  20. package/dist/esm/features/profile/assets/IconEdit.d.ts +2 -0
  21. package/dist/esm/features/profile/assets/IconGame.d.ts +2 -0
  22. package/dist/esm/features/profile/assets/IconNoSign.d.ts +1 -0
  23. package/dist/esm/features/profile/assets/IconProfile.d.ts +1 -0
  24. package/dist/esm/features/profile/assets/moneyTongue.json.d.ts +3 -0
  25. package/dist/esm/features/profile/assets/newspaper.json.d.ts +3 -0
  26. package/dist/esm/features/profile/assets/profileBgGradients.d.ts +6 -0
  27. package/dist/esm/features/profile/components/Avatars.d.ts +8 -0
  28. package/dist/esm/features/profile/components/BalanceConfetti.d.ts +6 -0
  29. package/dist/esm/features/profile/components/BuyMenu.d.ts +8 -0
  30. package/dist/esm/features/profile/components/CircleParticles.d.ts +10 -0
  31. package/dist/esm/features/profile/components/FormattedXP.d.ts +8 -0
  32. package/dist/esm/features/profile/components/LevelInfoModal.d.ts +9 -0
  33. package/dist/esm/features/profile/components/ModalContainer.d.ts +6 -0
  34. package/dist/esm/features/profile/components/OverlayProfile.d.ts +8 -0
  35. package/dist/esm/features/profile/components/Profile.d.ts +3 -0
  36. package/dist/esm/features/profile/components/PurchaseConfirm.d.ts +9 -0
  37. package/dist/esm/features/profile/components/Ribbon.d.ts +6 -0
  38. package/dist/esm/features/profile/components/StarParticles.d.ts +10 -0
  39. package/dist/esm/features/profile/components/TaskCard.d.ts +21 -0
  40. package/dist/esm/features/profile/components/XpProgress.d.ts +14 -0
  41. package/dist/esm/features/profile/hooks/useAnimatedProfile.d.ts +5 -0
  42. package/dist/esm/gaussian-splat-compression-CzzkTP3L.mjs +1632 -0
  43. package/dist/esm/hooks/useForceRerender.d.ts +1 -0
  44. package/dist/esm/hooks/useMiniApp.d.ts +3 -0
  45. package/dist/esm/howler-Mh6LB0k5.mjs +572 -0
  46. package/dist/esm/i18n/index.d.ts +2 -0
  47. package/dist/esm/i18n/locales/translations/en.json.d.ts +213 -0
  48. package/dist/esm/i18n/locales/translations/ru.json.d.ts +210 -0
  49. package/dist/esm/launcherSrc/App.d.ts +2 -0
  50. package/dist/esm/launcherSrc/api/client.d.ts +3 -0
  51. package/dist/esm/launcherSrc/api/types.d.ts +181 -0
  52. package/dist/esm/launcherSrc/api/userApi.d.ts +22 -0
  53. package/dist/esm/launcherSrc/app/components/DebugConsole.d.ts +2 -0
  54. package/dist/esm/launcherSrc/app/contexts/SnackbarContext.d.ts +18 -0
  55. package/dist/esm/launcherSrc/app/helpers.d.ts +5 -0
  56. package/dist/esm/launcherSrc/app/hooks/forceRerender.d.ts +1 -0
  57. package/dist/esm/launcherSrc/app/hooks/useMainButtonControl.d.ts +7 -0
  58. package/dist/esm/launcherSrc/app/hooks/useMiniApp.d.ts +3 -0
  59. package/dist/esm/launcherSrc/app/hooks.d.ts +11 -0
  60. package/dist/esm/launcherSrc/app/store.d.ts +19 -0
  61. package/dist/esm/launcherSrc/app/ui/assets/IconBack.d.ts +1 -0
  62. package/dist/esm/launcherSrc/app/ui/assets/IconCheck.d.ts +2 -0
  63. package/dist/esm/launcherSrc/app/ui/assets/IconCheckThin.d.ts +2 -0
  64. package/dist/esm/launcherSrc/app/ui/assets/IconCross.d.ts +2 -0
  65. package/dist/esm/launcherSrc/app/ui/assets/IconSearch.d.ts +2 -0
  66. package/dist/esm/launcherSrc/app/ui/components/AvatarProgress.d.ts +13 -0
  67. package/dist/esm/launcherSrc/app/ui/components/ClosableModal.d.ts +10 -0
  68. package/dist/esm/launcherSrc/app/ui/components/FormattedXP.d.ts +8 -0
  69. package/dist/esm/launcherSrc/app/ui/components/IconBalance.d.ts +3 -0
  70. package/dist/esm/launcherSrc/app/ui/components/InputSwitch.d.ts +9 -0
  71. package/dist/esm/launcherSrc/app/ui/components/Twemoji.d.ts +8 -0
  72. package/dist/esm/launcherSrc/app/ui/components/UICell.d.ts +16 -0
  73. package/dist/esm/launcherSrc/app/ui/components/UIDateInput.d.ts +21 -0
  74. package/dist/esm/launcherSrc/app/ui/components/UIDivider.d.ts +4 -0
  75. package/dist/esm/launcherSrc/app/ui/components/UIEmoji.d.ts +8 -0
  76. package/dist/esm/launcherSrc/app/ui/components/UIHero.d.ts +10 -0
  77. package/dist/esm/launcherSrc/app/ui/components/UISection.d.ts +9 -0
  78. package/dist/esm/launcherSrc/app/ui/components/UITextarea.d.ts +7 -0
  79. package/dist/esm/launcherSrc/app/ui/components/XpProgress.d.ts +13 -0
  80. package/dist/esm/launcherSrc/app/ui/components/XsButton.d.ts +6 -0
  81. package/dist/esm/launcherSrc/app/ui/hooks/useAnimateNumber.d.ts +1 -0
  82. package/dist/esm/launcherSrc/app/utils.d.ts +13 -0
  83. package/dist/esm/launcherSrc/assets/Icon28Edit.d.ts +2 -0
  84. package/dist/esm/launcherSrc/assets/Icon28Game.d.ts +1 -0
  85. package/dist/esm/launcherSrc/assets/Icon28Link.d.ts +1 -0
  86. package/dist/esm/launcherSrc/features/admin/components/Admin.d.ts +3 -0
  87. package/dist/esm/launcherSrc/features/admin/components/OverlayControl.d.ts +2 -0
  88. package/dist/esm/launcherSrc/features/games/assets/IconFilter.d.ts +1 -0
  89. package/dist/esm/launcherSrc/features/games/assets/IconPlayers.d.ts +2 -0
  90. package/dist/esm/launcherSrc/features/games/assets/IconQuestion.d.ts +2 -0
  91. package/dist/esm/launcherSrc/features/games/assets/IconQuestionCircle.d.ts +2 -0
  92. package/dist/esm/launcherSrc/features/games/assets/IconStar.d.ts +4 -0
  93. package/dist/esm/launcherSrc/features/games/assets/IconThumbsDownFilled.d.ts +2 -0
  94. package/dist/esm/launcherSrc/features/games/assets/IconThumbsDownOutlined.d.ts +2 -0
  95. package/dist/esm/launcherSrc/features/games/assets/IconThumbsUpFilled.d.ts +2 -0
  96. package/dist/esm/launcherSrc/features/games/assets/IconThumbsUpOutlined.d.ts +2 -0
  97. package/dist/esm/launcherSrc/features/games/components/GameItem.d.ts +10 -0
  98. package/dist/esm/launcherSrc/features/games/components/GamePage/GamePage.d.ts +6 -0
  99. package/dist/esm/launcherSrc/features/games/components/GamePage/GameReview.d.ts +10 -0
  100. package/dist/esm/launcherSrc/features/games/components/GamePage/GameReviews.d.ts +9 -0
  101. package/dist/esm/launcherSrc/features/games/components/Games.d.ts +3 -0
  102. package/dist/esm/launcherSrc/features/games/components/ResetStorageButton.d.ts +3 -0
  103. package/dist/esm/launcherSrc/features/games/components/ReviewModal.d.ts +10 -0
  104. package/dist/esm/launcherSrc/features/games/hooks/useGamesData.d.ts +13 -0
  105. package/dist/esm/launcherSrc/features/games/redux/gamesSlice.d.ts +34 -0
  106. package/dist/esm/launcherSrc/features/games/service/gamesService.d.ts +3 -0
  107. package/dist/esm/launcherSrc/features/leaderboard/components/Rating.d.ts +1 -0
  108. package/dist/esm/launcherSrc/features/leaderboard/components/RatingCard/RatingCard.d.ts +10 -0
  109. package/dist/esm/launcherSrc/features/leaderboard/components/RatingInfo/RatingInfo.d.ts +1 -0
  110. package/dist/esm/launcherSrc/features/leaderboard/components/RatingLevel/IconWreaths.d.ts +3 -0
  111. package/dist/esm/launcherSrc/features/leaderboard/components/RatingLevel/RatingLevel.d.ts +6 -0
  112. package/dist/esm/launcherSrc/features/leaderboard/components/RatingLevel/lock.d.ts +3 -0
  113. package/dist/esm/launcherSrc/features/leaderboard/hooks/useLeaderboardData.d.ts +10 -0
  114. package/dist/esm/launcherSrc/features/leaderboard/index.d.ts +1 -0
  115. package/dist/esm/launcherSrc/features/leaderboard/redux/leaderboardSlice.d.ts +18 -0
  116. package/dist/esm/launcherSrc/features/leaderboard/services/leaderboardService.d.ts +2 -0
  117. package/dist/esm/launcherSrc/features/navigation/assets/IconGame.d.ts +1 -0
  118. package/dist/esm/launcherSrc/features/navigation/assets/IconProfile.d.ts +1 -0
  119. package/dist/esm/launcherSrc/features/navigation/assets/IconSmile.d.ts +2 -0
  120. package/dist/esm/launcherSrc/features/navigation/components/FloatingProfile.d.ts +2 -0
  121. package/dist/esm/launcherSrc/features/navigation/components/IconWithCounter.d.ts +7 -0
  122. package/dist/esm/launcherSrc/features/navigation/redux/navigationSlice.d.ts +15 -0
  123. package/dist/esm/launcherSrc/features/navigation/redux/tabsSlice.d.ts +12 -0
  124. package/dist/esm/launcherSrc/features/profile/assets/IconAd.d.ts +1 -0
  125. package/dist/esm/launcherSrc/features/profile/assets/IconAddCircle.d.ts +1 -0
  126. package/dist/esm/launcherSrc/features/profile/assets/IconChevronRight.d.ts +2 -0
  127. package/dist/esm/launcherSrc/features/profile/assets/IconColorPicker.d.ts +1 -0
  128. package/dist/esm/launcherSrc/features/profile/assets/IconCurrencyStar.d.ts +3 -0
  129. package/dist/esm/launcherSrc/features/profile/assets/IconGlobe.d.ts +2 -0
  130. package/dist/esm/launcherSrc/features/profile/assets/IconLock.d.ts +2 -0
  131. package/dist/esm/launcherSrc/features/profile/assets/IconNoSign.d.ts +1 -0
  132. package/dist/esm/launcherSrc/features/profile/assets/IconSignature.d.ts +5 -0
  133. package/dist/esm/launcherSrc/features/profile/assets/profileBgGradients.d.ts +50 -0
  134. package/dist/esm/launcherSrc/features/profile/components/AdsFree/BuyAdsFreeButton.d.ts +3 -0
  135. package/dist/esm/launcherSrc/features/profile/components/AdsFree/PurchaseAdsFree.d.ts +9 -0
  136. package/dist/esm/launcherSrc/features/profile/components/Avatars/AvatarCreation.d.ts +2 -0
  137. package/dist/esm/launcherSrc/features/profile/components/Avatars/Avatars.d.ts +11 -0
  138. package/dist/esm/launcherSrc/features/profile/components/Avatars/EditAvatarButton.d.ts +1 -0
  139. package/dist/esm/launcherSrc/features/profile/components/Balance/ProfileBalance.d.ts +6 -0
  140. package/dist/esm/launcherSrc/features/profile/components/Balance/TopUpModal/BuyMenu.d.ts +8 -0
  141. package/dist/esm/launcherSrc/features/profile/components/Balance/TopUpModal/BuyOption.d.ts +10 -0
  142. package/dist/esm/launcherSrc/features/profile/components/Balance/TopUpModal/Ribbon.d.ts +6 -0
  143. package/dist/esm/launcherSrc/features/profile/components/BoxOpeningModal.d.ts +3 -0
  144. package/dist/esm/launcherSrc/features/profile/components/DailyModal.d.ts +3 -0
  145. package/dist/esm/launcherSrc/features/profile/components/FIllProfile/FIllBirthdate.d.ts +3 -0
  146. package/dist/esm/launcherSrc/features/profile/components/FIllProfile/FillCountry.d.ts +3 -0
  147. package/dist/esm/launcherSrc/features/profile/components/FIllProfile/FillEmail.d.ts +3 -0
  148. package/dist/esm/launcherSrc/features/profile/components/FIllProfile/FillProfile.d.ts +3 -0
  149. package/dist/esm/launcherSrc/features/profile/components/FIllProfile/FillProfileLayout.d.ts +4 -0
  150. package/dist/esm/launcherSrc/features/profile/components/LevelInfoModal.d.ts +9 -0
  151. package/dist/esm/launcherSrc/features/profile/components/Profile.d.ts +3 -0
  152. package/dist/esm/launcherSrc/features/profile/components/ProfileGames.d.ts +6 -0
  153. package/dist/esm/launcherSrc/features/profile/components/ProfileInventory.d.ts +2 -0
  154. package/dist/esm/launcherSrc/features/profile/components/ProfileLeaderboard.d.ts +6 -0
  155. package/dist/esm/launcherSrc/features/profile/components/ProfileReviews.d.ts +6 -0
  156. package/dist/esm/launcherSrc/features/profile/components/ProfileTrophies.d.ts +2 -0
  157. package/dist/esm/launcherSrc/features/profile/components/Tasks/TaskCard.d.ts +24 -0
  158. package/dist/esm/launcherSrc/features/profile/components/Tasks/Tasks.d.ts +2 -0
  159. package/dist/esm/launcherSrc/features/profile/components/particles/BalanceConfetti.d.ts +6 -0
  160. package/dist/esm/launcherSrc/features/profile/components/particles/CircleParticles.d.ts +10 -0
  161. package/dist/esm/launcherSrc/features/profile/components/particles/ConfettiParticles.d.ts +10 -0
  162. package/dist/esm/launcherSrc/features/profile/components/particles/StarParticles.d.ts +10 -0
  163. package/dist/esm/launcherSrc/features/profile/contexts/BoxOpeningContext.d.ts +12 -0
  164. package/dist/esm/launcherSrc/features/profile/data/countries.d.ts +10 -0
  165. package/dist/esm/launcherSrc/features/profile/hooks/useProfileData.d.ts +26 -0
  166. package/dist/esm/launcherSrc/features/profile/redux/profileSlice.d.ts +131 -0
  167. package/dist/esm/launcherSrc/features/profile/redux/shopSlice.d.ts +18 -0
  168. package/dist/esm/launcherSrc/features/profile/services/buyMenuService.d.ts +1 -0
  169. package/dist/esm/launcherSrc/features/profile/services/profileService.d.ts +12 -0
  170. package/dist/esm/launcherSrc/features/profile/services/shopService.d.ts +2 -0
  171. package/dist/esm/launcherSrc/i18n/index.d.ts +2 -0
  172. package/dist/esm/launcherSrc/index.d.ts +0 -0
  173. package/dist/esm/launcherSrc/setupTests.d.ts +0 -0
  174. package/dist/esm/launcherSrc/utils/openTelegramLinkFixed.d.ts +1 -0
  175. package/dist/esm/navmesh-BbINhDrO.mjs +1336 -0
  176. package/dist/esm/opentype-PR7hcvG5.mjs +4286 -0
  177. package/dist/esm/physics-B9pWoHiG.mjs +4375 -0
  178. package/dist/esm/process-DGf1Bnd3.mjs +2274 -0
  179. package/dist/esm/sdk-4y_oRGP7.mjs +76474 -0
  180. package/dist/esm/sdk.d.ts +130 -0
  181. package/dist/esm/sdk.mjs +9 -0
  182. package/dist/esm/sdk.umd.js +8382 -0
  183. package/dist/esm/stores/profileStore.d.ts +16 -0
  184. package/dist/esm/ui-C32u2WA-.mjs +2678 -0
  185. package/dist/esm/utils/global.d.ts +1 -0
  186. package/dist/umd/sdk.umd.js +8382 -0
  187. package/dist/umd_react/sdk_react.umd.js +8562 -0
  188. package/index.html +13 -0
  189. package/package.json +96 -0
@@ -0,0 +1,213 @@
1
+ declare const _default: {
2
+ "gamePage": {
3
+ "share": "Share",
4
+ "open": "Open",
5
+ "likedThisGame": "liked this game",
6
+ "noRatingsYet": "no ratings yet",
7
+ "players": "players",
8
+ "gainedXp": "gained",
9
+ "playedTime": {
10
+ "hours": "h",
11
+ "minutes": "min",
12
+ "played": "played"
13
+ },
14
+ "showMore": "Show more",
15
+ "developer": "developer",
16
+ "youMayAlsoLike": "You May Also Like",
17
+ "shareMessage": "🎮 Check out {{title}}!\n🌟 Join me in this awesome game."
18
+ },
19
+ "confirmIframe": {
20
+ "pay": "Pay",
21
+ "cancel": "Cancel"
22
+ },
23
+ "gameReviews": {
24
+ "reviewCount": "{{count}} reviews",
25
+ "reviewCount_one": "{{count}} review",
26
+ "reviewCount_few": "{{count}} reviews",
27
+ "reviewCount_many": "{{count}} reviews",
28
+ "noReviews": "No reviews yet",
29
+ "playToRate": "play 5 min to rate it",
30
+ "howWouldYouRate": "How would you rate it?",
31
+ "thanksForRating": "Thanks for your rating!",
32
+ "failedToRate": "Failed to rate a game",
33
+ "addYourReview": "Add your review",
34
+ "editYourReview": "Edit your review",
35
+ "anonymous": "Anonymous",
36
+ "notPlayed": "Not played",
37
+ "minutesPlayed": "{{count}} minutes played",
38
+ "minutesPlayed_one": "{{count}} minute played",
39
+ "minutesPlayed_few": "{{count}} minutes played",
40
+ "minutesPlayed_many": "{{count}} minutes played",
41
+ "hoursPlayed": "{{count}} hours played",
42
+ "hoursPlayed_one": "{{count}} hour played",
43
+ "hoursPlayed_few": "{{count}} hours played",
44
+ "hoursPlayed_many": "{{count}} hours played",
45
+ "writeReviewOf": "Write a review of",
46
+ "rewardMessage": "You will get {{reward}} as a reward",
47
+ "yourRating": "Your rating",
48
+ "likeCommentPlaceholder": "What did you like the most?",
49
+ "dislikeCommentPlaceholder": "What did you dislike the most?",
50
+ "submit": "Submit",
51
+ "describeRating": "Describe your rating to submit it!",
52
+ "reviewTooLong": "Unfortunately, reviews can't be that HUGE",
53
+ "reviewSuccess": "Review successfully submitted!",
54
+ "reviewError": "Failed to submit review. Please try again."
55
+ },
56
+ "profilePage": {
57
+ "balance": "Balance",
58
+ "topUp": "Top Up",
59
+ "removeAds": "Remove Ads",
60
+ "purchaseConfirm": {
61
+ "balance": "Balance",
62
+ "removeAds": "Remove ads",
63
+ "description": "Completely disable all advertisements and unnecessary interruptions in any game from our library.",
64
+ "payOnce": "Pay only once – no ads forever.",
65
+ "confirmAndPay": "Confirm and Pay"
66
+ },
67
+ "played": "played",
68
+ "invited": "invited",
69
+ "lootBox": "Loot Box",
70
+ "forLevel": "for level {{level}}",
71
+ "errors": {
72
+ "general": "Error: {{message}}"
73
+ },
74
+ "avatar": {
75
+ "createAvatar": "Create Avatar",
76
+ "createAvatarAlt": "Avatars",
77
+ "edit": "Edit",
78
+ "changeBackgroundAria": "Change background color",
79
+ "menuItems": {
80
+ "avatar": "Avatar",
81
+ "profileInfo": "Profile Info"
82
+ }
83
+ },
84
+ "tasks": {
85
+ "reviewGame": "Review {{game}}",
86
+ "reviewDescription": "You played recently for {{time}} {{unit}}",
87
+ "openPortalDaily": "Open Portal daily",
88
+ "checkInDescription": "Check-in award for each day",
89
+ "inviteFriends": "Invite friends",
90
+ "inviteDescription": "It's always fun to play together",
91
+ "welcomeBonus": "Welcome bonus",
92
+ "fillProfile": "Fill your profile",
93
+ "fillProfileDescription": "Allow us know you better",
94
+ "fill": "Fill",
95
+ "filled": "Filled",
96
+ "invite": "Invite"
97
+ },
98
+ "invite": {
99
+ "message": "🕹️ Join me in Portal!\n⭐️ Get rating bonus for you."
100
+ },
101
+ "dailyModal": {
102
+ "title": "Your Daily Reward",
103
+ "subtitle": "Open Portal every day to receive freebies",
104
+ "day": "Day {{day}}",
105
+ "coin": "{{count}} coin",
106
+ "coin_one": "{{count}} coin",
107
+ "coin_few": "{{count}} coins",
108
+ "coin_many": "{{count}} coins",
109
+ "coins": "{{count}} coins",
110
+ "lootBox": "Loot Box",
111
+ "rewardClaimed": "Daily reward claimed!",
112
+ "claimed": "Claimed",
113
+ "claimReward": "Claim Reward",
114
+ "error": "Oops! Something went wrong. Try again later.",
115
+ "tapToOpen": "TAP TO OPEN",
116
+ "youGot": "You got {{reward}}!"
117
+ },
118
+ "review": {
119
+ "thanksMessage": "Thanks for your rating!",
120
+ "failedMessage": "Failed to rate a game",
121
+ "hours": "hours",
122
+ "minutes": "minutes"
123
+ },
124
+ "buyMenu": {
125
+ "balance": "Balance",
126
+ "topUpBalance": "Top Up Balance",
127
+ "coins": "coins",
128
+ "topUp": "Top Up"
129
+ },
130
+ "taskCard": {
131
+ "completed": "Completed",
132
+ "writeReview": "Write Review",
133
+ "explore": "Explore",
134
+ "claim": "Claim",
135
+ "claimed": "Claimed",
136
+ "get": "Get",
137
+ "getUpTo": "Get up to"
138
+ }
139
+ },
140
+ "xp": {
141
+ "level": "Level",
142
+ "toLevelUp": "to lvl up",
143
+ "xpCounter": "/ {{total}} XP",
144
+ "yourLevel": "Your Level",
145
+ "gainXpDescription": "Gain XP by playing games. Compete with other players and receive rewards.",
146
+ "gotIt": "Got It"
147
+ },
148
+ "navigation": {
149
+ "backToGamesLibrary": "Back to Games Library",
150
+ "admin": "Admin",
151
+ "balance": "Balance"
152
+ },
153
+ "games": {
154
+ "recentlyPlayed": "Recently Played",
155
+ "error": "Error: {{message}}"
156
+ },
157
+ "admin": {
158
+ "title": "Admin panel",
159
+ "profile": {
160
+ "title": "Profile",
161
+ "xp": "XP",
162
+ "balance": "Balance",
163
+ "adsFree": "Ads free"
164
+ },
165
+ "overlay": {
166
+ "title": "Toggle overlay",
167
+ "variants": {
168
+ "yourTheme": "Your theme",
169
+ "dark": "Dark",
170
+ "translucent": "Translucent"
171
+ }
172
+ },
173
+ "tasks": {
174
+ "title": "Tasks",
175
+ "resetClaimed": "Reset claimed tasks",
176
+ "dailyResetNote": "*Daily streak will reset",
177
+ "resetProfile": "Reset profile filling",
178
+ "claimedResetNote": "*Claimed tasks will reset"
179
+ },
180
+ "dailyCheckins": {
181
+ "title": "Daily checkins",
182
+ "openModal": "Open daily modal",
183
+ "unclaimTask": "Unclaim daily task"
184
+ },
185
+ "inventory": {
186
+ "title": "Inventory",
187
+ "fetchInventory": "Fetch inventory",
188
+ "boxId": "Box id",
189
+ "fetchContents": "Fetch contents",
190
+ "openBox": "Open box",
191
+ "boxOpenSuccess": "Box with id {{boxId}} opened!",
192
+ "boxOpenFail": "Failed to open box with id {{boxId}}!"
193
+ },
194
+ "snackbars": {
195
+ "title": "Snackbars",
196
+ "success": "Success",
197
+ "warning": "Warning",
198
+ "error": "Error",
199
+ "successMessage": "This is a success message",
200
+ "warningMessage": "This is a warning message",
201
+ "errorMessage": "This is an error message"
202
+ }
203
+ },
204
+ "inventory": {
205
+ "inventory": "Inventory",
206
+ "inventoryDescription": "It's your personal storage space for all collectibles",
207
+ "openItem": "Open item",
208
+ "emptyBox": "Empty Box"
209
+ }
210
+ }
211
+ ;
212
+
213
+ export default _default;
@@ -0,0 +1,210 @@
1
+ declare const _default: {
2
+ "gamePage": {
3
+ "share": "Поделиться",
4
+ "open": "Открыть",
5
+ "likedThisGame": "понравилась эта игра",
6
+ "noRatingsYet": "пока нет оценок",
7
+ "players": "игроков",
8
+ "gainedXp": "заработано",
9
+ "playedTime": {
10
+ "hours": "ч",
11
+ "minutes": "мин",
12
+ "played": "в игре"
13
+ },
14
+ "showMore": "Показать больше",
15
+ "developer": "разработчик",
16
+ "youMayAlsoLike": "Вам также может понравиться",
17
+ "shareMessage": "🎮 Посмотри игру {{title}}!\n🌟 Присоединяйся ко мне в этой потрясающей игре."
18
+ },
19
+ "confirmIframe": {
20
+ "pay": "Оплатить",
21
+ "cancel": "Отменить"
22
+ },
23
+ "gameReviews": {
24
+ "reviewCount_one": "{{count}} отзыв",
25
+ "reviewCount_few": "{{count}} отзыва",
26
+ "reviewCount_many": "{{count}} отзывов",
27
+ "noReviews": "Пока нет отзывов",
28
+ "playToRate": "сыграйте 5 мин, чтобы оценить",
29
+ "howWouldYouRate": "Как бы вы оценили игру?",
30
+ "thanksForRating": "Спасибо за вашу оценку!",
31
+ "failedToRate": "Не удалось оценить игру",
32
+ "addYourReview": "Добавить свой отзыв",
33
+ "editYourReview": "Редактировать отзыв",
34
+ "anonymous": "Аноним",
35
+ "notPlayed": "Не играл",
36
+ "minutesPlayed_one": "{{count}} минута в игре",
37
+ "minutesPlayed_few": "{{count}} минуты в игре",
38
+ "minutesPlayed_many": "{{count}} минут в игре",
39
+ "hoursPlayed_one": "{{count}} час в игре",
40
+ "hoursPlayed_few": "{{count}} часа в игре",
41
+ "hoursPlayed_many": "{{count}} часов в игре",
42
+ "writeReviewOf": "Напишите отзыв о",
43
+ "rewardMessage": "Вы получите {{reward}} в качестве награды",
44
+ "yourRating": "Ваша оценка",
45
+ "likeCommentPlaceholder": "Что вам понравилось?",
46
+ "dislikeCommentPlaceholder": "Что вам не понравилось?",
47
+ "submit": "Отправить",
48
+ "describeRating": "Опишите свою оценку, чтобы отправить её!",
49
+ "reviewTooLong": "К сожалению, отзывы не могут быть такими ОГРОМНЫМИ",
50
+ "reviewSuccess": "Отзыв успешно отправлен!",
51
+ "reviewError": "Не удалось отправить отзыв. Пожалуйста, попробуйте снова."
52
+ },
53
+ "profilePage": {
54
+ "balance": "Баланс",
55
+ "topUp": "Пополнить",
56
+ "removeAds": "Убрать рекламу",
57
+ "purchaseConfirm": {
58
+ "balance": "Баланс",
59
+ "removeAds": "Убрать рекламу",
60
+ "description": "Полностью отключите всю рекламу и ненужные прерывания в любой игре из нашей библиотеки.",
61
+ "payOnce": "Заплатите один раз – без рекламы навсегда.",
62
+ "confirmAndPay": "Подтвердить и оплатить"
63
+ },
64
+ "played": "сыграно",
65
+ "invited": "приглашено",
66
+ "lootBox": "Лут-бокс",
67
+ "forLevel": "для уровня {{level}}",
68
+ "errors": {
69
+ "general": "Ошибка: {{message}}"
70
+ },
71
+ "avatar": {
72
+ "createAvatar": "Создать Аватар",
73
+ "createAvatarAlt": "Аватары",
74
+ "edit": "Изменить",
75
+ "changeBackgroundAria": "Изменить цвет фона",
76
+ "menuItems": {
77
+ "avatar": "Аватар",
78
+ "profileInfo": "Информация профиля"
79
+ }
80
+ },
81
+ "tasks": {
82
+ "reviewGame": "Оценить {{game}}",
83
+ "reviewDescription": "Вы недавно играли {{time}} {{unit}}",
84
+ "openPortalDaily": "Ежедневное открытие Портала",
85
+ "checkInDescription": "Награда за каждый день",
86
+ "inviteFriends": "Пригласить друзей",
87
+ "inviteDescription": "Вместе играть всегда веселее",
88
+ "welcomeBonus": "Приветственный бонус",
89
+ "fillProfile": "Заполнить профиль",
90
+ "fillProfileDescription": "Позвольте нам узнать вас лучше",
91
+ "fill": "Заполнить",
92
+ "filled": "Заполнено",
93
+ "invite": "Пригласить"
94
+ },
95
+ "invite": {
96
+ "message": "🕹️ Присоединяйся ко мне в Портале!\n⭐️ Получи бонус к рейтингу."
97
+ },
98
+ "dailyModal": {
99
+ "title": "Ваша ежедневная награда",
100
+ "subtitle": "Открывайте Портал каждый день, чтобы получать подарки",
101
+ "day": "День {{day}}",
102
+ "coin": "{{count}} монета",
103
+ "coin_one": "{{count}} монета",
104
+ "coin_few": "{{count}} монеты",
105
+ "coin_many": "{{count}} монет",
106
+ "coins": "{{count}} монет",
107
+ "lootBox": "Лут-бокс",
108
+ "rewardClaimed": "Ежедневная награда получена!",
109
+ "claimed": "Получено",
110
+ "claimReward": "Получить Награду",
111
+ "error": "Упс! Что-то пошло не так. Попробуйте позже.",
112
+ "tapToOpen": "НАЖМИТЕ ЧТОБЫ ОТКРЫТЬ",
113
+ "youGot": "Вы получили {{reward}}!"
114
+ },
115
+ "review": {
116
+ "thanksMessage": "Спасибо за вашу оценку!",
117
+ "failedMessage": "Не удалось оценить игру",
118
+ "hours": "часов",
119
+ "minutes": "минут"
120
+ },
121
+ "buyMenu": {
122
+ "balance": "Баланс",
123
+ "topUpBalance": "Пополнить баланс",
124
+ "coins": "монет",
125
+ "topUp": "Пополнить"
126
+ },
127
+ "taskCard": {
128
+ "completed": "Выполнено",
129
+ "writeReview": "Написать отзыв",
130
+ "explore": "Исследовать",
131
+ "claim": "Получить",
132
+ "claimed": "Получено",
133
+ "get": "Получите",
134
+ "getUpTo": "Получите до"
135
+ }
136
+ },
137
+ "xp": {
138
+ "level": "Уровень",
139
+ "toLevelUp": "до след. уровня",
140
+ "xpCounter": "/ {{total}} XP",
141
+ "yourLevel": "Ваш уровень",
142
+ "gainXpDescription": "Получайте XP, играя в игры. Соревнуйтесь с другими игроками и получайте награды.",
143
+ "gotIt": "Понятно"
144
+ },
145
+ "navigation": {
146
+ "backToGamesLibrary": "Назад в играм",
147
+ "admin": "Админ",
148
+ "balance": "Баланс"
149
+ },
150
+ "games": {
151
+ "recentlyPlayed": "Недавно сыграно",
152
+ "error": "Ошибка: {{message}}"
153
+ },
154
+ "admin": {
155
+ "title": "Панель администратора",
156
+ "profile": {
157
+ "title": "Профиль",
158
+ "xp": "Опыт",
159
+ "balance": "Баланс",
160
+ "adsFree": "Без рекламы"
161
+ },
162
+ "overlay": {
163
+ "title": "Переключить оверлей",
164
+ "variants": {
165
+ "yourTheme": "Ваша тема",
166
+ "dark": "Темная",
167
+ "translucent": "Полупрозрачная"
168
+ }
169
+ },
170
+ "tasks": {
171
+ "title": "Задачи",
172
+ "resetClaimed": "Сбросить полученные задачи",
173
+ "dailyResetNote": "*Ежедневная серия будет сброшена",
174
+ "resetProfile": "Сбросить заполнение профиля",
175
+ "claimedResetNote": "*Полученные задачи будут сброшены"
176
+ },
177
+ "dailyCheckins": {
178
+ "title": "Ежедневные посещения",
179
+ "openModal": "Открыть ежедневное окно",
180
+ "unclaimTask": "Отменить ежедневную задачу"
181
+ },
182
+ "inventory": {
183
+ "title": "Инвентарь",
184
+ "fetchInventory": "Загрузить инвентарь",
185
+ "boxId": "ID коробки",
186
+ "fetchContents": "Загрузить содержимое",
187
+ "openBox": "Открыть коробку",
188
+ "boxOpenSuccess": "Коробка с ID {{boxId}} открыта!",
189
+ "boxOpenFail": "Не удалось открыть коробку с ID {{boxId}}!"
190
+ },
191
+ "snackbars": {
192
+ "title": "Уведомления",
193
+ "success": "Успех",
194
+ "warning": "Предупреждение",
195
+ "error": "Ошибка",
196
+ "successMessage": "Это сообщение об успехе",
197
+ "warningMessage": "Это предупреждающее сообщение",
198
+ "errorMessage": "Это сообщение об ошибке"
199
+ }
200
+ },
201
+ "inventory": {
202
+ "inventory": "Инвентарь",
203
+ "inventoryDescription": "Это ваше личное место для хранения всех предметов",
204
+ "openItem": "Открыть предмет",
205
+ "emptyBox": "Пустой бокс"
206
+ }
207
+ }
208
+ ;
209
+
210
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare function App(): import("react/jsx-runtime").JSX.Element;
2
+ export default App;
@@ -0,0 +1,3 @@
1
+ import { AxiosInstance } from 'axios';
2
+ export declare const apiClient: AxiosInstance;
3
+ export declare const adminClient: AxiosInstance;
@@ -0,0 +1,181 @@
1
+ export interface User {
2
+ id: number;
3
+ is_admin?: boolean;
4
+ experience: number;
5
+ level_up_exp: number;
6
+ level: number;
7
+ user_name: string;
8
+ first_name: string;
9
+ last_name: string;
10
+ avatar?: string;
11
+ balance: number;
12
+ ads_free: boolean;
13
+ inventory: InventoryItem[];
14
+ games_count: number;
15
+ invited: number;
16
+ email?: string;
17
+ phone_number?: string;
18
+ location?: string;
19
+ birth_date?: string;
20
+ avatar_ug?: string;
21
+ background_color?: string;
22
+ }
23
+ export interface ProfilePostRequest {
24
+ email?: string;
25
+ phone_number?: string;
26
+ location?: string;
27
+ birth_date?: string;
28
+ avatar_ug?: string;
29
+ background_color?: string;
30
+ }
31
+ export interface Game {
32
+ id: number;
33
+ title: string;
34
+ genre: string;
35
+ description: string;
36
+ banner: string;
37
+ app_url: string;
38
+ players: number;
39
+ avatar: string;
40
+ animated_preview: string;
41
+ gradient_from: string;
42
+ gradient_to: string;
43
+ liked_rating: number;
44
+ played_time: number;
45
+ xp_earned: number;
46
+ screenshots: string[];
47
+ detailed_description?: string;
48
+ developer?: {
49
+ name: string;
50
+ link: string;
51
+ };
52
+ reviews: GameReview[];
53
+ recommended?: {
54
+ id: number;
55
+ }[];
56
+ review?: {
57
+ liked: boolean;
58
+ comment: string;
59
+ };
60
+ }
61
+ export interface GameReview {
62
+ liked: boolean;
63
+ comment: string;
64
+ reviewer_name: string;
65
+ reviewer_id: number;
66
+ played_min: number;
67
+ }
68
+ export interface ShortGameInfo {
69
+ id: number;
70
+ title: string;
71
+ played_time: number;
72
+ xp_earned: number;
73
+ last_played: string;
74
+ avatar: string;
75
+ }
76
+ export interface RecentlyPlayedGamesResponse {
77
+ games: ShortGameInfo[];
78
+ }
79
+ export interface SubmitReviewRequest {
80
+ gameId: number;
81
+ liked: boolean;
82
+ comment?: string;
83
+ }
84
+ export interface InventoryItem {
85
+ id: number;
86
+ name: string;
87
+ image: string;
88
+ acquired_at: string;
89
+ }
90
+ export interface Trophy {
91
+ id: number;
92
+ name: string;
93
+ description: string;
94
+ image: string;
95
+ acquired_at: string;
96
+ }
97
+ export interface Task {
98
+ id: number;
99
+ title: string;
100
+ description: string;
101
+ reward: number;
102
+ group?: string;
103
+ group_position?: number;
104
+ sub_title?: string;
105
+ is_claimable: boolean;
106
+ is_done: boolean;
107
+ }
108
+ export interface Box {
109
+ id: number;
110
+ name: string;
111
+ image: string;
112
+ acquired_at: string;
113
+ }
114
+ export interface TasksResponse {
115
+ tasks: Task[];
116
+ daily_streak: number;
117
+ }
118
+ export interface ClaimTaskResponse {
119
+ status: string;
120
+ extra?: {
121
+ item_id?: number;
122
+ };
123
+ }
124
+ export interface GamesResponse {
125
+ games: Game[];
126
+ }
127
+ export interface InvoiceResponse {
128
+ invoice_link: string;
129
+ }
130
+ export interface InventoryResponse {
131
+ boxes: Box[];
132
+ }
133
+ export interface BoxReward {
134
+ reward_type: "coins" | string;
135
+ reward_value: number;
136
+ }
137
+ export interface BoxContentsResponse {
138
+ rewards: BoxReward[];
139
+ }
140
+ export interface CreateInvoiceRequest {
141
+ title: string;
142
+ description: string;
143
+ to_user_id: number;
144
+ amount: number;
145
+ }
146
+ export interface ShopItem {
147
+ id: number;
148
+ name: string;
149
+ description: string;
150
+ price: number;
151
+ created: string;
152
+ updated: string;
153
+ }
154
+ export interface ApiResponse<T> {
155
+ data: T;
156
+ status: string;
157
+ message?: string;
158
+ }
159
+ export interface LeaderboardResponse {
160
+ tier: string;
161
+ until: string;
162
+ reward: number;
163
+ entries: {
164
+ name: string;
165
+ xp: number;
166
+ id: number;
167
+ avatar_url?: string;
168
+ }[];
169
+ }
170
+ export interface Trophy {
171
+ name: string;
172
+ description: string;
173
+ image: string;
174
+ is_achieved: boolean;
175
+ max_value?: number;
176
+ current_value?: number;
177
+ }
178
+ export interface TrophiesResponse {
179
+ id?: number;
180
+ achievements: Trophy[];
181
+ }
@@ -0,0 +1,22 @@
1
+ import { AxiosResponse } from 'axios';
2
+ import { User, InvoiceResponse, CreateInvoiceRequest, SubmitReviewRequest, InventoryResponse, BoxContentsResponse, BoxReward, ClaimTaskResponse, RecentlyPlayedGamesResponse, LeaderboardResponse, TrophiesResponse, GamesResponse, TasksResponse, ProfilePostRequest } from './types';
3
+ export declare const fetchProfile: () => Promise<AxiosResponse<User>>;
4
+ export declare const fetchTrophies: () => Promise<AxiosResponse<TrophiesResponse>>;
5
+ export declare const postProfile: (req: ProfilePostRequest) => Promise<AxiosResponse>;
6
+ export declare const setBalance: (balance: number) => Promise<AxiosResponse>;
7
+ export declare const setXP: (xp: number) => Promise<AxiosResponse>;
8
+ export declare const addNoAds: () => Promise<AxiosResponse>;
9
+ export declare const clearItems: () => Promise<AxiosResponse>;
10
+ export declare const fetchGames: () => Promise<AxiosResponse<GamesResponse>>;
11
+ export declare const fetchRecentlyPlayedGames: (userId: number) => Promise<AxiosResponse<RecentlyPlayedGamesResponse>>;
12
+ export declare const submitReview: (review: SubmitReviewRequest) => Promise<AxiosResponse>;
13
+ export declare const createInvoice: (req: CreateInvoiceRequest) => Promise<AxiosResponse<InvoiceResponse>>;
14
+ export declare const fetchTasks: () => Promise<AxiosResponse<TasksResponse>>;
15
+ export declare const fetchLeaderboard: () => Promise<AxiosResponse<LeaderboardResponse>>;
16
+ export declare const mintTask: (id: number) => Promise<AxiosResponse<ClaimTaskResponse>>;
17
+ export declare const resetTasks: () => Promise<void>;
18
+ export declare const fetchInventory: () => Promise<AxiosResponse<InventoryResponse>>;
19
+ export declare const fetchBoxContents: (boxId: number) => Promise<AxiosResponse<BoxContentsResponse>>;
20
+ export declare const openBox: (boxId: number) => Promise<AxiosResponse<BoxReward>>;
21
+ export declare const resetDailyTask: () => Promise<AxiosResponse>;
22
+ export declare const resetGameStorage: (gameId: number) => Promise<AxiosResponse>;
@@ -0,0 +1,2 @@
1
+ import { default as React } from 'react';
2
+ export declare const DebugConsole: React.FC;
@@ -0,0 +1,18 @@
1
+ import { default as React } from 'react';
2
+ type SnackbarType = "success" | "success_top" | "warning" | "error" | "default";
3
+ interface SnackbarOptions {
4
+ type?: SnackbarType;
5
+ before?: React.ReactNode;
6
+ after?: React.ReactNode;
7
+ coins?: string;
8
+ boxes?: string;
9
+ duration?: number;
10
+ }
11
+ interface SnackbarContextType {
12
+ showSnackbar: (message: string, options?: SnackbarOptions) => void;
13
+ }
14
+ export declare const useSnackbar: () => SnackbarContextType;
15
+ export declare const SnackbarProvider: React.FC<{
16
+ children: React.ReactNode;
17
+ }>;
18
+ export {};
@@ -0,0 +1,5 @@
1
+ export declare const formatter: Intl.NumberFormat;
2
+ export declare const formatCompactNumber: (number: number) => string;
3
+ export declare function formatXP(xp: number, total: number): string;
4
+ export declare const formatBirthDate: (dateStr: string, language: string) => string;
5
+ export declare const formatPhoneNumber: (phone: string) => string;
@@ -0,0 +1 @@
1
+ export declare const useForceRerender: () => () => void;
@@ -0,0 +1,7 @@
1
+ interface MainButtonConfig {
2
+ text: string;
3
+ onClick: () => void;
4
+ isLoading?: boolean;
5
+ }
6
+ export declare const useMainButtonControl: ({ text, onClick, isLoading, }: MainButtonConfig) => void;
7
+ export {};
@@ -0,0 +1,3 @@
1
+ export declare const useMiniApp: () => {
2
+ miniApp: import('@twa-dev/types').WebApp;
3
+ };