@armoyu/ui 1.1.2 → 1.1.5

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 (801) hide show
  1. package/dist/app/Providers.d.ts +6 -0
  2. package/dist/app/Providers.d.ts.map +1 -0
  3. package/dist/app/Providers.js +32 -0
  4. package/dist/app/Providers.js.map +1 -0
  5. package/dist/app/api/proxy/[...path]/route.d.ts +23 -0
  6. package/dist/app/api/proxy/[...path]/route.d.ts.map +1 -0
  7. package/dist/app/api/proxy/[...path]/route.js +133 -0
  8. package/dist/app/api/proxy/[...path]/route.js.map +1 -0
  9. package/dist/app/gruplar/[groupId]/page.d.ts +2 -0
  10. package/dist/app/gruplar/[groupId]/page.d.ts.map +1 -0
  11. package/dist/app/gruplar/[groupId]/page.js +10 -0
  12. package/dist/app/gruplar/[groupId]/page.js.map +1 -0
  13. package/dist/app/layout.d.ts +8 -0
  14. package/dist/app/layout.d.ts.map +1 -0
  15. package/dist/app/layout.js +29 -0
  16. package/dist/app/layout.js.map +1 -0
  17. package/dist/app/not-found.d.ts +2 -0
  18. package/dist/app/not-found.d.ts.map +1 -0
  19. package/dist/app/not-found.js +7 -0
  20. package/dist/app/not-found.js.map +1 -0
  21. package/dist/app/page.d.ts +2 -0
  22. package/dist/app/page.d.ts.map +1 -0
  23. package/dist/app/page.js +39 -0
  24. package/dist/app/page.js.map +1 -0
  25. package/dist/components/Button.d.ts +8 -0
  26. package/dist/components/Button.d.ts.map +1 -0
  27. package/dist/components/Button.js +16 -0
  28. package/dist/components/Button.js.map +1 -0
  29. package/dist/components/GenderStatsBar.d.ts +6 -0
  30. package/dist/components/GenderStatsBar.d.ts.map +1 -0
  31. package/dist/components/GenderStatsBar.js +8 -0
  32. package/dist/components/GenderStatsBar.js.map +1 -0
  33. package/dist/components/RollingNumber.d.ts +7 -0
  34. package/dist/components/RollingNumber.d.ts.map +1 -0
  35. package/dist/components/RollingNumber.js +24 -0
  36. package/dist/components/RollingNumber.js.map +1 -0
  37. package/dist/components/Slider.d.ts +11 -0
  38. package/dist/components/Slider.d.ts.map +1 -0
  39. package/dist/components/Slider.js +36 -0
  40. package/dist/components/Slider.js.map +1 -0
  41. package/dist/components/StatsGrid.d.ts +6 -0
  42. package/dist/components/StatsGrid.d.ts.map +1 -0
  43. package/dist/components/StatsGrid.js +14 -0
  44. package/dist/components/StatsGrid.js.map +1 -0
  45. package/dist/components/ViewModeToggle.d.ts +8 -0
  46. package/dist/components/ViewModeToggle.d.ts.map +1 -0
  47. package/dist/components/ViewModeToggle.js +10 -0
  48. package/dist/components/ViewModeToggle.js.map +1 -0
  49. package/dist/components/modules/chat/ChatLayout.d.ts +2 -0
  50. package/dist/components/modules/chat/ChatLayout.d.ts.map +1 -0
  51. package/dist/components/modules/chat/ChatLayout.js +198 -0
  52. package/dist/components/modules/chat/ChatLayout.js.map +1 -0
  53. package/dist/components/modules/chat/widgets/ChatInput.d.ts +5 -0
  54. package/dist/components/modules/chat/widgets/ChatInput.d.ts.map +1 -0
  55. package/dist/components/modules/chat/widgets/ChatInput.js +31 -0
  56. package/dist/components/modules/chat/widgets/ChatInput.js.map +1 -0
  57. package/dist/components/modules/chat/widgets/ChatList.d.ts +7 -0
  58. package/dist/components/modules/chat/widgets/ChatList.d.ts.map +1 -0
  59. package/dist/components/modules/chat/widgets/ChatList.js +53 -0
  60. package/dist/components/modules/chat/widgets/ChatList.js.map +1 -0
  61. package/dist/components/modules/chat/widgets/ChatMessage.d.ts +12 -0
  62. package/dist/components/modules/chat/widgets/ChatMessage.d.ts.map +1 -0
  63. package/dist/components/modules/chat/widgets/ChatMessage.js +7 -0
  64. package/dist/components/modules/chat/widgets/ChatMessage.js.map +1 -0
  65. package/dist/components/modules/chat/widgets/ChatNotes.d.ts +2 -0
  66. package/dist/components/modules/chat/widgets/ChatNotes.d.ts.map +1 -0
  67. package/dist/components/modules/chat/widgets/ChatNotes.js +15 -0
  68. package/dist/components/modules/chat/widgets/ChatNotes.js.map +1 -0
  69. package/dist/components/modules/community/CommunityLayout.d.ts +7 -0
  70. package/dist/components/modules/community/CommunityLayout.d.ts.map +1 -0
  71. package/dist/components/modules/community/CommunityLayout.js +137 -0
  72. package/dist/components/modules/community/CommunityLayout.js.map +1 -0
  73. package/dist/components/modules/community/widgets/EventDetailLayout.d.ts +7 -0
  74. package/dist/components/modules/community/widgets/EventDetailLayout.d.ts.map +1 -0
  75. package/dist/components/modules/community/widgets/EventDetailLayout.js +54 -0
  76. package/dist/components/modules/community/widgets/EventDetailLayout.js.map +1 -0
  77. package/dist/components/modules/community/widgets/GroupAboutCard.d.ts +6 -0
  78. package/dist/components/modules/community/widgets/GroupAboutCard.d.ts.map +1 -0
  79. package/dist/components/modules/community/widgets/GroupAboutCard.js +7 -0
  80. package/dist/components/modules/community/widgets/GroupAboutCard.js.map +1 -0
  81. package/dist/components/modules/community/widgets/GroupEventsList.d.ts +8 -0
  82. package/dist/components/modules/community/widgets/GroupEventsList.d.ts.map +1 -0
  83. package/dist/components/modules/community/widgets/GroupEventsList.js +33 -0
  84. package/dist/components/modules/community/widgets/GroupEventsList.js.map +1 -0
  85. package/dist/components/modules/community/widgets/GroupFeedSection.d.ts +9 -0
  86. package/dist/components/modules/community/widgets/GroupFeedSection.d.ts.map +1 -0
  87. package/dist/components/modules/community/widgets/GroupFeedSection.js +8 -0
  88. package/dist/components/modules/community/widgets/GroupFeedSection.js.map +1 -0
  89. package/dist/components/modules/community/widgets/GroupHeader.d.ts +11 -0
  90. package/dist/components/modules/community/widgets/GroupHeader.d.ts.map +1 -0
  91. package/dist/components/modules/community/widgets/GroupHeader.js +18 -0
  92. package/dist/components/modules/community/widgets/GroupHeader.js.map +1 -0
  93. package/dist/components/modules/community/widgets/GroupMenu.d.ts +10 -0
  94. package/dist/components/modules/community/widgets/GroupMenu.d.ts.map +1 -0
  95. package/dist/components/modules/community/widgets/GroupMenu.js +17 -0
  96. package/dist/components/modules/community/widgets/GroupMenu.js.map +1 -0
  97. package/dist/components/modules/community/widgets/GroupPermissions.d.ts +6 -0
  98. package/dist/components/modules/community/widgets/GroupPermissions.d.ts.map +1 -0
  99. package/dist/components/modules/community/widgets/GroupPermissions.js +7 -0
  100. package/dist/components/modules/community/widgets/GroupPermissions.js.map +1 -0
  101. package/dist/components/modules/community/widgets/GroupStatsGrid.d.ts +11 -0
  102. package/dist/components/modules/community/widgets/GroupStatsGrid.d.ts.map +1 -0
  103. package/dist/components/modules/community/widgets/GroupStatsGrid.js +13 -0
  104. package/dist/components/modules/community/widgets/GroupStatsGrid.js.map +1 -0
  105. package/dist/components/modules/community/widgets/GroupTopMembers.d.ts +7 -0
  106. package/dist/components/modules/community/widgets/GroupTopMembers.d.ts.map +1 -0
  107. package/dist/components/modules/community/widgets/GroupTopMembers.js +8 -0
  108. package/dist/components/modules/community/widgets/GroupTopMembers.js.map +1 -0
  109. package/dist/components/modules/community/widgets/SchoolCard.d.ts +7 -0
  110. package/dist/components/modules/community/widgets/SchoolCard.d.ts.map +1 -0
  111. package/dist/components/modules/community/widgets/SchoolCard.js +8 -0
  112. package/dist/components/modules/community/widgets/SchoolCard.js.map +1 -0
  113. package/dist/components/modules/community/widgets/SurveyCard.d.ts +8 -0
  114. package/dist/components/modules/community/widgets/SurveyCard.d.ts.map +1 -0
  115. package/dist/components/modules/community/widgets/SurveyCard.js +25 -0
  116. package/dist/components/modules/community/widgets/SurveyCard.js.map +1 -0
  117. package/dist/components/modules/events/DetailLayout.d.ts +7 -0
  118. package/dist/components/modules/events/DetailLayout.d.ts.map +1 -0
  119. package/dist/components/modules/events/DetailLayout.js +54 -0
  120. package/dist/components/modules/events/DetailLayout.js.map +1 -0
  121. package/dist/components/modules/events/DetailPage.d.ts +7 -0
  122. package/dist/components/modules/events/DetailPage.d.ts.map +1 -0
  123. package/dist/components/modules/events/DetailPage.js +54 -0
  124. package/dist/components/modules/events/DetailPage.js.map +1 -0
  125. package/dist/components/modules/events/EventsLayout.d.ts +8 -0
  126. package/dist/components/modules/events/EventsLayout.d.ts.map +1 -0
  127. package/dist/components/modules/events/EventsLayout.js +6 -0
  128. package/dist/components/modules/events/EventsLayout.js.map +1 -0
  129. package/dist/components/modules/events/EventsPage.d.ts +8 -0
  130. package/dist/components/modules/events/EventsPage.d.ts.map +1 -0
  131. package/dist/components/modules/events/EventsPage.js +75 -0
  132. package/dist/components/modules/events/EventsPage.js.map +1 -0
  133. package/dist/components/modules/events/index.d.ts +7 -0
  134. package/dist/components/modules/events/index.d.ts.map +1 -0
  135. package/dist/components/modules/events/index.js +7 -0
  136. package/dist/components/modules/events/index.js.map +1 -0
  137. package/dist/components/modules/events/widgets/EventCard.d.ts +11 -0
  138. package/dist/components/modules/events/widgets/EventCard.d.ts.map +1 -0
  139. package/dist/components/modules/events/widgets/EventCard.js +10 -0
  140. package/dist/components/modules/events/widgets/EventCard.js.map +1 -0
  141. package/dist/components/modules/events/widgets/EventFormModal.d.ts +9 -0
  142. package/dist/components/modules/events/widgets/EventFormModal.d.ts.map +1 -0
  143. package/dist/components/modules/events/widgets/EventFormModal.js +24 -0
  144. package/dist/components/modules/events/widgets/EventFormModal.js.map +1 -0
  145. package/dist/components/modules/events/widgets/EventList.d.ts +10 -0
  146. package/dist/components/modules/events/widgets/EventList.d.ts.map +1 -0
  147. package/dist/components/modules/events/widgets/EventList.js +29 -0
  148. package/dist/components/modules/events/widgets/EventList.js.map +1 -0
  149. package/dist/components/modules/forum/widgets/ForumBoard.d.ts +17 -0
  150. package/dist/components/modules/forum/widgets/ForumBoard.d.ts.map +1 -0
  151. package/dist/components/modules/forum/widgets/ForumBoard.js +7 -0
  152. package/dist/components/modules/forum/widgets/ForumBoard.js.map +1 -0
  153. package/dist/components/modules/forum/widgets/ForumCategoryList.d.ts +6 -0
  154. package/dist/components/modules/forum/widgets/ForumCategoryList.d.ts.map +1 -0
  155. package/dist/components/modules/forum/widgets/ForumCategoryList.js +7 -0
  156. package/dist/components/modules/forum/widgets/ForumCategoryList.js.map +1 -0
  157. package/dist/components/modules/forum/widgets/ForumHeaderWidget.d.ts +6 -0
  158. package/dist/components/modules/forum/widgets/ForumHeaderWidget.d.ts.map +1 -0
  159. package/dist/components/modules/forum/widgets/ForumHeaderWidget.js +6 -0
  160. package/dist/components/modules/forum/widgets/ForumHeaderWidget.js.map +1 -0
  161. package/dist/components/modules/forum/widgets/ForumPost.d.ts +14 -0
  162. package/dist/components/modules/forum/widgets/ForumPost.d.ts.map +1 -0
  163. package/dist/components/modules/forum/widgets/ForumPost.js +6 -0
  164. package/dist/components/modules/forum/widgets/ForumPost.js.map +1 -0
  165. package/dist/components/modules/forum/widgets/ForumSidebar.d.ts +2 -0
  166. package/dist/components/modules/forum/widgets/ForumSidebar.d.ts.map +1 -0
  167. package/dist/components/modules/forum/widgets/ForumSidebar.js +6 -0
  168. package/dist/components/modules/forum/widgets/ForumSidebar.js.map +1 -0
  169. package/dist/components/modules/forum/widgets/NewTopicModal.d.ts +8 -0
  170. package/dist/components/modules/forum/widgets/NewTopicModal.d.ts.map +1 -0
  171. package/dist/components/modules/forum/widgets/NewTopicModal.js +27 -0
  172. package/dist/components/modules/forum/widgets/NewTopicModal.js.map +1 -0
  173. package/dist/components/modules/forum/widgets/TopicItem.d.ts +16 -0
  174. package/dist/components/modules/forum/widgets/TopicItem.d.ts.map +1 -0
  175. package/dist/components/modules/forum/widgets/TopicItem.js +7 -0
  176. package/dist/components/modules/forum/widgets/TopicItem.js.map +1 -0
  177. package/dist/components/modules/galleries/widgets/GalleryCard.d.ts +10 -0
  178. package/dist/components/modules/galleries/widgets/GalleryCard.d.ts.map +1 -0
  179. package/dist/components/modules/galleries/widgets/GalleryCard.js +6 -0
  180. package/dist/components/modules/galleries/widgets/GalleryCard.js.map +1 -0
  181. package/dist/components/modules/galleries/widgets/GalleryFilterBar.d.ts +8 -0
  182. package/dist/components/modules/galleries/widgets/GalleryFilterBar.d.ts.map +1 -0
  183. package/dist/components/modules/galleries/widgets/GalleryFilterBar.js +6 -0
  184. package/dist/components/modules/galleries/widgets/GalleryFilterBar.js.map +1 -0
  185. package/dist/components/modules/galleries/widgets/GalleryHeaderWidget.d.ts +2 -0
  186. package/dist/components/modules/galleries/widgets/GalleryHeaderWidget.d.ts.map +1 -0
  187. package/dist/components/modules/galleries/widgets/GalleryHeaderWidget.js +6 -0
  188. package/dist/components/modules/galleries/widgets/GalleryHeaderWidget.js.map +1 -0
  189. package/dist/components/modules/galleries/widgets/GalleryMasonryGrid.d.ts +7 -0
  190. package/dist/components/modules/galleries/widgets/GalleryMasonryGrid.d.ts.map +1 -0
  191. package/dist/components/modules/galleries/widgets/GalleryMasonryGrid.js +6 -0
  192. package/dist/components/modules/galleries/widgets/GalleryMasonryGrid.js.map +1 -0
  193. package/dist/components/modules/giveaways/widgets/GiveawayCard.d.ts +10 -0
  194. package/dist/components/modules/giveaways/widgets/GiveawayCard.d.ts.map +1 -0
  195. package/dist/components/modules/giveaways/widgets/GiveawayCard.js +7 -0
  196. package/dist/components/modules/giveaways/widgets/GiveawayCard.js.map +1 -0
  197. package/dist/components/modules/groups/widgets/ApplicationModal.d.ts +8 -0
  198. package/dist/components/modules/groups/widgets/ApplicationModal.d.ts.map +1 -0
  199. package/dist/components/modules/groups/widgets/ApplicationModal.js +28 -0
  200. package/dist/components/modules/groups/widgets/ApplicationModal.js.map +1 -0
  201. package/dist/components/modules/groups/widgets/GroupCard.d.ts +14 -0
  202. package/dist/components/modules/groups/widgets/GroupCard.d.ts.map +1 -0
  203. package/dist/components/modules/groups/widgets/GroupCard.js +8 -0
  204. package/dist/components/modules/groups/widgets/GroupCard.js.map +1 -0
  205. package/dist/components/modules/guest/widgets/Introduction.d.ts +2 -0
  206. package/dist/components/modules/guest/widgets/Introduction.d.ts.map +1 -0
  207. package/dist/components/modules/guest/widgets/Introduction.js +15 -0
  208. package/dist/components/modules/guest/widgets/Introduction.js.map +1 -0
  209. package/dist/components/modules/news/widgets/NewsCard.d.ts +12 -0
  210. package/dist/components/modules/news/widgets/NewsCard.d.ts.map +1 -0
  211. package/dist/components/modules/news/widgets/NewsCard.js +7 -0
  212. package/dist/components/modules/news/widgets/NewsCard.js.map +1 -0
  213. package/dist/components/modules/news/widgets/NewsComments.d.ts +4 -0
  214. package/dist/components/modules/news/widgets/NewsComments.d.ts.map +1 -0
  215. package/dist/components/modules/news/widgets/NewsComments.js +6 -0
  216. package/dist/components/modules/news/widgets/NewsComments.js.map +1 -0
  217. package/dist/components/modules/posts/widgets/MediaLightbox.d.ts +14 -0
  218. package/dist/components/modules/posts/widgets/MediaLightbox.d.ts.map +1 -0
  219. package/dist/components/modules/posts/widgets/MediaLightbox.js +47 -0
  220. package/dist/components/modules/posts/widgets/MediaLightbox.js.map +1 -0
  221. package/dist/components/modules/posts/widgets/PostCard.d.ts +34 -0
  222. package/dist/components/modules/posts/widgets/PostCard.d.ts.map +1 -0
  223. package/dist/components/modules/posts/widgets/PostCard.js +179 -0
  224. package/dist/components/modules/posts/widgets/PostCard.js.map +1 -0
  225. package/dist/components/modules/posts/widgets/PostInteractionsModal.d.ts +12 -0
  226. package/dist/components/modules/posts/widgets/PostInteractionsModal.d.ts.map +1 -0
  227. package/dist/components/modules/posts/widgets/PostInteractionsModal.js +13 -0
  228. package/dist/components/modules/posts/widgets/PostInteractionsModal.js.map +1 -0
  229. package/dist/components/modules/posts/widgets/RepostModal.d.ts +22 -0
  230. package/dist/components/modules/posts/widgets/RepostModal.d.ts.map +1 -0
  231. package/dist/components/modules/posts/widgets/RepostModal.js +76 -0
  232. package/dist/components/modules/posts/widgets/RepostModal.js.map +1 -0
  233. package/dist/components/modules/posts/widgets/SocialFeed.d.ts +19 -0
  234. package/dist/components/modules/posts/widgets/SocialFeed.d.ts.map +1 -0
  235. package/dist/components/modules/posts/widgets/SocialFeed.js +120 -0
  236. package/dist/components/modules/posts/widgets/SocialFeed.js.map +1 -0
  237. package/dist/components/modules/posts/widgets/Stories.d.ts +2 -0
  238. package/dist/components/modules/posts/widgets/Stories.d.ts.map +1 -0
  239. package/dist/components/modules/posts/widgets/Stories.js +21 -0
  240. package/dist/components/modules/posts/widgets/Stories.js.map +1 -0
  241. package/dist/components/modules/posts/widgets/StoryViewer.d.ts +10 -0
  242. package/dist/components/modules/posts/widgets/StoryViewer.d.ts.map +1 -0
  243. package/dist/components/modules/posts/widgets/StoryViewer.js +51 -0
  244. package/dist/components/modules/posts/widgets/StoryViewer.js.map +1 -0
  245. package/dist/components/modules/posts/widgets/reels/ReelCard.d.ts +16 -0
  246. package/dist/components/modules/posts/widgets/reels/ReelCard.d.ts.map +1 -0
  247. package/dist/components/modules/posts/widgets/reels/ReelCard.js +55 -0
  248. package/dist/components/modules/posts/widgets/reels/ReelCard.js.map +1 -0
  249. package/dist/components/modules/posts/widgets/reels/ReelsContainer.d.ts +8 -0
  250. package/dist/components/modules/posts/widgets/reels/ReelsContainer.d.ts.map +1 -0
  251. package/dist/components/modules/posts/widgets/reels/ReelsContainer.js +29 -0
  252. package/dist/components/modules/posts/widgets/reels/ReelsContainer.js.map +1 -0
  253. package/dist/components/modules/profile/ProfileLayout.d.ts +5 -0
  254. package/dist/components/modules/profile/ProfileLayout.d.ts.map +1 -0
  255. package/dist/components/modules/profile/ProfileLayout.js +70 -0
  256. package/dist/components/modules/profile/ProfileLayout.js.map +1 -0
  257. package/dist/components/modules/profile/tabs/AboutTab.d.ts +10 -0
  258. package/dist/components/modules/profile/tabs/AboutTab.d.ts.map +1 -0
  259. package/dist/components/modules/profile/tabs/AboutTab.js +9 -0
  260. package/dist/components/modules/profile/tabs/AboutTab.js.map +1 -0
  261. package/dist/components/modules/profile/tabs/CareerTab.d.ts +7 -0
  262. package/dist/components/modules/profile/tabs/CareerTab.d.ts.map +1 -0
  263. package/dist/components/modules/profile/tabs/CareerTab.js +46 -0
  264. package/dist/components/modules/profile/tabs/CareerTab.js.map +1 -0
  265. package/dist/components/modules/profile/tabs/FriendsTab.d.ts +10 -0
  266. package/dist/components/modules/profile/tabs/FriendsTab.d.ts.map +1 -0
  267. package/dist/components/modules/profile/tabs/FriendsTab.js +8 -0
  268. package/dist/components/modules/profile/tabs/FriendsTab.js.map +1 -0
  269. package/dist/components/modules/profile/tabs/GamesTab.d.ts +7 -0
  270. package/dist/components/modules/profile/tabs/GamesTab.d.ts.map +1 -0
  271. package/dist/components/modules/profile/tabs/GamesTab.js +37 -0
  272. package/dist/components/modules/profile/tabs/GamesTab.js.map +1 -0
  273. package/dist/components/modules/profile/tabs/GroupsTab.d.ts +6 -0
  274. package/dist/components/modules/profile/tabs/GroupsTab.d.ts.map +1 -0
  275. package/dist/components/modules/profile/tabs/GroupsTab.js +9 -0
  276. package/dist/components/modules/profile/tabs/GroupsTab.js.map +1 -0
  277. package/dist/components/modules/profile/tabs/PostsTab.d.ts +7 -0
  278. package/dist/components/modules/profile/tabs/PostsTab.d.ts.map +1 -0
  279. package/dist/components/modules/profile/tabs/PostsTab.js +34 -0
  280. package/dist/components/modules/profile/tabs/PostsTab.js.map +1 -0
  281. package/dist/components/modules/profile/widgets/CloudStorageModal.d.ts +9 -0
  282. package/dist/components/modules/profile/widgets/CloudStorageModal.d.ts.map +1 -0
  283. package/dist/components/modules/profile/widgets/CloudStorageModal.js +32 -0
  284. package/dist/components/modules/profile/widgets/CloudStorageModal.js.map +1 -0
  285. package/dist/components/modules/profile/widgets/EditProfileModal.d.ts +9 -0
  286. package/dist/components/modules/profile/widgets/EditProfileModal.d.ts.map +1 -0
  287. package/dist/components/modules/profile/widgets/EditProfileModal.js +28 -0
  288. package/dist/components/modules/profile/widgets/EditProfileModal.js.map +1 -0
  289. package/dist/components/modules/profile/widgets/ProfileBadgesWidget.d.ts +2 -0
  290. package/dist/components/modules/profile/widgets/ProfileBadgesWidget.d.ts.map +1 -0
  291. package/dist/components/modules/profile/widgets/ProfileBadgesWidget.js +6 -0
  292. package/dist/components/modules/profile/widgets/ProfileBadgesWidget.js.map +1 -0
  293. package/dist/components/modules/profile/widgets/ProfileCloudWidget.d.ts +6 -0
  294. package/dist/components/modules/profile/widgets/ProfileCloudWidget.d.ts.map +1 -0
  295. package/dist/components/modules/profile/widgets/ProfileCloudWidget.js +6 -0
  296. package/dist/components/modules/profile/widgets/ProfileCloudWidget.js.map +1 -0
  297. package/dist/components/modules/profile/widgets/ProfileFriendsWidget.d.ts +8 -0
  298. package/dist/components/modules/profile/widgets/ProfileFriendsWidget.d.ts.map +1 -0
  299. package/dist/components/modules/profile/widgets/ProfileFriendsWidget.js +12 -0
  300. package/dist/components/modules/profile/widgets/ProfileFriendsWidget.js.map +1 -0
  301. package/dist/components/modules/profile/widgets/ProfileHeader.d.ts +8 -0
  302. package/dist/components/modules/profile/widgets/ProfileHeader.d.ts.map +1 -0
  303. package/dist/components/modules/profile/widgets/ProfileHeader.js +20 -0
  304. package/dist/components/modules/profile/widgets/ProfileHeader.js.map +1 -0
  305. package/dist/components/modules/profile/widgets/ProfileSidebar.d.ts +11 -0
  306. package/dist/components/modules/profile/widgets/ProfileSidebar.d.ts.map +1 -0
  307. package/dist/components/modules/profile/widgets/ProfileSidebar.js +9 -0
  308. package/dist/components/modules/profile/widgets/ProfileSidebar.js.map +1 -0
  309. package/dist/components/modules/profile/widgets/ProfileStats.d.ts +7 -0
  310. package/dist/components/modules/profile/widgets/ProfileStats.d.ts.map +1 -0
  311. package/dist/components/modules/profile/widgets/ProfileStats.js +21 -0
  312. package/dist/components/modules/profile/widgets/ProfileStats.js.map +1 -0
  313. package/dist/components/modules/profile/widgets/ProfileTabsArea.d.ts +14 -0
  314. package/dist/components/modules/profile/widgets/ProfileTabsArea.d.ts.map +1 -0
  315. package/dist/components/modules/profile/widgets/ProfileTabsArea.js +59 -0
  316. package/dist/components/modules/profile/widgets/ProfileTabsArea.js.map +1 -0
  317. package/dist/components/modules/profile/widgets/TeamSelectorModal.d.ts +11 -0
  318. package/dist/components/modules/profile/widgets/TeamSelectorModal.d.ts.map +1 -0
  319. package/dist/components/modules/profile/widgets/TeamSelectorModal.js +17 -0
  320. package/dist/components/modules/profile/widgets/TeamSelectorModal.js.map +1 -0
  321. package/dist/components/modules/shop/DetailLayout.d.ts +8 -0
  322. package/dist/components/modules/shop/DetailLayout.d.ts.map +1 -0
  323. package/dist/components/modules/shop/DetailLayout.js +22 -0
  324. package/dist/components/modules/shop/DetailLayout.js.map +1 -0
  325. package/dist/components/modules/shop/StoreLayout.d.ts +8 -0
  326. package/dist/components/modules/shop/StoreLayout.d.ts.map +1 -0
  327. package/dist/components/modules/shop/StoreLayout.js +6 -0
  328. package/dist/components/modules/shop/StoreLayout.js.map +1 -0
  329. package/dist/components/modules/shop/widgets/BackToStore.d.ts +2 -0
  330. package/dist/components/modules/shop/widgets/BackToStore.d.ts.map +1 -0
  331. package/dist/components/modules/shop/widgets/BackToStore.js +11 -0
  332. package/dist/components/modules/shop/widgets/BackToStore.js.map +1 -0
  333. package/dist/components/modules/shop/widgets/CategoryWidget.d.ts +8 -0
  334. package/dist/components/modules/shop/widgets/CategoryWidget.d.ts.map +1 -0
  335. package/dist/components/modules/shop/widgets/CategoryWidget.js +23 -0
  336. package/dist/components/modules/shop/widgets/CategoryWidget.js.map +1 -0
  337. package/dist/components/modules/shop/widgets/ProductCard.d.ts +8 -0
  338. package/dist/components/modules/shop/widgets/ProductCard.d.ts.map +1 -0
  339. package/dist/components/modules/shop/widgets/ProductCard.js +10 -0
  340. package/dist/components/modules/shop/widgets/ProductCard.js.map +1 -0
  341. package/dist/components/modules/shop/widgets/StoreHeader.d.ts +6 -0
  342. package/dist/components/modules/shop/widgets/StoreHeader.d.ts.map +1 -0
  343. package/dist/components/modules/shop/widgets/StoreHeader.js +9 -0
  344. package/dist/components/modules/shop/widgets/StoreHeader.js.map +1 -0
  345. package/dist/components/modules/shop/widgets/StoreProductGrid.d.ts +7 -0
  346. package/dist/components/modules/shop/widgets/StoreProductGrid.d.ts.map +1 -0
  347. package/dist/components/modules/shop/widgets/StoreProductGrid.js +13 -0
  348. package/dist/components/modules/shop/widgets/StoreProductGrid.js.map +1 -0
  349. package/dist/components/modules/shop/widgets/StoreSidebar.d.ts +8 -0
  350. package/dist/components/modules/shop/widgets/StoreSidebar.d.ts.map +1 -0
  351. package/dist/components/modules/shop/widgets/StoreSidebar.js +8 -0
  352. package/dist/components/modules/shop/widgets/StoreSidebar.js.map +1 -0
  353. package/dist/components/modules/shop/widgets/StoreTrustBadges.d.ts +2 -0
  354. package/dist/components/modules/shop/widgets/StoreTrustBadges.d.ts.map +1 -0
  355. package/dist/components/modules/shop/widgets/StoreTrustBadges.js +29 -0
  356. package/dist/components/modules/shop/widgets/StoreTrustBadges.js.map +1 -0
  357. package/dist/components/modules/social/SocialLayout.d.ts +2 -0
  358. package/dist/components/modules/social/SocialLayout.d.ts.map +1 -0
  359. package/dist/components/modules/social/SocialLayout.js +125 -0
  360. package/dist/components/modules/social/SocialLayout.js.map +1 -0
  361. package/dist/components/modules/social/widgets/EconomyWidget.d.ts +2 -0
  362. package/dist/components/modules/social/widgets/EconomyWidget.d.ts.map +1 -0
  363. package/dist/components/modules/social/widgets/EconomyWidget.js +45 -0
  364. package/dist/components/modules/social/widgets/EconomyWidget.js.map +1 -0
  365. package/dist/components/modules/social/widgets/LeagueWidget.d.ts +2 -0
  366. package/dist/components/modules/social/widgets/LeagueWidget.d.ts.map +1 -0
  367. package/dist/components/modules/social/widgets/LeagueWidget.js +43 -0
  368. package/dist/components/modules/social/widgets/LeagueWidget.js.map +1 -0
  369. package/dist/components/modules/social/widgets/MinecraftWidget.d.ts +2 -0
  370. package/dist/components/modules/social/widgets/MinecraftWidget.d.ts.map +1 -0
  371. package/dist/components/modules/social/widgets/MinecraftWidget.js +43 -0
  372. package/dist/components/modules/social/widgets/MinecraftWidget.js.map +1 -0
  373. package/dist/components/modules/social/widgets/RankingWidget.d.ts +5 -0
  374. package/dist/components/modules/social/widgets/RankingWidget.d.ts.map +1 -0
  375. package/dist/components/modules/social/widgets/RankingWidget.js +85 -0
  376. package/dist/components/modules/social/widgets/RankingWidget.js.map +1 -0
  377. package/dist/components/modules/social/widgets/SocialSidebar.d.ts +2 -0
  378. package/dist/components/modules/social/widgets/SocialSidebar.d.ts.map +1 -0
  379. package/dist/components/modules/social/widgets/SocialSidebar.js +9 -0
  380. package/dist/components/modules/social/widgets/SocialSidebar.js.map +1 -0
  381. package/dist/components/modules/stations/widgets/StationCard.d.ts +3 -0
  382. package/dist/components/modules/stations/widgets/StationCard.d.ts.map +1 -0
  383. package/dist/components/modules/stations/widgets/StationCard.js +26 -0
  384. package/dist/components/modules/stations/widgets/StationCard.js.map +1 -0
  385. package/dist/components/modules/stations/widgets/StationQRModal.d.ts +10 -0
  386. package/dist/components/modules/stations/widgets/StationQRModal.d.ts.map +1 -0
  387. package/dist/components/modules/stations/widgets/StationQRModal.js +13 -0
  388. package/dist/components/modules/stations/widgets/StationQRModal.js.map +1 -0
  389. package/dist/components/shared/DevTools.d.ts +2 -0
  390. package/dist/components/shared/DevTools.d.ts.map +1 -0
  391. package/dist/components/shared/DevTools.js +39 -0
  392. package/dist/components/shared/DevTools.js.map +1 -0
  393. package/dist/components/shared/FilterTabs.d.ts +16 -0
  394. package/dist/components/shared/FilterTabs.d.ts.map +1 -0
  395. package/dist/components/shared/FilterTabs.js +18 -0
  396. package/dist/components/shared/FilterTabs.js.map +1 -0
  397. package/dist/components/shared/FloatingChatButton.d.ts +5 -0
  398. package/dist/components/shared/FloatingChatButton.d.ts.map +1 -0
  399. package/dist/components/shared/FloatingChatButton.js +21 -0
  400. package/dist/components/shared/FloatingChatButton.js.map +1 -0
  401. package/dist/components/shared/Footer.d.ts +2 -0
  402. package/dist/components/shared/Footer.d.ts.map +1 -0
  403. package/dist/components/shared/Footer.js +10 -0
  404. package/dist/components/shared/Footer.js.map +1 -0
  405. package/dist/components/shared/Header.d.ts +2 -0
  406. package/dist/components/shared/Header.d.ts.map +1 -0
  407. package/dist/components/shared/Header.js +133 -0
  408. package/dist/components/shared/Header.js.map +1 -0
  409. package/dist/components/shared/ListToolbar.d.ts +32 -0
  410. package/dist/components/shared/ListToolbar.d.ts.map +1 -0
  411. package/dist/components/shared/ListToolbar.js +13 -0
  412. package/dist/components/shared/ListToolbar.js.map +1 -0
  413. package/dist/components/shared/LoginModal.d.ts +5 -0
  414. package/dist/components/shared/LoginModal.d.ts.map +1 -0
  415. package/dist/components/shared/LoginModal.js +66 -0
  416. package/dist/components/shared/LoginModal.js.map +1 -0
  417. package/dist/components/shared/MainLayoutWrapper.d.ts +5 -0
  418. package/dist/components/shared/MainLayoutWrapper.d.ts.map +1 -0
  419. package/dist/components/shared/MainLayoutWrapper.js +8 -0
  420. package/dist/components/shared/MainLayoutWrapper.js.map +1 -0
  421. package/dist/components/shared/NotFound.d.ts +21 -0
  422. package/dist/components/shared/NotFound.d.ts.map +1 -0
  423. package/dist/components/shared/NotFound.js +7 -0
  424. package/dist/components/shared/NotFound.js.map +1 -0
  425. package/dist/components/shared/PageWidth.d.ts +6 -0
  426. package/dist/components/shared/PageWidth.d.ts.map +1 -0
  427. package/dist/components/shared/PageWidth.js +14 -0
  428. package/dist/components/shared/PageWidth.js.map +1 -0
  429. package/dist/components/shared/SearchBar.d.ts +14 -0
  430. package/dist/components/shared/SearchBar.d.ts.map +1 -0
  431. package/dist/components/shared/SearchBar.js +21 -0
  432. package/dist/components/shared/SearchBar.js.map +1 -0
  433. package/dist/components/showcase/CommunityTab.d.ts +2 -0
  434. package/dist/components/showcase/CommunityTab.d.ts.map +1 -0
  435. package/dist/components/showcase/CommunityTab.js +6 -0
  436. package/dist/components/showcase/CommunityTab.js.map +1 -0
  437. package/dist/components/showcase/CorporateTab.d.ts +2 -0
  438. package/dist/components/showcase/CorporateTab.d.ts.map +1 -0
  439. package/dist/components/showcase/CorporateTab.js +6 -0
  440. package/dist/components/showcase/CorporateTab.js.map +1 -0
  441. package/dist/components/showcase/EventsTab.d.ts +2 -0
  442. package/dist/components/showcase/EventsTab.d.ts.map +1 -0
  443. package/dist/components/showcase/EventsTab.js +95 -0
  444. package/dist/components/showcase/EventsTab.js.map +1 -0
  445. package/dist/components/showcase/GeneralTab.d.ts +2 -0
  446. package/dist/components/showcase/GeneralTab.d.ts.map +1 -0
  447. package/dist/components/showcase/GeneralTab.js +6 -0
  448. package/dist/components/showcase/GeneralTab.js.map +1 -0
  449. package/dist/components/showcase/GroupTab.d.ts +2 -0
  450. package/dist/components/showcase/GroupTab.d.ts.map +1 -0
  451. package/dist/components/showcase/GroupTab.js +74 -0
  452. package/dist/components/showcase/GroupTab.js.map +1 -0
  453. package/dist/components/showcase/MessagesTab.d.ts +2 -0
  454. package/dist/components/showcase/MessagesTab.d.ts.map +1 -0
  455. package/dist/components/showcase/MessagesTab.js +20 -0
  456. package/dist/components/showcase/MessagesTab.js.map +1 -0
  457. package/dist/components/showcase/ProfileTab.d.ts +2 -0
  458. package/dist/components/showcase/ProfileTab.d.ts.map +1 -0
  459. package/dist/components/showcase/ProfileTab.js +51 -0
  460. package/dist/components/showcase/ProfileTab.js.map +1 -0
  461. package/dist/components/showcase/ReelsTab.d.ts +2 -0
  462. package/dist/components/showcase/ReelsTab.d.ts.map +1 -0
  463. package/dist/components/showcase/ReelsTab.js +34 -0
  464. package/dist/components/showcase/ReelsTab.js.map +1 -0
  465. package/dist/components/showcase/ShopTab.d.ts +2 -0
  466. package/dist/components/showcase/ShopTab.d.ts.map +1 -0
  467. package/dist/components/showcase/ShopTab.js +32 -0
  468. package/dist/components/showcase/ShopTab.js.map +1 -0
  469. package/dist/components/showcase/ShowcaseNavigation.d.ts +2 -0
  470. package/dist/components/showcase/ShowcaseNavigation.d.ts.map +1 -0
  471. package/dist/components/showcase/ShowcaseNavigation.js +29 -0
  472. package/dist/components/showcase/ShowcaseNavigation.js.map +1 -0
  473. package/dist/components/showcase/SocialTab.d.ts +2 -0
  474. package/dist/components/showcase/SocialTab.d.ts.map +1 -0
  475. package/dist/components/showcase/SocialTab.js +26 -0
  476. package/dist/components/showcase/SocialTab.js.map +1 -0
  477. package/dist/context/ArmoyuContext.d.ts +42 -0
  478. package/dist/context/ArmoyuContext.d.ts.map +1 -0
  479. package/dist/context/ArmoyuContext.js +76 -0
  480. package/dist/context/ArmoyuContext.js.map +1 -0
  481. package/dist/context/AuthContext.d.ts +20 -0
  482. package/dist/context/AuthContext.d.ts.map +1 -0
  483. package/dist/context/AuthContext.js +114 -0
  484. package/dist/context/AuthContext.js.map +1 -0
  485. package/dist/context/CartContext.d.ts +18 -0
  486. package/dist/context/CartContext.d.ts.map +1 -0
  487. package/dist/context/CartContext.js +63 -0
  488. package/dist/context/CartContext.js.map +1 -0
  489. package/dist/context/ChatContext.d.ts +23 -0
  490. package/dist/context/ChatContext.d.ts.map +1 -0
  491. package/dist/context/ChatContext.js +94 -0
  492. package/dist/context/ChatContext.js.map +1 -0
  493. package/dist/context/LayoutContext.d.ts +11 -0
  494. package/dist/context/LayoutContext.d.ts.map +1 -0
  495. package/dist/context/LayoutContext.js +17 -0
  496. package/dist/context/LayoutContext.js.map +1 -0
  497. package/dist/context/SocketContext.d.ts +13 -0
  498. package/dist/context/SocketContext.d.ts.map +1 -0
  499. package/dist/context/SocketContext.js +32 -0
  500. package/dist/context/SocketContext.js.map +1 -0
  501. package/dist/context/ThemeContext.d.ts +11 -0
  502. package/dist/context/ThemeContext.d.ts.map +1 -0
  503. package/dist/context/ThemeContext.js +40 -0
  504. package/dist/context/ThemeContext.js.map +1 -0
  505. package/dist/index.d.ts +100 -0
  506. package/dist/index.d.ts.map +1 -0
  507. package/dist/index.js +112 -0
  508. package/dist/index.js.map +1 -0
  509. package/dist/lib/ArmoyuUI.d.ts +18 -0
  510. package/dist/lib/ArmoyuUI.d.ts.map +1 -0
  511. package/dist/lib/ArmoyuUI.js +25 -0
  512. package/dist/lib/ArmoyuUI.js.map +1 -0
  513. package/dist/lib/constants/config.d.ts +9 -0
  514. package/dist/lib/constants/config.d.ts.map +1 -0
  515. package/dist/lib/constants/config.js +15 -0
  516. package/dist/lib/constants/config.js.map +1 -0
  517. package/dist/lib/constants/educationData.d.ts +8 -0
  518. package/dist/lib/constants/educationData.d.ts.map +1 -0
  519. package/dist/lib/constants/educationData.js +118 -0
  520. package/dist/lib/constants/educationData.js.map +1 -0
  521. package/dist/lib/constants/punishmentData.d.ts +30 -0
  522. package/dist/lib/constants/punishmentData.d.ts.map +1 -0
  523. package/dist/lib/constants/punishmentData.js +184 -0
  524. package/dist/lib/constants/punishmentData.js.map +1 -0
  525. package/dist/lib/constants/seedData.d.ts +182 -0
  526. package/dist/lib/constants/seedData.d.ts.map +1 -0
  527. package/dist/lib/constants/seedData.js +724 -0
  528. package/dist/lib/constants/seedData.js.map +1 -0
  529. package/dist/lib/constants/stationData.d.ts +14 -0
  530. package/dist/lib/constants/stationData.d.ts.map +1 -0
  531. package/dist/lib/constants/stationData.js +167 -0
  532. package/dist/lib/constants/stationData.js.map +1 -0
  533. package/dist/lib/constants/surveyData.d.ts +3 -0
  534. package/dist/lib/constants/surveyData.d.ts.map +1 -0
  535. package/dist/lib/constants/surveyData.js +50 -0
  536. package/dist/lib/constants/surveyData.js.map +1 -0
  537. package/dist/lib/constants/teamData.d.ts +13 -0
  538. package/dist/lib/constants/teamData.d.ts.map +1 -0
  539. package/dist/lib/constants/teamData.js +66 -0
  540. package/dist/lib/constants/teamData.js.map +1 -0
  541. package/dist/lib/utils/numberFormat.d.ts +10 -0
  542. package/dist/lib/utils/numberFormat.d.ts.map +1 -0
  543. package/dist/lib/utils/numberFormat.js +17 -0
  544. package/dist/lib/utils/numberFormat.js.map +1 -0
  545. package/dist/lib/utils/odpUtils.d.ts +16 -0
  546. package/dist/lib/utils/odpUtils.d.ts.map +1 -0
  547. package/dist/lib/utils/odpUtils.js +44 -0
  548. package/dist/lib/utils/odpUtils.js.map +1 -0
  549. package/dist/lib/utils/postUtils.d.ts +7 -0
  550. package/dist/lib/utils/postUtils.d.ts.map +1 -0
  551. package/dist/lib/utils/postUtils.js +37 -0
  552. package/dist/lib/utils/postUtils.js.map +1 -0
  553. package/dist/models/BaseModel.d.ts +13 -0
  554. package/dist/models/BaseModel.d.ts.map +1 -0
  555. package/dist/models/BaseModel.js +13 -0
  556. package/dist/models/BaseModel.js.map +1 -0
  557. package/dist/models/auth/RankedUser.d.ts +21 -0
  558. package/dist/models/auth/RankedUser.d.ts.map +1 -0
  559. package/dist/models/auth/RankedUser.js +37 -0
  560. package/dist/models/auth/RankedUser.js.map +1 -0
  561. package/dist/models/auth/Role.d.ts +16 -0
  562. package/dist/models/auth/Role.d.ts.map +1 -0
  563. package/dist/models/auth/Role.js +28 -0
  564. package/dist/models/auth/Role.js.map +1 -0
  565. package/dist/models/auth/Session.d.ts +25 -0
  566. package/dist/models/auth/Session.d.ts.map +1 -0
  567. package/dist/models/auth/Session.js +52 -0
  568. package/dist/models/auth/Session.js.map +1 -0
  569. package/dist/models/auth/StaffApplication.d.ts +21 -0
  570. package/dist/models/auth/StaffApplication.d.ts.map +1 -0
  571. package/dist/models/auth/StaffApplication.js +38 -0
  572. package/dist/models/auth/StaffApplication.js.map +1 -0
  573. package/dist/models/auth/TeamMember.d.ts +20 -0
  574. package/dist/models/auth/TeamMember.d.ts.map +1 -0
  575. package/dist/models/auth/TeamMember.js +36 -0
  576. package/dist/models/auth/TeamMember.js.map +1 -0
  577. package/dist/models/auth/User.d.ts +91 -0
  578. package/dist/models/auth/User.d.ts.map +1 -0
  579. package/dist/models/auth/User.js +202 -0
  580. package/dist/models/auth/User.js.map +1 -0
  581. package/dist/models/auth/UserBadge.d.ts +19 -0
  582. package/dist/models/auth/UserBadge.d.ts.map +1 -0
  583. package/dist/models/auth/UserBadge.js +35 -0
  584. package/dist/models/auth/UserBadge.js.map +1 -0
  585. package/dist/models/community/Classroom.d.ts +20 -0
  586. package/dist/models/community/Classroom.d.ts.map +1 -0
  587. package/dist/models/community/Classroom.js +35 -0
  588. package/dist/models/community/Classroom.js.map +1 -0
  589. package/dist/models/community/Event.d.ts +53 -0
  590. package/dist/models/community/Event.d.ts.map +1 -0
  591. package/dist/models/community/Event.js +102 -0
  592. package/dist/models/community/Event.js.map +1 -0
  593. package/dist/models/community/Faculty.d.ts +18 -0
  594. package/dist/models/community/Faculty.d.ts.map +1 -0
  595. package/dist/models/community/Faculty.js +31 -0
  596. package/dist/models/community/Faculty.js.map +1 -0
  597. package/dist/models/community/Forum.d.ts +27 -0
  598. package/dist/models/community/Forum.d.ts.map +1 -0
  599. package/dist/models/community/Forum.js +38 -0
  600. package/dist/models/community/Forum.js.map +1 -0
  601. package/dist/models/community/Giveaway.d.ts +23 -0
  602. package/dist/models/community/Giveaway.d.ts.map +1 -0
  603. package/dist/models/community/Giveaway.js +40 -0
  604. package/dist/models/community/Giveaway.js.map +1 -0
  605. package/dist/models/community/Group.d.ts +39 -0
  606. package/dist/models/community/Group.d.ts.map +1 -0
  607. package/dist/models/community/Group.js +117 -0
  608. package/dist/models/community/Group.js.map +1 -0
  609. package/dist/models/community/School.d.ts +29 -0
  610. package/dist/models/community/School.d.ts.map +1 -0
  611. package/dist/models/community/School.js +70 -0
  612. package/dist/models/community/School.js.map +1 -0
  613. package/dist/models/community/SchoolTeam.d.ts +28 -0
  614. package/dist/models/community/SchoolTeam.d.ts.map +1 -0
  615. package/dist/models/community/SchoolTeam.js +43 -0
  616. package/dist/models/community/SchoolTeam.js.map +1 -0
  617. package/dist/models/community/Station.d.ts +82 -0
  618. package/dist/models/community/Station.d.ts.map +1 -0
  619. package/dist/models/community/Station.js +170 -0
  620. package/dist/models/community/Station.js.map +1 -0
  621. package/dist/models/community/Survey.d.ts +28 -0
  622. package/dist/models/community/Survey.d.ts.map +1 -0
  623. package/dist/models/community/Survey.js +53 -0
  624. package/dist/models/community/Survey.js.map +1 -0
  625. package/dist/models/community/SurveyAnswer.d.ts +16 -0
  626. package/dist/models/community/SurveyAnswer.d.ts.map +1 -0
  627. package/dist/models/community/SurveyAnswer.js +28 -0
  628. package/dist/models/community/SurveyAnswer.js.map +1 -0
  629. package/dist/models/community/Team.d.ts +23 -0
  630. package/dist/models/community/Team.d.ts.map +1 -0
  631. package/dist/models/community/Team.js +62 -0
  632. package/dist/models/community/Team.js.map +1 -0
  633. package/dist/models/community/Workplace.d.ts +19 -0
  634. package/dist/models/community/Workplace.d.ts.map +1 -0
  635. package/dist/models/community/Workplace.js +34 -0
  636. package/dist/models/community/Workplace.js.map +1 -0
  637. package/dist/models/content/Game.d.ts +21 -0
  638. package/dist/models/content/Game.d.ts.map +1 -0
  639. package/dist/models/content/Game.js +42 -0
  640. package/dist/models/content/Game.js.map +1 -0
  641. package/dist/models/content/Media.d.ts +18 -0
  642. package/dist/models/content/Media.d.ts.map +1 -0
  643. package/dist/models/content/Media.js +32 -0
  644. package/dist/models/content/Media.js.map +1 -0
  645. package/dist/models/content/Mod.d.ts +22 -0
  646. package/dist/models/content/Mod.d.ts.map +1 -0
  647. package/dist/models/content/Mod.js +39 -0
  648. package/dist/models/content/Mod.js.map +1 -0
  649. package/dist/models/content/News.d.ts +37 -0
  650. package/dist/models/content/News.d.ts.map +1 -0
  651. package/dist/models/content/News.js +76 -0
  652. package/dist/models/content/News.js.map +1 -0
  653. package/dist/models/content/PlatformStation.d.ts +19 -0
  654. package/dist/models/content/PlatformStation.d.ts.map +1 -0
  655. package/dist/models/content/PlatformStation.js +34 -0
  656. package/dist/models/content/PlatformStation.js.map +1 -0
  657. package/dist/models/content/PlatformTeam.d.ts +15 -0
  658. package/dist/models/content/PlatformTeam.d.ts.map +1 -0
  659. package/dist/models/content/PlatformTeam.js +26 -0
  660. package/dist/models/content/PlatformTeam.js.map +1 -0
  661. package/dist/models/content/Project.d.ts +27 -0
  662. package/dist/models/content/Project.d.ts.map +1 -0
  663. package/dist/models/content/Project.js +43 -0
  664. package/dist/models/content/Project.js.map +1 -0
  665. package/dist/models/content/ProjectScore.d.ts +15 -0
  666. package/dist/models/content/ProjectScore.d.ts.map +1 -0
  667. package/dist/models/content/ProjectScore.js +26 -0
  668. package/dist/models/content/ProjectScore.js.map +1 -0
  669. package/dist/models/content/StationEquipment.d.ts +17 -0
  670. package/dist/models/content/StationEquipment.d.ts.map +1 -0
  671. package/dist/models/content/StationEquipment.js +30 -0
  672. package/dist/models/content/StationEquipment.js.map +1 -0
  673. package/dist/models/core/Country.d.ts +16 -0
  674. package/dist/models/core/Country.d.ts.map +1 -0
  675. package/dist/models/core/Country.js +28 -0
  676. package/dist/models/core/Country.js.map +1 -0
  677. package/dist/models/core/PlatformStats.d.ts +47 -0
  678. package/dist/models/core/PlatformStats.d.ts.map +1 -0
  679. package/dist/models/core/PlatformStats.js +90 -0
  680. package/dist/models/core/PlatformStats.js.map +1 -0
  681. package/dist/models/core/Province.d.ts +16 -0
  682. package/dist/models/core/Province.d.ts.map +1 -0
  683. package/dist/models/core/Province.js +28 -0
  684. package/dist/models/core/Province.js.map +1 -0
  685. package/dist/models/core/Rule.d.ts +17 -0
  686. package/dist/models/core/Rule.d.ts.map +1 -0
  687. package/dist/models/core/Rule.js +30 -0
  688. package/dist/models/core/Rule.js.map +1 -0
  689. package/dist/models/core/SystemSettings.d.ts +39 -0
  690. package/dist/models/core/SystemSettings.d.ts.map +1 -0
  691. package/dist/models/core/SystemSettings.js +66 -0
  692. package/dist/models/core/SystemSettings.js.map +1 -0
  693. package/dist/models/index.d.ts +59 -0
  694. package/dist/models/index.d.ts.map +1 -0
  695. package/dist/models/index.js +73 -0
  696. package/dist/models/index.js.map +1 -0
  697. package/dist/models/shop/CartItem.d.ts +21 -0
  698. package/dist/models/shop/CartItem.d.ts.map +1 -0
  699. package/dist/models/shop/CartItem.js +38 -0
  700. package/dist/models/shop/CartItem.js.map +1 -0
  701. package/dist/models/shop/Invoice.d.ts +19 -0
  702. package/dist/models/shop/Invoice.d.ts.map +1 -0
  703. package/dist/models/shop/Invoice.js +34 -0
  704. package/dist/models/shop/Invoice.js.map +1 -0
  705. package/dist/models/shop/Order.d.ts +24 -0
  706. package/dist/models/shop/Order.d.ts.map +1 -0
  707. package/dist/models/shop/Order.js +50 -0
  708. package/dist/models/shop/Order.js.map +1 -0
  709. package/dist/models/shop/Product.d.ts +27 -0
  710. package/dist/models/shop/Product.d.ts.map +1 -0
  711. package/dist/models/shop/Product.js +69 -0
  712. package/dist/models/shop/Product.js.map +1 -0
  713. package/dist/models/social/chat/Chat.d.ts +27 -0
  714. package/dist/models/social/chat/Chat.d.ts.map +1 -0
  715. package/dist/models/social/chat/Chat.js +75 -0
  716. package/dist/models/social/chat/Chat.js.map +1 -0
  717. package/dist/models/social/chat/Message.d.ts +18 -0
  718. package/dist/models/social/chat/Message.d.ts.map +1 -0
  719. package/dist/models/social/chat/Message.js +51 -0
  720. package/dist/models/social/chat/Message.js.map +1 -0
  721. package/dist/models/social/chat/Note.d.ts +16 -0
  722. package/dist/models/social/chat/Note.d.ts.map +1 -0
  723. package/dist/models/social/chat/Note.js +28 -0
  724. package/dist/models/social/chat/Note.js.map +1 -0
  725. package/dist/models/social/feed/Comment.d.ts +20 -0
  726. package/dist/models/social/feed/Comment.d.ts.map +1 -0
  727. package/dist/models/social/feed/Comment.js +35 -0
  728. package/dist/models/social/feed/Comment.js.map +1 -0
  729. package/dist/models/social/feed/Post.d.ts +23 -0
  730. package/dist/models/social/feed/Post.d.ts.map +1 -0
  731. package/dist/models/social/feed/Post.js +40 -0
  732. package/dist/models/social/feed/Post.js.map +1 -0
  733. package/dist/models/social/feed/Story.d.ts +18 -0
  734. package/dist/models/social/feed/Story.d.ts.map +1 -0
  735. package/dist/models/social/feed/Story.js +31 -0
  736. package/dist/models/social/feed/Story.js.map +1 -0
  737. package/dist/models/social/gaming/Game.d.ts +20 -0
  738. package/dist/models/social/gaming/Game.d.ts.map +1 -0
  739. package/dist/models/social/gaming/Game.js +36 -0
  740. package/dist/models/social/gaming/Game.js.map +1 -0
  741. package/dist/models/social/meta/AuthEnums.d.ts +18 -0
  742. package/dist/models/social/meta/AuthEnums.d.ts.map +1 -0
  743. package/dist/models/social/meta/AuthEnums.js +20 -0
  744. package/dist/models/social/meta/AuthEnums.js.map +1 -0
  745. package/dist/models/social/meta/MediaEnums.d.ts +20 -0
  746. package/dist/models/social/meta/MediaEnums.d.ts.map +1 -0
  747. package/dist/models/social/meta/MediaEnums.js +22 -0
  748. package/dist/models/social/meta/MediaEnums.js.map +1 -0
  749. package/dist/models/social/notification/Notification.d.ts +24 -0
  750. package/dist/models/social/notification/Notification.d.ts.map +1 -0
  751. package/dist/models/social/notification/Notification.js +66 -0
  752. package/dist/models/social/notification/Notification.js.map +1 -0
  753. package/dist/models/social/notification/NotificationEnums.d.ts +54 -0
  754. package/dist/models/social/notification/NotificationEnums.d.ts.map +1 -0
  755. package/dist/models/social/notification/NotificationEnums.js +59 -0
  756. package/dist/models/social/notification/NotificationEnums.js.map +1 -0
  757. package/dist/models/social/notification/NotificationSender.d.ts +17 -0
  758. package/dist/models/social/notification/NotificationSender.d.ts.map +1 -0
  759. package/dist/models/social/notification/NotificationSender.js +30 -0
  760. package/dist/models/social/notification/NotificationSender.js.map +1 -0
  761. package/dist/models/social/poll/Poll.d.ts +20 -0
  762. package/dist/models/social/poll/Poll.d.ts.map +1 -0
  763. package/dist/models/social/poll/Poll.js +35 -0
  764. package/dist/models/social/poll/Poll.js.map +1 -0
  765. package/dist/models/social/poll/PollOption.d.ts +16 -0
  766. package/dist/models/social/poll/PollOption.d.ts.map +1 -0
  767. package/dist/models/social/poll/PollOption.js +28 -0
  768. package/dist/models/social/poll/PollOption.js.map +1 -0
  769. package/dist/models/social/search/SearchEnums.d.ts +22 -0
  770. package/dist/models/social/search/SearchEnums.d.ts.map +1 -0
  771. package/dist/models/social/search/SearchEnums.js +24 -0
  772. package/dist/models/social/search/SearchEnums.js.map +1 -0
  773. package/dist/models/social/search/SearchResult.d.ts +22 -0
  774. package/dist/models/social/search/SearchResult.d.ts.map +1 -0
  775. package/dist/models/social/search/SearchResult.js +74 -0
  776. package/dist/models/social/search/SearchResult.js.map +1 -0
  777. package/dist/models/social/stats/Leaderboard.d.ts +30 -0
  778. package/dist/models/social/stats/Leaderboard.d.ts.map +1 -0
  779. package/dist/models/social/stats/Leaderboard.js +53 -0
  780. package/dist/models/social/stats/Leaderboard.js.map +1 -0
  781. package/dist/models/social/support/SupportTicket.d.ts +19 -0
  782. package/dist/models/social/support/SupportTicket.d.ts.map +1 -0
  783. package/dist/models/social/support/SupportTicket.js +34 -0
  784. package/dist/models/social/support/SupportTicket.js.map +1 -0
  785. package/dist/models/social/user/BlockedUser.d.ts +16 -0
  786. package/dist/models/social/user/BlockedUser.d.ts.map +1 -0
  787. package/dist/models/social/user/BlockedUser.js +27 -0
  788. package/dist/models/social/user/BlockedUser.js.map +1 -0
  789. package/dist/models/store/StoreItem.d.ts +19 -0
  790. package/dist/models/store/StoreItem.d.ts.map +1 -0
  791. package/dist/models/store/StoreItem.js +34 -0
  792. package/dist/models/store/StoreItem.js.map +1 -0
  793. package/dist/types/index.d.ts +2 -0
  794. package/dist/types/index.d.ts.map +1 -0
  795. package/dist/types/index.js +2 -0
  796. package/dist/types/index.js.map +1 -0
  797. package/dist/types/stats.d.ts +18 -0
  798. package/dist/types/stats.d.ts.map +1 -0
  799. package/dist/types/stats.js +2 -0
  800. package/dist/types/stats.js.map +1 -0
  801. package/package.json +2 -2
