@armoyu/ui 1.1.5 → 1.1.6

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 (779) hide show
  1. package/dist/app/page.d.ts.map +1 -1
  2. package/dist/components/modules/chat/ChatLayout.d.ts.map +1 -1
  3. package/dist/components/modules/community/CommunityLayout.d.ts.map +1 -1
  4. package/dist/components/modules/profile/tabs/GroupsTab.d.ts +2 -1
  5. package/dist/components/modules/profile/tabs/GroupsTab.d.ts.map +1 -1
  6. package/dist/components/modules/profile/tabs/GroupsTab.js +1 -1
  7. package/dist/components/modules/profile/tabs/GroupsTab.js.map +1 -1
  8. package/dist/components/modules/profile/tabs/PostsTab.d.ts +1 -1
  9. package/dist/components/modules/profile/tabs/PostsTab.d.ts.map +1 -1
  10. package/dist/components/modules/profile/tabs/PostsTab.js.map +1 -1
  11. package/dist/components/modules/profile/widgets/ProfileTabsArea.d.ts +1 -1
  12. package/dist/components/modules/profile/widgets/ProfileTabsArea.d.ts.map +1 -1
  13. package/dist/components/modules/social/SocialLayout.d.ts.map +1 -1
  14. package/dist/components/showcase/AuthTab.d.ts +2 -0
  15. package/dist/components/showcase/AuthTab.d.ts.map +1 -0
  16. package/dist/components/showcase/CorporateTab.d.ts.map +1 -1
  17. package/dist/index.d.ts +19 -0
  18. package/dist/index.d.ts.map +1 -1
  19. package/dist/index.js +20 -0
  20. package/dist/index.js.map +1 -1
  21. package/package.json +1 -1
  22. package/dist/app/Providers.d.ts +0 -6
  23. package/dist/app/Providers.d.ts.map +0 -1
  24. package/dist/app/Providers.js +0 -32
  25. package/dist/app/Providers.js.map +0 -1
  26. package/dist/app/api/proxy/[...path]/route.d.ts +0 -23
  27. package/dist/app/api/proxy/[...path]/route.d.ts.map +0 -1
  28. package/dist/app/api/proxy/[...path]/route.js +0 -133
  29. package/dist/app/api/proxy/[...path]/route.js.map +0 -1
  30. package/dist/app/gruplar/[groupId]/page.js +0 -10
  31. package/dist/app/gruplar/[groupId]/page.js.map +0 -1
  32. package/dist/app/layout.d.ts +0 -8
  33. package/dist/app/layout.d.ts.map +0 -1
  34. package/dist/app/layout.js +0 -29
  35. package/dist/app/layout.js.map +0 -1
  36. package/dist/app/not-found.d.ts +0 -2
  37. package/dist/app/not-found.d.ts.map +0 -1
  38. package/dist/app/not-found.js +0 -7
  39. package/dist/app/not-found.js.map +0 -1
  40. package/dist/app/page.js +0 -39
  41. package/dist/app/page.js.map +0 -1
  42. package/dist/components/Button.d.ts +0 -8
  43. package/dist/components/Button.d.ts.map +0 -1
  44. package/dist/components/Button.js +0 -16
  45. package/dist/components/Button.js.map +0 -1
  46. package/dist/components/GenderStatsBar.d.ts +0 -6
  47. package/dist/components/GenderStatsBar.d.ts.map +0 -1
  48. package/dist/components/GenderStatsBar.js +0 -8
  49. package/dist/components/GenderStatsBar.js.map +0 -1
  50. package/dist/components/RollingNumber.d.ts +0 -7
  51. package/dist/components/RollingNumber.d.ts.map +0 -1
  52. package/dist/components/RollingNumber.js +0 -24
  53. package/dist/components/RollingNumber.js.map +0 -1
  54. package/dist/components/Slider.d.ts +0 -11
  55. package/dist/components/Slider.d.ts.map +0 -1
  56. package/dist/components/Slider.js +0 -36
  57. package/dist/components/Slider.js.map +0 -1
  58. package/dist/components/StatsGrid.d.ts +0 -6
  59. package/dist/components/StatsGrid.d.ts.map +0 -1
  60. package/dist/components/StatsGrid.js +0 -14
  61. package/dist/components/StatsGrid.js.map +0 -1
  62. package/dist/components/ViewModeToggle.d.ts +0 -8
  63. package/dist/components/ViewModeToggle.d.ts.map +0 -1
  64. package/dist/components/ViewModeToggle.js +0 -10
  65. package/dist/components/ViewModeToggle.js.map +0 -1
  66. package/dist/components/modules/chat/ChatLayout.js +0 -198
  67. package/dist/components/modules/chat/ChatLayout.js.map +0 -1
  68. package/dist/components/modules/chat/widgets/ChatInput.d.ts +0 -5
  69. package/dist/components/modules/chat/widgets/ChatInput.d.ts.map +0 -1
  70. package/dist/components/modules/chat/widgets/ChatInput.js +0 -31
  71. package/dist/components/modules/chat/widgets/ChatInput.js.map +0 -1
  72. package/dist/components/modules/chat/widgets/ChatList.d.ts +0 -7
  73. package/dist/components/modules/chat/widgets/ChatList.d.ts.map +0 -1
  74. package/dist/components/modules/chat/widgets/ChatList.js +0 -53
  75. package/dist/components/modules/chat/widgets/ChatList.js.map +0 -1
  76. package/dist/components/modules/chat/widgets/ChatMessage.d.ts +0 -12
  77. package/dist/components/modules/chat/widgets/ChatMessage.d.ts.map +0 -1
  78. package/dist/components/modules/chat/widgets/ChatMessage.js +0 -7
  79. package/dist/components/modules/chat/widgets/ChatMessage.js.map +0 -1
  80. package/dist/components/modules/chat/widgets/ChatNotes.d.ts +0 -2
  81. package/dist/components/modules/chat/widgets/ChatNotes.d.ts.map +0 -1
  82. package/dist/components/modules/chat/widgets/ChatNotes.js +0 -15
  83. package/dist/components/modules/chat/widgets/ChatNotes.js.map +0 -1
  84. package/dist/components/modules/community/CommunityLayout.js +0 -137
  85. package/dist/components/modules/community/CommunityLayout.js.map +0 -1
  86. package/dist/components/modules/community/widgets/EventDetailLayout.d.ts +0 -7
  87. package/dist/components/modules/community/widgets/EventDetailLayout.d.ts.map +0 -1
  88. package/dist/components/modules/community/widgets/EventDetailLayout.js +0 -54
  89. package/dist/components/modules/community/widgets/EventDetailLayout.js.map +0 -1
  90. package/dist/components/modules/community/widgets/GroupAboutCard.d.ts +0 -6
  91. package/dist/components/modules/community/widgets/GroupAboutCard.d.ts.map +0 -1
  92. package/dist/components/modules/community/widgets/GroupAboutCard.js +0 -7
  93. package/dist/components/modules/community/widgets/GroupAboutCard.js.map +0 -1
  94. package/dist/components/modules/community/widgets/GroupEventsList.d.ts +0 -8
  95. package/dist/components/modules/community/widgets/GroupEventsList.d.ts.map +0 -1
  96. package/dist/components/modules/community/widgets/GroupEventsList.js +0 -33
  97. package/dist/components/modules/community/widgets/GroupEventsList.js.map +0 -1
  98. package/dist/components/modules/community/widgets/GroupFeedSection.d.ts +0 -9
  99. package/dist/components/modules/community/widgets/GroupFeedSection.d.ts.map +0 -1
  100. package/dist/components/modules/community/widgets/GroupFeedSection.js +0 -8
  101. package/dist/components/modules/community/widgets/GroupFeedSection.js.map +0 -1
  102. package/dist/components/modules/community/widgets/GroupHeader.d.ts +0 -11
  103. package/dist/components/modules/community/widgets/GroupHeader.d.ts.map +0 -1
  104. package/dist/components/modules/community/widgets/GroupHeader.js +0 -18
  105. package/dist/components/modules/community/widgets/GroupHeader.js.map +0 -1
  106. package/dist/components/modules/community/widgets/GroupMenu.d.ts +0 -10
  107. package/dist/components/modules/community/widgets/GroupMenu.d.ts.map +0 -1
  108. package/dist/components/modules/community/widgets/GroupMenu.js +0 -17
  109. package/dist/components/modules/community/widgets/GroupMenu.js.map +0 -1
  110. package/dist/components/modules/community/widgets/GroupPermissions.d.ts +0 -6
  111. package/dist/components/modules/community/widgets/GroupPermissions.d.ts.map +0 -1
  112. package/dist/components/modules/community/widgets/GroupPermissions.js +0 -7
  113. package/dist/components/modules/community/widgets/GroupPermissions.js.map +0 -1
  114. package/dist/components/modules/community/widgets/GroupStatsGrid.d.ts +0 -11
  115. package/dist/components/modules/community/widgets/GroupStatsGrid.d.ts.map +0 -1
  116. package/dist/components/modules/community/widgets/GroupStatsGrid.js +0 -13
  117. package/dist/components/modules/community/widgets/GroupStatsGrid.js.map +0 -1
  118. package/dist/components/modules/community/widgets/GroupTopMembers.d.ts +0 -7
  119. package/dist/components/modules/community/widgets/GroupTopMembers.d.ts.map +0 -1
  120. package/dist/components/modules/community/widgets/GroupTopMembers.js +0 -8
  121. package/dist/components/modules/community/widgets/GroupTopMembers.js.map +0 -1
  122. package/dist/components/modules/community/widgets/SchoolCard.d.ts +0 -7
  123. package/dist/components/modules/community/widgets/SchoolCard.d.ts.map +0 -1
  124. package/dist/components/modules/community/widgets/SchoolCard.js +0 -8
  125. package/dist/components/modules/community/widgets/SchoolCard.js.map +0 -1
  126. package/dist/components/modules/community/widgets/SurveyCard.d.ts +0 -8
  127. package/dist/components/modules/community/widgets/SurveyCard.d.ts.map +0 -1
  128. package/dist/components/modules/community/widgets/SurveyCard.js +0 -25
  129. package/dist/components/modules/community/widgets/SurveyCard.js.map +0 -1
  130. package/dist/components/modules/events/DetailLayout.d.ts +0 -7
  131. package/dist/components/modules/events/DetailLayout.d.ts.map +0 -1
  132. package/dist/components/modules/events/DetailLayout.js +0 -54
  133. package/dist/components/modules/events/DetailLayout.js.map +0 -1
  134. package/dist/components/modules/events/DetailPage.d.ts +0 -7
  135. package/dist/components/modules/events/DetailPage.d.ts.map +0 -1
  136. package/dist/components/modules/events/DetailPage.js +0 -54
  137. package/dist/components/modules/events/DetailPage.js.map +0 -1
  138. package/dist/components/modules/events/EventsLayout.d.ts +0 -8
  139. package/dist/components/modules/events/EventsLayout.d.ts.map +0 -1
  140. package/dist/components/modules/events/EventsLayout.js +0 -6
  141. package/dist/components/modules/events/EventsLayout.js.map +0 -1
  142. package/dist/components/modules/events/EventsPage.d.ts +0 -8
  143. package/dist/components/modules/events/EventsPage.d.ts.map +0 -1
  144. package/dist/components/modules/events/EventsPage.js +0 -75
  145. package/dist/components/modules/events/EventsPage.js.map +0 -1
  146. package/dist/components/modules/events/index.d.ts +0 -7
  147. package/dist/components/modules/events/index.d.ts.map +0 -1
  148. package/dist/components/modules/events/index.js +0 -7
  149. package/dist/components/modules/events/index.js.map +0 -1
  150. package/dist/components/modules/events/widgets/EventCard.d.ts +0 -11
  151. package/dist/components/modules/events/widgets/EventCard.d.ts.map +0 -1
  152. package/dist/components/modules/events/widgets/EventCard.js +0 -10
  153. package/dist/components/modules/events/widgets/EventCard.js.map +0 -1
  154. package/dist/components/modules/events/widgets/EventFormModal.d.ts +0 -9
  155. package/dist/components/modules/events/widgets/EventFormModal.d.ts.map +0 -1
  156. package/dist/components/modules/events/widgets/EventFormModal.js +0 -24
  157. package/dist/components/modules/events/widgets/EventFormModal.js.map +0 -1
  158. package/dist/components/modules/events/widgets/EventList.d.ts +0 -10
  159. package/dist/components/modules/events/widgets/EventList.d.ts.map +0 -1
  160. package/dist/components/modules/events/widgets/EventList.js +0 -29
  161. package/dist/components/modules/events/widgets/EventList.js.map +0 -1
  162. package/dist/components/modules/forum/widgets/ForumBoard.d.ts +0 -17
  163. package/dist/components/modules/forum/widgets/ForumBoard.d.ts.map +0 -1
  164. package/dist/components/modules/forum/widgets/ForumBoard.js +0 -7
  165. package/dist/components/modules/forum/widgets/ForumBoard.js.map +0 -1
  166. package/dist/components/modules/forum/widgets/ForumCategoryList.d.ts +0 -6
  167. package/dist/components/modules/forum/widgets/ForumCategoryList.d.ts.map +0 -1
  168. package/dist/components/modules/forum/widgets/ForumCategoryList.js +0 -7
  169. package/dist/components/modules/forum/widgets/ForumCategoryList.js.map +0 -1
  170. package/dist/components/modules/forum/widgets/ForumHeaderWidget.d.ts +0 -6
  171. package/dist/components/modules/forum/widgets/ForumHeaderWidget.d.ts.map +0 -1
  172. package/dist/components/modules/forum/widgets/ForumHeaderWidget.js +0 -6
  173. package/dist/components/modules/forum/widgets/ForumHeaderWidget.js.map +0 -1
  174. package/dist/components/modules/forum/widgets/ForumPost.d.ts +0 -14
  175. package/dist/components/modules/forum/widgets/ForumPost.d.ts.map +0 -1
  176. package/dist/components/modules/forum/widgets/ForumPost.js +0 -6
  177. package/dist/components/modules/forum/widgets/ForumPost.js.map +0 -1
  178. package/dist/components/modules/forum/widgets/ForumSidebar.d.ts +0 -2
  179. package/dist/components/modules/forum/widgets/ForumSidebar.d.ts.map +0 -1
  180. package/dist/components/modules/forum/widgets/ForumSidebar.js +0 -6
  181. package/dist/components/modules/forum/widgets/ForumSidebar.js.map +0 -1
  182. package/dist/components/modules/forum/widgets/NewTopicModal.d.ts +0 -8
  183. package/dist/components/modules/forum/widgets/NewTopicModal.d.ts.map +0 -1
  184. package/dist/components/modules/forum/widgets/NewTopicModal.js +0 -27
  185. package/dist/components/modules/forum/widgets/NewTopicModal.js.map +0 -1
  186. package/dist/components/modules/forum/widgets/TopicItem.d.ts +0 -16
  187. package/dist/components/modules/forum/widgets/TopicItem.d.ts.map +0 -1
  188. package/dist/components/modules/forum/widgets/TopicItem.js +0 -7
  189. package/dist/components/modules/forum/widgets/TopicItem.js.map +0 -1
  190. package/dist/components/modules/galleries/widgets/GalleryCard.d.ts +0 -10
  191. package/dist/components/modules/galleries/widgets/GalleryCard.d.ts.map +0 -1
  192. package/dist/components/modules/galleries/widgets/GalleryCard.js +0 -6
  193. package/dist/components/modules/galleries/widgets/GalleryCard.js.map +0 -1
  194. package/dist/components/modules/galleries/widgets/GalleryFilterBar.d.ts +0 -8
  195. package/dist/components/modules/galleries/widgets/GalleryFilterBar.d.ts.map +0 -1
  196. package/dist/components/modules/galleries/widgets/GalleryFilterBar.js +0 -6
  197. package/dist/components/modules/galleries/widgets/GalleryFilterBar.js.map +0 -1
  198. package/dist/components/modules/galleries/widgets/GalleryHeaderWidget.d.ts +0 -2
  199. package/dist/components/modules/galleries/widgets/GalleryHeaderWidget.d.ts.map +0 -1
  200. package/dist/components/modules/galleries/widgets/GalleryHeaderWidget.js +0 -6
  201. package/dist/components/modules/galleries/widgets/GalleryHeaderWidget.js.map +0 -1
  202. package/dist/components/modules/galleries/widgets/GalleryMasonryGrid.d.ts +0 -7
  203. package/dist/components/modules/galleries/widgets/GalleryMasonryGrid.d.ts.map +0 -1
  204. package/dist/components/modules/galleries/widgets/GalleryMasonryGrid.js +0 -6
  205. package/dist/components/modules/galleries/widgets/GalleryMasonryGrid.js.map +0 -1
  206. package/dist/components/modules/giveaways/widgets/GiveawayCard.d.ts +0 -10
  207. package/dist/components/modules/giveaways/widgets/GiveawayCard.d.ts.map +0 -1
  208. package/dist/components/modules/giveaways/widgets/GiveawayCard.js +0 -7
  209. package/dist/components/modules/giveaways/widgets/GiveawayCard.js.map +0 -1
  210. package/dist/components/modules/groups/widgets/ApplicationModal.d.ts +0 -8
  211. package/dist/components/modules/groups/widgets/ApplicationModal.d.ts.map +0 -1
  212. package/dist/components/modules/groups/widgets/ApplicationModal.js +0 -28
  213. package/dist/components/modules/groups/widgets/ApplicationModal.js.map +0 -1
  214. package/dist/components/modules/groups/widgets/GroupCard.d.ts +0 -14
  215. package/dist/components/modules/groups/widgets/GroupCard.d.ts.map +0 -1
  216. package/dist/components/modules/groups/widgets/GroupCard.js +0 -8
  217. package/dist/components/modules/groups/widgets/GroupCard.js.map +0 -1
  218. package/dist/components/modules/guest/widgets/Introduction.d.ts +0 -2
  219. package/dist/components/modules/guest/widgets/Introduction.d.ts.map +0 -1
  220. package/dist/components/modules/guest/widgets/Introduction.js +0 -15
  221. package/dist/components/modules/guest/widgets/Introduction.js.map +0 -1
  222. package/dist/components/modules/news/widgets/NewsCard.d.ts +0 -12
  223. package/dist/components/modules/news/widgets/NewsCard.d.ts.map +0 -1
  224. package/dist/components/modules/news/widgets/NewsCard.js +0 -7
  225. package/dist/components/modules/news/widgets/NewsCard.js.map +0 -1
  226. package/dist/components/modules/news/widgets/NewsComments.d.ts +0 -4
  227. package/dist/components/modules/news/widgets/NewsComments.d.ts.map +0 -1
  228. package/dist/components/modules/news/widgets/NewsComments.js +0 -6
  229. package/dist/components/modules/news/widgets/NewsComments.js.map +0 -1
  230. package/dist/components/modules/posts/widgets/MediaLightbox.d.ts +0 -14
  231. package/dist/components/modules/posts/widgets/MediaLightbox.d.ts.map +0 -1
  232. package/dist/components/modules/posts/widgets/MediaLightbox.js +0 -47
  233. package/dist/components/modules/posts/widgets/MediaLightbox.js.map +0 -1
  234. package/dist/components/modules/posts/widgets/PostCard.d.ts +0 -34
  235. package/dist/components/modules/posts/widgets/PostCard.d.ts.map +0 -1
  236. package/dist/components/modules/posts/widgets/PostCard.js +0 -179
  237. package/dist/components/modules/posts/widgets/PostCard.js.map +0 -1
  238. package/dist/components/modules/posts/widgets/PostInteractionsModal.d.ts +0 -12
  239. package/dist/components/modules/posts/widgets/PostInteractionsModal.d.ts.map +0 -1
  240. package/dist/components/modules/posts/widgets/PostInteractionsModal.js +0 -13
  241. package/dist/components/modules/posts/widgets/PostInteractionsModal.js.map +0 -1
  242. package/dist/components/modules/posts/widgets/RepostModal.d.ts +0 -22
  243. package/dist/components/modules/posts/widgets/RepostModal.d.ts.map +0 -1
  244. package/dist/components/modules/posts/widgets/RepostModal.js +0 -76
  245. package/dist/components/modules/posts/widgets/RepostModal.js.map +0 -1
  246. package/dist/components/modules/posts/widgets/SocialFeed.d.ts +0 -19
  247. package/dist/components/modules/posts/widgets/SocialFeed.d.ts.map +0 -1
  248. package/dist/components/modules/posts/widgets/SocialFeed.js +0 -120
  249. package/dist/components/modules/posts/widgets/SocialFeed.js.map +0 -1
  250. package/dist/components/modules/posts/widgets/Stories.d.ts +0 -2
  251. package/dist/components/modules/posts/widgets/Stories.d.ts.map +0 -1
  252. package/dist/components/modules/posts/widgets/Stories.js +0 -21
  253. package/dist/components/modules/posts/widgets/Stories.js.map +0 -1
  254. package/dist/components/modules/posts/widgets/StoryViewer.d.ts +0 -10
  255. package/dist/components/modules/posts/widgets/StoryViewer.d.ts.map +0 -1
  256. package/dist/components/modules/posts/widgets/StoryViewer.js +0 -51
  257. package/dist/components/modules/posts/widgets/StoryViewer.js.map +0 -1
  258. package/dist/components/modules/posts/widgets/reels/ReelCard.d.ts +0 -16
  259. package/dist/components/modules/posts/widgets/reels/ReelCard.d.ts.map +0 -1
  260. package/dist/components/modules/posts/widgets/reels/ReelCard.js +0 -55
  261. package/dist/components/modules/posts/widgets/reels/ReelCard.js.map +0 -1
  262. package/dist/components/modules/posts/widgets/reels/ReelsContainer.d.ts +0 -8
  263. package/dist/components/modules/posts/widgets/reels/ReelsContainer.d.ts.map +0 -1
  264. package/dist/components/modules/posts/widgets/reels/ReelsContainer.js +0 -29
  265. package/dist/components/modules/posts/widgets/reels/ReelsContainer.js.map +0 -1
  266. package/dist/components/modules/profile/ProfileLayout.js +0 -70
  267. package/dist/components/modules/profile/ProfileLayout.js.map +0 -1
  268. package/dist/components/modules/profile/tabs/AboutTab.d.ts +0 -10
  269. package/dist/components/modules/profile/tabs/AboutTab.d.ts.map +0 -1
  270. package/dist/components/modules/profile/tabs/AboutTab.js +0 -9
  271. package/dist/components/modules/profile/tabs/AboutTab.js.map +0 -1
  272. package/dist/components/modules/profile/tabs/CareerTab.d.ts +0 -7
  273. package/dist/components/modules/profile/tabs/CareerTab.d.ts.map +0 -1
  274. package/dist/components/modules/profile/tabs/CareerTab.js +0 -46
  275. package/dist/components/modules/profile/tabs/CareerTab.js.map +0 -1
  276. package/dist/components/modules/profile/tabs/FriendsTab.d.ts +0 -10
  277. package/dist/components/modules/profile/tabs/FriendsTab.d.ts.map +0 -1
  278. package/dist/components/modules/profile/tabs/FriendsTab.js +0 -8
  279. package/dist/components/modules/profile/tabs/FriendsTab.js.map +0 -1
  280. package/dist/components/modules/profile/tabs/GamesTab.d.ts +0 -7
  281. package/dist/components/modules/profile/tabs/GamesTab.d.ts.map +0 -1
  282. package/dist/components/modules/profile/tabs/GamesTab.js +0 -37
  283. package/dist/components/modules/profile/tabs/GamesTab.js.map +0 -1
  284. package/dist/components/modules/profile/widgets/CloudStorageModal.d.ts +0 -9
  285. package/dist/components/modules/profile/widgets/CloudStorageModal.d.ts.map +0 -1
  286. package/dist/components/modules/profile/widgets/CloudStorageModal.js +0 -32
  287. package/dist/components/modules/profile/widgets/CloudStorageModal.js.map +0 -1
  288. package/dist/components/modules/profile/widgets/EditProfileModal.d.ts +0 -9
  289. package/dist/components/modules/profile/widgets/EditProfileModal.d.ts.map +0 -1
  290. package/dist/components/modules/profile/widgets/EditProfileModal.js +0 -28
  291. package/dist/components/modules/profile/widgets/EditProfileModal.js.map +0 -1
  292. package/dist/components/modules/profile/widgets/ProfileBadgesWidget.d.ts +0 -2
  293. package/dist/components/modules/profile/widgets/ProfileBadgesWidget.d.ts.map +0 -1
  294. package/dist/components/modules/profile/widgets/ProfileBadgesWidget.js +0 -6
  295. package/dist/components/modules/profile/widgets/ProfileBadgesWidget.js.map +0 -1
  296. package/dist/components/modules/profile/widgets/ProfileCloudWidget.d.ts +0 -6
  297. package/dist/components/modules/profile/widgets/ProfileCloudWidget.d.ts.map +0 -1
  298. package/dist/components/modules/profile/widgets/ProfileCloudWidget.js +0 -6
  299. package/dist/components/modules/profile/widgets/ProfileCloudWidget.js.map +0 -1
  300. package/dist/components/modules/profile/widgets/ProfileFriendsWidget.d.ts +0 -8
  301. package/dist/components/modules/profile/widgets/ProfileFriendsWidget.d.ts.map +0 -1
  302. package/dist/components/modules/profile/widgets/ProfileFriendsWidget.js +0 -12
  303. package/dist/components/modules/profile/widgets/ProfileFriendsWidget.js.map +0 -1
  304. package/dist/components/modules/profile/widgets/ProfileHeader.d.ts +0 -8
  305. package/dist/components/modules/profile/widgets/ProfileHeader.d.ts.map +0 -1
  306. package/dist/components/modules/profile/widgets/ProfileHeader.js +0 -20
  307. package/dist/components/modules/profile/widgets/ProfileHeader.js.map +0 -1
  308. package/dist/components/modules/profile/widgets/ProfileSidebar.d.ts +0 -11
  309. package/dist/components/modules/profile/widgets/ProfileSidebar.d.ts.map +0 -1
  310. package/dist/components/modules/profile/widgets/ProfileSidebar.js +0 -9
  311. package/dist/components/modules/profile/widgets/ProfileSidebar.js.map +0 -1
  312. package/dist/components/modules/profile/widgets/ProfileStats.d.ts +0 -7
  313. package/dist/components/modules/profile/widgets/ProfileStats.d.ts.map +0 -1
  314. package/dist/components/modules/profile/widgets/ProfileStats.js +0 -21
  315. package/dist/components/modules/profile/widgets/ProfileStats.js.map +0 -1
  316. package/dist/components/modules/profile/widgets/ProfileTabsArea.js +0 -59
  317. package/dist/components/modules/profile/widgets/ProfileTabsArea.js.map +0 -1
  318. package/dist/components/modules/profile/widgets/TeamSelectorModal.d.ts +0 -11
  319. package/dist/components/modules/profile/widgets/TeamSelectorModal.d.ts.map +0 -1
  320. package/dist/components/modules/profile/widgets/TeamSelectorModal.js +0 -17
  321. package/dist/components/modules/profile/widgets/TeamSelectorModal.js.map +0 -1
  322. package/dist/components/modules/shop/DetailLayout.d.ts +0 -8
  323. package/dist/components/modules/shop/DetailLayout.d.ts.map +0 -1
  324. package/dist/components/modules/shop/DetailLayout.js +0 -22
  325. package/dist/components/modules/shop/DetailLayout.js.map +0 -1
  326. package/dist/components/modules/shop/StoreLayout.d.ts +0 -8
  327. package/dist/components/modules/shop/StoreLayout.d.ts.map +0 -1
  328. package/dist/components/modules/shop/StoreLayout.js +0 -6
  329. package/dist/components/modules/shop/StoreLayout.js.map +0 -1
  330. package/dist/components/modules/shop/widgets/BackToStore.d.ts +0 -2
  331. package/dist/components/modules/shop/widgets/BackToStore.d.ts.map +0 -1
  332. package/dist/components/modules/shop/widgets/BackToStore.js +0 -11
  333. package/dist/components/modules/shop/widgets/BackToStore.js.map +0 -1
  334. package/dist/components/modules/shop/widgets/CategoryWidget.d.ts +0 -8
  335. package/dist/components/modules/shop/widgets/CategoryWidget.d.ts.map +0 -1
  336. package/dist/components/modules/shop/widgets/CategoryWidget.js +0 -23
  337. package/dist/components/modules/shop/widgets/CategoryWidget.js.map +0 -1
  338. package/dist/components/modules/shop/widgets/ProductCard.d.ts +0 -8
  339. package/dist/components/modules/shop/widgets/ProductCard.d.ts.map +0 -1
  340. package/dist/components/modules/shop/widgets/ProductCard.js +0 -10
  341. package/dist/components/modules/shop/widgets/ProductCard.js.map +0 -1
  342. package/dist/components/modules/shop/widgets/StoreHeader.d.ts +0 -6
  343. package/dist/components/modules/shop/widgets/StoreHeader.d.ts.map +0 -1
  344. package/dist/components/modules/shop/widgets/StoreHeader.js +0 -9
  345. package/dist/components/modules/shop/widgets/StoreHeader.js.map +0 -1
  346. package/dist/components/modules/shop/widgets/StoreProductGrid.d.ts +0 -7
  347. package/dist/components/modules/shop/widgets/StoreProductGrid.d.ts.map +0 -1
  348. package/dist/components/modules/shop/widgets/StoreProductGrid.js +0 -13
  349. package/dist/components/modules/shop/widgets/StoreProductGrid.js.map +0 -1
  350. package/dist/components/modules/shop/widgets/StoreSidebar.d.ts +0 -8
  351. package/dist/components/modules/shop/widgets/StoreSidebar.d.ts.map +0 -1
  352. package/dist/components/modules/shop/widgets/StoreSidebar.js +0 -8
  353. package/dist/components/modules/shop/widgets/StoreSidebar.js.map +0 -1
  354. package/dist/components/modules/shop/widgets/StoreTrustBadges.d.ts +0 -2
  355. package/dist/components/modules/shop/widgets/StoreTrustBadges.d.ts.map +0 -1
  356. package/dist/components/modules/shop/widgets/StoreTrustBadges.js +0 -29
  357. package/dist/components/modules/shop/widgets/StoreTrustBadges.js.map +0 -1
  358. package/dist/components/modules/social/SocialLayout.js +0 -125
  359. package/dist/components/modules/social/SocialLayout.js.map +0 -1
  360. package/dist/components/modules/social/widgets/EconomyWidget.d.ts +0 -2
  361. package/dist/components/modules/social/widgets/EconomyWidget.d.ts.map +0 -1
  362. package/dist/components/modules/social/widgets/EconomyWidget.js +0 -45
  363. package/dist/components/modules/social/widgets/EconomyWidget.js.map +0 -1
  364. package/dist/components/modules/social/widgets/LeagueWidget.d.ts +0 -2
  365. package/dist/components/modules/social/widgets/LeagueWidget.d.ts.map +0 -1
  366. package/dist/components/modules/social/widgets/LeagueWidget.js +0 -43
  367. package/dist/components/modules/social/widgets/LeagueWidget.js.map +0 -1
  368. package/dist/components/modules/social/widgets/MinecraftWidget.d.ts +0 -2
  369. package/dist/components/modules/social/widgets/MinecraftWidget.d.ts.map +0 -1
  370. package/dist/components/modules/social/widgets/MinecraftWidget.js +0 -43
  371. package/dist/components/modules/social/widgets/MinecraftWidget.js.map +0 -1
  372. package/dist/components/modules/social/widgets/RankingWidget.d.ts +0 -5
  373. package/dist/components/modules/social/widgets/RankingWidget.d.ts.map +0 -1
  374. package/dist/components/modules/social/widgets/RankingWidget.js +0 -85
  375. package/dist/components/modules/social/widgets/RankingWidget.js.map +0 -1
  376. package/dist/components/modules/social/widgets/SocialSidebar.d.ts +0 -2
  377. package/dist/components/modules/social/widgets/SocialSidebar.d.ts.map +0 -1
  378. package/dist/components/modules/social/widgets/SocialSidebar.js +0 -9
  379. package/dist/components/modules/social/widgets/SocialSidebar.js.map +0 -1
  380. package/dist/components/modules/stations/widgets/StationCard.d.ts +0 -3
  381. package/dist/components/modules/stations/widgets/StationCard.d.ts.map +0 -1
  382. package/dist/components/modules/stations/widgets/StationCard.js +0 -26
  383. package/dist/components/modules/stations/widgets/StationCard.js.map +0 -1
  384. package/dist/components/modules/stations/widgets/StationQRModal.d.ts +0 -10
  385. package/dist/components/modules/stations/widgets/StationQRModal.d.ts.map +0 -1
  386. package/dist/components/modules/stations/widgets/StationQRModal.js +0 -13
  387. package/dist/components/modules/stations/widgets/StationQRModal.js.map +0 -1
  388. package/dist/components/shared/DevTools.d.ts +0 -2
  389. package/dist/components/shared/DevTools.d.ts.map +0 -1
  390. package/dist/components/shared/DevTools.js +0 -39
  391. package/dist/components/shared/DevTools.js.map +0 -1
  392. package/dist/components/shared/FilterTabs.d.ts +0 -16
  393. package/dist/components/shared/FilterTabs.d.ts.map +0 -1
  394. package/dist/components/shared/FilterTabs.js +0 -18
  395. package/dist/components/shared/FilterTabs.js.map +0 -1
  396. package/dist/components/shared/FloatingChatButton.js +0 -21
  397. package/dist/components/shared/FloatingChatButton.js.map +0 -1
  398. package/dist/components/shared/Footer.d.ts +0 -2
  399. package/dist/components/shared/Footer.d.ts.map +0 -1
  400. package/dist/components/shared/Footer.js +0 -10
  401. package/dist/components/shared/Footer.js.map +0 -1
  402. package/dist/components/shared/Header.d.ts +0 -2
  403. package/dist/components/shared/Header.d.ts.map +0 -1
  404. package/dist/components/shared/Header.js +0 -133
  405. package/dist/components/shared/Header.js.map +0 -1
  406. package/dist/components/shared/ListToolbar.d.ts +0 -32
  407. package/dist/components/shared/ListToolbar.d.ts.map +0 -1
  408. package/dist/components/shared/ListToolbar.js +0 -13
  409. package/dist/components/shared/ListToolbar.js.map +0 -1
  410. package/dist/components/shared/LoginModal.d.ts +0 -5
  411. package/dist/components/shared/LoginModal.d.ts.map +0 -1
  412. package/dist/components/shared/LoginModal.js +0 -66
  413. package/dist/components/shared/LoginModal.js.map +0 -1
  414. package/dist/components/shared/MainLayoutWrapper.d.ts +0 -5
  415. package/dist/components/shared/MainLayoutWrapper.d.ts.map +0 -1
  416. package/dist/components/shared/MainLayoutWrapper.js +0 -8
  417. package/dist/components/shared/MainLayoutWrapper.js.map +0 -1
  418. package/dist/components/shared/NotFound.d.ts +0 -21
  419. package/dist/components/shared/NotFound.d.ts.map +0 -1
  420. package/dist/components/shared/NotFound.js +0 -7
  421. package/dist/components/shared/NotFound.js.map +0 -1
  422. package/dist/components/shared/PageWidth.d.ts +0 -6
  423. package/dist/components/shared/PageWidth.d.ts.map +0 -1
  424. package/dist/components/shared/PageWidth.js +0 -14
  425. package/dist/components/shared/PageWidth.js.map +0 -1
  426. package/dist/components/shared/SearchBar.d.ts +0 -14
  427. package/dist/components/shared/SearchBar.d.ts.map +0 -1
  428. package/dist/components/shared/SearchBar.js +0 -21
  429. package/dist/components/shared/SearchBar.js.map +0 -1
  430. package/dist/components/showcase/CommunityTab.js +0 -6
  431. package/dist/components/showcase/CommunityTab.js.map +0 -1
  432. package/dist/components/showcase/CorporateTab.js +0 -6
  433. package/dist/components/showcase/CorporateTab.js.map +0 -1
  434. package/dist/components/showcase/EventsTab.d.ts +0 -2
  435. package/dist/components/showcase/EventsTab.d.ts.map +0 -1
  436. package/dist/components/showcase/EventsTab.js +0 -95
  437. package/dist/components/showcase/EventsTab.js.map +0 -1
  438. package/dist/components/showcase/GeneralTab.js +0 -6
  439. package/dist/components/showcase/GeneralTab.js.map +0 -1
  440. package/dist/components/showcase/GroupTab.d.ts +0 -2
  441. package/dist/components/showcase/GroupTab.d.ts.map +0 -1
  442. package/dist/components/showcase/GroupTab.js +0 -74
  443. package/dist/components/showcase/GroupTab.js.map +0 -1
  444. package/dist/components/showcase/MessagesTab.js +0 -20
  445. package/dist/components/showcase/MessagesTab.js.map +0 -1
  446. package/dist/components/showcase/ProfileTab.js +0 -51
  447. package/dist/components/showcase/ProfileTab.js.map +0 -1
  448. package/dist/components/showcase/ReelsTab.d.ts +0 -2
  449. package/dist/components/showcase/ReelsTab.d.ts.map +0 -1
  450. package/dist/components/showcase/ReelsTab.js +0 -34
  451. package/dist/components/showcase/ReelsTab.js.map +0 -1
  452. package/dist/components/showcase/ShopTab.js +0 -32
  453. package/dist/components/showcase/ShopTab.js.map +0 -1
  454. package/dist/components/showcase/ShowcaseNavigation.d.ts +0 -2
  455. package/dist/components/showcase/ShowcaseNavigation.d.ts.map +0 -1
  456. package/dist/components/showcase/ShowcaseNavigation.js +0 -29
  457. package/dist/components/showcase/ShowcaseNavigation.js.map +0 -1
  458. package/dist/components/showcase/SocialTab.js +0 -26
  459. package/dist/components/showcase/SocialTab.js.map +0 -1
  460. package/dist/context/ArmoyuContext.d.ts +0 -42
  461. package/dist/context/ArmoyuContext.d.ts.map +0 -1
  462. package/dist/context/ArmoyuContext.js +0 -76
  463. package/dist/context/ArmoyuContext.js.map +0 -1
  464. package/dist/context/AuthContext.d.ts +0 -20
  465. package/dist/context/AuthContext.d.ts.map +0 -1
  466. package/dist/context/AuthContext.js +0 -114
  467. package/dist/context/AuthContext.js.map +0 -1
  468. package/dist/context/CartContext.d.ts +0 -18
  469. package/dist/context/CartContext.d.ts.map +0 -1
  470. package/dist/context/CartContext.js +0 -63
  471. package/dist/context/CartContext.js.map +0 -1
  472. package/dist/context/ChatContext.d.ts +0 -23
  473. package/dist/context/ChatContext.d.ts.map +0 -1
  474. package/dist/context/ChatContext.js +0 -94
  475. package/dist/context/ChatContext.js.map +0 -1
  476. package/dist/context/LayoutContext.d.ts +0 -11
  477. package/dist/context/LayoutContext.d.ts.map +0 -1
  478. package/dist/context/LayoutContext.js +0 -17
  479. package/dist/context/LayoutContext.js.map +0 -1
  480. package/dist/context/SocketContext.d.ts +0 -13
  481. package/dist/context/SocketContext.d.ts.map +0 -1
  482. package/dist/context/SocketContext.js +0 -32
  483. package/dist/context/SocketContext.js.map +0 -1
  484. package/dist/context/ThemeContext.d.ts +0 -11
  485. package/dist/context/ThemeContext.d.ts.map +0 -1
  486. package/dist/context/ThemeContext.js +0 -40
  487. package/dist/context/ThemeContext.js.map +0 -1
  488. package/dist/lib/ArmoyuUI.d.ts +0 -18
  489. package/dist/lib/ArmoyuUI.d.ts.map +0 -1
  490. package/dist/lib/ArmoyuUI.js +0 -25
  491. package/dist/lib/ArmoyuUI.js.map +0 -1
  492. package/dist/lib/constants/config.d.ts +0 -9
  493. package/dist/lib/constants/config.d.ts.map +0 -1
  494. package/dist/lib/constants/config.js +0 -15
  495. package/dist/lib/constants/config.js.map +0 -1
  496. package/dist/lib/constants/educationData.d.ts +0 -8
  497. package/dist/lib/constants/educationData.d.ts.map +0 -1
  498. package/dist/lib/constants/educationData.js +0 -118
  499. package/dist/lib/constants/educationData.js.map +0 -1
  500. package/dist/lib/constants/punishmentData.d.ts +0 -30
  501. package/dist/lib/constants/punishmentData.d.ts.map +0 -1
  502. package/dist/lib/constants/punishmentData.js +0 -184
  503. package/dist/lib/constants/punishmentData.js.map +0 -1
  504. package/dist/lib/constants/seedData.d.ts +0 -182
  505. package/dist/lib/constants/seedData.d.ts.map +0 -1
  506. package/dist/lib/constants/seedData.js +0 -724
  507. package/dist/lib/constants/seedData.js.map +0 -1
  508. package/dist/lib/constants/stationData.d.ts +0 -14
  509. package/dist/lib/constants/stationData.d.ts.map +0 -1
  510. package/dist/lib/constants/stationData.js +0 -167
  511. package/dist/lib/constants/stationData.js.map +0 -1
  512. package/dist/lib/constants/surveyData.d.ts +0 -3
  513. package/dist/lib/constants/surveyData.d.ts.map +0 -1
  514. package/dist/lib/constants/surveyData.js +0 -50
  515. package/dist/lib/constants/surveyData.js.map +0 -1
  516. package/dist/lib/constants/teamData.d.ts +0 -13
  517. package/dist/lib/constants/teamData.d.ts.map +0 -1
  518. package/dist/lib/constants/teamData.js +0 -66
  519. package/dist/lib/constants/teamData.js.map +0 -1
  520. package/dist/lib/utils/numberFormat.d.ts +0 -10
  521. package/dist/lib/utils/numberFormat.d.ts.map +0 -1
  522. package/dist/lib/utils/numberFormat.js +0 -17
  523. package/dist/lib/utils/numberFormat.js.map +0 -1
  524. package/dist/lib/utils/odpUtils.d.ts +0 -16
  525. package/dist/lib/utils/odpUtils.d.ts.map +0 -1
  526. package/dist/lib/utils/odpUtils.js +0 -44
  527. package/dist/lib/utils/odpUtils.js.map +0 -1
  528. package/dist/lib/utils/postUtils.d.ts +0 -7
  529. package/dist/lib/utils/postUtils.d.ts.map +0 -1
  530. package/dist/lib/utils/postUtils.js +0 -37
  531. package/dist/lib/utils/postUtils.js.map +0 -1
  532. package/dist/models/BaseModel.d.ts +0 -13
  533. package/dist/models/BaseModel.d.ts.map +0 -1
  534. package/dist/models/BaseModel.js +0 -13
  535. package/dist/models/BaseModel.js.map +0 -1
  536. package/dist/models/auth/RankedUser.d.ts +0 -21
  537. package/dist/models/auth/RankedUser.d.ts.map +0 -1
  538. package/dist/models/auth/RankedUser.js +0 -37
  539. package/dist/models/auth/RankedUser.js.map +0 -1
  540. package/dist/models/auth/Role.d.ts +0 -16
  541. package/dist/models/auth/Role.d.ts.map +0 -1
  542. package/dist/models/auth/Role.js +0 -28
  543. package/dist/models/auth/Role.js.map +0 -1
  544. package/dist/models/auth/Session.d.ts +0 -25
  545. package/dist/models/auth/Session.d.ts.map +0 -1
  546. package/dist/models/auth/Session.js +0 -52
  547. package/dist/models/auth/Session.js.map +0 -1
  548. package/dist/models/auth/StaffApplication.d.ts +0 -21
  549. package/dist/models/auth/StaffApplication.d.ts.map +0 -1
  550. package/dist/models/auth/StaffApplication.js +0 -38
  551. package/dist/models/auth/StaffApplication.js.map +0 -1
  552. package/dist/models/auth/TeamMember.d.ts +0 -20
  553. package/dist/models/auth/TeamMember.d.ts.map +0 -1
  554. package/dist/models/auth/TeamMember.js +0 -36
  555. package/dist/models/auth/TeamMember.js.map +0 -1
  556. package/dist/models/auth/User.d.ts +0 -91
  557. package/dist/models/auth/User.d.ts.map +0 -1
  558. package/dist/models/auth/User.js +0 -202
  559. package/dist/models/auth/User.js.map +0 -1
  560. package/dist/models/auth/UserBadge.d.ts +0 -19
  561. package/dist/models/auth/UserBadge.d.ts.map +0 -1
  562. package/dist/models/auth/UserBadge.js +0 -35
  563. package/dist/models/auth/UserBadge.js.map +0 -1
  564. package/dist/models/community/Classroom.d.ts +0 -20
  565. package/dist/models/community/Classroom.d.ts.map +0 -1
  566. package/dist/models/community/Classroom.js +0 -35
  567. package/dist/models/community/Classroom.js.map +0 -1
  568. package/dist/models/community/Event.d.ts +0 -53
  569. package/dist/models/community/Event.d.ts.map +0 -1
  570. package/dist/models/community/Event.js +0 -102
  571. package/dist/models/community/Event.js.map +0 -1
  572. package/dist/models/community/Faculty.d.ts +0 -18
  573. package/dist/models/community/Faculty.d.ts.map +0 -1
  574. package/dist/models/community/Faculty.js +0 -31
  575. package/dist/models/community/Faculty.js.map +0 -1
  576. package/dist/models/community/Forum.d.ts +0 -27
  577. package/dist/models/community/Forum.d.ts.map +0 -1
  578. package/dist/models/community/Forum.js +0 -38
  579. package/dist/models/community/Forum.js.map +0 -1
  580. package/dist/models/community/Giveaway.d.ts +0 -23
  581. package/dist/models/community/Giveaway.d.ts.map +0 -1
  582. package/dist/models/community/Giveaway.js +0 -40
  583. package/dist/models/community/Giveaway.js.map +0 -1
  584. package/dist/models/community/Group.d.ts +0 -39
  585. package/dist/models/community/Group.d.ts.map +0 -1
  586. package/dist/models/community/Group.js +0 -117
  587. package/dist/models/community/Group.js.map +0 -1
  588. package/dist/models/community/School.d.ts +0 -29
  589. package/dist/models/community/School.d.ts.map +0 -1
  590. package/dist/models/community/School.js +0 -70
  591. package/dist/models/community/School.js.map +0 -1
  592. package/dist/models/community/SchoolTeam.d.ts +0 -28
  593. package/dist/models/community/SchoolTeam.d.ts.map +0 -1
  594. package/dist/models/community/SchoolTeam.js +0 -43
  595. package/dist/models/community/SchoolTeam.js.map +0 -1
  596. package/dist/models/community/Station.d.ts +0 -82
  597. package/dist/models/community/Station.d.ts.map +0 -1
  598. package/dist/models/community/Station.js +0 -170
  599. package/dist/models/community/Station.js.map +0 -1
  600. package/dist/models/community/Survey.d.ts +0 -28
  601. package/dist/models/community/Survey.d.ts.map +0 -1
  602. package/dist/models/community/Survey.js +0 -53
  603. package/dist/models/community/Survey.js.map +0 -1
  604. package/dist/models/community/SurveyAnswer.d.ts +0 -16
  605. package/dist/models/community/SurveyAnswer.d.ts.map +0 -1
  606. package/dist/models/community/SurveyAnswer.js +0 -28
  607. package/dist/models/community/SurveyAnswer.js.map +0 -1
  608. package/dist/models/community/Team.d.ts +0 -23
  609. package/dist/models/community/Team.d.ts.map +0 -1
  610. package/dist/models/community/Team.js +0 -62
  611. package/dist/models/community/Team.js.map +0 -1
  612. package/dist/models/community/Workplace.d.ts +0 -19
  613. package/dist/models/community/Workplace.d.ts.map +0 -1
  614. package/dist/models/community/Workplace.js +0 -34
  615. package/dist/models/community/Workplace.js.map +0 -1
  616. package/dist/models/content/Game.d.ts +0 -21
  617. package/dist/models/content/Game.d.ts.map +0 -1
  618. package/dist/models/content/Game.js +0 -42
  619. package/dist/models/content/Game.js.map +0 -1
  620. package/dist/models/content/Media.d.ts +0 -18
  621. package/dist/models/content/Media.d.ts.map +0 -1
  622. package/dist/models/content/Media.js +0 -32
  623. package/dist/models/content/Media.js.map +0 -1
  624. package/dist/models/content/Mod.d.ts +0 -22
  625. package/dist/models/content/Mod.d.ts.map +0 -1
  626. package/dist/models/content/Mod.js +0 -39
  627. package/dist/models/content/Mod.js.map +0 -1
  628. package/dist/models/content/News.d.ts +0 -37
  629. package/dist/models/content/News.d.ts.map +0 -1
  630. package/dist/models/content/News.js +0 -76
  631. package/dist/models/content/News.js.map +0 -1
  632. package/dist/models/content/PlatformStation.d.ts +0 -19
  633. package/dist/models/content/PlatformStation.d.ts.map +0 -1
  634. package/dist/models/content/PlatformStation.js +0 -34
  635. package/dist/models/content/PlatformStation.js.map +0 -1
  636. package/dist/models/content/PlatformTeam.d.ts +0 -15
  637. package/dist/models/content/PlatformTeam.d.ts.map +0 -1
  638. package/dist/models/content/PlatformTeam.js +0 -26
  639. package/dist/models/content/PlatformTeam.js.map +0 -1
  640. package/dist/models/content/Project.d.ts +0 -27
  641. package/dist/models/content/Project.d.ts.map +0 -1
  642. package/dist/models/content/Project.js +0 -43
  643. package/dist/models/content/Project.js.map +0 -1
  644. package/dist/models/content/ProjectScore.d.ts +0 -15
  645. package/dist/models/content/ProjectScore.d.ts.map +0 -1
  646. package/dist/models/content/ProjectScore.js +0 -26
  647. package/dist/models/content/ProjectScore.js.map +0 -1
  648. package/dist/models/content/StationEquipment.d.ts +0 -17
  649. package/dist/models/content/StationEquipment.d.ts.map +0 -1
  650. package/dist/models/content/StationEquipment.js +0 -30
  651. package/dist/models/content/StationEquipment.js.map +0 -1
  652. package/dist/models/core/Country.d.ts +0 -16
  653. package/dist/models/core/Country.d.ts.map +0 -1
  654. package/dist/models/core/Country.js +0 -28
  655. package/dist/models/core/Country.js.map +0 -1
  656. package/dist/models/core/PlatformStats.d.ts +0 -47
  657. package/dist/models/core/PlatformStats.d.ts.map +0 -1
  658. package/dist/models/core/PlatformStats.js +0 -90
  659. package/dist/models/core/PlatformStats.js.map +0 -1
  660. package/dist/models/core/Province.d.ts +0 -16
  661. package/dist/models/core/Province.d.ts.map +0 -1
  662. package/dist/models/core/Province.js +0 -28
  663. package/dist/models/core/Province.js.map +0 -1
  664. package/dist/models/core/Rule.d.ts +0 -17
  665. package/dist/models/core/Rule.d.ts.map +0 -1
  666. package/dist/models/core/Rule.js +0 -30
  667. package/dist/models/core/Rule.js.map +0 -1
  668. package/dist/models/core/SystemSettings.d.ts +0 -39
  669. package/dist/models/core/SystemSettings.d.ts.map +0 -1
  670. package/dist/models/core/SystemSettings.js +0 -66
  671. package/dist/models/core/SystemSettings.js.map +0 -1
  672. package/dist/models/index.d.ts +0 -59
  673. package/dist/models/index.d.ts.map +0 -1
  674. package/dist/models/index.js +0 -73
  675. package/dist/models/index.js.map +0 -1
  676. package/dist/models/shop/CartItem.d.ts +0 -21
  677. package/dist/models/shop/CartItem.d.ts.map +0 -1
  678. package/dist/models/shop/CartItem.js +0 -38
  679. package/dist/models/shop/CartItem.js.map +0 -1
  680. package/dist/models/shop/Invoice.d.ts +0 -19
  681. package/dist/models/shop/Invoice.d.ts.map +0 -1
  682. package/dist/models/shop/Invoice.js +0 -34
  683. package/dist/models/shop/Invoice.js.map +0 -1
  684. package/dist/models/shop/Order.d.ts +0 -24
  685. package/dist/models/shop/Order.d.ts.map +0 -1
  686. package/dist/models/shop/Order.js +0 -50
  687. package/dist/models/shop/Order.js.map +0 -1
  688. package/dist/models/shop/Product.d.ts +0 -27
  689. package/dist/models/shop/Product.d.ts.map +0 -1
  690. package/dist/models/shop/Product.js +0 -69
  691. package/dist/models/shop/Product.js.map +0 -1
  692. package/dist/models/social/chat/Chat.d.ts +0 -27
  693. package/dist/models/social/chat/Chat.d.ts.map +0 -1
  694. package/dist/models/social/chat/Chat.js +0 -75
  695. package/dist/models/social/chat/Chat.js.map +0 -1
  696. package/dist/models/social/chat/Message.d.ts +0 -18
  697. package/dist/models/social/chat/Message.d.ts.map +0 -1
  698. package/dist/models/social/chat/Message.js +0 -51
  699. package/dist/models/social/chat/Message.js.map +0 -1
  700. package/dist/models/social/chat/Note.d.ts +0 -16
  701. package/dist/models/social/chat/Note.d.ts.map +0 -1
  702. package/dist/models/social/chat/Note.js +0 -28
  703. package/dist/models/social/chat/Note.js.map +0 -1
  704. package/dist/models/social/feed/Comment.d.ts +0 -20
  705. package/dist/models/social/feed/Comment.d.ts.map +0 -1
  706. package/dist/models/social/feed/Comment.js +0 -35
  707. package/dist/models/social/feed/Comment.js.map +0 -1
  708. package/dist/models/social/feed/Post.d.ts +0 -23
  709. package/dist/models/social/feed/Post.d.ts.map +0 -1
  710. package/dist/models/social/feed/Post.js +0 -40
  711. package/dist/models/social/feed/Post.js.map +0 -1
  712. package/dist/models/social/feed/Story.d.ts +0 -18
  713. package/dist/models/social/feed/Story.d.ts.map +0 -1
  714. package/dist/models/social/feed/Story.js +0 -31
  715. package/dist/models/social/feed/Story.js.map +0 -1
  716. package/dist/models/social/gaming/Game.d.ts +0 -20
  717. package/dist/models/social/gaming/Game.d.ts.map +0 -1
  718. package/dist/models/social/gaming/Game.js +0 -36
  719. package/dist/models/social/gaming/Game.js.map +0 -1
  720. package/dist/models/social/meta/AuthEnums.d.ts +0 -18
  721. package/dist/models/social/meta/AuthEnums.d.ts.map +0 -1
  722. package/dist/models/social/meta/AuthEnums.js +0 -20
  723. package/dist/models/social/meta/AuthEnums.js.map +0 -1
  724. package/dist/models/social/meta/MediaEnums.d.ts +0 -20
  725. package/dist/models/social/meta/MediaEnums.d.ts.map +0 -1
  726. package/dist/models/social/meta/MediaEnums.js +0 -22
  727. package/dist/models/social/meta/MediaEnums.js.map +0 -1
  728. package/dist/models/social/notification/Notification.d.ts +0 -24
  729. package/dist/models/social/notification/Notification.d.ts.map +0 -1
  730. package/dist/models/social/notification/Notification.js +0 -66
  731. package/dist/models/social/notification/Notification.js.map +0 -1
  732. package/dist/models/social/notification/NotificationEnums.d.ts +0 -54
  733. package/dist/models/social/notification/NotificationEnums.d.ts.map +0 -1
  734. package/dist/models/social/notification/NotificationEnums.js +0 -59
  735. package/dist/models/social/notification/NotificationEnums.js.map +0 -1
  736. package/dist/models/social/notification/NotificationSender.d.ts +0 -17
  737. package/dist/models/social/notification/NotificationSender.d.ts.map +0 -1
  738. package/dist/models/social/notification/NotificationSender.js +0 -30
  739. package/dist/models/social/notification/NotificationSender.js.map +0 -1
  740. package/dist/models/social/poll/Poll.d.ts +0 -20
  741. package/dist/models/social/poll/Poll.d.ts.map +0 -1
  742. package/dist/models/social/poll/Poll.js +0 -35
  743. package/dist/models/social/poll/Poll.js.map +0 -1
  744. package/dist/models/social/poll/PollOption.d.ts +0 -16
  745. package/dist/models/social/poll/PollOption.d.ts.map +0 -1
  746. package/dist/models/social/poll/PollOption.js +0 -28
  747. package/dist/models/social/poll/PollOption.js.map +0 -1
  748. package/dist/models/social/search/SearchEnums.d.ts +0 -22
  749. package/dist/models/social/search/SearchEnums.d.ts.map +0 -1
  750. package/dist/models/social/search/SearchEnums.js +0 -24
  751. package/dist/models/social/search/SearchEnums.js.map +0 -1
  752. package/dist/models/social/search/SearchResult.d.ts +0 -22
  753. package/dist/models/social/search/SearchResult.d.ts.map +0 -1
  754. package/dist/models/social/search/SearchResult.js +0 -74
  755. package/dist/models/social/search/SearchResult.js.map +0 -1
  756. package/dist/models/social/stats/Leaderboard.d.ts +0 -30
  757. package/dist/models/social/stats/Leaderboard.d.ts.map +0 -1
  758. package/dist/models/social/stats/Leaderboard.js +0 -53
  759. package/dist/models/social/stats/Leaderboard.js.map +0 -1
  760. package/dist/models/social/support/SupportTicket.d.ts +0 -19
  761. package/dist/models/social/support/SupportTicket.d.ts.map +0 -1
  762. package/dist/models/social/support/SupportTicket.js +0 -34
  763. package/dist/models/social/support/SupportTicket.js.map +0 -1
  764. package/dist/models/social/user/BlockedUser.d.ts +0 -16
  765. package/dist/models/social/user/BlockedUser.d.ts.map +0 -1
  766. package/dist/models/social/user/BlockedUser.js +0 -27
  767. package/dist/models/social/user/BlockedUser.js.map +0 -1
  768. package/dist/models/store/StoreItem.d.ts +0 -19
  769. package/dist/models/store/StoreItem.d.ts.map +0 -1
  770. package/dist/models/store/StoreItem.js +0 -34
  771. package/dist/models/store/StoreItem.js.map +0 -1
  772. package/dist/types/index.d.ts +0 -2
  773. package/dist/types/index.d.ts.map +0 -1
  774. package/dist/types/index.js +0 -2
  775. package/dist/types/index.js.map +0 -1
  776. package/dist/types/stats.d.ts +0 -18
  777. package/dist/types/stats.d.ts.map +0 -1
  778. package/dist/types/stats.js +0 -2
  779. package/dist/types/stats.js.map +0 -1
