@armoyu/ui 1.1.21 → 1.1.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app/Providers.d.ts.map +1 -1
- package/dist/app/Providers.js +2 -1
- package/dist/app/Providers.js.map +1 -1
- package/dist/app/api/proxy/[...path]/route.d.ts.map +1 -1
- package/dist/app/api/proxy/[...path]/route.js +21 -33
- package/dist/app/api/proxy/[...path]/route.js.map +1 -1
- package/dist/app/egitim/[slug]/page.d.ts +2 -0
- package/dist/app/egitim/[slug]/page.d.ts.map +1 -0
- package/dist/app/egitim/[slug]/page.js +10 -0
- package/dist/app/egitim/[slug]/page.js.map +1 -0
- package/dist/app/page.d.ts.map +1 -1
- package/dist/app/page.js +7 -1
- package/dist/app/page.js.map +1 -1
- package/dist/components/common/Mentions/HashtagLink.d.ts +7 -0
- package/dist/components/common/Mentions/HashtagLink.d.ts.map +1 -0
- package/dist/components/common/Mentions/HashtagLink.js +14 -0
- package/dist/components/common/Mentions/HashtagLink.js.map +1 -0
- package/dist/components/common/Mentions/MentionLink.d.ts +7 -0
- package/dist/components/common/Mentions/MentionLink.d.ts.map +1 -0
- package/dist/components/common/Mentions/MentionLink.js +40 -0
- package/dist/components/common/Mentions/MentionLink.js.map +1 -0
- package/dist/components/common/Mentions/MentionText.d.ts +8 -0
- package/dist/components/common/Mentions/MentionText.d.ts.map +1 -0
- package/dist/components/common/Mentions/MentionText.js +63 -0
- package/dist/components/common/Mentions/MentionText.js.map +1 -0
- package/dist/components/modules/auth/widgets/LoginWidget.d.ts.map +1 -1
- package/dist/components/modules/auth/widgets/LoginWidget.js +21 -6
- package/dist/components/modules/auth/widgets/LoginWidget.js.map +1 -1
- package/dist/components/modules/auth/widgets/RegisterWidget.d.ts.map +1 -1
- package/dist/components/modules/auth/widgets/RegisterWidget.js +57 -2
- package/dist/components/modules/auth/widgets/RegisterWidget.js.map +1 -1
- package/dist/components/modules/chat/ChatLayout.d.ts.map +1 -1
- package/dist/components/modules/chat/ChatLayout.js +4 -3
- package/dist/components/modules/chat/ChatLayout.js.map +1 -1
- package/dist/components/modules/chat/widgets/ChatList.d.ts.map +1 -1
- package/dist/components/modules/chat/widgets/ChatList.js +34 -13
- package/dist/components/modules/chat/widgets/ChatList.js.map +1 -1
- package/dist/components/modules/chat/widgets/ChatMessage.js +1 -1
- package/dist/components/modules/chat/widgets/ChatMessage.js.map +1 -1
- package/dist/components/modules/cloud/CloudModal.d.ts +2 -2
- package/dist/components/modules/cloud/CloudModal.d.ts.map +1 -1
- package/dist/components/modules/cloud/CloudModal.js +221 -16
- package/dist/components/modules/cloud/CloudModal.js.map +1 -1
- package/dist/components/modules/cloud/CloudWidget.d.ts.map +1 -1
- package/dist/components/modules/cloud/CloudWidget.js +1 -1
- package/dist/components/modules/cloud/CloudWidget.js.map +1 -1
- package/dist/components/modules/community/widgets/SchoolCard.js +1 -1
- package/dist/components/modules/community/widgets/SchoolCard.js.map +1 -1
- package/dist/components/modules/community/widgets/SurveyCard.d.ts.map +1 -1
- package/dist/components/modules/community/widgets/SurveyCard.js +9 -6
- package/dist/components/modules/community/widgets/SurveyCard.js.map +1 -1
- package/dist/components/modules/education/pages/EducationPage.d.ts.map +1 -1
- package/dist/components/modules/education/pages/EducationPage.js +42 -3
- package/dist/components/modules/education/pages/EducationPage.js.map +1 -1
- package/dist/components/modules/education/pages/SchoolDetailPage.d.ts +1 -5
- package/dist/components/modules/education/pages/SchoolDetailPage.d.ts.map +1 -1
- package/dist/components/modules/education/pages/SchoolDetailPage.js +71 -12
- package/dist/components/modules/education/pages/SchoolDetailPage.js.map +1 -1
- package/dist/components/modules/events/DetailPage.d.ts +3 -1
- package/dist/components/modules/events/DetailPage.d.ts.map +1 -1
- package/dist/components/modules/events/DetailPage.js +23 -8
- package/dist/components/modules/events/DetailPage.js.map +1 -1
- package/dist/components/modules/events/EventsPage.d.ts.map +1 -1
- package/dist/components/modules/events/EventsPage.js +51 -36
- package/dist/components/modules/events/EventsPage.js.map +1 -1
- package/dist/components/modules/events/widgets/EventCard.d.ts.map +1 -1
- package/dist/components/modules/events/widgets/EventCard.js +3 -1
- package/dist/components/modules/events/widgets/EventCard.js.map +1 -1
- package/dist/components/modules/events/widgets/EventList.d.ts +2 -1
- package/dist/components/modules/events/widgets/EventList.d.ts.map +1 -1
- package/dist/components/modules/events/widgets/EventList.js +6 -2
- package/dist/components/modules/events/widgets/EventList.js.map +1 -1
- package/dist/components/modules/events/widgets/EventShowcase.d.ts +6 -0
- package/dist/components/modules/events/widgets/EventShowcase.d.ts.map +1 -0
- package/dist/components/modules/events/widgets/EventShowcase.js +83 -0
- package/dist/components/modules/events/widgets/EventShowcase.js.map +1 -0
- package/dist/components/modules/news/NewsLayout.d.ts +7 -0
- package/dist/components/modules/news/NewsLayout.d.ts.map +1 -0
- package/dist/components/modules/news/NewsLayout.js +10 -0
- package/dist/components/modules/news/NewsLayout.js.map +1 -0
- package/dist/components/modules/news/index.d.ts +6 -0
- package/dist/components/modules/news/index.d.ts.map +1 -0
- package/dist/components/modules/news/index.js +22 -0
- package/dist/components/modules/news/index.js.map +1 -0
- package/dist/components/modules/news/pages/NewsDetailPage.d.ts +7 -0
- package/dist/components/modules/news/pages/NewsDetailPage.d.ts.map +1 -0
- package/dist/components/modules/news/pages/NewsDetailPage.js +59 -0
- package/dist/components/modules/news/pages/NewsDetailPage.js.map +1 -0
- package/dist/components/modules/news/pages/NewsPage.d.ts +2 -0
- package/dist/components/modules/news/pages/NewsPage.d.ts.map +1 -0
- package/dist/components/modules/news/pages/NewsPage.js +72 -0
- package/dist/components/modules/news/pages/NewsPage.js.map +1 -0
- package/dist/components/modules/news/widgets/NewsCard.d.ts +2 -1
- package/dist/components/modules/news/widgets/NewsCard.d.ts.map +1 -1
- package/dist/components/modules/news/widgets/NewsCard.js +2 -2
- package/dist/components/modules/news/widgets/NewsCard.js.map +1 -1
- package/dist/components/modules/news/widgets/NewsComments.d.ts.map +1 -1
- package/dist/components/modules/news/widgets/NewsComments.js +2 -1
- package/dist/components/modules/news/widgets/NewsComments.js.map +1 -1
- package/dist/components/modules/news/widgets/NewsDetailAuthor.d.ts +8 -0
- package/dist/components/modules/news/widgets/NewsDetailAuthor.d.ts.map +1 -0
- package/dist/components/modules/news/widgets/NewsDetailAuthor.js +9 -0
- package/dist/components/modules/news/widgets/NewsDetailAuthor.js.map +1 -0
- package/dist/components/modules/news/widgets/NewsDetailHero.d.ts +9 -0
- package/dist/components/modules/news/widgets/NewsDetailHero.d.ts.map +1 -0
- package/dist/components/modules/news/widgets/NewsDetailHero.js +9 -0
- package/dist/components/modules/news/widgets/NewsDetailHero.js.map +1 -0
- package/dist/components/modules/news/widgets/NewsDetailInteraction.d.ts +7 -0
- package/dist/components/modules/news/widgets/NewsDetailInteraction.d.ts.map +1 -0
- package/dist/components/modules/news/widgets/NewsDetailInteraction.js +11 -0
- package/dist/components/modules/news/widgets/NewsDetailInteraction.js.map +1 -0
- package/dist/components/modules/news/widgets/NewsDetailSidebar.d.ts +8 -0
- package/dist/components/modules/news/widgets/NewsDetailSidebar.d.ts.map +1 -0
- package/dist/components/modules/news/widgets/NewsDetailSidebar.js +9 -0
- package/dist/components/modules/news/widgets/NewsDetailSidebar.js.map +1 -0
- package/dist/components/modules/news/widgets/NewsHero.d.ts +2 -0
- package/dist/components/modules/news/widgets/NewsHero.d.ts.map +1 -0
- package/dist/components/modules/news/widgets/NewsHero.js +10 -0
- package/dist/components/modules/news/widgets/NewsHero.js.map +1 -0
- package/dist/components/modules/poll/pages/PollsPage.d.ts.map +1 -1
- package/dist/components/modules/poll/pages/PollsPage.js +5 -4
- package/dist/components/modules/poll/pages/PollsPage.js.map +1 -1
- package/dist/components/modules/posts/widgets/MediaLightbox.d.ts +9 -1
- package/dist/components/modules/posts/widgets/MediaLightbox.d.ts.map +1 -1
- package/dist/components/modules/posts/widgets/MediaLightbox.js +6 -7
- package/dist/components/modules/posts/widgets/MediaLightbox.js.map +1 -1
- package/dist/components/modules/posts/widgets/PostCard.d.ts.map +1 -1
- package/dist/components/modules/posts/widgets/PostCard.js +29 -20
- package/dist/components/modules/posts/widgets/PostCard.js.map +1 -1
- package/dist/components/modules/posts/widgets/SocialFeed.d.ts.map +1 -1
- package/dist/components/modules/posts/widgets/SocialFeed.js +17 -18
- package/dist/components/modules/posts/widgets/SocialFeed.js.map +1 -1
- package/dist/components/modules/posts/widgets/reels/ReelCard.d.ts.map +1 -1
- package/dist/components/modules/posts/widgets/reels/ReelCard.js +1 -1
- package/dist/components/modules/posts/widgets/reels/ReelCard.js.map +1 -1
- package/dist/components/modules/profile/ProfileLayout.d.ts.map +1 -1
- package/dist/components/modules/profile/ProfileLayout.js +20 -58
- package/dist/components/modules/profile/ProfileLayout.js.map +1 -1
- package/dist/components/modules/profile/tabs/CareerTab.d.ts +2 -1
- package/dist/components/modules/profile/tabs/CareerTab.d.ts.map +1 -1
- package/dist/components/modules/profile/tabs/CareerTab.js +23 -12
- package/dist/components/modules/profile/tabs/CareerTab.js.map +1 -1
- package/dist/components/modules/profile/tabs/FriendsTab.d.ts +2 -6
- package/dist/components/modules/profile/tabs/FriendsTab.d.ts.map +1 -1
- package/dist/components/modules/profile/tabs/FriendsTab.js +44 -3
- package/dist/components/modules/profile/tabs/FriendsTab.js.map +1 -1
- package/dist/components/modules/profile/tabs/MediaTab.d.ts.map +1 -1
- package/dist/components/modules/profile/tabs/MediaTab.js +5 -4
- package/dist/components/modules/profile/tabs/MediaTab.js.map +1 -1
- package/dist/components/modules/profile/tabs/QuestionsTab.d.ts.map +1 -1
- package/dist/components/modules/profile/tabs/QuestionsTab.js +1 -1
- package/dist/components/modules/profile/tabs/QuestionsTab.js.map +1 -1
- package/dist/components/modules/profile/widgets/EditProfileModal.d.ts.map +1 -1
- package/dist/components/modules/profile/widgets/EditProfileModal.js +51 -3
- package/dist/components/modules/profile/widgets/EditProfileModal.js.map +1 -1
- package/dist/components/modules/profile/widgets/ProfileHeader.d.ts.map +1 -1
- package/dist/components/modules/profile/widgets/ProfileHeader.js +11 -2
- package/dist/components/modules/profile/widgets/ProfileHeader.js.map +1 -1
- package/dist/components/modules/profile/widgets/ProfileInfoWidget.d.ts +2 -1
- package/dist/components/modules/profile/widgets/ProfileInfoWidget.d.ts.map +1 -1
- package/dist/components/modules/profile/widgets/ProfileInfoWidget.js +3 -2
- package/dist/components/modules/profile/widgets/ProfileInfoWidget.js.map +1 -1
- package/dist/components/modules/profile/widgets/ProfileSidebar.d.ts +2 -1
- package/dist/components/modules/profile/widgets/ProfileSidebar.d.ts.map +1 -1
- package/dist/components/modules/profile/widgets/ProfileSidebar.js +2 -2
- package/dist/components/modules/profile/widgets/ProfileSidebar.js.map +1 -1
- package/dist/components/modules/profile/widgets/ProfileTabsArea.d.ts +2 -6
- package/dist/components/modules/profile/widgets/ProfileTabsArea.d.ts.map +1 -1
- package/dist/components/modules/profile/widgets/ProfileTabsArea.js +2 -2
- package/dist/components/modules/profile/widgets/ProfileTabsArea.js.map +1 -1
- package/dist/components/modules/social/SocialLayout.d.ts.map +1 -1
- package/dist/components/modules/social/SocialLayout.js +2 -2
- package/dist/components/modules/social/SocialLayout.js.map +1 -1
- package/dist/components/modules/social/widgets/EconomyWidget.d.ts.map +1 -1
- package/dist/components/modules/social/widgets/EconomyWidget.js +19 -10
- package/dist/components/modules/social/widgets/EconomyWidget.js.map +1 -1
- package/dist/components/modules/social/widgets/LeagueWidget.d.ts.map +1 -1
- package/dist/components/modules/social/widgets/LeagueWidget.js +17 -10
- package/dist/components/modules/social/widgets/LeagueWidget.js.map +1 -1
- package/dist/components/modules/social/widgets/MinecraftWidget.d.ts.map +1 -1
- package/dist/components/modules/social/widgets/MinecraftWidget.js +16 -6
- package/dist/components/modules/social/widgets/MinecraftWidget.js.map +1 -1
- package/dist/components/modules/social/widgets/NewMembersWidget.d.ts +2 -0
- package/dist/components/modules/social/widgets/NewMembersWidget.d.ts.map +1 -0
- package/dist/components/modules/social/widgets/NewMembersWidget.js +42 -0
- package/dist/components/modules/social/widgets/NewMembersWidget.js.map +1 -0
- package/dist/components/modules/social/widgets/PostComposer.d.ts.map +1 -1
- package/dist/components/modules/social/widgets/PostComposer.js +102 -2
- package/dist/components/modules/social/widgets/PostComposer.js.map +1 -1
- package/dist/components/modules/social/widgets/RankingWidget.d.ts.map +1 -1
- package/dist/components/modules/social/widgets/RankingWidget.js +1 -1
- package/dist/components/modules/social/widgets/RankingWidget.js.map +1 -1
- package/dist/components/modules/social/widgets/TrendingWidget.d.ts +3 -0
- package/dist/components/modules/social/widgets/TrendingWidget.d.ts.map +1 -0
- package/dist/components/modules/social/widgets/TrendingWidget.js +41 -0
- package/dist/components/modules/social/widgets/TrendingWidget.js.map +1 -0
- package/dist/components/modules/stories/widgets/AddStoryModal.d.ts +13 -0
- package/dist/components/modules/stories/widgets/AddStoryModal.d.ts.map +1 -0
- package/dist/components/modules/stories/widgets/AddStoryModal.js +14 -0
- package/dist/components/modules/stories/widgets/AddStoryModal.js.map +1 -0
- package/dist/components/modules/stories/widgets/Stories.d.ts +2 -0
- package/dist/components/modules/stories/widgets/Stories.d.ts.map +1 -0
- package/dist/components/modules/stories/widgets/Stories.js +148 -0
- package/dist/components/modules/stories/widgets/Stories.js.map +1 -0
- package/dist/components/modules/stories/widgets/StoryOverlay.d.ts +10 -0
- package/dist/components/modules/stories/widgets/StoryOverlay.d.ts.map +1 -0
- package/dist/components/modules/stories/widgets/StoryOverlay.js +196 -0
- package/dist/components/modules/stories/widgets/StoryOverlay.js.map +1 -0
- package/dist/components/shared/Header.d.ts.map +1 -1
- package/dist/components/shared/Header.js +10 -0
- package/dist/components/shared/Header.js.map +1 -1
- package/dist/components/showcase/GroupTab.d.ts.map +1 -1
- package/dist/components/showcase/GroupTab.js +51 -12
- package/dist/components/showcase/GroupTab.js.map +1 -1
- package/dist/components/showcase/MessagesTab.d.ts.map +1 -1
- package/dist/components/showcase/MessagesTab.js +9 -4
- package/dist/components/showcase/MessagesTab.js.map +1 -1
- package/dist/components/showcase/ProfileTab.d.ts.map +1 -1
- package/dist/components/showcase/ProfileTab.js +25 -4
- package/dist/components/showcase/ProfileTab.js.map +1 -1
- package/dist/components/showcase/ReelsTab.d.ts.map +1 -1
- package/dist/components/showcase/ReelsTab.js +64 -1
- package/dist/components/showcase/ReelsTab.js.map +1 -1
- package/dist/components/showcase/ShowcaseNavigation.d.ts.map +1 -1
- package/dist/components/showcase/ShowcaseNavigation.js +71 -21
- package/dist/components/showcase/ShowcaseNavigation.js.map +1 -1
- package/dist/components/showcase/SocialTab.d.ts.map +1 -1
- package/dist/components/showcase/SocialTab.js +35 -31
- package/dist/components/showcase/SocialTab.js.map +1 -1
- package/dist/components/showcase/StoriesTab.d.ts +2 -0
- package/dist/components/showcase/StoriesTab.d.ts.map +1 -0
- package/dist/components/showcase/StoriesTab.js +10 -0
- package/dist/components/showcase/StoriesTab.js.map +1 -0
- package/dist/context/ArmoyuContext.d.ts +2 -1
- package/dist/context/ArmoyuContext.d.ts.map +1 -1
- package/dist/context/ArmoyuContext.js.map +1 -1
- package/dist/context/AuthContext.d.ts.map +1 -1
- package/dist/context/AuthContext.js +10 -3
- package/dist/context/AuthContext.js.map +1 -1
- package/dist/context/ChatContext.d.ts +5 -1
- package/dist/context/ChatContext.d.ts.map +1 -1
- package/dist/context/ChatContext.js +63 -39
- package/dist/context/ChatContext.js.map +1 -1
- package/dist/hooks/useDebounce.d.ts +2 -0
- package/dist/hooks/useDebounce.d.ts.map +1 -0
- package/dist/hooks/useDebounce.js +17 -0
- package/dist/hooks/useDebounce.js.map +1 -0
- package/dist/index.d.ts +4 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +10 -11
- package/dist/index.js.map +1 -1
- package/dist/lib/constants/seedData.d.ts.map +1 -1
- package/dist/lib/constants/seedData.js +8 -7
- package/dist/lib/constants/seedData.js.map +1 -1
- package/dist/lib/constants/stationData.d.ts.map +1 -1
- package/dist/lib/constants/stationData.js +78 -0
- package/dist/lib/constants/stationData.js.map +1 -1
- package/dist/models/auth/RankedUser.d.ts +1 -2
- package/dist/models/auth/RankedUser.d.ts.map +1 -1
- package/dist/models/auth/RankedUser.js +10 -11
- package/dist/models/auth/RankedUser.js.map +1 -1
- package/dist/models/auth/Role.d.ts +2 -2
- package/dist/models/auth/Role.d.ts.map +1 -1
- package/dist/models/auth/Role.js +9 -4
- package/dist/models/auth/Role.js.map +1 -1
- package/dist/models/auth/Session.d.ts +1 -2
- package/dist/models/auth/Session.d.ts.map +1 -1
- package/dist/models/auth/Session.js +1 -3
- package/dist/models/auth/Session.js.map +1 -1
- package/dist/models/auth/StaffApplication.d.ts +1 -2
- package/dist/models/auth/StaffApplication.d.ts.map +1 -1
- package/dist/models/auth/StaffApplication.js +1 -3
- package/dist/models/auth/StaffApplication.js.map +1 -1
- package/dist/models/auth/TeamMember.d.ts +1 -2
- package/dist/models/auth/TeamMember.d.ts.map +1 -1
- package/dist/models/auth/TeamMember.js +1 -3
- package/dist/models/auth/TeamMember.js.map +1 -1
- package/dist/models/auth/User.d.ts +1 -2
- package/dist/models/auth/User.d.ts.map +1 -1
- package/dist/models/auth/User.js +29 -24
- package/dist/models/auth/User.js.map +1 -1
- package/dist/models/auth/UserBadge.d.ts +1 -2
- package/dist/models/auth/UserBadge.d.ts.map +1 -1
- package/dist/models/auth/UserBadge.js +1 -3
- package/dist/models/auth/UserBadge.js.map +1 -1
- package/dist/models/community/ArmoyuEvent.d.ts +2 -3
- package/dist/models/community/ArmoyuEvent.d.ts.map +1 -1
- package/dist/models/community/ArmoyuEvent.js +27 -29
- package/dist/models/community/ArmoyuEvent.js.map +1 -1
- package/dist/models/community/Classroom.d.ts +1 -2
- package/dist/models/community/Classroom.d.ts.map +1 -1
- package/dist/models/community/Classroom.js +1 -3
- package/dist/models/community/Classroom.js.map +1 -1
- package/dist/models/community/Faculty.d.ts +1 -2
- package/dist/models/community/Faculty.d.ts.map +1 -1
- package/dist/models/community/Faculty.js +1 -3
- package/dist/models/community/Faculty.js.map +1 -1
- package/dist/models/community/Forum.d.ts +1 -2
- package/dist/models/community/Forum.d.ts.map +1 -1
- package/dist/models/community/Forum.js +1 -3
- package/dist/models/community/Forum.js.map +1 -1
- package/dist/models/community/Giveaway.d.ts +1 -2
- package/dist/models/community/Giveaway.d.ts.map +1 -1
- package/dist/models/community/Giveaway.js +1 -3
- package/dist/models/community/Giveaway.js.map +1 -1
- package/dist/models/community/Group.d.ts +1 -2
- package/dist/models/community/Group.d.ts.map +1 -1
- package/dist/models/community/Group.js +2 -4
- package/dist/models/community/Group.js.map +1 -1
- package/dist/models/community/School.d.ts +1 -2
- package/dist/models/community/School.d.ts.map +1 -1
- package/dist/models/community/School.js +1 -3
- package/dist/models/community/School.js.map +1 -1
- package/dist/models/community/SchoolTeam.d.ts +1 -2
- package/dist/models/community/SchoolTeam.d.ts.map +1 -1
- package/dist/models/community/SchoolTeam.js +1 -3
- package/dist/models/community/SchoolTeam.js.map +1 -1
- package/dist/models/community/Station.d.ts +4 -5
- package/dist/models/community/Station.d.ts.map +1 -1
- package/dist/models/community/Station.js +4 -9
- package/dist/models/community/Station.js.map +1 -1
- package/dist/models/community/Survey.d.ts +1 -2
- package/dist/models/community/Survey.d.ts.map +1 -1
- package/dist/models/community/Survey.js +2 -4
- package/dist/models/community/Survey.js.map +1 -1
- package/dist/models/community/SurveyAnswer.d.ts +1 -2
- package/dist/models/community/SurveyAnswer.d.ts.map +1 -1
- package/dist/models/community/SurveyAnswer.js +2 -4
- package/dist/models/community/SurveyAnswer.js.map +1 -1
- package/dist/models/community/Team.d.ts +1 -2
- package/dist/models/community/Team.d.ts.map +1 -1
- package/dist/models/community/Team.js +1 -3
- package/dist/models/community/Team.js.map +1 -1
- package/dist/models/community/Workplace.d.ts +1 -2
- package/dist/models/community/Workplace.d.ts.map +1 -1
- package/dist/models/community/Workplace.js +1 -3
- package/dist/models/community/Workplace.js.map +1 -1
- package/dist/models/content/Game.d.ts +1 -2
- package/dist/models/content/Game.d.ts.map +1 -1
- package/dist/models/content/Game.js +1 -3
- package/dist/models/content/Game.js.map +1 -1
- package/dist/models/content/Media.d.ts +1 -2
- package/dist/models/content/Media.d.ts.map +1 -1
- package/dist/models/content/Media.js +1 -3
- package/dist/models/content/Media.js.map +1 -1
- package/dist/models/content/Mod.d.ts +1 -2
- package/dist/models/content/Mod.d.ts.map +1 -1
- package/dist/models/content/Mod.js +1 -3
- package/dist/models/content/Mod.js.map +1 -1
- package/dist/models/content/News.d.ts +1 -2
- package/dist/models/content/News.d.ts.map +1 -1
- package/dist/models/content/News.js +22 -21
- package/dist/models/content/News.js.map +1 -1
- package/dist/models/content/PlatformStation.d.ts +1 -2
- package/dist/models/content/PlatformStation.d.ts.map +1 -1
- package/dist/models/content/PlatformStation.js +1 -3
- package/dist/models/content/PlatformStation.js.map +1 -1
- package/dist/models/content/PlatformTeam.d.ts +1 -2
- package/dist/models/content/PlatformTeam.d.ts.map +1 -1
- package/dist/models/content/PlatformTeam.js +1 -3
- package/dist/models/content/PlatformTeam.js.map +1 -1
- package/dist/models/content/ProjectScore.d.ts +1 -2
- package/dist/models/content/ProjectScore.d.ts.map +1 -1
- package/dist/models/content/ProjectScore.js +1 -3
- package/dist/models/content/ProjectScore.js.map +1 -1
- package/dist/models/content/StationEquipment.d.ts +3 -4
- package/dist/models/content/StationEquipment.d.ts.map +1 -1
- package/dist/models/content/StationEquipment.js +3 -5
- package/dist/models/content/StationEquipment.js.map +1 -1
- package/dist/models/core/Country.d.ts +1 -2
- package/dist/models/core/Country.d.ts.map +1 -1
- package/dist/models/core/Country.js +1 -3
- package/dist/models/core/Country.js.map +1 -1
- package/dist/models/core/PlatformStats.d.ts +1 -2
- package/dist/models/core/PlatformStats.d.ts.map +1 -1
- package/dist/models/core/PlatformStats.js +1 -3
- package/dist/models/core/PlatformStats.js.map +1 -1
- package/dist/models/core/Province.d.ts +1 -2
- package/dist/models/core/Province.d.ts.map +1 -1
- package/dist/models/core/Province.js +1 -3
- package/dist/models/core/Province.js.map +1 -1
- package/dist/models/core/Rule.d.ts +1 -2
- package/dist/models/core/Rule.d.ts.map +1 -1
- package/dist/models/core/Rule.js +1 -3
- package/dist/models/core/Rule.js.map +1 -1
- package/dist/models/core/SystemSettings.d.ts +1 -2
- package/dist/models/core/SystemSettings.d.ts.map +1 -1
- package/dist/models/core/SystemSettings.js +1 -3
- package/dist/models/core/SystemSettings.js.map +1 -1
- package/dist/models/index.d.ts +0 -1
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +0 -1
- package/dist/models/index.js.map +1 -1
- package/dist/models/shop/CartItem.d.ts +1 -2
- package/dist/models/shop/CartItem.d.ts.map +1 -1
- package/dist/models/shop/CartItem.js +1 -3
- package/dist/models/shop/CartItem.js.map +1 -1
- package/dist/models/shop/Invoice.d.ts +1 -2
- package/dist/models/shop/Invoice.d.ts.map +1 -1
- package/dist/models/shop/Invoice.js +1 -3
- package/dist/models/shop/Invoice.js.map +1 -1
- package/dist/models/shop/Order.d.ts +1 -2
- package/dist/models/shop/Order.d.ts.map +1 -1
- package/dist/models/shop/Order.js +1 -3
- package/dist/models/shop/Order.js.map +1 -1
- package/dist/models/shop/Product.d.ts +1 -2
- package/dist/models/shop/Product.d.ts.map +1 -1
- package/dist/models/shop/Product.js +1 -3
- package/dist/models/shop/Product.js.map +1 -1
- package/dist/models/social/chat/Chat.d.ts +1 -2
- package/dist/models/social/chat/Chat.d.ts.map +1 -1
- package/dist/models/social/chat/Chat.js +2 -4
- package/dist/models/social/chat/Chat.js.map +1 -1
- package/dist/models/social/chat/Message.d.ts +2 -2
- package/dist/models/social/chat/Message.d.ts.map +1 -1
- package/dist/models/social/chat/Message.js +8 -7
- package/dist/models/social/chat/Message.js.map +1 -1
- package/dist/models/social/chat/Note.d.ts +1 -2
- package/dist/models/social/chat/Note.d.ts.map +1 -1
- package/dist/models/social/chat/Note.js +1 -3
- package/dist/models/social/chat/Note.js.map +1 -1
- package/dist/models/social/feed/Comment.d.ts +1 -2
- package/dist/models/social/feed/Comment.d.ts.map +1 -1
- package/dist/models/social/feed/Comment.js +6 -7
- package/dist/models/social/feed/Comment.js.map +1 -1
- package/dist/models/social/feed/Post.d.ts +1 -2
- package/dist/models/social/feed/Post.d.ts.map +1 -1
- package/dist/models/social/feed/Post.js +13 -15
- package/dist/models/social/feed/Post.js.map +1 -1
- package/dist/models/social/feed/Story.d.ts +17 -5
- package/dist/models/social/feed/Story.d.ts.map +1 -1
- package/dist/models/social/feed/Story.js +29 -10
- package/dist/models/social/feed/Story.js.map +1 -1
- package/dist/models/social/feed/StoryAuthor.d.ts +13 -0
- package/dist/models/social/feed/StoryAuthor.d.ts.map +1 -0
- package/dist/models/social/feed/StoryAuthor.js +29 -0
- package/dist/models/social/feed/StoryAuthor.js.map +1 -0
- package/dist/models/social/gaming/Game.d.ts +1 -2
- package/dist/models/social/gaming/Game.d.ts.map +1 -1
- package/dist/models/social/gaming/Game.js +1 -3
- package/dist/models/social/gaming/Game.js.map +1 -1
- package/dist/models/social/notification/Notification.d.ts +1 -2
- package/dist/models/social/notification/Notification.d.ts.map +1 -1
- package/dist/models/social/notification/Notification.js +1 -3
- package/dist/models/social/notification/Notification.js.map +1 -1
- package/dist/models/social/notification/NotificationSender.d.ts +1 -2
- package/dist/models/social/notification/NotificationSender.d.ts.map +1 -1
- package/dist/models/social/notification/NotificationSender.js +1 -3
- package/dist/models/social/notification/NotificationSender.js.map +1 -1
- package/dist/models/social/poll/Poll.d.ts +1 -2
- package/dist/models/social/poll/Poll.d.ts.map +1 -1
- package/dist/models/social/poll/Poll.js +1 -3
- package/dist/models/social/poll/Poll.js.map +1 -1
- package/dist/models/social/poll/PollOption.d.ts +1 -2
- package/dist/models/social/poll/PollOption.d.ts.map +1 -1
- package/dist/models/social/poll/PollOption.js +1 -3
- package/dist/models/social/poll/PollOption.js.map +1 -1
- package/dist/models/social/search/SearchResult.d.ts +1 -2
- package/dist/models/social/search/SearchResult.d.ts.map +1 -1
- package/dist/models/social/search/SearchResult.js +1 -3
- package/dist/models/social/search/SearchResult.js.map +1 -1
- package/dist/models/social/stats/Leaderboard.d.ts +2 -3
- package/dist/models/social/stats/Leaderboard.d.ts.map +1 -1
- package/dist/models/social/stats/Leaderboard.js +2 -5
- package/dist/models/social/stats/Leaderboard.js.map +1 -1
- package/dist/models/social/support/SupportTicket.d.ts +1 -2
- package/dist/models/social/support/SupportTicket.d.ts.map +1 -1
- package/dist/models/social/support/SupportTicket.js +1 -3
- package/dist/models/social/support/SupportTicket.js.map +1 -1
- package/dist/models/social/user/BlockedUser.d.ts +1 -2
- package/dist/models/social/user/BlockedUser.d.ts.map +1 -1
- package/dist/models/social/user/BlockedUser.js +1 -3
- package/dist/models/social/user/BlockedUser.js.map +1 -1
- package/dist/models/store/StoreItem.d.ts +1 -2
- package/dist/models/store/StoreItem.d.ts.map +1 -1
- package/dist/models/store/StoreItem.js +1 -3
- package/dist/models/store/StoreItem.js.map +1 -1
- package/dist/scratch/test_api.d.ts +2 -0
- package/dist/scratch/test_api.d.ts.map +1 -0
- package/dist/scratch/test_api.js +13 -0
- package/dist/scratch/test_api.js.map +1 -0
- package/dist/scratch/test_api_pure.d.ts +2 -0
- package/dist/scratch/test_api_pure.d.ts.map +1 -0
- package/dist/scratch/test_api_pure.js +53 -0
- package/dist/scratch/test_api_pure.js.map +1 -0
- package/dist/scratch/test_api_stats.d.ts +2 -0
- package/dist/scratch/test_api_stats.d.ts.map +1 -0
- package/dist/scratch/test_api_stats.js +31 -0
- package/dist/scratch/test_api_stats.js.map +1 -0
- package/dist/utils/text/MentionUtils.d.ts +8 -0
- package/dist/utils/text/MentionUtils.d.ts.map +1 -0
- package/dist/utils/text/MentionUtils.js +30 -0
- package/dist/utils/text/MentionUtils.js.map +1 -0
- package/package.json +4 -2
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Post = void 0;
|
|
4
|
-
const BaseModel_1 = require("../../BaseModel");
|
|
5
4
|
const User_1 = require("../../auth/User");
|
|
6
5
|
const Comment_1 = require("./Comment");
|
|
7
6
|
/**
|
|
8
7
|
* Represents a Social Post.
|
|
9
8
|
*/
|
|
10
|
-
class Post
|
|
9
|
+
class Post {
|
|
11
10
|
id = '';
|
|
12
11
|
author = null;
|
|
13
12
|
content = '';
|
|
@@ -19,7 +18,6 @@ class Post extends BaseModel_1.BaseModel {
|
|
|
19
18
|
comments = [];
|
|
20
19
|
likeList = [];
|
|
21
20
|
constructor(data) {
|
|
22
|
-
super();
|
|
23
21
|
Object.assign(this, data);
|
|
24
22
|
}
|
|
25
23
|
/**
|
|
@@ -29,18 +27,18 @@ class Post extends BaseModel_1.BaseModel {
|
|
|
29
27
|
if (!json)
|
|
30
28
|
return new Post({});
|
|
31
29
|
return new Post({
|
|
32
|
-
id: String(json.id || json.
|
|
33
|
-
author: (json.owner || json.author || json.oyuncu || json.oyuncuID
|
|
34
|
-
content: json.
|
|
35
|
-
media: Array.isArray(json.media) ? json.media :
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
30
|
+
id: String(json.id || json.postID || json.paylasimid || json.paylasim_id || json.post_id || json.sosyalid || json.sosyal_id || ''),
|
|
31
|
+
author: (json.owner || json.author || json.oyuncu || json.oyuncuID) ? User_1.User.fromAPI(json.owner || json.author || json.oyuncu || json) : null,
|
|
32
|
+
content: json.content || json.paylasimicerik || json.icerik || json.text || json.paylasimmetin || '',
|
|
33
|
+
media: Array.isArray(json.media) ? json.media :
|
|
34
|
+
(Array.isArray(json.mappedMedia) ? json.mappedMedia.map((m) => m.url) :
|
|
35
|
+
(Array.isArray(json.paylasimfoto) ? json.paylasimfoto.map((f) => f.fotourl || f.url) : [])),
|
|
36
|
+
timestamp: json.date || json.paylasimzaman || json.timestamp || json.tarih || json.created_at || '',
|
|
37
|
+
likeCount: Number(json.likesCount || json.begenisay || 0),
|
|
38
|
+
commentCount: Number(json.commentsCount || json.yorumsay || 0),
|
|
39
|
+
isLiked: json.isLiked === true || json.benbegendim === 1 || false,
|
|
40
|
+
comments: Array.isArray(json.topComments) ? json.topComments.map((c) => Comment_1.Comment.fromAPI(c)) :
|
|
41
|
+
(Array.isArray(json.ilkucyorum) ? json.ilkucyorum.map((c) => Comment_1.Comment.fromAPI(c)) : []),
|
|
44
42
|
likeList: Array.isArray(json.paylasimilkucbegenen) ? json.paylasimilkucbegenen.map((l) => User_1.User.fromAPI(l)) : []
|
|
45
43
|
});
|
|
46
44
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Post.js","sourceRoot":"","sources":["../../../../src/models/social/feed/Post.ts"],"names":[],"mappings":";;;AAAA
|
|
1
|
+
{"version":3,"file":"Post.js","sourceRoot":"","sources":["../../../../src/models/social/feed/Post.ts"],"names":[],"mappings":";;;AAAA,0CAAuC;AACvC,uCAAoC;AAGpC;;GAEG;AACH,MAAa,IAAI;IACf,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;IACzB,QAAQ,GAAW,EAAE,CAAC;IAEtB,YAAY,IAAmB;QAC7B,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,MAAM,IAAI,IAAI,CAAC,UAAU,I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,IAAI,CAAC,UAAU,IAAI,IAAI,CAAC,SAAS,IAAI,CAAC,CAAC;YACzD,YAAY,EAAE,MAAM,CAAC,IAAI,CAAC,aAAa,IAAI,IAAI,CAAC,QAAQ,IAAI,CAAC,CAAC;YAC9D,OAAO,EAAE,IAAI,CAAC,OAAO,KAAK,IAAI,IAAI,IAAI,CAAC,WAAW,KAAK,CAAC,IAAI,KAAK;YACjE,QAAQ,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,iBAAO,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;gBACxF,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,iBAAO,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;YACrG,QAAQ,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,oBAAoB,CAAC,GAAG,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,WAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE;SACrH,CAAC,CAAC;IACL,CAAC;CACF;AAtCD,oBAsCC"}
|
|
@@ -1,17 +1,29 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { User } from '../../auth/User';
|
|
1
|
+
import { StoryAuthor } from './StoryAuthor';
|
|
3
2
|
/**
|
|
4
3
|
* Represents a Social Story in the UI.
|
|
4
|
+
* A Story can have multiple media items from the same author.
|
|
5
5
|
*/
|
|
6
|
-
export declare class Story
|
|
6
|
+
export declare class Story {
|
|
7
7
|
id: string;
|
|
8
|
-
author:
|
|
8
|
+
author: StoryAuthor | null;
|
|
9
9
|
media: string;
|
|
10
|
+
/** All media items for this story group (multiple stories from same author) */
|
|
11
|
+
items: {
|
|
12
|
+
id: string;
|
|
13
|
+
media: string;
|
|
14
|
+
timestamp: string;
|
|
15
|
+
isRead: boolean;
|
|
16
|
+
isLiked?: boolean;
|
|
17
|
+
likeCount?: number;
|
|
18
|
+
viewCount?: number;
|
|
19
|
+
}[];
|
|
10
20
|
timestamp: string;
|
|
11
21
|
isViewed: boolean;
|
|
22
|
+
isRead: boolean;
|
|
12
23
|
constructor(data: Partial<Story>);
|
|
13
24
|
/**
|
|
14
|
-
* Instantiates a Story object from
|
|
25
|
+
* Instantiates a Story object from a Core StoryResponse.
|
|
26
|
+
* Maps the nested items array into a flat Story with all media.
|
|
15
27
|
*/
|
|
16
28
|
static fromAPI(json: Record<string, any>): Story;
|
|
17
29
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Story.d.ts","sourceRoot":"","sources":["../../../../src/models/social/feed/Story.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"Story.d.ts","sourceRoot":"","sources":["../../../../src/models/social/feed/Story.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C;;;GAGG;AACH,qBAAa,KAAK;IAChB,EAAE,EAAE,MAAM,CAAM;IAChB,MAAM,EAAE,WAAW,GAAG,IAAI,CAAQ;IAClC,KAAK,EAAE,MAAM,CAAM;IACnB,+EAA+E;IAC/E,KAAK,EAAE;QACL,EAAE,EAAE,MAAM,CAAC;QACX,KAAK,EAAE,MAAM,CAAC;QACd,SAAS,EAAE,MAAM,CAAC;QAClB,MAAM,EAAE,OAAO,CAAC;QAChB,OAAO,CAAC,EAAE,OAAO,CAAC;QAClB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,SAAS,CAAC,EAAE,MAAM,CAAC;KACpB,EAAE,CAAM;IACT,SAAS,EAAE,MAAM,CAAM;IACvB,QAAQ,EAAE,OAAO,CAAS;IAC1B,MAAM,EAAE,OAAO,CAAS;gBAEZ,IAAI,EAAE,OAAO,CAAC,KAAK,CAAC;IAIhC;;;OAGG;IACH,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,KAAK;CA+BjD"}
|
|
@@ -1,33 +1,52 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Story = void 0;
|
|
4
|
-
const
|
|
5
|
-
const User_1 = require("../../auth/User");
|
|
4
|
+
const StoryAuthor_1 = require("./StoryAuthor");
|
|
6
5
|
/**
|
|
7
6
|
* Represents a Social Story in the UI.
|
|
7
|
+
* A Story can have multiple media items from the same author.
|
|
8
8
|
*/
|
|
9
|
-
class Story
|
|
9
|
+
class Story {
|
|
10
10
|
id = '';
|
|
11
11
|
author = null;
|
|
12
12
|
media = '';
|
|
13
|
+
/** All media items for this story group (multiple stories from same author) */
|
|
14
|
+
items = [];
|
|
13
15
|
timestamp = '';
|
|
14
16
|
isViewed = false;
|
|
17
|
+
isRead = false;
|
|
15
18
|
constructor(data) {
|
|
16
|
-
super();
|
|
17
19
|
Object.assign(this, data);
|
|
18
20
|
}
|
|
19
21
|
/**
|
|
20
|
-
* Instantiates a Story object from
|
|
22
|
+
* Instantiates a Story object from a Core StoryResponse.
|
|
23
|
+
* Maps the nested items array into a flat Story with all media.
|
|
21
24
|
*/
|
|
22
25
|
static fromAPI(json) {
|
|
23
26
|
if (!json)
|
|
24
27
|
return new Story({});
|
|
28
|
+
const isReadStatus = json.isRead === true || json.isSeen === true || false;
|
|
29
|
+
// Core StoryResponse: { authorId, authorName, authorUsername, authorAvatar, items: [...] }
|
|
30
|
+
const coreItems = Array.isArray(json.items) ? json.items : [];
|
|
31
|
+
// Her item'ı basit bir yapıya dönüştür
|
|
32
|
+
const storyItems = coreItems.map((item) => ({
|
|
33
|
+
id: String(item.id || 0),
|
|
34
|
+
media: item.mediaUrl || '',
|
|
35
|
+
timestamp: item.createdAt || '',
|
|
36
|
+
isRead: item.isSeen === true || item.isMe === true || false,
|
|
37
|
+
isLiked: item.isLiked === true || false,
|
|
38
|
+
likeCount: item.likeCount || 0,
|
|
39
|
+
viewCount: item.viewCount || 0
|
|
40
|
+
}));
|
|
41
|
+
const firstItem = coreItems.length > 0 ? coreItems[0] : null;
|
|
25
42
|
return new Story({
|
|
26
|
-
id: String(
|
|
27
|
-
author:
|
|
28
|
-
media:
|
|
29
|
-
|
|
30
|
-
|
|
43
|
+
id: String(firstItem?.id || json.id || ''),
|
|
44
|
+
author: StoryAuthor_1.StoryAuthor.fromAPI(json),
|
|
45
|
+
media: firstItem?.mediaUrl || '',
|
|
46
|
+
items: storyItems,
|
|
47
|
+
timestamp: firstItem?.createdAt || '',
|
|
48
|
+
isViewed: isReadStatus,
|
|
49
|
+
isRead: isReadStatus
|
|
31
50
|
});
|
|
32
51
|
}
|
|
33
52
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Story.js","sourceRoot":"","sources":["../../../../src/models/social/feed/Story.ts"],"names":[],"mappings":";;;AAAA,+CAA4C;
|
|
1
|
+
{"version":3,"file":"Story.js","sourceRoot":"","sources":["../../../../src/models/social/feed/Story.ts"],"names":[],"mappings":";;;AAAA,+CAA4C;AAE5C;;;GAGG;AACH,MAAa,KAAK;IAChB,EAAE,GAAW,EAAE,CAAC;IAChB,MAAM,GAAuB,IAAI,CAAC;IAClC,KAAK,GAAW,EAAE,CAAC;IACnB,+EAA+E;IAC/E,KAAK,GAQC,EAAE,CAAC;IACT,SAAS,GAAW,EAAE,CAAC;IACvB,QAAQ,GAAY,KAAK,CAAC;IAC1B,MAAM,GAAY,KAAK,CAAC;IAExB,YAAY,IAAoB;QAC9B,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IAC5B,CAAC;IAED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C;YACjC,KAAK,EAAE,SAAS,EAAE,QAAQ,IAAI,EAAE;YAChC,KAAK,EAAE,UAAU;YACjB,SAAS,EAAE,SAAS,EAAE,SAAS,IAAI,EAAE;YACrC,QAAQ,EAAE,YAAY;YACtB,MAAM,EAAE,YAAY;SACrB,CAAC,CAAC;IACL,CAAC;CACF;AAzDD,sBAyDC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Minimal user model specifically for Story displays.
|
|
3
|
+
*/
|
|
4
|
+
export declare class StoryAuthor {
|
|
5
|
+
id: number;
|
|
6
|
+
username: string;
|
|
7
|
+
displayName: string;
|
|
8
|
+
avatar: string;
|
|
9
|
+
isMe: boolean;
|
|
10
|
+
constructor(data: Partial<StoryAuthor>);
|
|
11
|
+
static fromAPI(json: Record<string, any>): StoryAuthor;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=StoryAuthor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StoryAuthor.d.ts","sourceRoot":"","sources":["../../../../src/models/social/feed/StoryAuthor.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,qBAAa,WAAW;IACtB,EAAE,EAAE,MAAM,CAAK;IACf,QAAQ,EAAE,MAAM,CAAM;IACtB,WAAW,EAAE,MAAM,CAAM;IACzB,MAAM,EAAE,MAAM,CAAM;IACpB,IAAI,EAAE,OAAO,CAAS;gBAEV,IAAI,EAAE,OAAO,CAAC,WAAW,CAAC;IAItC,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,WAAW;CAWvD"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StoryAuthor = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Minimal user model specifically for Story displays.
|
|
6
|
+
*/
|
|
7
|
+
class StoryAuthor {
|
|
8
|
+
id = 0;
|
|
9
|
+
username = '';
|
|
10
|
+
displayName = '';
|
|
11
|
+
avatar = '';
|
|
12
|
+
isMe = false;
|
|
13
|
+
constructor(data) {
|
|
14
|
+
Object.assign(this, data);
|
|
15
|
+
}
|
|
16
|
+
static fromAPI(json) {
|
|
17
|
+
if (!json)
|
|
18
|
+
return new StoryAuthor({});
|
|
19
|
+
return new StoryAuthor({
|
|
20
|
+
id: Number(json.authorId || json.ownerId || json.oyuncu_ID || 0),
|
|
21
|
+
username: json.authorUsername || json.oyuncuadi || json.kullaniciadi || json.username || '',
|
|
22
|
+
displayName: json.authorName || json.oyuncuadi || json.adsoyad || json.displayname || json.username || '',
|
|
23
|
+
avatar: json.authorAvatar || json.oyuncuavatar || json.avatar || json.oyuncu_avatar || '',
|
|
24
|
+
isMe: json.isMe === true || json.hikayeben === 1 || false
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
exports.StoryAuthor = StoryAuthor;
|
|
29
|
+
//# sourceMappingURL=StoryAuthor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StoryAuthor.js","sourceRoot":"","sources":["../../../../src/models/social/feed/StoryAuthor.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,MAAa,WAAW;IACtB,EAAE,GAAW,CAAC,CAAC;IACf,QAAQ,GAAW,EAAE,CAAC;IACtB,WAAW,GAAW,EAAE,CAAC;IACzB,MAAM,GAAW,EAAE,CAAC;IACpB,IAAI,GAAY,KAAK,CAAC;IAEtB,YAAY,IAA0B;QACpC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IAC5B,CAAC;IAED,MAAM,CAAC,OAAO,CAAC,IAAyB;QACtC,IAAI,CAAC,IAAI;YAAE,OAAO,IAAI,WAAW,CAAC,EAAE,CAAC,CAAC;QAEtC,OAAO,IAAI,WAAW,CAAC;YACrB,EAAE,EAAE,MAAM,CAAC,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,SAAS,IAAI,CAAC,CAAC;YAChE,QAAQ,EAAE,IAAI,CAAC,cAAc,IAAI,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC,YAAY,IAAI,IAAI,CAAC,QAAQ,IAAI,EAAE;YAC3F,WAAW,EAAE,IAAI,CAAC,UAAU,IAAI,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,WAAW,IAAI,IAAI,CAAC,QAAQ,IAAI,EAAE;YACzG,MAAM,EAAE,IAAI,CAAC,YAAY,IAAI,IAAI,CAAC,YAAY,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,aAAa,IAAI,EAAE;YACzF,IAAI,EAAE,IAAI,CAAC,IAAI,KAAK,IAAI,IAAI,IAAI,CAAC,SAAS,KAAK,CAAC,IAAI,KAAK;SAC1D,CAAC,CAAC;IACL,CAAC;CACF;AAtBD,kCAsBC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Game.d.ts","sourceRoot":"","sources":["../../../../src/models/social/gaming/Game.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"Game.d.ts","sourceRoot":"","sources":["../../../../src/models/social/gaming/Game.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,qBAAa,IAAI;IACf,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;IACtB,IAAI,EAAE,MAAM,CAAM;IAClB,IAAI,EAAE;QACJ,IAAI,EAAE,MAAM,CAAC;QACb,SAAS,EAAE,MAAM,CAAC;QAClB,IAAI,EAAE,MAAM,CAAC;QACb,KAAK,EAAE,MAAM,CAAC;KACf,GAAG,IAAI,CAAQ;gBAEJ,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC;IAI/B;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI;CAwBhD"}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Game = void 0;
|
|
4
|
-
const BaseModel_1 = require("../../BaseModel");
|
|
5
4
|
/**
|
|
6
5
|
* Represents a Game in the ARMOYU platform in the UI.
|
|
7
6
|
*/
|
|
8
|
-
class Game
|
|
7
|
+
class Game {
|
|
9
8
|
id = '';
|
|
10
9
|
title = '';
|
|
11
10
|
shortName = '';
|
|
@@ -17,7 +16,6 @@ class Game extends BaseModel_1.BaseModel {
|
|
|
17
16
|
role = '';
|
|
18
17
|
clan = null;
|
|
19
18
|
constructor(data) {
|
|
20
|
-
super();
|
|
21
19
|
Object.assign(this, data);
|
|
22
20
|
}
|
|
23
21
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Game.js","sourceRoot":"","sources":["../../../../src/models/social/gaming/Game.ts"],"names":[],"mappings":";;;AAAA
|
|
1
|
+
{"version":3,"file":"Game.js","sourceRoot":"","sources":["../../../../src/models/social/gaming/Game.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,MAAa,IAAI;IACf,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;IACtB,IAAI,GAAW,EAAE,CAAC;IAClB,IAAI,GAKO,IAAI,CAAC;IA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Q,CAAC,GAAG,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC,QAAQ;YACnH,MAAM,EAAE,OAAO,UAAU,KAAK,QAAQ,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,YAAY,IAAI,UAAU,CAAC,SAAS,IAAI,UAAU,CAAC,GAAG,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC,UAAU;YAC/H,WAAW,EAAE,IAAI,CAAC,WAAW,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,aAAa,IAAI,EAAE;YAC1E,MAAM,EAAE,MAAM,CAAC,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC,UAAU,IAAI,CAAC,CAAC;YAClF,QAAQ,EAAE,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,GAAG,IAAI,IAAI,CAAC,QAAQ,IAAI,EAAE;YAC1D,IAAI,EAAE,IAAI,CAAC,SAAS,EAAE,SAAS,IAAI,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC,UAAU,IAAI,EAAE;YAC1E,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC;gBACrB,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,SAAS,IAAI,EAAE;gBACpC,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC,cAAc,IAAI,EAAE;gBAC9C,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,SAAS,EAAE,SAAS,IAAI,EAAE;gBAC/C,KAAK,EAAE,IAAI,CAAC,SAAS,CAAC,UAAU,IAAI,EAAE;aACvC,CAAC,CAAC,CAAC,IAAI;SACT,CAAC,CAAC;IACL,CAAC;CACF;AAhDD,oBAgDC"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { BaseModel } from '../../BaseModel';
|
|
2
1
|
import { NotificationType, NotificationPriority, NotificationStatus } from './NotificationEnums';
|
|
3
2
|
import { NotificationSender } from './NotificationSender';
|
|
4
3
|
/**
|
|
5
4
|
* Represents a System or User Notification in the UI.
|
|
6
5
|
*/
|
|
7
|
-
export declare class Notification
|
|
6
|
+
export declare class Notification {
|
|
8
7
|
id: string;
|
|
9
8
|
type: NotificationType;
|
|
10
9
|
priority: NotificationPriority;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Notification.d.ts","sourceRoot":"","sources":["../../../../src/models/social/notification/Notification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"Notification.d.ts","sourceRoot":"","sources":["../../../../src/models/social/notification/Notification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AACjG,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D;;GAEG;AACH,qBAAa,YAAY;IACvB,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;IAIvC;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,YAAY;CA2CxD"}
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Notification = void 0;
|
|
4
|
-
const BaseModel_1 = require("../../BaseModel");
|
|
5
4
|
const NotificationEnums_1 = require("./NotificationEnums");
|
|
6
5
|
const NotificationSender_1 = require("./NotificationSender");
|
|
7
6
|
/**
|
|
8
7
|
* Represents a System or User Notification in the UI.
|
|
9
8
|
*/
|
|
10
|
-
class Notification
|
|
9
|
+
class Notification {
|
|
11
10
|
id = '';
|
|
12
11
|
type = NotificationEnums_1.NotificationType.SYSTEM;
|
|
13
12
|
priority = NotificationEnums_1.NotificationPriority.MEDIUM;
|
|
@@ -19,7 +18,6 @@ class Notification extends BaseModel_1.BaseModel {
|
|
|
19
18
|
createdAt = '';
|
|
20
19
|
metaData = {};
|
|
21
20
|
constructor(data) {
|
|
22
|
-
super();
|
|
23
21
|
Object.assign(this, data);
|
|
24
22
|
}
|
|
25
23
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Notification.js","sourceRoot":"","sources":["../../../../src/models/social/notification/Notification.ts"],"names":[],"mappings":";;;AAAA
|
|
1
|
+
{"version":3,"file":"Notification.js","sourceRoot":"","sources":["../../../../src/models/social/notification/Notification.ts"],"names":[],"mappings":";;;AAAA,2DAAiG;AACjG,6DAA0D;AAE1D;;GAEG;AACH,MAAa,YAAY;IACvB,EAAE,GAAW,EAAE,CAAC;IAChB,IAAI,GAAqB,oCAAgB,CAAC,MAAM,CAAC;IACjD,QAAQ,GAAyB,wCAAoB,CAAC,MAAM,CAAC;IAC7D,MAAM,GAAuB,sCAAkB,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,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IAC5B,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,IAAyB;Q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seModel } from '../../BaseModel';
|
|
2
1
|
/**
|
|
3
2
|
* Represents the entity that sent a notification in the UI.
|
|
4
3
|
*/
|
|
5
|
-
export declare class NotificationSender
|
|
4
|
+
export declare class NotificationSender {
|
|
6
5
|
id: string;
|
|
7
6
|
name: string;
|
|
8
7
|
avatar: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NotificationSender.d.ts","sourceRoot":"","sources":["../../../../src/models/social/notification/NotificationSender.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"NotificationSender.d.ts","sourceRoot":"","sources":["../../../../src/models/social/notification/NotificationSender.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,qBAAa,kBAAkB;IAC7B,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;IAI7C;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,kBAAkB;CAW9D"}
|
|
@@ -1,18 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.NotificationSender = void 0;
|
|
4
|
-
const BaseModel_1 = require("../../BaseModel");
|
|
5
4
|
/**
|
|
6
5
|
* Represents the entity that sent a notification in the UI.
|
|
7
6
|
*/
|
|
8
|
-
class NotificationSender
|
|
7
|
+
class NotificationSender {
|
|
9
8
|
id = '';
|
|
10
9
|
name = '';
|
|
11
10
|
avatar = '';
|
|
12
11
|
type = 'SYSTEM';
|
|
13
12
|
url;
|
|
14
13
|
constructor(data) {
|
|
15
|
-
super();
|
|
16
14
|
Object.assign(this, data);
|
|
17
15
|
}
|
|
18
16
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NotificationSender.js","sourceRoot":"","sources":["../../../../src/models/social/notification/NotificationSender.ts"],"names":[],"mappings":";;;AAAA
|
|
1
|
+
{"version":3,"file":"NotificationSender.js","sourceRoot":"","sources":["../../../../src/models/social/notification/NotificationSender.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,MAAa,kBAAkB;IAC7B,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,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;AAzBD,gDAyBC"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { BaseModel } from '../../BaseModel';
|
|
2
1
|
import { PollOption } from './PollOption';
|
|
3
2
|
/**
|
|
4
3
|
* Represents a Social Poll in the UI.
|
|
5
4
|
*/
|
|
6
|
-
export declare class Poll
|
|
5
|
+
export declare class Poll {
|
|
7
6
|
id: string;
|
|
8
7
|
question: string;
|
|
9
8
|
options: PollOption[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Poll.d.ts","sourceRoot":"","sources":["../../../../src/models/social/poll/Poll.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"Poll.d.ts","sourceRoot":"","sources":["../../../../src/models/social/poll/Poll.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C;;GAEG;AACH,qBAAa,IAAI;IACf,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;IAI/B;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI;CAYhD"}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Poll = void 0;
|
|
4
|
-
const BaseModel_1 = require("../../BaseModel");
|
|
5
4
|
const PollOption_1 = require("./PollOption");
|
|
6
5
|
/**
|
|
7
6
|
* Represents a Social Poll in the UI.
|
|
8
7
|
*/
|
|
9
|
-
class Poll
|
|
8
|
+
class Poll {
|
|
10
9
|
id = '';
|
|
11
10
|
question = '';
|
|
12
11
|
options = [];
|
|
@@ -15,7 +14,6 @@ class Poll extends BaseModel_1.BaseModel {
|
|
|
15
14
|
isClosed = false;
|
|
16
15
|
allowMultiple = false;
|
|
17
16
|
constructor(data) {
|
|
18
|
-
super();
|
|
19
17
|
Object.assign(this, data);
|
|
20
18
|
}
|
|
21
19
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Poll.js","sourceRoot":"","sources":["../../../../src/models/social/poll/Poll.ts"],"names":[],"mappings":";;;AAAA
|
|
1
|
+
{"version":3,"file":"Poll.js","sourceRoot":"","sources":["../../../../src/models/social/poll/Poll.ts"],"names":[],"mappings":";;;AAAA,6CAA0C;AAE1C;;GAEG;AACH,MAAa,IAAI;IACf,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,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,uBAAU,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;AA5BD,oBA4BC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PollOption.d.ts","sourceRoot":"","sources":["../../../../src/models/social/poll/PollOption.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"PollOption.d.ts","sourceRoot":"","sources":["../../../../src/models/social/poll/PollOption.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,qBAAa,UAAU;IACrB,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;IAIrC;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,UAAU;CAStD"}
|
|
@@ -1,17 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PollOption = void 0;
|
|
4
|
-
const BaseModel_1 = require("../../BaseModel");
|
|
5
4
|
/**
|
|
6
5
|
* Represents an option in a Poll in the UI.
|
|
7
6
|
*/
|
|
8
|
-
class PollOption
|
|
7
|
+
class PollOption {
|
|
9
8
|
id = '';
|
|
10
9
|
text = '';
|
|
11
10
|
votes = 0;
|
|
12
11
|
isVoted = false;
|
|
13
12
|
constructor(data) {
|
|
14
|
-
super();
|
|
15
13
|
Object.assign(this, data);
|
|
16
14
|
}
|
|
17
15
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PollOption.js","sourceRoot":"","sources":["../../../../src/models/social/poll/PollOption.ts"],"names":[],"mappings":";;;AAAA
|
|
1
|
+
{"version":3,"file":"PollOption.js","sourceRoot":"","sources":["../../../../src/models/social/poll/PollOption.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,MAAa,UAAU;IACrB,EAAE,GAAW,EAAE,CAAC;IAChB,IAAI,GAAW,EAAE,CAAC;IAClB,KAAK,GAAW,CAAC,CAAC;IAClB,OAAO,GAAY,KAAK,CAAC;IAEzB,YAAY,IAAyB;QACnC,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;AAtBD,gCAsBC"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { BaseModel } from '../../BaseModel';
|
|
2
1
|
import { SearchType } from './SearchEnums';
|
|
3
2
|
/**
|
|
4
3
|
* Represents a Global Search Result in the UI.
|
|
5
4
|
*/
|
|
6
|
-
export declare class SearchResult
|
|
5
|
+
export declare class SearchResult {
|
|
7
6
|
id: string;
|
|
8
7
|
type: SearchType;
|
|
9
8
|
title: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchResult.d.ts","sourceRoot":"","sources":["../../../../src/models/social/search/SearchResult.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"SearchResult.d.ts","sourceRoot":"","sources":["../../../../src/models/social/search/SearchResult.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C;;GAEG;AACH,qBAAa,YAAY;IACvB,EAAE,EAAE,MAAM,CAAM;IAChB,IAAI,EAAE,UAAU,CAAmB;IACnC,KAAK,EAAE,MAAM,CAAM;IACnB,QAAQ,EAAE,MAAM,CAAM;IACtB,QAAQ,EAAE,MAAM,CAAM;IACtB,MAAM,EAAE,MAAM,CAAM;IACpB,GAAG,EAAE,MAAM,CAAM;gBAEL,IAAI,EAAE,OAAO,CAAC,YAAY,CAAC;IAIvC;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,YAAY;IA4CvD,QAAQ,IAAI,OAAO;IAInB,MAAM,IAAI,OAAO;CAGlB"}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SearchResult = void 0;
|
|
4
|
-
const BaseModel_1 = require("../../BaseModel");
|
|
5
4
|
const SearchEnums_1 = require("./SearchEnums");
|
|
6
5
|
/**
|
|
7
6
|
* Represents a Global Search Result in the UI.
|
|
8
7
|
*/
|
|
9
|
-
class SearchResult
|
|
8
|
+
class SearchResult {
|
|
10
9
|
id = '';
|
|
11
10
|
type = SearchEnums_1.SearchType.USER;
|
|
12
11
|
title = '';
|
|
@@ -15,7 +14,6 @@ class SearchResult extends BaseModel_1.BaseModel {
|
|
|
15
14
|
avatar = '';
|
|
16
15
|
url = '';
|
|
17
16
|
constructor(data) {
|
|
18
|
-
super();
|
|
19
17
|
Object.assign(this, data);
|
|
20
18
|
}
|
|
21
19
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchResult.js","sourceRoot":"","sources":["../../../../src/models/social/search/SearchResult.ts"],"names":[],"mappings":";;;AAAA,+
|
|
1
|
+
{"version":3,"file":"SearchResult.js","sourceRoot":"","sources":["../../../../src/models/social/search/SearchResult.ts"],"names":[],"mappings":";;;AAAA,+CAA2C;AAE3C;;GAEG;AACH,MAAa,YAAY;IACvB,EAAE,GAAW,EAAE,CAAC;IAChB,IAAI,GAAe,wBAAU,CAAC,IAAI,CAAC;IACnC,KAAK,GAAW,EAAE,CAAC;IACnB,QAAQ,GAAW,EAAE,CAAC;IACtB,QAAQ,GAAW,EAAE,CAAC;IACtB,MAAM,GAAW,EAAE,CAAC;IACpB,GAAG,GAAW,EAAE,CAAC;IAEjB,YAAY,IAA2B;QACrC,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,OAAO,GAAG,MAAM,CAAC,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,GAAG,IAAI,IAAI,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC,WAAW,EAAE,CAAC;QAChG,IAAI,IAAI,GAAG,wBAAU,CAAC,IAAI,CAAC;QAE3B,IAAI,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE,CAAC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declare class LeaderboardEntry
|
|
5
|
+
export declare class LeaderboardEntry {
|
|
7
6
|
user: User | null;
|
|
8
7
|
score: number;
|
|
9
8
|
rank: number;
|
|
@@ -16,7 +15,7 @@ export declare class LeaderboardEntry extends BaseModel {
|
|
|
16
15
|
/**
|
|
17
16
|
* Represents a Leaderboard in the UI.
|
|
18
17
|
*/
|
|
19
|
-
export declare class Leaderboard
|
|
18
|
+
export declare class Leaderboard {
|
|
20
19
|
id: string;
|
|
21
20
|
title: string;
|
|
22
21
|
entries: LeaderboardEntry[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Leaderboard.d.ts","sourceRoot":"","sources":["../../../../src/models/social/stats/Leaderboard.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"Leaderboard.d.ts","sourceRoot":"","sources":["../../../../src/models/social/stats/Leaderboard.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAEvC;;GAEG;AACH,qBAAa,gBAAgB;IAC3B,IAAI,EAAE,IAAI,GAAG,IAAI,CAAQ;IACzB,KAAK,EAAE,MAAM,CAAK;IAClB,IAAI,EAAE,MAAM,CAAK;gBAEL,IAAI,EAAE,OAAO,CAAC,gBAAgB,CAAC;IAI3C;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,gBAAgB;CAQ5D;AAED;;GAEG;AACH,qBAAa,WAAW;IACtB,EAAE,EAAE,MAAM,CAAM;IAChB,KAAK,EAAE,MAAM,CAAM;IACnB,OAAO,EAAE,gBAAgB,EAAE,CAAM;IACjC,WAAW,EAAE,MAAM,CAAM;gBAEb,IAAI,EAAE,OAAO,CAAC,WAAW,CAAC;IAItC;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,WAAW;CASvD"}
|