@@ -0,0 +1,20 @@
1
+ import { BaseModel } from '../../BaseModel';
2
+ /**
3
+ * Represents a Game in the ARMOYU platform in the UI.
4
+ */
5
+ export declare class Game extends BaseModel {
6
+ id: string;
7
+ title: string;
8
+ shortName: string;
9
+ logo: string;
10
+ banner: string;
11
+ description: string;
12
+ rating: number;
13
+ category: string;
14
+ constructor(data: Partial<Game>);
15
+ /**
16
+ * Instantiates a Game object from an API response.
17
+ */
18
+ static fromAPI(json: Record<string, any>): Game;
19
+ }
20
+ //# sourceMappingURL=Game.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Game.d.ts","sourceRoot":"","sources":["../../../../src/models/social/gaming/Game.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAE5C;;GAEG;AACH,qBAAa,IAAK,SAAQ,SAAS;IACjC,EAAE,EAAE,MAAM,CAAM;IAChB,KAAK,EAAE,MAAM,CAAM;IACnB,SAAS,EAAE,MAAM,CAAM;IACvB,IAAI,EAAE,MAAM,CAAM;IAClB,MAAM,EAAE,MAAM,CAAM;IACpB,WAAW,EAAE,MAAM,CAAM;IACzB,MAAM,EAAE,MAAM,CAAK;IACnB,QAAQ,EAAE,MAAM,CAAM;gBAEV,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC;IAK/B;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI;CAchD"}
@@ -0,0 +1,36 @@
1
+ import { BaseModel } from '../../BaseModel';
2
+ /**
3
+ * Represents a Game in the ARMOYU platform in the UI.
4
+ */
5
+ export class Game extends BaseModel {
6
+ id = '';
7
+ title = '';
8
+ shortName = '';
9
+ logo = '';
10
+ banner = '';
11
+ description = '';
12
+ rating = 0;
13
+ category = '';
14
+ constructor(data) {
15
+ super();
16
+ Object.assign(this, data);
17
+ }
18
+ /**
19
+ * Instantiates a Game object from an API response.
20
+ */
21
+ static fromAPI(json) {
22
+ if (!json)
23
+ return new Game({});
24
+ return new Game({
25
+ id: String(json.id || json.oyunid || ''),
26
+ title: json.title || json.ad || '',
27
+ shortName: json.shortName || json.kisa_ad || '',
28
+ logo: json.logo || json.minnakresim || '',
29
+ banner: json.banner || json.buyukresim || '',
30
+ description: json.description || json.aciklama || '',
31
+ rating: Number(json.rating || json.puan || 0),
32
+ category: json.category || json.tür || ''
33
+ });
34
+ }
35
+ }
36
+ //# sourceMappingURL=Game.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Game.js","sourceRoot":"","sources":["../../../../src/models/social/gaming/Game.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAE5C;;GAEG;AACH,MAAM,OAAO,IAAK,SAAQ,SAAS;IACjC,EAAE,GAAW,EAAE,CAAC;IAChB,KAAK,GAAW,EAAE,CAAC;IACnB,SAAS,GAAW,EAAE,CAAC;IACvB,IAAI,GAAW,EAAE,CAAC;IAClB,MAAM,GAAW,EAAE,CAAC;IACpB,WAAW,GAAW,EAAE,CAAC;IACzB,MAAM,GAAW,CAAC,CAAC;IACnB,QAAQ,GAAW,EAAE,CAAC;IAEtB,YAAY,IAAmB;QAC7B,KAAK,EAAE,CAAC;QACR,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IAC5B,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,IAAyB;QACtC,IAAI,CAAC,IAAI;YAAE,OAAO,IAAI,IAAI,CAAC,EAAE,CAAC,CAAC;QAE/B,OAAO,IAAI,IAAI,CAAC;YACd,EAAE,EAAE,MAAM,CAAC,IAAI,CAAC,EAAE,IAAI,IAAI,CAAC,MAAM,IAAI,EAAE,CAAC;YACxC,KAAK,EAAE,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,EAAE,IAAI,EAAE;YAClC,SAAS,EAAE,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC,OAAO,IAAI,EAAE;YAC/C,IAAI,EAAE,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,WAAW,IAAI,EAAE;YACzC,MAAM,EAAE,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,UAAU,IAAI,EAAE;YAC5C,WAAW,EAAE,IAAI,CAAC,WAAW,IAAI,IAAI,CAAC,QAAQ,IAAI,EAAE;YACpD,MAAM,EAAE,MAAM,CAAC,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,IAAI,IAAI,CAAC,CAAC;YAC7C,QAAQ,EAAE,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,GAAG,IAAI,EAAE;SAC1C,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Authentication related enums.
3
+ */
4
+ export declare enum AuthStatus {
5
+ GUEST = 0,
6
+ USER = 1,
7
+ MODERATOR = 2,
8
+ ADMIN = 3
9
+ }
10
+ /**
11
+ * Preferences for password reset.
12
+ */
13
+ export declare enum PasswordResetPreference {
14
+ EMAIL = "email",
15
+ PHONE = "phone",
16
+ USER_INPUT = "user_input"
17
+ }
18
+ //# sourceMappingURL=AuthEnums.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AuthEnums.d.ts","sourceRoot":"","sources":["../../../../src/models/social/meta/AuthEnums.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,UAAU;IACpB,KAAK,IAAI;IACT,IAAI,IAAI;IACR,SAAS,IAAI;IACb,KAAK,IAAI;CACV;AAED;;GAEG;AACH,oBAAY,uBAAuB;IACjC,KAAK,UAAU;IACf,KAAK,UAAU;IACf,UAAU,eAAe;CAC1B"}
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Authentication related enums.
3
+ */
4
+ export var AuthStatus;
5
+ (function (AuthStatus) {
6
+ AuthStatus[AuthStatus["GUEST"] = 0] = "GUEST";
7
+ AuthStatus[AuthStatus["USER"] = 1] = "USER";
8
+ AuthStatus[AuthStatus["MODERATOR"] = 2] = "MODERATOR";
9
+ AuthStatus[AuthStatus["ADMIN"] = 3] = "ADMIN";
10
+ })(AuthStatus || (AuthStatus = {}));
11
+ /**
12
+ * Preferences for password reset.
13
+ */
14
+ export var PasswordResetPreference;
15
+ (function (PasswordResetPreference) {
16
+ PasswordResetPreference["EMAIL"] = "email";
17
+ PasswordResetPreference["PHONE"] = "phone";
18
+ PasswordResetPreference["USER_INPUT"] = "user_input";
19
+ })(PasswordResetPreference || (PasswordResetPreference = {}));
20
+ //# sourceMappingURL=AuthEnums.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AuthEnums.js","sourceRoot":"","sources":["../../../../src/models/social/meta/AuthEnums.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,CAAN,IAAY,UAKX;AALD,WAAY,UAAU;IACpB,6CAAS,CAAA;IACT,2CAAQ,CAAA;IACR,qDAAa,CAAA;IACb,6CAAS,CAAA;AACX,CAAC,EALW,UAAU,KAAV,UAAU,QAKrB;AAED;;GAEG;AACH,MAAM,CAAN,IAAY,uBAIX;AAJD,WAAY,uBAAuB;IACjC,0CAAe,CAAA;IACf,0CAAe,CAAA;IACf,oDAAyB,CAAA;AAC3B,CAAC,EAJW,uBAAuB,KAAvB,uBAAuB,QAIlC"}
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Media related enums.
3
+ */
4
+ export declare enum MediaType {
5
+ IMAGE = "IMAGE",
6
+ VIDEO = "VIDEO",
7
+ AUDIO = "AUDIO",
8
+ DOCUMENT = "DOCUMENT"
9
+ }
10
+ /**
11
+ * Categories for media.
12
+ */
13
+ export declare enum MediaCategory {
14
+ ALL = "all",
15
+ PROFILE = "profile",
16
+ POST = "post",
17
+ GROUP = "group",
18
+ CHAT = "chat"
19
+ }
20
+ //# sourceMappingURL=MediaEnums.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MediaEnums.d.ts","sourceRoot":"","sources":["../../../../src/models/social/meta/MediaEnums.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,SAAS;IACnB,KAAK,UAAU;IACf,KAAK,UAAU;IACf,KAAK,UAAU;IACf,QAAQ,aAAa;CACtB;AAED;;GAEG;AACH,oBAAY,aAAa;IACvB,GAAG,QAAQ;IACX,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,KAAK,UAAU;IACf,IAAI,SAAS;CACd"}
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Media related enums.
3
+ */
4
+ export var MediaType;
5
+ (function (MediaType) {
6
+ MediaType["IMAGE"] = "IMAGE";
7
+ MediaType["VIDEO"] = "VIDEO";
8
+ MediaType["AUDIO"] = "AUDIO";
9
+ MediaType["DOCUMENT"] = "DOCUMENT";
10
+ })(MediaType || (MediaType = {}));
11
+ /**
12
+ * Categories for media.
13
+ */
14
+ export var MediaCategory;
15
+ (function (MediaCategory) {
16
+ MediaCategory["ALL"] = "all";
17
+ MediaCategory["PROFILE"] = "profile";
18
+ MediaCategory["POST"] = "post";
19
+ MediaCategory["GROUP"] = "group";
20
+ MediaCategory["CHAT"] = "chat";
21
+ })(MediaCategory || (MediaCategory = {}));
22
+ //# sourceMappingURL=MediaEnums.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MediaEnums.js","sourceRoot":"","sources":["../../../../src/models/social/meta/MediaEnums.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,CAAN,IAAY,SAKX;AALD,WAAY,SAAS;IACnB,4BAAe,CAAA;IACf,4BAAe,CAAA;IACf,4BAAe,CAAA;IACf,kCAAqB,CAAA;AACvB,CAAC,EALW,SAAS,KAAT,SAAS,QAKpB;AAED;;GAEG;AACH,MAAM,CAAN,IAAY,aAMX;AAND,WAAY,aAAa;IACvB,4BAAW,CAAA;IACX,oCAAmB,CAAA;IACnB,8BAAa,CAAA;IACb,gCAAe,CAAA;IACf,8BAAa,CAAA;AACf,CAAC,EANW,aAAa,KAAb,aAAa,QAMxB"}
@@ -0,0 +1,24 @@
1
+ import { BaseModel } from '../../BaseModel';
2
+ import { NotificationType, NotificationPriority, NotificationStatus } from './NotificationEnums';
3
+ import { NotificationSender } from './NotificationSender';
4
+ /**
5
+ * Represents a System or User Notification in the UI.
6
+ */
7
+ export declare class Notification extends BaseModel {
8
+ id: string;
9
+ type: NotificationType;
10
+ priority: NotificationPriority;
11
+ status: NotificationStatus;
12
+ title: string;
13
+ message: string;
14
+ sender: NotificationSender | null;
15
+ link: string;
16
+ createdAt: string;
17
+ metaData: Record<string, any>;
18
+ constructor(data: Partial<Notification>);
19
+ /**
20
+ * Instantiates a Notification object from an API response.
21
+ */
22
+ static fromAPI(json: Record<string, any>): Notification;
23
+ }
24
+ //# sourceMappingURL=Notification.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Notification.d.ts","sourceRoot":"","sources":["../../../../src/models/social/notification/Notification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AACjG,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D;;GAEG;AACH,qBAAa,YAAa,SAAQ,SAAS;IACzC,EAAE,EAAE,MAAM,CAAM;IAChB,IAAI,EAAE,gBAAgB,CAA2B;IACjD,QAAQ,EAAE,oBAAoB,CAA+B;IAC7D,MAAM,EAAE,kBAAkB,CAA6B;IACvD,KAAK,EAAE,MAAM,CAAM;IACnB,OAAO,EAAE,MAAM,CAAM;IACrB,MAAM,EAAE,kBAAkB,GAAG,IAAI,CAAQ;IACzC,IAAI,EAAE,MAAM,CAAM;IAClB,SAAS,EAAE,MAAM,CAAM;IACvB,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAM;gBAEvB,IAAI,EAAE,OAAO,CAAC,YAAY,CAAC;IAKvC;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,YAAY;CA2CxD"}
@@ -0,0 +1,66 @@
1
+ import { BaseModel } from '../../BaseModel';
2
+ import { NotificationType, NotificationPriority, NotificationStatus } from './NotificationEnums';
3
+ import { NotificationSender } from './NotificationSender';
4
+ /**
5
+ * Represents a System or User Notification in the UI.
6
+ */
7
+ export class Notification extends BaseModel {
8
+ id = '';
9
+ type = NotificationType.SYSTEM;
10
+ priority = NotificationPriority.MEDIUM;
11
+ status = NotificationStatus.UNREAD;
12
+ title = '';
13
+ message = '';
14
+ sender = null;
15
+ link = '';
16
+ createdAt = '';
17
+ metaData = {};
18
+ constructor(data) {
19
+ super();
20
+ Object.assign(this, data);
21
+ }
22
+ /**
23
+ * Instantiates a Notification object from an API response.
24
+ */
25
+ static fromAPI(json) {
26
+ if (!json)
27
+ return new Notification({});
28
+ const resolveKey = (keys) => {
29
+ const foundKey = Object.keys(json).find(k => keys.includes(k.toLowerCase()));
30
+ return foundKey ? json[foundKey] : undefined;
31
+ };
32
+ const typeStr = resolveKey(['type', 'bildirimturu', 'tür']);
33
+ let nType = NotificationType.SYSTEM;
34
+ if (typeStr) {
35
+ const typeMap = {
36
+ 'arkadaslik_istegi': NotificationType.FRIEND_REQUEST,
37
+ 'arkadaslik_kabul': NotificationType.FRIEND_ACCEPT,
38
+ 'begeni': NotificationType.POST_LIKE,
39
+ 'yorum': NotificationType.POST_COMMENT,
40
+ 'etiket': NotificationType.POST_MENTION,
41
+ 'grup_davet': NotificationType.GROUP_INVITE,
42
+ 'grup_kabul': NotificationType.GROUP_ACCEPT,
43
+ 'sistem': NotificationType.SYSTEM,
44
+ 'mesaj': NotificationType.CHAT_MESSAGE,
45
+ 'seviye': NotificationType.LEVEL_UP,
46
+ 'odul': NotificationType.AWARD
47
+ };
48
+ nType = typeMap[typeStr] || NotificationType.SYSTEM;
49
+ }
50
+ const priorityVal = resolveKey(['priority', 'oncelik']);
51
+ const statusVal = resolveKey(['status', 'durum', 'okundu']);
52
+ return new Notification({
53
+ id: String(resolveKey(['id', 'bildirimbakid', 'bildirimid']) || ''),
54
+ type: nType,
55
+ priority: typeof priorityVal === 'number' ? priorityVal : NotificationPriority.MEDIUM,
56
+ status: (statusVal === 1 || statusVal === true) ? NotificationStatus.READ : NotificationStatus.UNREAD,
57
+ title: resolveKey(['title', 'baslik']) || '',
58
+ message: resolveKey(['message', 'icerik', 'mesaj', 'text']) || '',
59
+ sender: resolveKey(['sender', 'gonderen']) ? NotificationSender.fromAPI(resolveKey(['sender', 'gonderen'])) : null,
60
+ link: resolveKey(['link', 'url', 'baglanti']) || '',
61
+ createdAt: resolveKey(['createdat', 'tarih', 'zaman']) || '',
62
+ metaData: json.meta || json.extra || {}
63
+ });
64
+ }
65
+ }
66
+ //# sourceMappingURL=Notification.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Notification.js","sourceRoot":"","sources":["../../../../src/models/social/notification/Notification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AACjG,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D;;GAEG;AACH,MAAM,OAAO,YAAa,SAAQ,SAAS;IACzC,EAAE,GAAW,EAAE,CAAC;IAChB,IAAI,GAAqB,gBAAgB,CAAC,MAAM,CAAC;IACjD,QAAQ,GAAyB,oBAAoB,CAAC,MAAM,CAAC;IAC7D,MAAM,GAAuB,kBAAkB,CAAC,MAAM,CAAC;IACvD,KAAK,GAAW,EAAE,CAAC;IACnB,OAAO,GAAW,EAAE,CAAC;IACrB,MAAM,GAA8B,IAAI,CAAC;IACzC,IAAI,GAAW,EAAE,CAAC;IAClB,SAAS,GAAW,EAAE,CAAC;IACvB,QAAQ,GAAwB,EAAE,CAAC;IAEnC,YAAY,IAA2B;QACrC,KAAK,EAAE,CAAC;QACR,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IAC5B,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,IAAyB;QACtC,IAAI,CAAC,IAAI;YAAE,OAAO,IAAI,YAAY,CAAC,EAAE,CAAC,CAAC;QAEvC,MAAM,UAAU,GAAG,CAAC,IAAc,EAAO,EAAE;YACzC,MAAM,QAAQ,GAAG,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC;YAC7E,OAAO,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;QAC/C,CAAC,CAAC;QAEF,MAAM,OAAO,GAAG,UAAU,CAAC,CAAC,MAAM,EAAE,cAAc,EAAE,KAAK,CAAC,CAAC,CAAC;QAC5D,IAAI,KAAK,GAAG,gBAAgB,CAAC,MAAM,CAAC;QACpC,IAAI,OAAO,EAAE,CAAC;YACZ,MAAM,OAAO,GAAqC;gBAChD,mBAAmB,EAAE,gBAAgB,CAAC,cAAc;gBACpD,kBAAkB,EAAE,gBAAgB,CAAC,aAAa;gBAClD,QAAQ,EAAE,gBAAgB,CAAC,SAAS;gBACpC,OAAO,EAAE,gBAAgB,CAAC,YAAY;gBACtC,QAAQ,EAAE,gBAAgB,CAAC,YAAY;gBACvC,YAAY,EAAE,gBAAgB,CAAC,YAAY;gBAC3C,YAAY,EAAE,gBAAgB,CAAC,YAAY;gBAC3C,QAAQ,EAAE,gBAAgB,CAAC,MAAM;gBACjC,OAAO,EAAE,gBAAgB,CAAC,YAAY;gBACtC,QAAQ,EAAE,gBAAgB,CAAC,QAAQ;gBACnC,MAAM,EAAE,gBAAgB,CAAC,KAAK;aAC/B,CAAC;YACF,KAAK,GAAG,OAAO,CAAC,OAAO,CAAC,IAAI,gBAAgB,CAAC,MAAM,CAAC;QACtD,CAAC;QAED,MAAM,WAAW,GAAG,UAAU,CAAC,CAAC,UAAU,EAAE,SAAS,CAAC,CAAC,CAAC;QACxD,MAAM,SAAS,GAAG,UAAU,CAAC,CAAC,QAAQ,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC,CAAC;QAE5D,OAAO,IAAI,YAAY,CAAC;YACtB,EAAE,EAAE,MAAM,CAAC,UAAU,CAAC,CAAC,IAAI,EAAE,eAAe,EAAE,YAAY,CAAC,CAAC,IAAI,EAAE,CAAC;YACnE,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,OAAO,WAAW,KAAK,QAAQ,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,oBAAoB,CAAC,MAAM;YACrF,MAAM,EAAE,CAAC,SAAS,KAAK,CAAC,IAAI,SAAS,KAAK,IAAI,CAAC,CAAC,CAAC,CAAC,kBAAkB,CAAC,IAAI,CAAC,CAAC,CAAC,kBAAkB,CAAC,MAAM;YACrG,KAAK,EAAE,UAAU,CAAC,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC,IAAI,EAAE;YAC5C,OAAO,EAAE,UAAU,CAAC,CAAC,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC,IAAI,EAAE;YACjE,MAAM,EAAE,UAAU,CAAC,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,kBAAkB,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI;YAClH,IAAI,EAAE,UAAU,CAAC,CAAC,MAAM,EAAE,KAAK,EAAE,UAAU,CAAC,CAAC,IAAI,EAAE;YACnD,SAAS,EAAE,UAAU,CAAC,CAAC,WAAW,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,EAAE;YAC5D,QAAQ,EAAE,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,KAAK,IAAI,EAAE;SACxC,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -0,0 +1,54 @@
1
+ /**
2
+ * Types of notifications.
3
+ */
4
+ export declare enum NotificationType {
5
+ FRIEND_REQUEST = "FRIEND_REQUEST",
6
+ FRIEND_ACCEPT = "FRIEND_ACCEPT",
7
+ POST_LIKE = "POST_LIKE",
8
+ POST_COMMENT = "POST_COMMENT",
9
+ POST_MENTION = "POST_MENTION",
10
+ GROUP_INVITE = "GROUP_INVITE",
11
+ GROUP_ACCEPT = "GROUP_ACCEPT",
12
+ SYSTEM = "SYSTEM",
13
+ CHAT_MESSAGE = "CHAT_MESSAGE",
14
+ LEVEL_UP = "LEVEL_UP",
15
+ AWARD = "AWARD"
16
+ }
17
+ /**
18
+ * Priority of notifications.
19
+ */
20
+ export declare enum NotificationPriority {
21
+ LOW = 0,
22
+ MEDIUM = 1,
23
+ HIGH = 2,
24
+ URGENT = 3
25
+ }
26
+ /**
27
+ * Status of notifications.
28
+ */
29
+ export declare enum NotificationStatus {
30
+ UNREAD = 0,
31
+ READ = 1,
32
+ ARCHIVED = 2
33
+ }
34
+ /**
35
+ * Categories for notifications.
36
+ */
37
+ export declare enum NotificationCategory {
38
+ ALL = "all",
39
+ SOCIAL = "social",
40
+ SYSTEM = "system",
41
+ COMMUNITY = "community",
42
+ GAMING = "gaming"
43
+ }
44
+ /**
45
+ * Sub-categories for notifications.
46
+ */
47
+ export declare enum NotificationSubCategory {
48
+ ALL = "all",
49
+ FRIENDSHIP = "friendship",
50
+ POSTS = "posts",
51
+ GROUPS = "groups",
52
+ AWARDS = "awards"
53
+ }
54
+ //# sourceMappingURL=NotificationEnums.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NotificationEnums.d.ts","sourceRoot":"","sources":["../../../../src/models/social/notification/NotificationEnums.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,gBAAgB;IAC1B,cAAc,mBAAmB;IACjC,aAAa,kBAAkB;IAC/B,SAAS,cAAc;IACvB,YAAY,iBAAiB;IAC7B,YAAY,iBAAiB;IAC7B,YAAY,iBAAiB;IAC7B,YAAY,iBAAiB;IAC7B,MAAM,WAAW;IACjB,YAAY,iBAAiB;IAC7B,QAAQ,aAAa;IACrB,KAAK,UAAU;CAChB;AAED;;GAEG;AACH,oBAAY,oBAAoB;IAC9B,GAAG,IAAI;IACP,MAAM,IAAI;IACV,IAAI,IAAI;IACR,MAAM,IAAI;CACX;AAED;;GAEG;AACH,oBAAY,kBAAkB;IAC5B,MAAM,IAAI;IACV,IAAI,IAAI;IACR,QAAQ,IAAI;CACb;AAED;;GAEG;AACH,oBAAY,oBAAoB;IAC9B,GAAG,QAAQ;IACX,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,SAAS,cAAc;IACvB,MAAM,WAAW;CAClB;AAED;;GAEG;AACH,oBAAY,uBAAuB;IACjC,GAAG,QAAQ;IACX,UAAU,eAAe;IACzB,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,MAAM,WAAW;CAClB"}
@@ -0,0 +1,59 @@
1
+ /**
2
+ * Types of notifications.
3
+ */
4
+ export var NotificationType;
5
+ (function (NotificationType) {
6
+ NotificationType["FRIEND_REQUEST"] = "FRIEND_REQUEST";
7
+ NotificationType["FRIEND_ACCEPT"] = "FRIEND_ACCEPT";
8
+ NotificationType["POST_LIKE"] = "POST_LIKE";
9
+ NotificationType["POST_COMMENT"] = "POST_COMMENT";
10
+ NotificationType["POST_MENTION"] = "POST_MENTION";
11
+ NotificationType["GROUP_INVITE"] = "GROUP_INVITE";
12
+ NotificationType["GROUP_ACCEPT"] = "GROUP_ACCEPT";
13
+ NotificationType["SYSTEM"] = "SYSTEM";
14
+ NotificationType["CHAT_MESSAGE"] = "CHAT_MESSAGE";
15
+ NotificationType["LEVEL_UP"] = "LEVEL_UP";
16
+ NotificationType["AWARD"] = "AWARD";
17
+ })(NotificationType || (NotificationType = {}));
18
+ /**
19
+ * Priority of notifications.
20
+ */
21
+ export var NotificationPriority;
22
+ (function (NotificationPriority) {
23
+ NotificationPriority[NotificationPriority["LOW"] = 0] = "LOW";
24
+ NotificationPriority[NotificationPriority["MEDIUM"] = 1] = "MEDIUM";
25
+ NotificationPriority[NotificationPriority["HIGH"] = 2] = "HIGH";
26
+ NotificationPriority[NotificationPriority["URGENT"] = 3] = "URGENT";
27
+ })(NotificationPriority || (NotificationPriority = {}));
28
+ /**
29
+ * Status of notifications.
30
+ */
31
+ export var NotificationStatus;
32
+ (function (NotificationStatus) {
33
+ NotificationStatus[NotificationStatus["UNREAD"] = 0] = "UNREAD";
34
+ NotificationStatus[NotificationStatus["READ"] = 1] = "READ";
35
+ NotificationStatus[NotificationStatus["ARCHIVED"] = 2] = "ARCHIVED";
36
+ })(NotificationStatus || (NotificationStatus = {}));
37
+ /**
38
+ * Categories for notifications.
39
+ */
40
+ export var NotificationCategory;
41
+ (function (NotificationCategory) {
42
+ NotificationCategory["ALL"] = "all";
43
+ NotificationCategory["SOCIAL"] = "social";
44
+ NotificationCategory["SYSTEM"] = "system";
45
+ NotificationCategory["COMMUNITY"] = "community";
46
+ NotificationCategory["GAMING"] = "gaming";
47
+ })(NotificationCategory || (NotificationCategory = {}));
48
+ /**
49
+ * Sub-categories for notifications.
50
+ */
51
+ export var NotificationSubCategory;
52
+ (function (NotificationSubCategory) {
53
+ NotificationSubCategory["ALL"] = "all";
54
+ NotificationSubCategory["FRIENDSHIP"] = "friendship";
55
+ NotificationSubCategory["POSTS"] = "posts";
56
+ NotificationSubCategory["GROUPS"] = "groups";
57
+ NotificationSubCategory["AWARDS"] = "awards";
58
+ })(NotificationSubCategory || (NotificationSubCategory = {}));
59
+ //# sourceMappingURL=NotificationEnums.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NotificationEnums.js","sourceRoot":"","sources":["../../../../src/models/social/notification/NotificationEnums.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,CAAN,IAAY,gBAYX;AAZD,WAAY,gBAAgB;IAC1B,qDAAiC,CAAA;IACjC,mDAA+B,CAAA;IAC/B,2CAAuB,CAAA;IACvB,iDAA6B,CAAA;IAC7B,iDAA6B,CAAA;IAC7B,iDAA6B,CAAA;IAC7B,iDAA6B,CAAA;IAC7B,qCAAiB,CAAA;IACjB,iDAA6B,CAAA;IAC7B,yCAAqB,CAAA;IACrB,mCAAe,CAAA;AACjB,CAAC,EAZW,gBAAgB,KAAhB,gBAAgB,QAY3B;AAED;;GAEG;AACH,MAAM,CAAN,IAAY,oBAKX;AALD,WAAY,oBAAoB;IAC9B,6DAAO,CAAA;IACP,mEAAU,CAAA;IACV,+DAAQ,CAAA;IACR,mEAAU,CAAA;AACZ,CAAC,EALW,oBAAoB,KAApB,oBAAoB,QAK/B;AAED;;GAEG;AACH,MAAM,CAAN,IAAY,kBAIX;AAJD,WAAY,kBAAkB;IAC5B,+DAAU,CAAA;IACV,2DAAQ,CAAA;IACR,mEAAY,CAAA;AACd,CAAC,EAJW,kBAAkB,KAAlB,kBAAkB,QAI7B;AAED;;GAEG;AACH,MAAM,CAAN,IAAY,oBAMX;AAND,WAAY,oBAAoB;IAC9B,mCAAW,CAAA;IACX,yCAAiB,CAAA;IACjB,yCAAiB,CAAA;IACjB,+CAAuB,CAAA;IACvB,yCAAiB,CAAA;AACnB,CAAC,EANW,oBAAoB,KAApB,oBAAoB,QAM/B;AAED;;GAEG;AACH,MAAM,CAAN,IAAY,uBAMX;AAND,WAAY,uBAAuB;IACjC,sCAAW,CAAA;IACX,oDAAyB,CAAA;IACzB,0CAAe,CAAA;IACf,4CAAiB,CAAA;IACjB,4CAAiB,CAAA;AACnB,CAAC,EANW,uBAAuB,KAAvB,uBAAuB,QAMlC"}
@@ -0,0 +1,17 @@
1
+ import { BaseModel } from '../../BaseModel';
2
+ /**
3
+ * Represents the entity that sent a notification in the UI.
4
+ */
5
+ export declare class NotificationSender extends BaseModel {
6
+ id: string;
7
+ name: string;
8
+ avatar: string;
9
+ type: 'USER' | 'GROUP' | 'SYSTEM';
10
+ url?: string;
11
+ constructor(data: Partial<NotificationSender>);
12
+ /**
13
+ * Instantiates a NotificationSender object from an API response.
14
+ */
15
+ static fromAPI(json: Record<string, any>): NotificationSender;
16
+ }
17
+ //# sourceMappingURL=NotificationSender.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NotificationSender.d.ts","sourceRoot":"","sources":["../../../../src/models/social/notification/NotificationSender.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAE5C;;GAEG;AACH,qBAAa,kBAAmB,SAAQ,SAAS;IAC/C,EAAE,EAAE,MAAM,CAAM;IAChB,IAAI,EAAE,MAAM,CAAM;IAClB,MAAM,EAAE,MAAM,CAAM;IACpB,IAAI,EAAE,MAAM,GAAG,OAAO,GAAG,QAAQ,CAAY;IAC7C,GAAG,CAAC,EAAE,MAAM,CAAC;gBAED,IAAI,EAAE,OAAO,CAAC,kBAAkB,CAAC;IAK7C;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,kBAAkB;CAW9D"}
@@ -0,0 +1,30 @@
1
+ import { BaseModel } from '../../BaseModel';
2
+ /**
3
+ * Represents the entity that sent a notification in the UI.
4
+ */
5
+ export class NotificationSender extends BaseModel {
6
+ id = '';
7
+ name = '';
8
+ avatar = '';
9
+ type = 'SYSTEM';
10
+ url;
11
+ constructor(data) {
12
+ super();
13
+ Object.assign(this, data);
14
+ }
15
+ /**
16
+ * Instantiates a NotificationSender object from an API response.
17
+ */
18
+ static fromAPI(json) {
19
+ if (!json)
20
+ return new NotificationSender({});
21
+ return new NotificationSender({
22
+ id: String(json.id || json.senderid || ''),
23
+ name: json.name || json.displayname || json.ad || '',
24
+ avatar: json.avatar || json.foto || '',
25
+ type: json.type || 'SYSTEM',
26
+ url: json.url || ''
27
+ });
28
+ }
29
+ }
30
+ //# sourceMappingURL=NotificationSender.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NotificationSender.js","sourceRoot":"","sources":["../../../../src/models/social/notification/NotificationSender.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAE5C;;GAEG;AACH,MAAM,OAAO,kBAAmB,SAAQ,SAAS;IAC/C,EAAE,GAAW,EAAE,CAAC;IAChB,IAAI,GAAW,EAAE,CAAC;IAClB,MAAM,GAAW,EAAE,CAAC;IACpB,IAAI,GAAgC,QAAQ,CAAC;IAC7C,GAAG,CAAU;IAEb,YAAY,IAAiC;QAC3C,KAAK,EAAE,CAAC;QACR,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IAC5B,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,IAAyB;QACtC,IAAI,CAAC,IAAI;YAAE,OAAO,IAAI,kBAAkB,CAAC,EAAE,CAAC,CAAC;QAE7C,OAAO,IAAI,kBAAkB,CAAC;YAC5B,EAAE,EAAE,MAAM,CAAC,IAAI,CAAC,EAAE,IAAI,IAAI,CAAC,QAAQ,IAAI,EAAE,CAAC;YAC1C,IAAI,EAAE,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,WAAW,IAAI,IAAI,CAAC,EAAE,IAAI,EAAE;YACpD,MAAM,EAAE,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,IAAI,IAAI,EAAE;YACtC,IAAI,EAAE,IAAI,CAAC,IAAI,IAAI,QAAQ;YAC3B,GAAG,EAAE,IAAI,CAAC,GAAG,IAAI,EAAE;SACpB,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -0,0 +1,20 @@
1
+ import { BaseModel } from '../../BaseModel';
2
+ import { PollOption } from './PollOption';
3
+ /**
4
+ * Represents a Social Poll in the UI.
5
+ */
6
+ export declare class Poll extends BaseModel {
7
+ id: string;
8
+ question: string;
9
+ options: PollOption[];
10
+ totalVotes: number;
11
+ expiresAt: string;
12
+ isClosed: boolean;
13
+ allowMultiple: boolean;
14
+ constructor(data: Partial<Poll>);
15
+ /**
16
+ * Instantiates a Poll object from an API response.
17
+ */
18
+ static fromAPI(json: Record<string, any>): Poll;
19
+ }
20
+ //# sourceMappingURL=Poll.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Poll.d.ts","sourceRoot":"","sources":["../../../../src/models/social/poll/Poll.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C;;GAEG;AACH,qBAAa,IAAK,SAAQ,SAAS;IACjC,EAAE,EAAE,MAAM,CAAM;IAChB,QAAQ,EAAE,MAAM,CAAM;IACtB,OAAO,EAAE,UAAU,EAAE,CAAM;IAC3B,UAAU,EAAE,MAAM,CAAK;IACvB,SAAS,EAAE,MAAM,CAAM;IACvB,QAAQ,EAAE,OAAO,CAAS;IAC1B,aAAa,EAAE,OAAO,CAAS;gBAEnB,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC;IAK/B;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI;CAYhD"}
@@ -0,0 +1,35 @@
1
+ import { BaseModel } from '../../BaseModel';
2
+ import { PollOption } from './PollOption';
3
+ /**
4
+ * Represents a Social Poll in the UI.
5
+ */
6
+ export class Poll extends BaseModel {
7
+ id = '';
8
+ question = '';
9
+ options = [];
10
+ totalVotes = 0;
11
+ expiresAt = '';
12
+ isClosed = false;
13
+ allowMultiple = false;
14
+ constructor(data) {
15
+ super();
16
+ Object.assign(this, data);
17
+ }
18
+ /**
19
+ * Instantiates a Poll object from an API response.
20
+ */
21
+ static fromAPI(json) {
22
+ if (!json)
23
+ return new Poll({});
24
+ return new Poll({
25
+ id: String(json.id || json.anketid || ''),
26
+ question: json.question || json.soru || '',
27
+ options: Array.isArray(json.options || json.secenekler) ? (json.options || json.secenekler).map((o) => PollOption.fromAPI(o)) : [],
28
+ totalVotes: Number(json.totalVotes || json.toplam_oy || 0),
29
+ expiresAt: json.expiresAt || json.bitis_tarih || '',
30
+ isClosed: json.isClosed === true || json.durum === 0 || false,
31
+ allowMultiple: json.allowMultiple === true || json.coklu_secim === 1 || false
32
+ });
33
+ }
34
+ }
35
+ //# sourceMappingURL=Poll.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Poll.js","sourceRoot":"","sources":["../../../../src/models/social/poll/Poll.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C;;GAEG;AACH,MAAM,OAAO,IAAK,SAAQ,SAAS;IACjC,EAAE,GAAW,EAAE,CAAC;IAChB,QAAQ,GAAW,EAAE,CAAC;IACtB,OAAO,GAAiB,EAAE,CAAC;IAC3B,UAAU,GAAW,CAAC,CAAC;IACvB,SAAS,GAAW,EAAE,CAAC;IACvB,QAAQ,GAAY,KAAK,CAAC;IAC1B,aAAa,GAAY,KAAK,CAAC;IAE/B,YAAY,IAAmB;QAC7B,KAAK,EAAE,CAAC;QACR,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IAC5B,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,IAAyB;QACtC,IAAI,CAAC,IAAI;YAAE,OAAO,IAAI,IAAI,CAAC,EAAE,CAAC,CAAC;QAC/B,OAAO,IAAI,IAAI,CAAC;YACd,EAAE,EAAE,MAAM,CAAC,IAAI,CAAC,EAAE,IAAI,IAAI,CAAC,OAAO,IAAI,EAAE,CAAC;YACzC,QAAQ,EAAE,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,IAAI,IAAI,EAAE;YAC1C,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,UAAU,CAAC,CAAC,GAAG,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE;YACvI,UAAU,EAAE,MAAM,CAAC,IAAI,CAAC,UAAU,IAAI,IAAI,CAAC,SAAS,IAAI,CAAC,CAAC;YAC1D,SAAS,EAAE,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC,WAAW,IAAI,EAAE;YACnD,QAAQ,EAAE,IAAI,CAAC,QAAQ,KAAK,IAAI,IAAI,IAAI,CAAC,KAAK,KAAK,CAAC,IAAI,KAAK;YAC7D,aAAa,EAAE,IAAI,CAAC,aAAa,KAAK,IAAI,IAAI,IAAI,CAAC,WAAW,KAAK,CAAC,IAAI,KAAK;SAC9E,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -0,0 +1,16 @@
1
+ import { BaseModel } from '../../BaseModel';
2
+ /**
3
+ * Represents an option in a Poll in the UI.
4
+ */
5
+ export declare class PollOption extends BaseModel {
6
+ id: string;
7
+ text: string;
8
+ votes: number;
9
+ isVoted: boolean;
10
+ constructor(data: Partial<PollOption>);
11
+ /**
12
+ * Instantiates a PollOption object from an API response.
13
+ */
14
+ static fromAPI(json: Record<string, any>): PollOption;
15
+ }
16
+ //# sourceMappingURL=PollOption.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PollOption.d.ts","sourceRoot":"","sources":["../../../../src/models/social/poll/PollOption.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAE5C;;GAEG;AACH,qBAAa,UAAW,SAAQ,SAAS;IACvC,EAAE,EAAE,MAAM,CAAM;IAChB,IAAI,EAAE,MAAM,CAAM;IAClB,KAAK,EAAE,MAAM,CAAK;IAClB,OAAO,EAAE,OAAO,CAAS;gBAEb,IAAI,EAAE,OAAO,CAAC,UAAU,CAAC;IAKrC;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,UAAU;CAStD"}
@@ -0,0 +1,28 @@
1
+ import { BaseModel } from '../../BaseModel';
2
+ /**
3
+ * Represents an option in a Poll in the UI.
4
+ */
5
+ export class PollOption extends BaseModel {
6
+ id = '';
7
+ text = '';
8
+ votes = 0;
9
+ isVoted = false;
10
+ constructor(data) {
11
+ super();
12
+ Object.assign(this, data);
13
+ }
14
+ /**
15
+ * Instantiates a PollOption object from an API response.
16
+ */
17
+ static fromAPI(json) {
18
+ if (!json)
19
+ return new PollOption({});
20
+ return new PollOption({
21
+ id: String(json.id || json.secenekid || ''),
22
+ text: json.text || json.secenek || '',
23
+ votes: Number(json.votes || json.oy_sayi || 0),
24
+ isVoted: json.isVoted === true || json.secildi === 1 || false
25
+ });
26
+ }
27
+ }
28
+ //# sourceMappingURL=PollOption.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PollOption.js","sourceRoot":"","sources":["../../../../src/models/social/poll/PollOption.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAE5C;;GAEG;AACH,MAAM,OAAO,UAAW,SAAQ,SAAS;IACvC,EAAE,GAAW,EAAE,CAAC;IAChB,IAAI,GAAW,EAAE,CAAC;IAClB,KAAK,GAAW,CAAC,CAAC;IAClB,OAAO,GAAY,KAAK,CAAC;IAEzB,YAAY,IAAyB;QACnC,KAAK,EAAE,CAAC;QACR,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IAC5B,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,IAAyB;QACtC,IAAI,CAAC,IAAI;YAAE,OAAO,IAAI,UAAU,CAAC,EAAE,CAAC,CAAC;QACrC,OAAO,IAAI,UAAU,CAAC;YACpB,EAAE,EAAE,MAAM,CAAC,IAAI,CAAC,EAAE,IAAI,IAAI,CAAC,SAAS,IAAI,EAAE,CAAC;YAC3C,IAAI,EAAE,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,OAAO,IAAI,EAAE;YACrC,KAAK,EAAE,MAAM,CAAC,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,OAAO,IAAI,CAAC,CAAC;YAC9C,OAAO,EAAE,IAAI,CAAC,OAAO,KAAK,IAAI,IAAI,IAAI,CAAC,OAAO,KAAK,CAAC,IAAI,KAAK;SAC9D,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Search Result Types.
3
+ */
4
+ export declare enum SearchType {
5
+ USER = "USER",
6
+ GROUP = "GROUP",
7
+ POST = "POST",
8
+ GAME = "GAME",
9
+ NEWS = "NEWS"
10
+ }
11
+ /**
12
+ * Categories for search.
13
+ */
14
+ export declare enum SearchCategory {
15
+ ALL = "all",
16
+ USERS = "users",
17
+ GROUPS = "groups",
18
+ POSTS = "posts",
19
+ FORUMS = "forums",
20
+ NEWS = "news"
21
+ }
22
+ //# sourceMappingURL=SearchEnums.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SearchEnums.d.ts","sourceRoot":"","sources":["../../../../src/models/social/search/SearchEnums.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,UAAU;IACpB,IAAI,SAAS;IACb,KAAK,UAAU;IACf,IAAI,SAAS;IACb,IAAI,SAAS;IACb,IAAI,SAAS;CACd;AAED;;GAEG;AACH,oBAAY,cAAc;IACxB,GAAG,QAAQ;IACX,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,IAAI,SAAS;CACd"}
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Search Result Types.
3
+ */
4
+ export var SearchType;
5
+ (function (SearchType) {
6
+ SearchType["USER"] = "USER";
7
+ SearchType["GROUP"] = "GROUP";
8
+ SearchType["POST"] = "POST";
9
+ SearchType["GAME"] = "GAME";
10
+ SearchType["NEWS"] = "NEWS";
11
+ })(SearchType || (SearchType = {}));
12
+ /**
13
+ * Categories for search.
14
+ */
15
+ export var SearchCategory;
16
+ (function (SearchCategory) {
17
+ SearchCategory["ALL"] = "all";
18
+ SearchCategory["USERS"] = "users";
19
+ SearchCategory["GROUPS"] = "groups";
20
+ SearchCategory["POSTS"] = "posts";
21
+ SearchCategory["FORUMS"] = "forums";
22
+ SearchCategory["NEWS"] = "news";
23
+ })(SearchCategory || (SearchCategory = {}));
24
+ //# sourceMappingURL=SearchEnums.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SearchEnums.js","sourceRoot":"","sources":["../../../../src/models/social/search/SearchEnums.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,CAAN,IAAY,UAMX;AAND,WAAY,UAAU;IACpB,2BAAa,CAAA;IACb,6BAAe,CAAA;IACf,2BAAa,CAAA;IACb,2BAAa,CAAA;IACb,2BAAa,CAAA;AACf,CAAC,EANW,UAAU,KAAV,UAAU,QAMrB;AAED;;GAEG;AACH,MAAM,CAAN,IAAY,cAOX;AAPD,WAAY,cAAc;IACxB,6BAAW,CAAA;IACX,iCAAe,CAAA;IACf,mCAAiB,CAAA;IACjB,iCAAe,CAAA;IACf,mCAAiB,CAAA;IACjB,+BAAa,CAAA;AACf,CAAC,EAPW,cAAc,KAAd,cAAc,QAOzB"}