@@ -1,50 +0,0 @@
1
- import { BaseModel } from '../BaseModel';
2
- import { CartItem } from './CartItem';
3
- /**
4
- * Represents a Shop Order in the UI.
5
- */
6
- export class Order extends BaseModel {
7
- id;
8
- items;
9
- total;
10
- status;
11
- createdAt;
12
- paymentMethod;
13
- constructor(data) {
14
- super();
15
- this.id = data.id || '';
16
- this.items = data.items || [];
17
- this.total = data.total || 0;
18
- this.status = data.status || 'pending';
19
- this.createdAt = data.createdAt || Date.now();
20
- this.paymentMethod = data.paymentMethod || 'credit_card';
21
- }
22
- /**
23
- * Instantiates an Order object from an API response.
24
- */
25
- static fromAPI(json) {
26
- if (!json)
27
- return new Order({});
28
- return new Order({
29
- id: String(json.id || ''),
30
- items: Array.isArray(json.items) ? json.items.map((i) => CartItem.fromAPI(i)) : [],
31
- total: Number(json.total || json.total_amount || 0),
32
- status: (json.status || 'pending'),
33
- createdAt: Number(json.createdAt || json.created_at || Date.now()),
34
- paymentMethod: (json.paymentMethod || json.payment_method || 'credit_card')
35
- });
36
- }
37
- /**
38
- * Returns a user-friendly status name in Turkish.
39
- */
40
- getStatusLabel() {
41
- switch (this.status) {
42
- case 'pending': return 'Hazırlanıyor';
43
- case 'completed': return 'Tamamlandı';
44
- case 'shipped': return 'Kargoya Verildi';
45
- case 'canceled': return 'İptal Edildi';
46
- default: return this.status;
47
- }
48
- }
49
- }
50
- //# sourceMappingURL=Order.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Order.js","sourceRoot":"","sources":["../../../src/models/shop/Order.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAItC;;GAEG;AACH,MAAM,OAAO,KAAM,SAAQ,SAAS;IAClC,EAAE,CAAS;IACX,KAAK,CAAa;IAClB,KAAK,CAAS;IACd,MAAM,CAAc;IACpB,SAAS,CAAS;IAClB,aAAa,CAA2C;IAExD,YAAY,IAAoB;QAC9B,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,EAAE,GAAG,IAAI,CAAC,EAAE,IAAI,EAAE,CAAC;QACxB,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,IAAI,EAAE,CAAC;QAC9B,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,IAAI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,CAAC,CAAC,OAAO,iBAAiB,CAAC;YACzC,KAAK,UAAU,CAAC,CAAC,OAAO,cAAc,CAAC;YACvC,OAAO,CAAC,CAAC,OAAO,IAAI,CAAC,MAAM,CAAC;QAC9B,CAAC;IACH,CAAC;CACF"}
@@ -1,27 +0,0 @@
1
- import { BaseModel } from '../BaseModel';
2
- /**
3
- * Represents a Product in the UI.
4
- */
5
- export declare class Product extends BaseModel {
6
- id: string;
7
- name: string;
8
- description: string;
9
- price: number;
10
- discountPrice?: number;
11
- image: string;
12
- category: string;
13
- stock: number;
14
- tags?: string[];
15
- isFeatured: boolean;
16
- badge?: string;
17
- constructor(data: Partial<Product>);
18
- /**
19
- * Helper to get the display price (discounted if available)
20
- */
21
- getDisplayPrice(): number;
22
- /**
23
- * Instantiates a Product object from an API response.
24
- */
25
- static fromAPI(json: Record<string, any>): Product;
26
- }
27
- //# sourceMappingURL=Product.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Product.d.ts","sourceRoot":"","sources":["../../../src/models/shop/Product.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC;;GAEG;AACH,qBAAa,OAAQ,SAAQ,SAAS;IACpC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,UAAU,EAAE,OAAO,CAAS;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;gBAEH,IAAI,EAAE,OAAO,CAAC,OAAO,CAAC;IAelC;;OAEG;IACH,eAAe,IAAI,MAAM;IAMzB;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,OAAO;CA0BnD"}
@@ -1,69 +0,0 @@
1
- import { BaseModel } from '../BaseModel';
2
- /**
3
- * Represents a Product in the UI.
4
- */
5
- export class Product extends BaseModel {
6
- id;
7
- name;
8
- description;
9
- price;
10
- discountPrice;
11
- image;
12
- category;
13
- stock;
14
- tags;
15
- isFeatured = false;
16
- badge;
17
- constructor(data) {
18
- super();
19
- this.id = data.id || '';
20
- this.name = data.name || '';
21
- this.description = data.description || '';
22
- this.price = data.price || 0;
23
- this.discountPrice = data.discountPrice;
24
- this.image = data.image || '';
25
- this.category = data.category || '';
26
- this.stock = data.stock || 0;
27
- this.tags = data.tags || [];
28
- this.isFeatured = data.isFeatured || false;
29
- this.badge = data.badge;
30
- }
31
- /**
32
- * Helper to get the display price (discounted if available)
33
- */
34
- getDisplayPrice() {
35
- return this.discountPrice && this.discountPrice < this.price
36
- ? this.discountPrice
37
- : this.price;
38
- }
39
- /**
40
- * Instantiates a Product object from an API response.
41
- */
42
- static fromAPI(json) {
43
- if (!json)
44
- return new Product({});
45
- const parsePrice = (p) => {
46
- if (typeof p === 'number')
47
- return p;
48
- if (typeof p === 'string') {
49
- const cleaned = p.replace(/[₺,]/g, '').replace(' ', '');
50
- return parseFloat(cleaned) || 0;
51
- }
52
- return 0;
53
- };
54
- return new Product({
55
- id: String(json.id || ''),
56
- name: json.name || json.product_name || '',
57
- description: json.description || json.desc || '',
58
- price: parsePrice(json.price),
59
- discountPrice: json.discountPrice !== undefined ? parsePrice(json.discountPrice) : undefined,
60
- image: json.image || json.img_url || '',
61
- category: json.category || 'Genel',
62
- stock: json.stock || 0,
63
- tags: json.tags || [],
64
- isFeatured: json.isFeatured || json.is_featured || false,
65
- badge: json.badge
66
- });
67
- }
68
- }
69
- //# sourceMappingURL=Product.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Product.js","sourceRoot":"","sources":["../../../src/models/shop/Product.ts"],"names":[],"mappings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I,IAAI,CAAC,WAAW,IAAI,KAAK;YACxD,KAAK,EAAE,IAAI,CAAC,KAAK;SAClB,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -1,27 +0,0 @@
1
- import { BaseModel } from '../../BaseModel';
2
- import { User } from '../../auth/User';
3
- import { ChatMessage } from './Message';
4
- /**
5
- * Represents a Chat conversation or summary in the UI.
6
- */
7
- export declare class Chat extends BaseModel {
8
- id: string;
9
- participants: User[];
10
- name: string;
11
- avatar: string;
12
- lastMessage: ChatMessage | null;
13
- time: string;
14
- unreadCount: number;
15
- isOnline: boolean;
16
- lastSeen: string;
17
- updatedAt: number;
18
- isGroup: boolean;
19
- isFavorite: boolean;
20
- messages: ChatMessage[];
21
- constructor(data: Partial<Chat>);
22
- /**
23
- * Instantiates a Chat object from an API response.
24
- */
25
- static fromAPI(json: Record<string, any>): Chat;
26
- }
27
- //# sourceMappingURL=Chat.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Chat.d.ts","sourceRoot":"","sources":["../../../../src/models/social/chat/Chat.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AACvC,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAExC;;GAEG;AACH,qBAAa,IAAK,SAAQ,SAAS;IACjC,EAAE,EAAE,MAAM,CAAM;IAChB,YAAY,EAAE,IAAI,EAAE,CAAM;IAC1B,IAAI,EAAE,MAAM,CAAM;IAClB,MAAM,EAAE,MAAM,CAAM;IACpB,WAAW,EAAE,WAAW,GAAG,IAAI,CAAQ;IACvC,IAAI,EAAE,MAAM,CAAM;IAClB,WAAW,EAAE,MAAM,CAAK;IACxB,QAAQ,EAAE,OAAO,CAAS;IAC1B,QAAQ,EAAE,MAAM,CAAM;IACtB,SAAS,EAAE,MAAM,CAAK;IACtB,OAAO,EAAE,OAAO,CAAS;IACzB,UAAU,EAAE,OAAO,CAAS;IAC5B,QAAQ,EAAE,WAAW,EAAE,CAAM;gBAEjB,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC;IAK/B;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI;CAkDhD"}
@@ -1,75 +0,0 @@
1
- import { BaseModel } from '../../BaseModel';
2
- import { User } from '../../auth/User';
3
- import { ChatMessage } from './Message';
4
- /**
5
- * Represents a Chat conversation or summary in the UI.
6
- */
7
- export class Chat extends BaseModel {
8
- id = '';
9
- participants = [];
10
- name = '';
11
- avatar = '';
12
- lastMessage = null;
13
- time = '';
14
- unreadCount = 0;
15
- isOnline = false;
16
- lastSeen = '';
17
- updatedAt = 0;
18
- isGroup = false;
19
- isFavorite = false;
20
- messages = [];
21
- constructor(data) {
22
- super();
23
- Object.assign(this, data);
24
- }
25
- /**
26
- * Instantiates a Chat object from an API response.
27
- */
28
- static fromAPI(json) {
29
- if (!json)
30
- return new Chat({});
31
- const resolveKey = (keys) => {
32
- const foundKey = Object.keys(json).find(k => keys.includes(k.toLowerCase()));
33
- return foundKey ? json[foundKey] : undefined;
34
- };
35
- const id = resolveKey(['kulladi', 'username', 'oyuncukullaniciadi', 'id', 'id_user', 'user_id', 'oyuncubakid', 'oyuncuid', 'arkadasid', 'id_arkadas', 'groupid', 'grupid', 'sohbetid', 'kullid']);
36
- const name = resolveKey(['name', 'displayname', 'user_displayname', 'oyuncuad', 'grupad', 'username', 'title', 'ad', 'adisoyadi', 'kulladi']);
37
- let avatarRaw = resolveKey(['avatar', 'chatimage', 'image', 'oyuncu_avatar', 'oyuncuminnakavatar', 'player_avatar', 'arkadasfoto', 'oyuncufoto', 'oyuncuresim', 'profil_fotosu', 'logo', 'foto', 'resim', 'grup_minnakavatar', 'avatar_url']);
38
- if (!avatarRaw) {
39
- const heuristicKey = Object.keys(json).find(k => {
40
- const lowerK = k.toLowerCase();
41
- return lowerK.includes('avatar') || lowerK.includes('foto') || lowerK.includes('resim') || lowerK.includes('image');
42
- });
43
- if (heuristicKey)
44
- avatarRaw = json[heuristicKey];
45
- }
46
- const nestedObj = json.oyuncu || json.arkadas || json.owner || json.user;
47
- if (!avatarRaw && nestedObj && typeof nestedObj === 'object') {
48
- const nestedUser = User.fromAPI(nestedObj);
49
- if (nestedUser.avatar)
50
- avatarRaw = nestedUser.avatar;
51
- }
52
- const lastMsgRaw = resolveKey(['lastmessage', 'last_message', 'sonmesaj', 'son_mesaj']);
53
- const time = resolveKey(['time', 'zaman', 'tarih', 'last_message_time', 'guncelletarih', 'songorusme', 'songiris']);
54
- const unread = resolveKey(['unreadcount', 'unread_count', 'okunmamissayi', 'okunmamis_sayi', 'bildirim_sayi', 'bildirim']);
55
- const onlineRaw = resolveKey(['isonline', 'is_online', 'oyuncu_online', 'durum']);
56
- const lastSeen = resolveKey(['lastseen', 'last_seen', 'songorulme', 'son_gorulme']);
57
- const isGroupRaw = resolveKey(['isgroup', 'is_group', 'is_clube', 'groupid', 'grupid']);
58
- return new Chat({
59
- id: String(id || ''),
60
- participants: Array.isArray(json.participants) ? json.participants.map((p) => User.fromAPI(p)) : [],
61
- name: name || '',
62
- avatar: typeof avatarRaw === 'string' ? avatarRaw : (avatarRaw?.media_URL || avatarRaw?.media_minURL || avatarRaw?.media_bigURL || avatarRaw?.fotourl || avatarRaw?.url || ''),
63
- lastMessage: lastMsgRaw ? ChatMessage.fromAPI(lastMsgRaw) : null,
64
- time: time || '',
65
- unreadCount: Number(unread || 0),
66
- isOnline: onlineRaw === 1 || onlineRaw === true,
67
- lastSeen: lastSeen || '',
68
- updatedAt: json.updatedAt || json.updated_at || Date.now(),
69
- isGroup: !!isGroupRaw,
70
- isFavorite: !!json.isFavorite || !!json.is_favorite,
71
- messages: Array.isArray(json.messages) ? json.messages.map((m) => ChatMessage.fromAPI(m)) : (Array.isArray(json.liste) ? json.liste.map((m) => ChatMessage.fromAPI(m)) : []),
72
- });
73
- }
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AAC,CAAC,CAAC,CAAC,EAAE,CAAC;SACvL,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -1,18 +0,0 @@
1
- import { BaseModel } from '../../BaseModel';
2
- import { User } from '../../auth/User';
3
- /**
4
- * Represents a single message in a Chat in the UI.
5
- */
6
- export declare class ChatMessage extends BaseModel {
7
- id: string;
8
- sender: User | null;
9
- content: string;
10
- timestamp: string;
11
- isSystem: boolean;
12
- constructor(data: Partial<ChatMessage>);
13
- /**
14
- * Instantiates a ChatMessage object from an API response.
15
- */
16
- static fromAPI(json: Record<string, any>): ChatMessage;
17
- }
18
- //# sourceMappingURL=Message.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Message.d.ts","sourceRoot":"","sources":["../../../../src/models/social/chat/Message.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAEvC;;GAEG;AACH,qBAAa,WAAY,SAAQ,SAAS;IACxC,EAAE,EAAE,MAAM,CAAM;IAChB,MAAM,EAAE,IAAI,GAAG,IAAI,CAAQ;IAC3B,OAAO,EAAE,MAAM,CAAM;IACrB,SAAS,EAAE,MAAM,CAAM;IACvB,QAAQ,EAAE,OAAO,CAAS;gBAEd,IAAI,EAAE,OAAO,CAAC,WAAW,CAAC;IAKtC;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,WAAW;CAiCvD"}
@@ -1,51 +0,0 @@
1
- import { BaseModel } from '../../BaseModel';
2
- import { User } from '../../auth/User';
3
- /**
4
- * Represents a single message in a Chat in the UI.
5
- */
6
- export class ChatMessage extends BaseModel {
7
- id = '';
8
- sender = null;
9
- content = '';
10
- timestamp = '';
11
- isSystem = false;
12
- constructor(data) {
13
- super();
14
- Object.assign(this, data);
15
- }
16
- /**
17
- * Instantiates a ChatMessage object from an API response.
18
- */
19
- static fromAPI(json) {
20
- if (!json)
21
- return new ChatMessage({});
22
- const resolveKey = (keys) => {
23
- const foundKey = Object.keys(json).find(k => keys.includes(k.toLowerCase()));
24
- return foundKey ? json[foundKey] : undefined;
25
- };
26
- const id = resolveKey(['id', 'sohbetid', 'mesajid', 'id_sohbet', 'id_mesaj']);
27
- const senderRaw = resolveKey(['sender', 'sender_name', 'gonderen_ad', 'oyuncu_ad', 'gonderen', 'adsoyad', 'kulladi', 'adisoyadi']);
28
- const content = resolveKey(['content', 'text', 'icerik', 'mesaj', 'text_message', 'message', 'mesajicerik']);
29
- const timestamp = resolveKey(['timestamp', 'time', 'zaman', 'tarih', 'sent_at', 'paylasimzaman']);
30
- const isSystemRaw = resolveKey(['issystem', 'is_system', 'system_message', 'sistem']);
31
- let sender = null;
32
- if (json.sender && typeof json.sender === 'object') {
33
- sender = User.fromAPI(json.sender);
34
- }
35
- else if (senderRaw) {
36
- sender = User.fromAPI({
37
- displayname: String(senderRaw),
38
- username: String(resolveKey(['kulladi', 'username', 'oyuncukullaniciadi']) || senderRaw),
39
- avatar: resolveKey(['avatar', 'chatimage', 'image', 'oyuncu_avatar', 'oyuncuminnakavatar', 'player_avatar', 'arkadasfoto', 'oyuncufoto', 'foto'])
40
- });
41
- }
42
- return new ChatMessage({
43
- id: String(id || ''),
44
- sender: sender,
45
- content: String(content || ''),
46
- timestamp: String(timestamp || ''),
47
- isSystem: isSystemRaw === 1 || isSystemRaw === true || false,
48
- });
49
- }
50
- }
51
- //# sourceMappingURL=Message.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Message.js","sourceRoot":"","sources":["../../../../src/models/social/chat/Message.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAEvC;;GAEG;AACH,MAAM,OAAO,WAAY,SAAQ,SAAS;IACxC,EAAE,GAAW,EAAE,CAAC;IACh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AAM,WAAW,GAAG,UAAU,CAAC,CAAC,UAAU,EAAE,WAAW,EAAE,gBAAgB,EAAE,QAAQ,CAAC,CAAC,CAAC;QAEtF,IAAI,MAAM,GAAgB,IAAI,CAAC;QAC/B,IAAI,IAAI,CAAC,MAAM,IAAI,OAAO,IAAI,CAAC,MAAM,KAAK,QAAQ,EAAE,CAAC;YACnD,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QACrC,CAAC;aAAM,IAAI,SAAS,EAAE,CAAC;YACrB,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC;gBACpB,WAAW,EAAE,MAAM,CAAC,SAAS,CAAC;gBAC9B,QAAQ,EAAE,MAAM,CAAC,UAAU,CAAC,CAAC,SAAS,EAAE,UAAU,EAAE,oBAAoB,CAAC,CAAC,IAAI,SAAS,CAAC;gBACxF,MAAM,EAAE,UAAU,CAAC,CAAC,QAAQ,EAAE,WAAW,EAAE,OAAO,EAAE,eAAe,EAAE,oBAAoB,EAAE,eAAe,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,CAAC,CAAC;aAClJ,CAAC,CAAC;QACL,CAAC;QAED,OAAO,IAAI,WAAW,CAAC;YACrB,EAAE,EAAE,MAAM,CAAC,EAAE,IAAI,EAAE,CAAC;YACpB,MAAM,EAAE,MAAM;YACd,OAAO,EAAE,MAAM,CAAC,OAAO,IAAI,EAAE,CAAC;YAC9B,SAAS,EAAE,MAAM,CAAC,SAAS,IAAI,EAAE,CAAC;YAClC,QAAQ,EAAE,WAAW,KAAK,CAAC,IAAI,WAAW,KAAK,IAAI,IAAI,KAAK;SAC7D,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -1,16 +0,0 @@
1
- import { BaseModel } from '../../BaseModel';
2
- /**
3
- * Represents a personal note or status (Instagram style) in the UI.
4
- */
5
- export declare class Note extends BaseModel {
6
- username: string;
7
- content: string;
8
- avatar: string;
9
- createdAt: string;
10
- constructor(data: Partial<Note>);
11
- /**
12
- * Instantiates a Note object from an API response.
13
- */
14
- static fromAPI(json: Record<string, any>): Note;
15
- }
16
- //# sourceMappingURL=Note.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Note.d.ts","sourceRoot":"","sources":["../../../../src/models/social/chat/Note.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAE5C;;GAEG;AACH,qBAAa,IAAK,SAAQ,SAAS;IACjC,QAAQ,EAAE,MAAM,CAAM;IACtB,OAAO,EAAE,MAAM,CAAM;IACrB,MAAM,EAAE,MAAM,CAAM;IACpB,SAAS,EAAE,MAAM,CAAM;gBAEX,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC;IAK/B;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI;CAUhD"}
@@ -1,28 +0,0 @@
1
- import { BaseModel } from '../../BaseModel';
2
- /**
3
- * Represents a personal note or status (Instagram style) in the UI.
4
- */
5
- export class Note extends BaseModel {
6
- username = '';
7
- content = '';
8
- avatar = '';
9
- createdAt = '';
10
- constructor(data) {
11
- super();
12
- Object.assign(this, data);
13
- }
14
- /**
15
- * Instantiates a Note object from an API response.
16
- */
17
- static fromAPI(json) {
18
- if (!json)
19
- return new Note({});
20
- return new Note({
21
- username: json.username || json.kulladi || '',
22
- content: json.content || json.icerik || json.text || '',
23
- avatar: json.avatar || json.oyuncuminnakavatar || '',
24
- createdAt: json.createdAt || json.created_at || json.zaman || ''
25
- });
26
- }
27
- }
28
- //# sourceMappingURL=Note.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Note.js","sourceRoot":"","sources":["../../../../src/models/social/chat/Note.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAE5C;;GAEG;AACH,MAAM,OAAO,IAAK,SAAQ,SAAS;IACjC,QAAQ,GAAW,EAAE,CAAC;IACtB,OAAO,GAAW,EAAE,CAAC;IACrB,MAAM,GAAW,EAAE,CAAC;IACpB,SAAS,GAAW,EAAE,CAAC;IAEvB,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,QAAQ,EAAE,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,OAAO,IAAI,EAAE;YAC7C,OAAO,EAAE,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,IAAI,IAAI,EAAE;YACvD,MAAM,EAAE,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,kBAAkB,IAAI,EAAE;YACpD,SAAS,EAAE,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC,UAAU,IAAI,IAAI,CAAC,KAAK,IAAI,EAAE;SACjE,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -1,20 +0,0 @@
1
- import { BaseModel } from '../../BaseModel';
2
- import { User } from '../../auth/User';
3
- /**
4
- * Represents a Comment on a Post.
5
- */
6
- export declare class Comment extends BaseModel {
7
- id: string;
8
- author: User | null;
9
- content: string;
10
- timestamp: string;
11
- likeCount: number;
12
- isLiked: boolean;
13
- replies: Comment[];
14
- constructor(data: Partial<Comment>);
15
- /**
16
- * Instantiates a Comment object from an API response.
17
- */
18
- static fromAPI(json: any): Comment;
19
- }
20
- //# sourceMappingURL=Comment.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Comment.d.ts","sourceRoot":"","sources":["../../../../src/models/social/feed/Comment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAEvC;;GAEG;AACH,qBAAa,OAAQ,SAAQ,SAAS;IACpC,EAAE,EAAE,MAAM,CAAM;IAChB,MAAM,EAAE,IAAI,GAAG,IAAI,CAAQ;IAC3B,OAAO,EAAE,MAAM,CAAM;IACrB,SAAS,EAAE,MAAM,CAAM;IACvB,SAAS,EAAE,MAAM,CAAK;IACtB,OAAO,EAAE,OAAO,CAAS;IACzB,OAAO,EAAE,OAAO,EAAE,CAAM;gBAEZ,IAAI,EAAE,OAAO,CAAC,OAAO,CAAC;IAKlC;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,GAAG,GAAG,OAAO;CAanC"}
@@ -1,35 +0,0 @@
1
- import { BaseModel } from '../../BaseModel';
2
- import { User } from '../../auth/User';
3
- /**
4
- * Represents a Comment on a Post.
5
- */
6
- export class Comment extends BaseModel {
7
- id = '';
8
- author = null;
9
- content = '';
10
- timestamp = '';
11
- likeCount = 0;
12
- isLiked = false;
13
- replies = [];
14
- constructor(data) {
15
- super();
16
- Object.assign(this, data);
17
- }
18
- /**
19
- * Instantiates a Comment object from an API response.
20
- */
21
- static fromAPI(json) {
22
- if (!json)
23
- return new Comment({});
24
- return new Comment({
25
- id: String(json.id || json.yorumid || ''),
26
- author: (json.author || json.oyuncu) ? User.fromAPI(json.author || json.oyuncu) : null,
27
- content: json.content || json.icerik || json.comment || '',
28
- timestamp: json.timestamp || json.tarih || json.created_at || '',
29
- likeCount: Number(json.likeCount || json.begeni_sayi || 0),
30
- isLiked: json.isLiked === true || json.begendi === 1 || false,
31
- replies: Array.isArray(json.replies) ? json.replies.map((r) => Comment.fromAPI(r)) : []
32
- });
33
- }
34
- }
35
- //# sourceMappingURL=Comment.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Comment.js","sourceRoot":"","sources":["../../../../src/models/social/feed/Comment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAi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AC,IAAI,KAAK;YAC7D,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE;SAC7F,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -1,23 +0,0 @@
1
- import { BaseModel } from '../../BaseModel';
2
- import { User } from '../../auth/User';
3
- import { Comment } from './Comment';
4
- /**
5
- * Represents a Social Post.
6
- */
7
- export declare class Post extends BaseModel {
8
- id: string;
9
- author: User | null;
10
- content: string;
11
- media: string[];
12
- timestamp: string;
13
- likeCount: number;
14
- commentCount: number;
15
- isLiked: boolean;
16
- comments: Comment[];
17
- constructor(data: Partial<Post>);
18
- /**
19
- * Maps a raw API response (PostResponse) to a UI-friendly Post instance.
20
- */
21
- static fromAPI(json: any): Post;
22
- }
23
- //# sourceMappingURL=Post.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Post.d.ts","sourceRoot":"","sources":["../../../../src/models/social/feed/Post.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAGpC;;GAEG;AACH,qBAAa,IAAK,SAAQ,SAAS;IACjC,EAAE,EAAE,MAAM,CAAM;IAChB,MAAM,EAAE,IAAI,GAAG,IAAI,CAAQ;IAC3B,OAAO,EAAE,MAAM,CAAM;IACrB,KAAK,EAAE,MAAM,EAAE,CAAM;IACrB,SAAS,EAAE,MAAM,CAAM;IACvB,SAAS,EAAE,MAAM,CAAK;IACtB,YAAY,EAAE,MAAM,CAAK;IACzB,OAAO,EAAE,OAAO,CAAS;IACzB,QAAQ,EAAE,OAAO,EAAE,CAAM;gBAEb,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC;IAK/B;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,GAAG,GAAG,IAAI;CAehC"}
@@ -1,40 +0,0 @@
1
- import { BaseModel } from '../../BaseModel';
2
- import { User } from '../../auth/User';
3
- import { Comment } from './Comment';
4
- /**
5
- * Represents a Social Post.
6
- */
7
- export class Post extends BaseModel {
8
- id = '';
9
- author = null;
10
- content = '';
11
- media = [];
12
- timestamp = '';
13
- likeCount = 0;
14
- commentCount = 0;
15
- isLiked = false;
16
- comments = [];
17
- constructor(data) {
18
- super();
19
- Object.assign(this, data);
20
- }
21
- /**
22
- * Maps a raw API response (PostResponse) to a UI-friendly Post instance.
23
- */
24
- static fromAPI(json) {
25
- if (!json)
26
- return new Post({});
27
- return new Post({
28
- id: String(json.id || json.paylasimid || json.post_id || json.postID || json.paylasim_id || ''),
29
- author: (json.author || json.oyuncu || json.owner) ? User.fromAPI(json.author || json.oyuncu || json.owner) : (json.oyuncuID || json.oyuncu_ID || json.oyuncukullaniciadi ? User.fromAPI(json) : null),
30
- content: json.content || json.icerik || json.text || json.paylasimmetin || json.paylasim_metin || json.paylasimicerik || json.paylasim_icerik || json.sosyalicerik || json.sosyal_icerik || json.owner?.paylasimicerik || json.oyuncu?.paylasim_icerik || '',
31
- media: Array.isArray(json.media) ? json.media : (Array.isArray(json.paylasimfoto) ? json.paylasimfoto.map((f) => f.fotourl || f.url) : (Array.isArray(json.owner?.paylasimfoto) ? json.owner.paylasimfoto.map((f) => f.fotourl || f.url) : (json.resim || json.paylasimresim || json.paylasim_resim ? [json.resim || json.paylasimresim || json.paylasim_resim] : []))),
32
- timestamp: json.timestamp || json.tarih || json.created_at || json.paylasimzaman || json.paylasim_zaman || json.zaman || json.owner?.paylasimzaman || json.oyuncu?.paylasim_zaman || '',
33
- likeCount: Number(json.likeCount || json.begeni_sayi || json.begenisay || 0),
34
- commentCount: Number(json.commentCount || json.yorum_sayi || json.yorumsay || 0),
35
- isLiked: json.isLiked === true || json.begendi === 1 || json.benbegendim === 1 || false,
36
- comments: Array.isArray(json.comments) ? json.comments.map((c) => Comment.fromAPI(c)) : []
37
- });
38
- }
39
- }
40
- //# sourceMappingURL=Post.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Post.js","sourceRoot":"","sources":["../../../../src/models/social/feed/Post.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAGpC;;GAEG;AACH,MAAM,OAAO,IAAK,SAAQ,SAAS;IACjC,EAAE,GAAW,EAAE,CAAC;IAChB,MAAM,GAAgB,IAAI,CAAC;IAC3B,OAAO,GAAW,EAAE,CAAC;IACrB,KAAK,GAAa,EAAE,CAAC;IACrB,SAAS,GAAW,EAAE,CAAC;IACvB,SAAS,GAAW,CAAC,CAAC;IACtB,YAAY,GAAW,CAAC,CAAC;IACzB,OAAO,GAAY,KAAK,CAAC;IACzB,QAAQ,GAAc,EAAE,CAAC;IAEzB,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,IAAS;QACtB,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,UAAU,IAAI,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,WAAW,IAAI,EAAE,CAAC;YAC/F,MAAM,EAAE,CAAC,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,MAAM,I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AAa,IAAI,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,aAAa,IAAI,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;YACjX,SAAS,EAAE,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,UAAU,IAAI,IAAI,CAAC,aAAa,IAAI,IAAI,CAAC,cAAc,IAAI,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,KAAK,EAAE,aAAa,IAAI,IAAI,CAAC,MAAM,EAAE,cAAc,IAAI,EAAE;YACvL,SAAS,EAAE,MAAM,CAAC,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC,WAAW,IAAI,IAAI,CAAC,SAAS,IAAI,CAAC,CAAC;YAC5E,YAAY,EAAE,MAAM,CAAC,IAAI,CAAC,YAAY,IAAI,IAAI,CAAC,UAAU,IAAI,IAAI,CAAC,QAAQ,IAAI,CAAC,CAAC;YAChF,OAAO,EAAE,IAAI,CAAC,OAAO,KAAK,IAAI,IAAI,IAAI,CAAC,OAAO,KAAK,CAAC,IAAI,IAAI,CAAC,WAAW,KAAK,CAAC,IAAI,KAAK;YACvF,QAAQ,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE;SAChG,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -1,18 +0,0 @@
1
- import { BaseModel } from '../../BaseModel';
2
- import { User } from '../../auth/User';
3
- /**
4
- * Represents a Social Story in the UI.
5
- */
6
- export declare class Story extends BaseModel {
7
- id: string;
8
- author: User | null;
9
- media: string;
10
- timestamp: string;
11
- isViewed: boolean;
12
- constructor(data: Partial<Story>);
13
- /**
14
- * Instantiates a Story object from an API response.
15
- */
16
- static fromAPI(json: Record<string, any>): Story;
17
- }
18
- //# sourceMappingURL=Story.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Story.d.ts","sourceRoot":"","sources":["../../../../src/models/social/feed/Story.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAEvC;;GAEG;AACH,qBAAa,KAAM,SAAQ,SAAS;IAClC,EAAE,EAAE,MAAM,CAAM;IAChB,MAAM,EAAE,IAAI,GAAG,IAAI,CAAQ;IAC3B,KAAK,EAAE,MAAM,CAAM;IACnB,SAAS,EAAE,MAAM,CAAM;IACvB,QAAQ,EAAE,OAAO,CAAS;gBAEd,IAAI,EAAE,OAAO,CAAC,KAAK,CAAC;IAKhC;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,KAAK;CAWjD"}
@@ -1,31 +0,0 @@
1
- import { BaseModel } from '../../BaseModel';
2
- import { User } from '../../auth/User';
3
- /**
4
- * Represents a Social Story in the UI.
5
- */
6
- export class Story extends BaseModel {
7
- id = '';
8
- author = null;
9
- media = '';
10
- timestamp = '';
11
- isViewed = false;
12
- constructor(data) {
13
- super();
14
- Object.assign(this, data);
15
- }
16
- /**
17
- * Instantiates a Story object from an API response.
18
- */
19
- static fromAPI(json) {
20
- if (!json)
21
- return new Story({});
22
- return new Story({
23
- id: String(json.id || json.hikayeid || ''),
24
- author: (json.author || json.oyuncu) ? User.fromAPI(json.author || json.oyuncu) : null,
25
- media: json.media || json.resim || json.url || '',
26
- timestamp: json.timestamp || json.tarih || '',
27
- isViewed: json.isViewed === true || json.izlendi === 1 || false
28
- });
29
- }
30
- }
31
- //# sourceMappingURL=Story.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Story.js","sourceRoot":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