@armoyu/ui 1.1.5 → 1.1.8
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.js +21 -18
- package/dist/app/Providers.js.map +1 -1
- package/dist/app/api/proxy/[...path]/route.js +17 -10
- package/dist/app/api/proxy/[...path]/route.js.map +1 -1
- package/dist/app/gruplar/[groupId]/page.js +9 -6
- package/dist/app/gruplar/[groupId]/page.js.map +1 -1
- package/dist/app/layout.js +19 -12
- package/dist/app/layout.js.map +1 -1
- package/dist/app/not-found.js +8 -5
- package/dist/app/not-found.js.map +1 -1
- package/dist/app/page.d.ts.map +1 -1
- package/dist/app/page.js +33 -28
- package/dist/app/page.js.map +1 -1
- package/dist/components/Button.js +40 -4
- package/dist/components/Button.js.map +1 -1
- package/dist/components/GenderStatsBar.js +6 -3
- package/dist/components/GenderStatsBar.js.map +1 -1
- package/dist/components/RollingNumber.js +13 -10
- package/dist/components/RollingNumber.js.map +1 -1
- package/dist/components/Slider.js +14 -11
- package/dist/components/Slider.js.map +1 -1
- package/dist/components/StatsGrid.js +6 -3
- package/dist/components/StatsGrid.js.map +1 -1
- package/dist/components/ViewModeToggle.js +8 -5
- package/dist/components/ViewModeToggle.js.map +1 -1
- package/dist/components/modules/auth/widgets/AuthJoinCard.d.ts +2 -0
- package/dist/components/modules/auth/widgets/AuthJoinCard.d.ts.map +1 -0
- package/dist/components/modules/auth/widgets/AuthJoinCard.js +19 -0
- package/dist/components/modules/auth/widgets/AuthJoinCard.js.map +1 -0
- package/dist/components/modules/auth/widgets/LoginWidget.d.ts +9 -0
- package/dist/components/modules/auth/widgets/LoginWidget.d.ts.map +1 -0
- package/dist/components/modules/auth/widgets/LoginWidget.js +56 -0
- package/dist/components/modules/auth/widgets/LoginWidget.js.map +1 -0
- package/dist/components/modules/auth/widgets/RegisterWidget.d.ts +8 -0
- package/dist/components/modules/auth/widgets/RegisterWidget.d.ts.map +1 -0
- package/dist/components/modules/auth/widgets/RegisterWidget.js +57 -0
- package/dist/components/modules/auth/widgets/RegisterWidget.js.map +1 -0
- package/dist/components/modules/chat/ChatLayout.d.ts.map +1 -1
- package/dist/components/modules/chat/ChatLayout.js +76 -42
- package/dist/components/modules/chat/ChatLayout.js.map +1 -1
- package/dist/components/modules/chat/widgets/ChatInput.js +11 -8
- package/dist/components/modules/chat/widgets/ChatInput.js.map +1 -1
- package/dist/components/modules/chat/widgets/ChatList.d.ts +1 -1
- package/dist/components/modules/chat/widgets/ChatList.d.ts.map +1 -1
- package/dist/components/modules/chat/widgets/ChatList.js +21 -18
- package/dist/components/modules/chat/widgets/ChatList.js.map +1 -1
- package/dist/components/modules/chat/widgets/ChatMessage.d.ts.map +1 -1
- package/dist/components/modules/chat/widgets/ChatMessage.js +31 -4
- package/dist/components/modules/chat/widgets/ChatMessage.js.map +1 -1
- package/dist/components/modules/chat/widgets/ChatNotes.js +11 -8
- package/dist/components/modules/chat/widgets/ChatNotes.js.map +1 -1
- package/dist/components/modules/community/CommunityLayout.d.ts.map +1 -1
- package/dist/components/modules/community/CommunityLayout.js +48 -46
- package/dist/components/modules/community/CommunityLayout.js.map +1 -1
- package/dist/components/modules/community/widgets/GroupAboutCard.js +7 -4
- package/dist/components/modules/community/widgets/GroupAboutCard.js.map +1 -1
- package/dist/components/modules/community/widgets/GroupFeedSection.js +8 -5
- package/dist/components/modules/community/widgets/GroupFeedSection.js.map +1 -1
- package/dist/components/modules/community/widgets/GroupHeader.js +10 -7
- package/dist/components/modules/community/widgets/GroupHeader.js.map +1 -1
- package/dist/components/modules/community/widgets/GroupMenu.d.ts +2 -2
- package/dist/components/modules/community/widgets/GroupMenu.d.ts.map +1 -1
- package/dist/components/modules/community/widgets/GroupMenu.js +10 -4
- package/dist/components/modules/community/widgets/GroupMenu.js.map +1 -1
- package/dist/components/modules/community/widgets/GroupPermissions.js +7 -4
- package/dist/components/modules/community/widgets/GroupPermissions.js.map +1 -1
- package/dist/components/modules/community/widgets/GroupStatsGrid.js +11 -8
- package/dist/components/modules/community/widgets/GroupStatsGrid.js.map +1 -1
- package/dist/components/modules/community/widgets/GroupTopMembers.js +11 -5
- package/dist/components/modules/community/widgets/GroupTopMembers.js.map +1 -1
- package/dist/components/modules/community/widgets/SchoolCard.d.ts +1 -1
- package/dist/components/modules/community/widgets/SchoolCard.d.ts.map +1 -1
- package/dist/components/modules/community/widgets/SchoolCard.js +11 -5
- package/dist/components/modules/community/widgets/SchoolCard.js.map +1 -1
- package/dist/components/modules/community/widgets/SurveyCard.d.ts +1 -1
- package/dist/components/modules/community/widgets/SurveyCard.d.ts.map +1 -1
- package/dist/components/modules/community/widgets/SurveyCard.js +13 -10
- package/dist/components/modules/community/widgets/SurveyCard.js.map +1 -1
- package/dist/components/modules/events/DetailPage.js +23 -19
- package/dist/components/modules/events/DetailPage.js.map +1 -1
- package/dist/components/modules/events/EventsLayout.js +6 -3
- package/dist/components/modules/events/EventsLayout.js.map +1 -1
- package/dist/components/modules/events/EventsPage.d.ts +1 -1
- package/dist/components/modules/events/EventsPage.d.ts.map +1 -1
- package/dist/components/modules/events/EventsPage.js +30 -26
- package/dist/components/modules/events/EventsPage.js.map +1 -1
- package/dist/components/modules/events/index.js +15 -6
- package/dist/components/modules/events/index.js.map +1 -1
- package/dist/components/modules/events/widgets/EventCard.d.ts +2 -2
- package/dist/components/modules/events/widgets/EventCard.d.ts.map +1 -1
- package/dist/components/modules/events/widgets/EventCard.js +11 -5
- package/dist/components/modules/events/widgets/EventCard.js.map +1 -1
- package/dist/components/modules/events/widgets/EventFormModal.js +7 -4
- package/dist/components/modules/events/widgets/EventFormModal.js.map +1 -1
- package/dist/components/modules/events/widgets/EventList.js +12 -9
- package/dist/components/modules/events/widgets/EventList.js.map +1 -1
- package/dist/components/modules/forum/widgets/ForumBoard.js +10 -4
- package/dist/components/modules/forum/widgets/ForumBoard.js.map +1 -1
- package/dist/components/modules/forum/widgets/ForumCategoryList.js +7 -4
- package/dist/components/modules/forum/widgets/ForumCategoryList.js.map +1 -1
- package/dist/components/modules/forum/widgets/ForumHeaderWidget.js +6 -3
- package/dist/components/modules/forum/widgets/ForumHeaderWidget.js.map +1 -1
- package/dist/components/modules/forum/widgets/ForumPost.js +6 -3
- package/dist/components/modules/forum/widgets/ForumPost.js.map +1 -1
- package/dist/components/modules/forum/widgets/ForumSidebar.js +6 -3
- package/dist/components/modules/forum/widgets/ForumSidebar.js.map +1 -1
- package/dist/components/modules/forum/widgets/NewTopicModal.js +8 -5
- package/dist/components/modules/forum/widgets/NewTopicModal.js.map +1 -1
- package/dist/components/modules/forum/widgets/TopicItem.js +10 -4
- package/dist/components/modules/forum/widgets/TopicItem.js.map +1 -1
- package/dist/components/modules/galleries/widgets/GalleryCard.js +6 -3
- package/dist/components/modules/galleries/widgets/GalleryCard.js.map +1 -1
- package/dist/components/modules/galleries/widgets/GalleryFilterBar.js +6 -3
- package/dist/components/modules/galleries/widgets/GalleryFilterBar.js.map +1 -1
- package/dist/components/modules/galleries/widgets/GalleryHeaderWidget.js +6 -3
- package/dist/components/modules/galleries/widgets/GalleryHeaderWidget.js.map +1 -1
- package/dist/components/modules/galleries/widgets/GalleryMasonryGrid.js +6 -3
- package/dist/components/modules/galleries/widgets/GalleryMasonryGrid.js.map +1 -1
- package/dist/components/modules/giveaways/widgets/GiveawayCard.js +6 -3
- package/dist/components/modules/giveaways/widgets/GiveawayCard.js.map +1 -1
- package/dist/components/modules/groups/widgets/ApplicationModal.js +8 -5
- package/dist/components/modules/groups/widgets/ApplicationModal.js.map +1 -1
- package/dist/components/modules/groups/widgets/GroupCard.js +10 -4
- package/dist/components/modules/groups/widgets/GroupCard.js.map +1 -1
- package/dist/components/modules/guest/widgets/Introduction.js +12 -9
- package/dist/components/modules/guest/widgets/Introduction.js.map +1 -1
- package/dist/components/modules/news/widgets/NewsCard.d.ts +1 -1
- package/dist/components/modules/news/widgets/NewsCard.d.ts.map +1 -1
- package/dist/components/modules/news/widgets/NewsCard.js +10 -4
- package/dist/components/modules/news/widgets/NewsCard.js.map +1 -1
- package/dist/components/modules/news/widgets/NewsComments.js +6 -3
- package/dist/components/modules/news/widgets/NewsComments.js.map +1 -1
- package/dist/components/modules/posts/widgets/MediaLightbox.js +15 -12
- package/dist/components/modules/posts/widgets/MediaLightbox.js.map +1 -1
- package/dist/components/modules/posts/widgets/PostCard.d.ts +4 -2
- package/dist/components/modules/posts/widgets/PostCard.d.ts.map +1 -1
- package/dist/components/modules/posts/widgets/PostCard.js +155 -55
- package/dist/components/modules/posts/widgets/PostCard.js.map +1 -1
- package/dist/components/modules/posts/widgets/PostInteractionsModal.d.ts +5 -2
- package/dist/components/modules/posts/widgets/PostInteractionsModal.d.ts.map +1 -1
- package/dist/components/modules/posts/widgets/PostInteractionsModal.js +13 -7
- package/dist/components/modules/posts/widgets/PostInteractionsModal.js.map +1 -1
- package/dist/components/modules/posts/widgets/RepostModal.d.ts +1 -1
- package/dist/components/modules/posts/widgets/RepostModal.d.ts.map +1 -1
- package/dist/components/modules/posts/widgets/RepostModal.js +14 -11
- package/dist/components/modules/posts/widgets/RepostModal.js.map +1 -1
- package/dist/components/modules/posts/widgets/SocialFeed.d.ts +3 -2
- package/dist/components/modules/posts/widgets/SocialFeed.d.ts.map +1 -1
- package/dist/components/modules/posts/widgets/SocialFeed.js +28 -25
- package/dist/components/modules/posts/widgets/SocialFeed.js.map +1 -1
- package/dist/components/modules/posts/widgets/Stories.js +14 -11
- package/dist/components/modules/posts/widgets/Stories.js.map +1 -1
- package/dist/components/modules/posts/widgets/StoryViewer.d.ts +1 -1
- package/dist/components/modules/posts/widgets/StoryViewer.d.ts.map +1 -1
- package/dist/components/modules/posts/widgets/StoryViewer.js +15 -12
- package/dist/components/modules/posts/widgets/StoryViewer.js.map +1 -1
- package/dist/components/modules/posts/widgets/reels/ReelCard.d.ts +1 -1
- package/dist/components/modules/posts/widgets/reels/ReelCard.d.ts.map +1 -1
- package/dist/components/modules/posts/widgets/reels/ReelCard.js +16 -13
- package/dist/components/modules/posts/widgets/reels/ReelCard.js.map +1 -1
- package/dist/components/modules/posts/widgets/reels/ReelsContainer.d.ts +2 -3
- package/dist/components/modules/posts/widgets/reels/ReelsContainer.d.ts.map +1 -1
- package/dist/components/modules/posts/widgets/reels/ReelsContainer.js +17 -19
- package/dist/components/modules/posts/widgets/reels/ReelsContainer.js.map +1 -1
- package/dist/components/modules/profile/ProfileLayout.js +25 -22
- package/dist/components/modules/profile/ProfileLayout.js.map +1 -1
- package/dist/components/modules/profile/tabs/AboutTab.d.ts +1 -1
- package/dist/components/modules/profile/tabs/AboutTab.d.ts.map +1 -1
- package/dist/components/modules/profile/tabs/AboutTab.js +9 -6
- package/dist/components/modules/profile/tabs/AboutTab.js.map +1 -1
- package/dist/components/modules/profile/tabs/CareerTab.d.ts +1 -1
- package/dist/components/modules/profile/tabs/CareerTab.d.ts.map +1 -1
- package/dist/components/modules/profile/tabs/CareerTab.js +13 -10
- package/dist/components/modules/profile/tabs/CareerTab.js.map +1 -1
- package/dist/components/modules/profile/tabs/FriendsTab.d.ts +2 -1
- package/dist/components/modules/profile/tabs/FriendsTab.d.ts.map +1 -1
- package/dist/components/modules/profile/tabs/FriendsTab.js +7 -4
- package/dist/components/modules/profile/tabs/FriendsTab.js.map +1 -1
- package/dist/components/modules/profile/tabs/GamesTab.d.ts +1 -1
- package/dist/components/modules/profile/tabs/GamesTab.d.ts.map +1 -1
- package/dist/components/modules/profile/tabs/GamesTab.js +7 -4
- package/dist/components/modules/profile/tabs/GamesTab.js.map +1 -1
- package/dist/components/modules/profile/tabs/GroupsTab.d.ts +2 -1
- package/dist/components/modules/profile/tabs/GroupsTab.d.ts.map +1 -1
- package/dist/components/modules/profile/tabs/GroupsTab.js +11 -5
- package/dist/components/modules/profile/tabs/GroupsTab.js.map +1 -1
- package/dist/components/modules/profile/tabs/MediaTab.d.ts +7 -0
- package/dist/components/modules/profile/tabs/MediaTab.d.ts.map +1 -0
- package/dist/components/modules/profile/tabs/MediaTab.js +76 -0
- package/dist/components/modules/profile/tabs/MediaTab.js.map +1 -0
- package/dist/components/modules/profile/tabs/PostsTab.d.ts +1 -1
- package/dist/components/modules/profile/tabs/PostsTab.d.ts.map +1 -1
- package/dist/components/modules/profile/tabs/PostsTab.js +48 -12
- package/dist/components/modules/profile/tabs/PostsTab.js.map +1 -1
- package/dist/components/modules/profile/widgets/CloudStorageModal.js +14 -11
- package/dist/components/modules/profile/widgets/CloudStorageModal.js.map +1 -1
- package/dist/components/modules/profile/widgets/EditProfileModal.js +12 -9
- package/dist/components/modules/profile/widgets/EditProfileModal.js.map +1 -1
- package/dist/components/modules/profile/widgets/ProfileBadgesWidget.js +6 -3
- package/dist/components/modules/profile/widgets/ProfileBadgesWidget.js.map +1 -1
- package/dist/components/modules/profile/widgets/ProfileCloudWidget.js +6 -3
- package/dist/components/modules/profile/widgets/ProfileCloudWidget.js.map +1 -1
- package/dist/components/modules/profile/widgets/ProfileFriendsWidget.js +7 -4
- package/dist/components/modules/profile/widgets/ProfileFriendsWidget.js.map +1 -1
- package/dist/components/modules/profile/widgets/ProfileHeader.d.ts.map +1 -1
- package/dist/components/modules/profile/widgets/ProfileHeader.js +15 -9
- package/dist/components/modules/profile/widgets/ProfileHeader.js.map +1 -1
- package/dist/components/modules/profile/widgets/ProfileSidebar.d.ts +1 -1
- package/dist/components/modules/profile/widgets/ProfileSidebar.d.ts.map +1 -1
- package/dist/components/modules/profile/widgets/ProfileSidebar.js +9 -6
- package/dist/components/modules/profile/widgets/ProfileSidebar.js.map +1 -1
- package/dist/components/modules/profile/widgets/ProfileStats.d.ts +1 -1
- package/dist/components/modules/profile/widgets/ProfileStats.d.ts.map +1 -1
- package/dist/components/modules/profile/widgets/ProfileStats.js +25 -13
- package/dist/components/modules/profile/widgets/ProfileStats.js.map +1 -1
- package/dist/components/modules/profile/widgets/ProfileTabsArea.d.ts +1 -1
- package/dist/components/modules/profile/widgets/ProfileTabsArea.d.ts.map +1 -1
- package/dist/components/modules/profile/widgets/ProfileTabsArea.js +26 -22
- package/dist/components/modules/profile/widgets/ProfileTabsArea.js.map +1 -1
- package/dist/components/modules/profile/widgets/TeamSelectorModal.d.ts +1 -1
- package/dist/components/modules/profile/widgets/TeamSelectorModal.d.ts.map +1 -1
- package/dist/components/modules/profile/widgets/TeamSelectorModal.js +14 -10
- package/dist/components/modules/profile/widgets/TeamSelectorModal.js.map +1 -1
- package/dist/components/modules/shop/DetailLayout.js +14 -11
- package/dist/components/modules/shop/DetailLayout.js.map +1 -1
- package/dist/components/modules/shop/StoreLayout.js +6 -3
- package/dist/components/modules/shop/StoreLayout.js.map +1 -1
- package/dist/components/modules/shop/widgets/BackToStore.js +14 -8
- package/dist/components/modules/shop/widgets/BackToStore.js.map +1 -1
- package/dist/components/modules/shop/widgets/CategoryWidget.js +16 -13
- package/dist/components/modules/shop/widgets/CategoryWidget.js.map +1 -1
- package/dist/components/modules/shop/widgets/ProductCard.d.ts +1 -1
- package/dist/components/modules/shop/widgets/ProductCard.d.ts.map +1 -1
- package/dist/components/modules/shop/widgets/ProductCard.js +6 -3
- package/dist/components/modules/shop/widgets/ProductCard.js.map +1 -1
- package/dist/components/modules/shop/widgets/StoreHeader.js +12 -6
- package/dist/components/modules/shop/widgets/StoreHeader.js.map +1 -1
- package/dist/components/modules/shop/widgets/StoreProductGrid.js +11 -5
- package/dist/components/modules/shop/widgets/StoreProductGrid.js.map +1 -1
- package/dist/components/modules/shop/widgets/StoreSidebar.js +8 -5
- package/dist/components/modules/shop/widgets/StoreSidebar.js.map +1 -1
- package/dist/components/modules/shop/widgets/StoreTrustBadges.js +11 -8
- package/dist/components/modules/shop/widgets/StoreTrustBadges.js.map +1 -1
- package/dist/components/modules/social/SocialLayout.d.ts.map +1 -1
- package/dist/components/modules/social/SocialLayout.js +50 -39
- package/dist/components/modules/social/SocialLayout.js.map +1 -1
- package/dist/components/modules/social/widgets/EconomyWidget.js +15 -12
- package/dist/components/modules/social/widgets/EconomyWidget.js.map +1 -1
- package/dist/components/modules/social/widgets/LeagueWidget.js +14 -11
- package/dist/components/modules/social/widgets/LeagueWidget.js.map +1 -1
- package/dist/components/modules/social/widgets/MinecraftWidget.js +15 -12
- package/dist/components/modules/social/widgets/MinecraftWidget.js.map +1 -1
- package/dist/components/modules/social/widgets/RankingWidget.d.ts.map +1 -1
- package/dist/components/modules/social/widgets/RankingWidget.js +40 -44
- package/dist/components/modules/social/widgets/RankingWidget.js.map +1 -1
- package/dist/components/modules/social/widgets/SocialSidebar.js +10 -7
- package/dist/components/modules/social/widgets/SocialSidebar.js.map +1 -1
- package/dist/components/modules/stations/widgets/StationCard.d.ts +1 -1
- package/dist/components/modules/stations/widgets/StationCard.d.ts.map +1 -1
- package/dist/components/modules/stations/widgets/StationCard.js +15 -9
- package/dist/components/modules/stations/widgets/StationCard.js.map +1 -1
- package/dist/components/modules/stations/widgets/StationQRModal.d.ts +1 -1
- package/dist/components/modules/stations/widgets/StationQRModal.d.ts.map +1 -1
- package/dist/components/modules/stations/widgets/StationQRModal.js +7 -4
- package/dist/components/modules/stations/widgets/StationQRModal.js.map +1 -1
- package/dist/components/shared/DevTools.js +16 -13
- package/dist/components/shared/DevTools.js.map +1 -1
- package/dist/components/shared/FilterTabs.js +10 -7
- package/dist/components/shared/FilterTabs.js.map +1 -1
- package/dist/components/shared/FloatingChatButton.js +12 -9
- package/dist/components/shared/FloatingChatButton.js.map +1 -1
- package/dist/components/shared/Footer.js +6 -3
- package/dist/components/shared/Footer.js.map +1 -1
- package/dist/components/shared/Header.d.ts +6 -1
- package/dist/components/shared/Header.d.ts.map +1 -1
- package/dist/components/shared/Header.js +39 -31
- package/dist/components/shared/Header.js.map +1 -1
- package/dist/components/shared/ListToolbar.js +9 -6
- package/dist/components/shared/ListToolbar.js.map +1 -1
- package/dist/components/shared/LoginModal.d.ts +4 -2
- package/dist/components/shared/LoginModal.d.ts.map +1 -1
- package/dist/components/shared/LoginModal.js +7 -61
- package/dist/components/shared/LoginModal.js.map +1 -1
- package/dist/components/shared/MainLayoutWrapper.js +8 -5
- package/dist/components/shared/MainLayoutWrapper.js.map +1 -1
- package/dist/components/shared/NotFound.js +7 -4
- package/dist/components/shared/NotFound.js.map +1 -1
- package/dist/components/shared/PageWidth.js +8 -5
- package/dist/components/shared/PageWidth.js.map +1 -1
- package/dist/components/shared/RegisterModal.d.ts +7 -0
- package/dist/components/shared/RegisterModal.d.ts.map +1 -0
- package/dist/components/shared/RegisterModal.js +12 -0
- package/dist/components/shared/RegisterModal.js.map +1 -0
- package/dist/components/shared/SearchBar.js +9 -6
- package/dist/components/shared/SearchBar.js.map +1 -1
- package/dist/components/showcase/AuthTab.d.ts +2 -0
- package/dist/components/showcase/AuthTab.d.ts.map +1 -0
- package/dist/components/showcase/AuthTab.js +17 -0
- package/dist/components/showcase/AuthTab.js.map +1 -0
- package/dist/components/showcase/CommunityTab.js +7 -4
- package/dist/components/showcase/CommunityTab.js.map +1 -1
- package/dist/components/showcase/CorporateTab.d.ts.map +1 -1
- package/dist/components/showcase/CorporateTab.js +21 -4
- package/dist/components/showcase/CorporateTab.js.map +1 -1
- package/dist/components/showcase/GeneralTab.js +7 -4
- package/dist/components/showcase/GeneralTab.js.map +1 -1
- package/dist/components/showcase/GroupTab.js +32 -26
- package/dist/components/showcase/GroupTab.js.map +1 -1
- package/dist/components/showcase/MessagesTab.js +12 -9
- package/dist/components/showcase/MessagesTab.js.map +1 -1
- package/dist/components/showcase/ProfileTab.js +19 -15
- package/dist/components/showcase/ProfileTab.js.map +1 -1
- package/dist/components/showcase/ReelsTab.js +11 -8
- package/dist/components/showcase/ReelsTab.js.map +1 -1
- package/dist/components/showcase/ShopTab.js +14 -11
- package/dist/components/showcase/ShopTab.js.map +1 -1
- package/dist/components/showcase/ShowcaseNavigation.d.ts.map +1 -1
- package/dist/components/showcase/ShowcaseNavigation.js +29 -20
- package/dist/components/showcase/ShowcaseNavigation.js.map +1 -1
- package/dist/components/showcase/SocialTab.js +47 -11
- package/dist/components/showcase/SocialTab.js.map +1 -1
- package/dist/context/ArmoyuContext.js +17 -13
- package/dist/context/ArmoyuContext.js.map +1 -1
- package/dist/context/AuthContext.d.ts +3 -0
- package/dist/context/AuthContext.d.ts.map +1 -1
- package/dist/context/AuthContext.js +51 -21
- package/dist/context/AuthContext.js.map +1 -1
- package/dist/context/CartContext.js +19 -15
- package/dist/context/CartContext.js.map +1 -1
- package/dist/context/ChatContext.js +25 -21
- package/dist/context/ChatContext.js.map +1 -1
- package/dist/context/LayoutContext.js +12 -8
- package/dist/context/LayoutContext.js.map +1 -1
- package/dist/context/SocketContext.d.ts +1 -1
- package/dist/context/SocketContext.d.ts.map +1 -1
- package/dist/context/SocketContext.js +15 -11
- package/dist/context/SocketContext.js.map +1 -1
- package/dist/context/ThemeContext.js +13 -9
- package/dist/context/ThemeContext.js.map +1 -1
- package/dist/index.d.ts +27 -7
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +217 -95
- package/dist/index.js.map +1 -1
- package/dist/lib/ArmoyuUI.js +5 -1
- package/dist/lib/ArmoyuUI.js.map +1 -1
- package/dist/lib/constants/config.js +4 -1
- package/dist/lib/constants/config.js.map +1 -1
- package/dist/lib/constants/educationData.d.ts +4 -1
- package/dist/lib/constants/educationData.d.ts.map +1 -1
- package/dist/lib/constants/educationData.js +32 -25
- package/dist/lib/constants/educationData.js.map +1 -1
- package/dist/lib/constants/punishmentData.js +11 -5
- package/dist/lib/constants/punishmentData.js.map +1 -1
- package/dist/lib/constants/seedData.d.ts +1 -1
- package/dist/lib/constants/seedData.d.ts.map +1 -1
- package/dist/lib/constants/seedData.js +242 -224
- package/dist/lib/constants/seedData.js.map +1 -1
- package/dist/lib/constants/stationData.d.ts +3 -1
- package/dist/lib/constants/stationData.d.ts.map +1 -1
- package/dist/lib/constants/stationData.js +47 -83
- package/dist/lib/constants/stationData.js.map +1 -1
- package/dist/lib/constants/surveyData.d.ts +1 -1
- package/dist/lib/constants/surveyData.d.ts.map +1 -1
- package/dist/lib/constants/surveyData.js +19 -14
- package/dist/lib/constants/surveyData.js.map +1 -1
- package/dist/lib/constants/teamData.d.ts +8 -2
- package/dist/lib/constants/teamData.d.ts.map +1 -1
- package/dist/lib/constants/teamData.js +20 -27
- package/dist/lib/constants/teamData.js.map +1 -1
- package/dist/lib/utils/numberFormat.js +4 -1
- package/dist/lib/utils/numberFormat.js.map +1 -1
- package/dist/lib/utils/odpUtils.js +5 -1
- package/dist/lib/utils/odpUtils.js.map +1 -1
- package/dist/lib/utils/postUtils.js +7 -4
- package/dist/lib/utils/postUtils.js.map +1 -1
- package/dist/models/BaseModel.js +5 -1
- package/dist/models/BaseModel.js.map +1 -1
- package/dist/models/auth/RankedUser.js +6 -2
- package/dist/models/auth/RankedUser.js.map +1 -1
- package/dist/models/auth/Role.js +6 -2
- package/dist/models/auth/Role.js.map +1 -1
- package/dist/models/auth/Session.js +14 -10
- package/dist/models/auth/Session.js.map +1 -1
- package/dist/models/auth/StaffApplication.js +6 -2
- package/dist/models/auth/StaffApplication.js.map +1 -1
- package/dist/models/auth/TeamMember.js +6 -2
- package/dist/models/auth/TeamMember.js.map +1 -1
- package/dist/models/auth/User.d.ts +9 -7
- package/dist/models/auth/User.d.ts.map +1 -1
- package/dist/models/auth/User.js +45 -26
- package/dist/models/auth/User.js.map +1 -1
- package/dist/models/auth/UserBadge.js +8 -3
- package/dist/models/auth/UserBadge.js.map +1 -1
- package/dist/models/community/{Event.d.ts → ArmoyuEvent.d.ts} +1 -1
- package/dist/models/community/ArmoyuEvent.d.ts.map +1 -0
- package/dist/models/community/{Event.js → ArmoyuEvent.js} +9 -4
- package/dist/models/community/ArmoyuEvent.js.map +1 -0
- package/dist/models/community/Classroom.js +9 -5
- package/dist/models/community/Classroom.js.map +1 -1
- package/dist/models/community/Faculty.js +8 -4
- package/dist/models/community/Faculty.js.map +1 -1
- package/dist/models/community/Forum.js +6 -2
- package/dist/models/community/Forum.js.map +1 -1
- package/dist/models/community/Giveaway.js +6 -2
- package/dist/models/community/Giveaway.js.map +1 -1
- package/dist/models/community/Group.js +12 -8
- package/dist/models/community/Group.js.map +1 -1
- package/dist/models/community/School.js +14 -10
- package/dist/models/community/School.js.map +1 -1
- package/dist/models/community/SchoolTeam.js +10 -6
- package/dist/models/community/SchoolTeam.js.map +1 -1
- package/dist/models/community/Station.js +14 -7
- package/dist/models/community/Station.js.map +1 -1
- package/dist/models/community/Survey.js +10 -6
- package/dist/models/community/Survey.js.map +1 -1
- package/dist/models/community/SurveyAnswer.js +6 -2
- package/dist/models/community/SurveyAnswer.js.map +1 -1
- package/dist/models/community/Team.js +6 -2
- package/dist/models/community/Team.js.map +1 -1
- package/dist/models/community/Workplace.js +6 -2
- package/dist/models/community/Workplace.js.map +1 -1
- package/dist/models/content/Game.js +6 -2
- package/dist/models/content/Game.js.map +1 -1
- package/dist/models/content/Media.js +6 -2
- package/dist/models/content/Media.js.map +1 -1
- package/dist/models/content/Mod.js +8 -4
- package/dist/models/content/Mod.js.map +1 -1
- package/dist/models/content/News.js +8 -4
- package/dist/models/content/News.js.map +1 -1
- package/dist/models/content/PlatformStation.js +6 -2
- package/dist/models/content/PlatformStation.js.map +1 -1
- package/dist/models/content/PlatformTeam.js +6 -2
- package/dist/models/content/PlatformTeam.js.map +1 -1
- package/dist/models/content/Project.js +9 -5
- package/dist/models/content/Project.js.map +1 -1
- package/dist/models/content/ProjectScore.js +6 -2
- package/dist/models/content/ProjectScore.js.map +1 -1
- package/dist/models/content/StationEquipment.js +6 -2
- package/dist/models/content/StationEquipment.js.map +1 -1
- package/dist/models/core/Country.js +6 -2
- package/dist/models/core/Country.js.map +1 -1
- package/dist/models/core/PlatformStats.js +6 -2
- package/dist/models/core/PlatformStats.js.map +1 -1
- package/dist/models/core/Province.js +6 -2
- package/dist/models/core/Province.js.map +1 -1
- package/dist/models/core/Rule.js +6 -2
- package/dist/models/core/Rule.js.map +1 -1
- package/dist/models/core/SystemSettings.js +6 -2
- package/dist/models/core/SystemSettings.js.map +1 -1
- package/dist/models/index.d.ts +1 -1
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +74 -58
- package/dist/models/index.js.map +1 -1
- package/dist/models/shop/CartItem.js +9 -5
- package/dist/models/shop/CartItem.js.map +1 -1
- package/dist/models/shop/Invoice.js +6 -2
- package/dist/models/shop/Invoice.js.map +1 -1
- package/dist/models/shop/Order.js +8 -4
- package/dist/models/shop/Order.js.map +1 -1
- package/dist/models/shop/Product.js +6 -2
- package/dist/models/shop/Product.js.map +1 -1
- package/dist/models/social/chat/Chat.d.ts.map +1 -1
- package/dist/models/social/chat/Chat.js +21 -10
- package/dist/models/social/chat/Chat.js.map +1 -1
- package/dist/models/social/chat/Message.d.ts.map +1 -1
- package/dist/models/social/chat/Message.js +17 -7
- package/dist/models/social/chat/Message.js.map +1 -1
- package/dist/models/social/chat/Note.js +6 -2
- package/dist/models/social/chat/Note.js.map +1 -1
- package/dist/models/social/feed/Comment.d.ts +2 -0
- package/dist/models/social/feed/Comment.d.ts.map +1 -1
- package/dist/models/social/feed/Comment.js +26 -10
- package/dist/models/social/feed/Comment.js.map +1 -1
- package/dist/models/social/feed/Post.d.ts +1 -0
- package/dist/models/social/feed/Post.d.ts.map +1 -1
- package/dist/models/social/feed/Post.js +22 -13
- package/dist/models/social/feed/Post.js.map +1 -1
- package/dist/models/social/feed/Story.js +8 -4
- package/dist/models/social/feed/Story.js.map +1 -1
- package/dist/models/social/gaming/Game.js +6 -2
- package/dist/models/social/gaming/Game.js.map +1 -1
- package/dist/models/social/meta/AuthEnums.js +7 -4
- package/dist/models/social/meta/AuthEnums.js.map +1 -1
- package/dist/models/social/meta/MediaEnums.js +7 -4
- package/dist/models/social/meta/MediaEnums.js.map +1 -1
- package/dist/models/social/notification/Notification.js +27 -23
- package/dist/models/social/notification/Notification.js.map +1 -1
- package/dist/models/social/notification/NotificationEnums.js +13 -10
- package/dist/models/social/notification/NotificationEnums.js.map +1 -1
- package/dist/models/social/notification/NotificationSender.js +6 -2
- package/dist/models/social/notification/NotificationSender.js.map +1 -1
- package/dist/models/social/poll/Poll.js +8 -4
- package/dist/models/social/poll/Poll.js.map +1 -1
- package/dist/models/social/poll/PollOption.js +6 -2
- package/dist/models/social/poll/PollOption.js.map +1 -1
- package/dist/models/social/search/SearchEnums.js +7 -4
- package/dist/models/social/search/SearchEnums.js.map +1 -1
- package/dist/models/social/search/SearchResult.js +19 -15
- package/dist/models/social/search/SearchResult.js.map +1 -1
- package/dist/models/social/stats/Leaderboard.js +10 -5
- package/dist/models/social/stats/Leaderboard.js.map +1 -1
- package/dist/models/social/support/SupportTicket.js +6 -2
- package/dist/models/social/support/SupportTicket.js.map +1 -1
- package/dist/models/social/user/BlockedUser.js +8 -4
- package/dist/models/social/user/BlockedUser.js.map +1 -1
- package/dist/models/store/StoreItem.js +6 -2
- package/dist/models/store/StoreItem.js.map +1 -1
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +19 -1
- package/dist/types/index.js.map +1 -1
- package/dist/types/navigation.d.ts +6 -0
- package/dist/types/navigation.d.ts.map +1 -0
- package/dist/types/navigation.js +3 -0
- package/dist/types/navigation.js.map +1 -0
- package/dist/types/socket.d.ts +6 -0
- package/dist/types/socket.d.ts.map +1 -0
- package/dist/types/socket.js +3 -0
- package/dist/types/socket.js.map +1 -0
- package/dist/types/stats.js +2 -1
- package/package.json +2 -2
- package/dist/components/modules/community/widgets/EventDetailLayout.d.ts +0 -7
- package/dist/components/modules/community/widgets/EventDetailLayout.d.ts.map +0 -1
- package/dist/components/modules/community/widgets/EventDetailLayout.js +0 -54
- package/dist/components/modules/community/widgets/EventDetailLayout.js.map +0 -1
- package/dist/components/modules/community/widgets/GroupEventsList.d.ts +0 -8
- package/dist/components/modules/community/widgets/GroupEventsList.d.ts.map +0 -1
- package/dist/components/modules/community/widgets/GroupEventsList.js +0 -33
- package/dist/components/modules/community/widgets/GroupEventsList.js.map +0 -1
- package/dist/components/modules/events/DetailLayout.d.ts +0 -7
- package/dist/components/modules/events/DetailLayout.d.ts.map +0 -1
- package/dist/components/modules/events/DetailLayout.js +0 -54
- package/dist/components/modules/events/DetailLayout.js.map +0 -1
- package/dist/components/showcase/EventsTab.d.ts +0 -2
- package/dist/components/showcase/EventsTab.d.ts.map +0 -1
- package/dist/components/showcase/EventsTab.js +0 -95
- package/dist/components/showcase/EventsTab.js.map +0 -1
- package/dist/models/community/Event.d.ts.map +0 -1
- package/dist/models/community/Event.js.map +0 -1
|
@@ -1,48 +1,66 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.MOCK_FORUM_TOPICS = exports.armoyuGiveaways = exports.armoyuProjects = exports.sessionList = exports.projectList = exports.MOCK_PROJECTS = exports.giveawayList = exports.MOCK_GIVEAWAYS = exports.MOCK_FORUM_CATEGORIES = exports.MOCK_MODS = exports.MOCK_STORIES = exports.MOCK_RANKING_POPULARITY = exports.MOCK_RANKING_LEVEL = exports.mockGlobalStats = exports.MOCK_NOTES = exports.newsList = exports.MOCK_NEWS = exports.MOCK_PRODUCTS = exports.MOCK_SESSION = exports.postList = exports.classroomList = exports.schoolTeamList = exports.facultyList = exports.schoolList = exports.surveyList = exports.MOCK_SURVEYS = exports.userList = exports.groupList = exports.roles = void 0;
|
|
18
|
+
const User_1 = require("../../models/auth/User");
|
|
19
|
+
const Post_1 = require("../../models/social/feed/Post");
|
|
20
|
+
const Team_1 = require("../../models/community/Team");
|
|
21
|
+
const Role_1 = require("../../models/auth/Role");
|
|
22
|
+
const Group_1 = require("../../models/community/Group");
|
|
23
|
+
const Notification_1 = require("../../models/social/notification/Notification");
|
|
24
|
+
const NotificationSender_1 = require("../../models/social/notification/NotificationSender");
|
|
25
|
+
const Product_1 = require("../../models/shop/Product");
|
|
26
|
+
const Note_1 = require("../../models/social/chat/Note");
|
|
27
|
+
const Story_1 = require("../../models/social/feed/Story");
|
|
28
|
+
const News_1 = require("../../models/content/News");
|
|
29
|
+
const Mod_1 = require("../../models/content/Mod");
|
|
30
|
+
const Forum_1 = require("../../models/community/Forum");
|
|
31
|
+
const Giveaway_1 = require("../../models/community/Giveaway");
|
|
32
|
+
const Project_1 = require("../../models/content/Project");
|
|
33
|
+
const Chat_1 = require("../../models/social/chat/Chat");
|
|
34
|
+
const Message_1 = require("../../models/social/chat/Message");
|
|
35
|
+
const Session_1 = require("../../models/auth/Session");
|
|
36
|
+
const NotificationEnums_1 = require("../../models/social/notification/NotificationEnums");
|
|
37
|
+
const teamData_1 = require("./teamData");
|
|
20
38
|
// Modular data imports
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
39
|
+
__exportStar(require("./stationData"), exports);
|
|
40
|
+
__exportStar(require("./surveyData"), exports);
|
|
41
|
+
__exportStar(require("./educationData"), exports);
|
|
24
42
|
/**
|
|
25
43
|
* Common Roles
|
|
26
44
|
*/
|
|
27
|
-
|
|
28
|
-
admin: new Role({ id: 'admin', name: 'Kurucu', color: '#ff4d4d' }),
|
|
29
|
-
memberMgmt: new Role({ id: 'member_mgmt', name: 'Üye Yönetim', color: '#ff4d4d' }),
|
|
30
|
-
discipline: new Role({ id: 'discipline', name: 'Düzen Ve Disiplin Yönetim', color: '#ff4d4d' }),
|
|
31
|
-
eventMgmt: new Role({ id: 'event_mgmt', name: 'Etkinlik Yönetim', color: '#ff4d4d' }),
|
|
32
|
-
assettoOfficial: new Role({ id: 'assetto_official', name: 'Oyun Yetkilisi (Assetto Corsa)', color: '#3b82f6' }),
|
|
33
|
-
mcOfficial: new Role({ id: 'mc_official', name: 'Oyun Yetkilisi (Minecraft)', color: '#3b82f6' }),
|
|
34
|
-
responsible: new Role({ id: 'responsible', name: 'Sorumlu', color: '#3b82f6' }),
|
|
35
|
-
gameDev: new Role({ id: 'game_dev', name: 'Oyun Geliştiricisi', color: '#10b981' }),
|
|
36
|
-
softwareDev: new Role({ id: 'software_dev', name: 'Yazılım Geliştirici', color: '#10b981' }),
|
|
37
|
-
frontendDev: new Role({ id: 'frontend_dev', name: 'Frontend Developer', color: '#10b981' }),
|
|
38
|
-
backendDev: new Role({ id: 'backend_dev', name: 'Backend Developer', color: '#10b981' }),
|
|
39
|
-
fullstackDev: new Role({ id: 'fullstack_dev', name: 'Full Stack Developer', color: '#10b981' }),
|
|
40
|
-
streamerContent: new Role({ id: 'streamer_content', name: 'Streamer / Content', color: '#a855f7' }),
|
|
41
|
-
streamerGaming: new Role({ id: 'streamer_gaming', name: 'Streamer / Gaming', color: '#a855f7' }),
|
|
42
|
-
streamer: new Role({ id: 'streamer', name: 'Yayıncı', color: '#a855f7' }),
|
|
43
|
-
esports: new Role({ id: 'esports', name: 'E-Sporcu', color: '#f97316' }),
|
|
44
|
-
user: new Role({ id: 'user', name: 'Kullanıcı', color: '#808080' }),
|
|
45
|
-
qualified: new Role({ id: 'qualified', name: 'Nitelikli Oyuncu', color: '#4ade80' }),
|
|
45
|
+
exports.roles = {
|
|
46
|
+
admin: new Role_1.Role({ id: 'admin', name: 'Kurucu', color: '#ff4d4d' }),
|
|
47
|
+
memberMgmt: new Role_1.Role({ id: 'member_mgmt', name: 'Üye Yönetim', color: '#ff4d4d' }),
|
|
48
|
+
discipline: new Role_1.Role({ id: 'discipline', name: 'Düzen Ve Disiplin Yönetim', color: '#ff4d4d' }),
|
|
49
|
+
eventMgmt: new Role_1.Role({ id: 'event_mgmt', name: 'Etkinlik Yönetim', color: '#ff4d4d' }),
|
|
50
|
+
assettoOfficial: new Role_1.Role({ id: 'assetto_official', name: 'Oyun Yetkilisi (Assetto Corsa)', color: '#3b82f6' }),
|
|
51
|
+
mcOfficial: new Role_1.Role({ id: 'mc_official', name: 'Oyun Yetkilisi (Minecraft)', color: '#3b82f6' }),
|
|
52
|
+
responsible: new Role_1.Role({ id: 'responsible', name: 'Sorumlu', color: '#3b82f6' }),
|
|
53
|
+
gameDev: new Role_1.Role({ id: 'game_dev', name: 'Oyun Geliştiricisi', color: '#10b981' }),
|
|
54
|
+
softwareDev: new Role_1.Role({ id: 'software_dev', name: 'Yazılım Geliştirici', color: '#10b981' }),
|
|
55
|
+
frontendDev: new Role_1.Role({ id: 'frontend_dev', name: 'Frontend Developer', color: '#10b981' }),
|
|
56
|
+
backendDev: new Role_1.Role({ id: 'backend_dev', name: 'Backend Developer', color: '#10b981' }),
|
|
57
|
+
fullstackDev: new Role_1.Role({ id: 'fullstack_dev', name: 'Full Stack Developer', color: '#10b981' }),
|
|
58
|
+
streamerContent: new Role_1.Role({ id: 'streamer_content', name: 'Streamer / Content', color: '#a855f7' }),
|
|
59
|
+
streamerGaming: new Role_1.Role({ id: 'streamer_gaming', name: 'Streamer / Gaming', color: '#a855f7' }),
|
|
60
|
+
streamer: new Role_1.Role({ id: 'streamer', name: 'Yayıncı', color: '#a855f7' }),
|
|
61
|
+
esports: new Role_1.Role({ id: 'esports', name: 'E-Sporcu', color: '#f97316' }),
|
|
62
|
+
user: new Role_1.Role({ id: 'user', name: 'Kullanıcı', color: '#808080' }),
|
|
63
|
+
qualified: new Role_1.Role({ id: 'qualified', name: 'Nitelikli Oyuncu', color: '#4ade80' }),
|
|
46
64
|
};
|
|
47
65
|
/**
|
|
48
66
|
* Community Room Constant (Plain data for constructor)
|
|
@@ -57,13 +75,13 @@ const TOPLULUK_ODASI_DATA = {
|
|
|
57
75
|
lastSeen: 'Şu an aktif',
|
|
58
76
|
participants: [],
|
|
59
77
|
messages: [
|
|
60
|
-
new ChatMessage({ id: 'c1', sender: new User({ displayName: 'Sistem', avatar: 'https://cdn.pixabay.com/photo/2017/02/13/11/44/community-2062409_1280.png' }), content: 'Topluluk Odası Sohbetine Hoş Geldiniz!', timestamp: 'Hep', isSystem: true }),
|
|
61
|
-
new ChatMessage({ id: 'c2', sender: new User({ displayName: 'Alperen', avatar: 'https://api.dicebear.com/7.x/avataaars/svg?seed=Alperen' }), content: 'Selamlar herkese!', timestamp: '10:00', isSystem: false }),
|
|
62
|
-
new ChatMessage({ id: 'c3', sender: new User({ displayName: 'Berkay', avatar: 'https://api.dicebear.com/7.x/avataaars/svg?seed=Berkay' }), content: 'V3 yakında yayında!', timestamp: '10:05', isSystem: false })
|
|
78
|
+
new Message_1.ChatMessage({ id: 'c1', sender: new User_1.User({ displayName: 'Sistem', avatar: 'https://cdn.pixabay.com/photo/2017/02/13/11/44/community-2062409_1280.png' }), content: 'Topluluk Odası Sohbetine Hoş Geldiniz!', timestamp: 'Hep', isSystem: true }),
|
|
79
|
+
new Message_1.ChatMessage({ id: 'c2', sender: new User_1.User({ displayName: 'Alperen', avatar: 'https://api.dicebear.com/7.x/avataaars/svg?seed=Alperen' }), content: 'Selamlar herkese!', timestamp: '10:00', isSystem: false }),
|
|
80
|
+
new Message_1.ChatMessage({ id: 'c3', sender: new User_1.User({ displayName: 'Berkay', avatar: 'https://api.dicebear.com/7.x/avataaars/svg?seed=Berkay' }), content: 'V3 yakında yayında!', timestamp: '10:05', isSystem: false })
|
|
63
81
|
]
|
|
64
82
|
};
|
|
65
83
|
// Add lastMessage dynamically
|
|
66
|
-
const TOPLULUK_ODASI = new Chat({
|
|
84
|
+
const TOPLULUK_ODASI = new Chat_1.Chat({
|
|
67
85
|
...TOPLULUK_ODASI_DATA,
|
|
68
86
|
lastMessage: TOPLULUK_ODASI_DATA.messages[2],
|
|
69
87
|
updatedAt: Date.now(),
|
|
@@ -72,8 +90,8 @@ const TOPLULUK_ODASI = new Chat({
|
|
|
72
90
|
/**
|
|
73
91
|
* Seed data for Groups (Guilds/Communities)
|
|
74
92
|
*/
|
|
75
|
-
|
|
76
|
-
new Group({
|
|
93
|
+
exports.groupList = [
|
|
94
|
+
new Group_1.Group({
|
|
77
95
|
name: 'RIHTIM',
|
|
78
96
|
shortName: 'RTM',
|
|
79
97
|
description: 'Denizin verdiği huzur ile içinizi ferahlatacak bir yaşam sizi bekliyor. Topluluğumuzda huzur ve eğlence bir arada.',
|
|
@@ -84,7 +102,7 @@ export const groupList = [
|
|
|
84
102
|
banner: 'https://images.unsplash.com/photo-1587573089734-09cb6960951b?q=80&w=2672&auto=format&fit=crop',
|
|
85
103
|
logo: 'https://api.dicebear.com/7.x/shapes/svg?seed=Rihtim'
|
|
86
104
|
}),
|
|
87
|
-
new Group({
|
|
105
|
+
new Group_1.Group({
|
|
88
106
|
name: 'CODE MASTERS',
|
|
89
107
|
shortName: 'CODE',
|
|
90
108
|
description: 'Yazılım geliştirme tutkunlarının bir araya geldiği, projelerin havada uçuştuğu dinamik bir topluluk.',
|
|
@@ -95,7 +113,7 @@ export const groupList = [
|
|
|
95
113
|
banner: 'https://images.unsplash.com/photo-1498050108023-c5249f4df085?q=80&w=2672&auto=format&fit=crop',
|
|
96
114
|
logo: 'https://api.dicebear.com/7.x/identicon/svg?seed=Code'
|
|
97
115
|
}),
|
|
98
|
-
new Group({
|
|
116
|
+
new Group_1.Group({
|
|
99
117
|
name: 'FAST FIVE',
|
|
100
118
|
shortName: 'F5',
|
|
101
119
|
description: 'Valorant rekabetçi dünyasında zirveyi hedefleyen, disiplinli ve yetenekli oyuncuların buluşma noktası.',
|
|
@@ -106,7 +124,7 @@ export const groupList = [
|
|
|
106
124
|
banner: 'https://images.unsplash.com/photo-1542751371-adc38448a05e?q=80&w=2670&auto=format&fit=crop',
|
|
107
125
|
logo: 'https://api.dicebear.com/7.x/bottts/svg?seed=Fast'
|
|
108
126
|
}),
|
|
109
|
-
new Group({
|
|
127
|
+
new Group_1.Group({
|
|
110
128
|
name: 'GREEN COURT',
|
|
111
129
|
shortName: 'GRN',
|
|
112
130
|
description: 'Tenis ve açık hava sporlarını sevenler için haftalık turnuvalar ve antrenman grupları düzenliyoruz.',
|
|
@@ -117,7 +135,7 @@ export const groupList = [
|
|
|
117
135
|
banner: 'https://images.unsplash.com/photo-1595435064212-c441821ac9ac?q=80&w=2670&auto=format&fit=crop',
|
|
118
136
|
logo: 'https://api.dicebear.com/7.x/initials/svg?seed=Green'
|
|
119
137
|
}),
|
|
120
|
-
new Group({
|
|
138
|
+
new Group_1.Group({
|
|
121
139
|
name: 'İttihat ve Terakki',
|
|
122
140
|
shortName: 'İttihat',
|
|
123
141
|
description: 'İttihat Ruhu! Köklü geçmişimizle sahalarda ve her alanda mücadeleye devam ediyoruz.',
|
|
@@ -128,7 +146,7 @@ export const groupList = [
|
|
|
128
146
|
banner: 'https://images.unsplash.com/photo-1574629810360-7efbbe195018?q=80&w=2670&auto=format&fit=crop',
|
|
129
147
|
logo: 'https://api.dicebear.com/7.x/initials/svg?seed=IT'
|
|
130
148
|
}),
|
|
131
|
-
new Group({
|
|
149
|
+
new Group_1.Group({
|
|
132
150
|
name: 'CZAL Hack Team',
|
|
133
151
|
shortName: 'CZAL HT',
|
|
134
152
|
description: 'Türk Yazılımcı ve Robotikciler ile toplandık Kendimizi Geliştirmek için çaba gösteriyoruz Biz Fatsa Cahit Zarifoğlu Anadolu Lisesinde kurulduk ve çalışmalarımıza devam ediyoruz sende bize katılmak istersen bize mail atabilirsin Okulumuzu İnternette araştırabilirsiniz.',
|
|
@@ -143,35 +161,35 @@ export const groupList = [
|
|
|
143
161
|
/**
|
|
144
162
|
* Seed data for users (Team Members)
|
|
145
163
|
*/
|
|
146
|
-
|
|
164
|
+
exports.userList = [
|
|
147
165
|
// YÖNETİM EKİBİ
|
|
148
|
-
new User({ displayName: 'Berkay Tikenoğlu', role: roles.admin, avatar: 'https://api.dicebear.com/7.x/avataaars/svg?seed=Berkay', username: 'berkaytikenoglu', verified: true, bio: 'ARMOYU Kurucusu & Yazılım Geliştirici', level: 99, xp: 5000, popScore: 15000, groups: [groupList[0], groupList[1], groupList[5]], favoriteTeam: SUPER_LEAGUE_TEAMS[1], zodiac: 'Akrep', punishmentCount: 0, distrustScore: 1.0, odp: 90 }),
|
|
149
|
-
new User({ displayName: 'MythX', role: roles.memberMgmt, avatar: 'https://api.dicebear.com/7.x/avataaars/svg?seed=MythX', username: 'mythx', verified: true, level: 85, xp: 3200, popScore: 12500, groups: [groupList[1], groupList[2]], punishmentCount: 2, distrustScore: 1.2, odp: 75 }),
|
|
150
|
-
new User({ displayName: 'Barış Müftüoğlu', role: roles.discipline, avatar: 'https://api.dicebear.com/7.x/avataaars/svg?seed=Baris', username: 'barismuftuoglu', verified: true, level: 82, xp: 2800, popScore: 11000, groups: [groupList[3]], punishmentCount: 5, distrustScore: 1.5, odp: 45 }),
|
|
151
|
-
new User({ displayName: 'Bey Ev', role: roles.eventMgmt, avatar: 'https://api.dicebear.com/7.x/avataaars/svg?seed=Beytullah', username: 'beyev', verified: true, level: 80, xp: 2500, popScore: 10500, punishmentCount: 0, odp: 80 }),
|
|
166
|
+
new User_1.User({ displayName: 'Berkay Tikenoğlu', role: exports.roles.admin, avatar: 'https://api.dicebear.com/7.x/avataaars/svg?seed=Berkay', username: 'berkaytikenoglu', verified: true, bio: 'ARMOYU Kurucusu & Yazılım Geliştirici', level: 99, xp: 5000, popScore: 15000, groups: [exports.groupList[0], exports.groupList[1], exports.groupList[5]], favoriteTeam: Team_1.Team.fromAPI(teamData_1.SUPER_LEAGUE_TEAMS[1]), zodiac: 'Akrep', punishmentCount: 0, distrustScore: 1.0, odp: 90 }),
|
|
167
|
+
new User_1.User({ displayName: 'MythX', role: exports.roles.memberMgmt, avatar: 'https://api.dicebear.com/7.x/avataaars/svg?seed=MythX', username: 'mythx', verified: true, level: 85, xp: 3200, popScore: 12500, groups: [exports.groupList[1], exports.groupList[2]], punishmentCount: 2, distrustScore: 1.2, odp: 75 }),
|
|
168
|
+
new User_1.User({ displayName: 'Barış Müftüoğlu', role: exports.roles.discipline, avatar: 'https://api.dicebear.com/7.x/avataaars/svg?seed=Baris', username: 'barismuftuoglu', verified: true, level: 82, xp: 2800, popScore: 11000, groups: [exports.groupList[3]], punishmentCount: 5, distrustScore: 1.5, odp: 45 }),
|
|
169
|
+
new User_1.User({ displayName: 'Bey Ev', role: exports.roles.eventMgmt, avatar: 'https://api.dicebear.com/7.x/avataaars/svg?seed=Beytullah', username: 'beyev', verified: true, level: 80, xp: 2500, popScore: 10500, punishmentCount: 0, odp: 80 }),
|
|
152
170
|
// SORUMLULAR
|
|
153
|
-
new User({ displayName: 'Yılmaz Akşahin', role: roles.assettoOfficial, avatar: 'https://api.dicebear.com/7.x/avataaars/svg?seed=Yilmaz', username: 'yilmazaksahin', level: 65, popScore: 8500, punishmentCount: 0 }),
|
|
154
|
-
new User({ displayName: 'Orkun Atılgan', role: roles.mcOfficial, avatar: 'https://api.dicebear.com/7.x/avataaars/svg?seed=Orkun', username: 'orkunatilgan', level: 68, popScore: 9200, punishmentCount: 0 }),
|
|
155
|
-
new User({ displayName: 'Furkan Sarıdiken', role: roles.responsible, avatar: 'https://api.dicebear.com/7.x/avataaars/svg?seed=Furkan', username: 'furkansaridiken', level: 60, popScore: 7800, punishmentCount: 9, distrustScore: 3.0 }),
|
|
156
|
-
new User({ displayName: 'Burakcan TOPAL', role: roles.responsible, avatar: 'https://api.dicebear.com/7.x/avataaars/svg?seed=Burakcan', username: 'burakcantopal', level: 58, popScore: 7500 }),
|
|
171
|
+
new User_1.User({ displayName: 'Yılmaz Akşahin', role: exports.roles.assettoOfficial, avatar: 'https://api.dicebear.com/7.x/avataaars/svg?seed=Yilmaz', username: 'yilmazaksahin', level: 65, popScore: 8500, punishmentCount: 0 }),
|
|
172
|
+
new User_1.User({ displayName: 'Orkun Atılgan', role: exports.roles.mcOfficial, avatar: 'https://api.dicebear.com/7.x/avataaars/svg?seed=Orkun', username: 'orkunatilgan', level: 68, popScore: 9200, punishmentCount: 0 }),
|
|
173
|
+
new User_1.User({ displayName: 'Furkan Sarıdiken', role: exports.roles.responsible, avatar: 'https://api.dicebear.com/7.x/avataaars/svg?seed=Furkan', username: 'furkansaridiken', level: 60, popScore: 7800, punishmentCount: 9, distrustScore: 3.0 }),
|
|
174
|
+
new User_1.User({ displayName: 'Burakcan TOPAL', role: exports.roles.responsible, avatar: 'https://api.dicebear.com/7.x/avataaars/svg?seed=Burakcan', username: 'burakcantopal', level: 58, popScore: 7500 }),
|
|
157
175
|
// YAZILIM VE GELİŞTİRME
|
|
158
|
-
new User({ displayName: 'Burak Erel', role: roles.gameDev, avatar: 'https://api.dicebear.com/7.x/avataaars/svg?seed=Burak', username: 'burakerel', level: 75, popScore: 9800, groups: [groupList[0]] }),
|
|
159
|
-
new User({ displayName: 'Engin Kuşkovan', role: roles.softwareDev, avatar: 'https://api.dicebear.com/7.x/avataaars/svg?seed=Engin', username: 'enginkuskovan', level: 72, popScore: 9400 }),
|
|
160
|
-
new User({ displayName: 'Nariman Rustamli', role: roles.softwareDev, avatar: 'https://api.dicebear.com/7.x/avataaars/svg?seed=Nariman', username: 'narimanrustamli', level: 70, popScore: 9000 }),
|
|
161
|
-
new User({ displayName: 'Ersan Güvenç', role: roles.qualified, avatar: 'https://api.dicebear.com/7.x/avataaars/svg?seed=Ersan', username: 'ersanguvenc', level: 70, popScore: 8900 }),
|
|
162
|
-
new User({ displayName: 'Oğuzhan Seslikaya', role: roles.qualified, avatar: 'https://api.dicebear.com/7.x/avataaars/svg?seed=Oguzhan', username: 'oguzhanseslikaya', level: 70, popScore: 8850 }),
|
|
163
|
-
new User({ displayName: 'Ömer Efe Dikici', role: roles.frontendDev, avatar: 'https://api.dicebear.com/7.x/avataaars/svg?seed=Efe', username: 'omerefedikici', level: 78, popScore: 10200 }),
|
|
164
|
-
new User({ displayName: 'Ömer Faruk Sayın', role: roles.backendDev, avatar: 'https://api.dicebear.com/7.x/avataaars/svg?seed=Faruk', username: 'omerfaruksayin', level: 77, popScore: 10100 }),
|
|
165
|
-
new User({ displayName: 'Emre Sandal', role: roles.fullstackDev, avatar: 'https://api.dicebear.com/7.x/avataaars/svg?seed=Emre', username: 'emresandal', level: 79, popScore: 10300 }),
|
|
176
|
+
new User_1.User({ displayName: 'Burak Erel', role: exports.roles.gameDev, avatar: 'https://api.dicebear.com/7.x/avataaars/svg?seed=Burak', username: 'burakerel', level: 75, popScore: 9800, groups: [exports.groupList[0]] }),
|
|
177
|
+
new User_1.User({ displayName: 'Engin Kuşkovan', role: exports.roles.softwareDev, avatar: 'https://api.dicebear.com/7.x/avataaars/svg?seed=Engin', username: 'enginkuskovan', level: 72, popScore: 9400 }),
|
|
178
|
+
new User_1.User({ displayName: 'Nariman Rustamli', role: exports.roles.softwareDev, avatar: 'https://api.dicebear.com/7.x/avataaars/svg?seed=Nariman', username: 'narimanrustamli', level: 70, popScore: 9000 }),
|
|
179
|
+
new User_1.User({ displayName: 'Ersan Güvenç', role: exports.roles.qualified, avatar: 'https://api.dicebear.com/7.x/avataaars/svg?seed=Ersan', username: 'ersanguvenc', level: 70, popScore: 8900 }),
|
|
180
|
+
new User_1.User({ displayName: 'Oğuzhan Seslikaya', role: exports.roles.qualified, avatar: 'https://api.dicebear.com/7.x/avataaars/svg?seed=Oguzhan', username: 'oguzhanseslikaya', level: 70, popScore: 8850 }),
|
|
181
|
+
new User_1.User({ displayName: 'Ömer Efe Dikici', role: exports.roles.frontendDev, avatar: 'https://api.dicebear.com/7.x/avataaars/svg?seed=Efe', username: 'omerefedikici', level: 78, popScore: 10200 }),
|
|
182
|
+
new User_1.User({ displayName: 'Ömer Faruk Sayın', role: exports.roles.backendDev, avatar: 'https://api.dicebear.com/7.x/avataaars/svg?seed=Faruk', username: 'omerfaruksayin', level: 77, popScore: 10100 }),
|
|
183
|
+
new User_1.User({ displayName: 'Emre Sandal', role: exports.roles.fullstackDev, avatar: 'https://api.dicebear.com/7.x/avataaars/svg?seed=Emre', username: 'emresandal', level: 79, popScore: 10300 }),
|
|
166
184
|
// YAYINCILAR
|
|
167
|
-
new User({ displayName: 'Metehan Çakır', role: roles.streamerContent, avatar: 'https://api.dicebear.com/7.x/avataaars/svg?seed=Metehan', username: 'metehancakir', level: 88, popScore: 13500 }),
|
|
168
|
-
new User({ displayName: 'Bartu Başaran', role: roles.streamerGaming, avatar: 'https://api.dicebear.com/7.x/avataaars/svg?seed=Bartu', username: 'bartubasaran', level: 86, popScore: 12800 }),
|
|
169
|
-
new User({ displayName: 'Erhan', role: roles.streamer, avatar: 'https://api.dicebear.com/7.x/avataaars/svg?seed=Erhan', username: 'erhan', level: 84, popScore: 12200 }),
|
|
185
|
+
new User_1.User({ displayName: 'Metehan Çakır', role: exports.roles.streamerContent, avatar: 'https://api.dicebear.com/7.x/avataaars/svg?seed=Metehan', username: 'metehancakir', level: 88, popScore: 13500 }),
|
|
186
|
+
new User_1.User({ displayName: 'Bartu Başaran', role: exports.roles.streamerGaming, avatar: 'https://api.dicebear.com/7.x/avataaars/svg?seed=Bartu', username: 'bartubasaran', level: 86, popScore: 12800 }),
|
|
187
|
+
new User_1.User({ displayName: 'Erhan', role: exports.roles.streamer, avatar: 'https://api.dicebear.com/7.x/avataaars/svg?seed=Erhan', username: 'erhan', level: 84, popScore: 12200 }),
|
|
170
188
|
// E-SPOR LİSANSLI OYUNCULAR
|
|
171
|
-
new User({ displayName: 'Gabriel Eren Gümüşdal', role: roles.esports, avatar: 'https://api.dicebear.com/7.x/avataaars/svg?seed=Gabriel', username: 'gabrieleren', level: 92, popScore: 14200 }),
|
|
189
|
+
new User_1.User({ displayName: 'Gabriel Eren Gümüşdal', role: exports.roles.esports, avatar: 'https://api.dicebear.com/7.x/avataaars/svg?seed=Gabriel', username: 'gabrieleren', level: 92, popScore: 14200 }),
|
|
172
190
|
// Nitelikli Oyuncular
|
|
173
|
-
new User({ displayName: 'Emir K.', role: roles.esports, avatar: 'https://api.dicebear.com/7.x/avataaars/svg?seed=EmirK', username: 'emir', level: 92, popScore: 14200 }),
|
|
174
|
-
new User({ displayName: 'Tugra', role: roles.esports, avatar: 'https://api.dicebear.com/7.x/avataaars/svg?seed=Tugra', username: 'tugra', level: 92, popScore: 14200 })
|
|
191
|
+
new User_1.User({ displayName: 'Emir K.', role: exports.roles.esports, avatar: 'https://api.dicebear.com/7.x/avataaars/svg?seed=EmirK', username: 'emir', level: 92, popScore: 14200 }),
|
|
192
|
+
new User_1.User({ displayName: 'Tugra', role: exports.roles.esports, avatar: 'https://api.dicebear.com/7.x/avataaars/svg?seed=Tugra', username: 'tugra', level: 92, popScore: 14200 })
|
|
175
193
|
];
|
|
176
194
|
// Generate 100 additional mock users
|
|
177
195
|
const firstNames = ['Ahmet', 'Mehmet', 'Can', 'Deniz', 'Selin', 'Elif', 'Burak', 'Oğuz', 'Hakan', 'Ayşe', 'Fatma', 'Gökhan', 'Emre', 'Zeynep', 'Kaan'];
|
|
@@ -179,12 +197,12 @@ const lastNames = ['Yılmaz', 'Kaya', 'Demir', 'Çelik', 'Şahin', 'Yıldız', '
|
|
|
179
197
|
for (let i = 0; i < 100; i++) {
|
|
180
198
|
const fName = firstNames[i % firstNames.length];
|
|
181
199
|
const lName = lastNames[i % lastNames.length];
|
|
182
|
-
userList.push(new User({
|
|
200
|
+
exports.userList.push(new User_1.User({
|
|
183
201
|
id: `u-${i + 200}`,
|
|
184
202
|
username: `${fName.toLowerCase()}${lName.toLowerCase()}${i}`,
|
|
185
203
|
displayName: `${fName} ${lName}`,
|
|
186
204
|
avatar: `https://api.dicebear.com/7.x/avataaars/svg?seed=${fName}${lName}${i}`,
|
|
187
|
-
role: roles.user,
|
|
205
|
+
role: exports.roles.user,
|
|
188
206
|
verified: false,
|
|
189
207
|
level: Math.floor(Math.random() * 50) + 1,
|
|
190
208
|
xp: Math.floor(Math.random() * 1000),
|
|
@@ -200,15 +218,15 @@ for (let i = 0; i < 100; i++) {
|
|
|
200
218
|
/**
|
|
201
219
|
* Mock Surveys Data
|
|
202
220
|
*/
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
const edu = MOCK_EDUCATION_DATA(userList);
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
221
|
+
const surveyData_1 = require("./surveyData");
|
|
222
|
+
exports.MOCK_SURVEYS = (0, surveyData_1.MOCK_SURVEYS_DATA)(exports.userList);
|
|
223
|
+
exports.surveyList = exports.MOCK_SURVEYS;
|
|
224
|
+
const educationData_1 = require("./educationData");
|
|
225
|
+
const edu = (0, educationData_1.MOCK_EDUCATION_DATA)(exports.userList);
|
|
226
|
+
exports.schoolList = edu.schools;
|
|
227
|
+
exports.facultyList = edu.faculties;
|
|
228
|
+
exports.schoolTeamList = edu.teams;
|
|
229
|
+
exports.classroomList = edu.classrooms;
|
|
212
230
|
// Global Networking (Friends & Chats)
|
|
213
231
|
const possibleMessages = [
|
|
214
232
|
'Sunucuya reset atıyorum...',
|
|
@@ -233,7 +251,7 @@ const BERKAY_MYTHX_MESSAGES_DATA = [
|
|
|
233
251
|
// ---------------------------------------------------------
|
|
234
252
|
// STEP 1: Basic Community & Initial Groups
|
|
235
253
|
// ---------------------------------------------------------
|
|
236
|
-
userList.forEach((user) => {
|
|
254
|
+
exports.userList.forEach((user) => {
|
|
237
255
|
// Sync group memberships
|
|
238
256
|
user.groups.forEach((group) => {
|
|
239
257
|
if (!group.members.some((m) => m.username === user.username)) {
|
|
@@ -248,11 +266,11 @@ userList.forEach((user) => {
|
|
|
248
266
|
// ---------------------------------------------------------
|
|
249
267
|
// STEP 2: Bidirectional Friendships
|
|
250
268
|
// ---------------------------------------------------------
|
|
251
|
-
userList.forEach((user, index) => {
|
|
269
|
+
exports.userList.forEach((user, index) => {
|
|
252
270
|
// Add 5 random FRIENDS for everyone (bidirectional)
|
|
253
271
|
const targetFriendCount = 5;
|
|
254
272
|
for (let i = 0; user.friends.length < targetFriendCount && i < 20; i++) {
|
|
255
|
-
const randomFriend = userList[(index + 10 + i * 13) % userList.length];
|
|
273
|
+
const randomFriend = exports.userList[(index + 10 + i * 13) % exports.userList.length];
|
|
256
274
|
if (randomFriend.username !== user.username) {
|
|
257
275
|
if (!user.friends.some((f) => f.username === randomFriend.username))
|
|
258
276
|
user.friends.push(randomFriend);
|
|
@@ -262,7 +280,7 @@ userList.forEach((user, index) => {
|
|
|
262
280
|
}
|
|
263
281
|
// Ensure Berkay & MythX are friends
|
|
264
282
|
if (user.username === 'berkaytikenoglu') {
|
|
265
|
-
const myth = userList.find(u => u.username === 'mythx');
|
|
283
|
+
const myth = exports.userList.find(u => u.username === 'mythx');
|
|
266
284
|
if (myth) {
|
|
267
285
|
if (!user.friends.some((f) => f.username === 'mythx'))
|
|
268
286
|
user.friends.push(myth);
|
|
@@ -274,79 +292,79 @@ userList.forEach((user, index) => {
|
|
|
274
292
|
/**
|
|
275
293
|
* Seed data for posts
|
|
276
294
|
*/
|
|
277
|
-
|
|
278
|
-
new Post({
|
|
295
|
+
exports.postList = [
|
|
296
|
+
new Post_1.Post({
|
|
279
297
|
id: 'p1',
|
|
280
|
-
author: userList[0],
|
|
298
|
+
author: exports.userList[0],
|
|
281
299
|
content: 'ARMOYU V3 sistemleri üzerinde çalışmaya devam ediyoruz! Çok yakında yeni özelliklerle karşınızda olacağız. #ARMOYU #V3 #Development',
|
|
282
300
|
timestamp: '2 saat önce',
|
|
283
301
|
stats: { likes: 124, comments: 2, reposts: 5, shares: 8 },
|
|
284
302
|
hashtags: ['ARMOYU', 'V3', 'Development'],
|
|
285
|
-
likeList: [userList[1], userList[2], userList[5], userList[8], userList[15]],
|
|
286
|
-
repostList: [userList[3], userList[10]],
|
|
303
|
+
likeList: [exports.userList[1], exports.userList[2], exports.userList[5], exports.userList[8], exports.userList[15]],
|
|
304
|
+
repostList: [exports.userList[3], exports.userList[10]],
|
|
287
305
|
commentList: [
|
|
288
|
-
{ id: 'c1', author: userList[4], content: 'Büyük merakla bekliyoruz! Elinize sağlık.', timestamp: '1 saat önce' },
|
|
306
|
+
{ id: 'c1', author: exports.userList[4], content: 'Büyük merakla bekliyoruz! Elinize sağlık.', timestamp: '1 saat önce' },
|
|
289
307
|
{
|
|
290
|
-
id: 'c2', author: userList[12], content: 'Dashboard tasarımı çok temiz olmuş.', timestamp: '30 dk önce', replies: [
|
|
291
|
-
{ id: 'c2-1', author: userList[0], content: 'Teşekkürler hocam! 🙏', timestamp: '10 dk önce' }
|
|
308
|
+
id: 'c2', author: exports.userList[12], content: 'Dashboard tasarımı çok temiz olmuş.', timestamp: '30 dk önce', replies: [
|
|
309
|
+
{ id: 'c2-1', author: exports.userList[0], content: 'Teşekkürler hocam! 🙏', timestamp: '10 dk önce' }
|
|
292
310
|
]
|
|
293
311
|
}
|
|
294
312
|
]
|
|
295
313
|
}),
|
|
296
|
-
new Post({
|
|
314
|
+
new Post_1.Post({
|
|
297
315
|
id: 'p2',
|
|
298
|
-
author: userList[1],
|
|
316
|
+
author: exports.userList[1],
|
|
299
317
|
content: 'Bu akşam saat 20:00\'de büyük bir çekilişimiz var, sakın kaçırmayın! 🔥',
|
|
300
318
|
timestamp: '5 saat önce',
|
|
301
319
|
stats: { likes: 85, comments: 1, reposts: 12, shares: 20 },
|
|
302
320
|
media: ['https://images.unsplash.com/photo-1542751371-adc38448a05e?q=80&w=2670&auto=format&fit=crop'],
|
|
303
|
-
likeList: [userList[0], userList[10], userList[22], userList[45], userList[12], userList[5], userList[8]],
|
|
304
|
-
repostList: [userList[5], userList[8], userList[14], userList[16]],
|
|
321
|
+
likeList: [exports.userList[0], exports.userList[10], exports.userList[22], exports.userList[45], exports.userList[12], exports.userList[5], exports.userList[8]],
|
|
322
|
+
repostList: [exports.userList[5], exports.userList[8], exports.userList[14], exports.userList[16]],
|
|
305
323
|
commentList: [
|
|
306
|
-
{ id: 'p2-c1', author: userList[5], content: 'Yine efsane bir çekiliş bizi bekliyor!', timestamp: '4 saat önce' }
|
|
324
|
+
{ id: 'p2-c1', author: exports.userList[5], content: 'Yine efsane bir çekiliş bizi bekliyor!', timestamp: '4 saat önce' }
|
|
307
325
|
]
|
|
308
326
|
}),
|
|
309
|
-
new Post({
|
|
327
|
+
new Post_1.Post({
|
|
310
328
|
id: 'p3',
|
|
311
|
-
author: userList[2],
|
|
329
|
+
author: exports.userList[2],
|
|
312
330
|
content: 'Bugün harika bir day! Herkese iyi oyunlar dilerim. 🤍',
|
|
313
331
|
timestamp: '1 gün önce',
|
|
314
332
|
stats: { likes: 56, comments: 0, reposts: 1, shares: 2 },
|
|
315
|
-
likeList: [userList[1], userList[15], userList[18], userList[0], userList[5], userList[10]],
|
|
316
|
-
repostList: [userList[1]]
|
|
333
|
+
likeList: [exports.userList[1], exports.userList[15], exports.userList[18], exports.userList[0], exports.userList[5], exports.userList[10]],
|
|
334
|
+
repostList: [exports.userList[1]]
|
|
317
335
|
}),
|
|
318
|
-
new Post({
|
|
336
|
+
new Post_1.Post({
|
|
319
337
|
id: 'p4',
|
|
320
|
-
author: userList[0], // Berkay
|
|
338
|
+
author: exports.userList[0], // Berkay
|
|
321
339
|
content: 'Yeni bir blog yazısı paylaştım! "Modern Web Geliştirme Trendleri" hakkındaki düşüncelerimi okuyabilirsiniz. #Blog #WebDev',
|
|
322
340
|
timestamp: '3 saat önce',
|
|
323
341
|
stats: { likes: 210, comments: 0, reposts: 8, shares: 12 },
|
|
324
|
-
likeList: [userList[2], userList[14], userList[50], userList[60], userList[1], userList[5], userList[10], userList[11], userList[12]],
|
|
325
|
-
repostList: [userList[14], userList[5], userList[2]]
|
|
342
|
+
likeList: [exports.userList[2], exports.userList[14], exports.userList[50], exports.userList[60], exports.userList[1], exports.userList[5], exports.userList[10], exports.userList[11], exports.userList[12]],
|
|
343
|
+
repostList: [exports.userList[14], exports.userList[5], exports.userList[2]]
|
|
326
344
|
}),
|
|
327
|
-
new Post({
|
|
345
|
+
new Post_1.Post({
|
|
328
346
|
id: 'p5',
|
|
329
|
-
author: userList[14], // Engin
|
|
347
|
+
author: exports.userList[14], // Engin
|
|
330
348
|
content: 'Kod yazarken kahve olmazsa olmaz diyenler? ☕️⌨️',
|
|
331
349
|
timestamp: '6 saat önce',
|
|
332
350
|
stats: { likes: 45, comments: 0, reposts: 2, shares: 1 },
|
|
333
351
|
media: ['https://images.unsplash.com/photo-1517694712202-14dd9538aa97?q=80&w=2670&auto=format&fit=crop'],
|
|
334
|
-
likeList: [userList[0], userList[12], userList[1], userList[2], userList[3], userList[4]]
|
|
352
|
+
likeList: [exports.userList[0], exports.userList[12], exports.userList[1], exports.userList[2], exports.userList[3], exports.userList[4]]
|
|
335
353
|
}),
|
|
336
|
-
new Post({
|
|
354
|
+
new Post_1.Post({
|
|
337
355
|
id: 'p6',
|
|
338
|
-
author: userList[16], // Metehan
|
|
356
|
+
author: exports.userList[16], // Metehan
|
|
339
357
|
content: 'Birazdan yayındayız! Minecraft Survival serisinin yeni bölümü geliyor. Kaçırmayın! 🔴',
|
|
340
358
|
timestamp: '10 dk önce',
|
|
341
359
|
stats: { likes: 890, comments: 0, reposts: 50, shares: 30 },
|
|
342
|
-
likeList: [userList[1], userList[2], userList[3], userList[10], userList[11], userList[12], userList[14], userList[0], userList[5]],
|
|
343
|
-
repostList: [userList[0], userList[1], userList[14]]
|
|
360
|
+
likeList: [exports.userList[1], exports.userList[2], exports.userList[3], exports.userList[10], exports.userList[11], exports.userList[12], exports.userList[14], exports.userList[0], exports.userList[5]],
|
|
361
|
+
repostList: [exports.userList[0], exports.userList[1], exports.userList[14]]
|
|
344
362
|
})
|
|
345
363
|
];
|
|
346
364
|
// Final synchronization: link posts to users' myPosts list
|
|
347
|
-
postList.forEach(post => {
|
|
365
|
+
exports.postList.forEach(post => {
|
|
348
366
|
if (post.author) {
|
|
349
|
-
const user = userList.find(u => u.username === post.author?.username);
|
|
367
|
+
const user = exports.userList.find(u => u.username === post.author?.username);
|
|
350
368
|
if (user) {
|
|
351
369
|
if (!user.myPosts.some((p) => p.id === post.id)) {
|
|
352
370
|
user.myPosts.push(post);
|
|
@@ -358,76 +376,76 @@ postList.forEach(post => {
|
|
|
358
376
|
* Mock Session for Auto-Login
|
|
359
377
|
* notifications and chatList live on Session, not User.
|
|
360
378
|
*/
|
|
361
|
-
|
|
362
|
-
user: userList[0],
|
|
379
|
+
exports.MOCK_SESSION = new Session_1.Session({
|
|
380
|
+
user: exports.userList[0],
|
|
363
381
|
token: 'mock-jwt-token-berkay',
|
|
364
382
|
notifications: [
|
|
365
|
-
new Notification({
|
|
383
|
+
new Notification_1.Notification({
|
|
366
384
|
id: 'n1',
|
|
367
385
|
type: 'begeni',
|
|
368
|
-
category: NotificationCategory.SOCIAL,
|
|
386
|
+
category: NotificationEnums_1.NotificationCategory.SOCIAL,
|
|
369
387
|
title: 'Yeni Beğeni',
|
|
370
|
-
message: `${userList[5].displayName} bir gönderini beğendi.`,
|
|
371
|
-
sender: userList[5].toNotificationSender(),
|
|
388
|
+
message: `${exports.userList[5].displayName} bir gönderini beğendi.`,
|
|
389
|
+
sender: exports.userList[5].toNotificationSender(),
|
|
372
390
|
timestamp: '2024-03-29T10:00:00Z',
|
|
373
391
|
isRead: false
|
|
374
392
|
}),
|
|
375
|
-
new Notification({
|
|
393
|
+
new Notification_1.Notification({
|
|
376
394
|
id: 'n2',
|
|
377
395
|
type: 'yorum',
|
|
378
|
-
category: NotificationCategory.SOCIAL,
|
|
396
|
+
category: NotificationEnums_1.NotificationCategory.SOCIAL,
|
|
379
397
|
title: 'Yeni Yorum',
|
|
380
|
-
sender: userList[4].toNotificationSender(),
|
|
398
|
+
sender: exports.userList[4].toNotificationSender(),
|
|
381
399
|
timestamp: '1 saat önce',
|
|
382
400
|
isRead: false
|
|
383
401
|
}),
|
|
384
|
-
new Notification({
|
|
402
|
+
new Notification_1.Notification({
|
|
385
403
|
id: 'n3',
|
|
386
404
|
type: 'grup_davet',
|
|
387
405
|
category: 'GRUP',
|
|
388
|
-
sender: groupList[1].toNotificationSender(),
|
|
406
|
+
sender: exports.groupList[1].toNotificationSender(),
|
|
389
407
|
timestamp: '3 saat önce',
|
|
390
408
|
isRead: true
|
|
391
409
|
}),
|
|
392
|
-
new Notification({
|
|
410
|
+
new Notification_1.Notification({
|
|
393
411
|
id: 'n4',
|
|
394
412
|
type: 'sistem',
|
|
395
|
-
category: NotificationCategory.SYSTEM,
|
|
413
|
+
category: NotificationEnums_1.NotificationCategory.SYSTEM,
|
|
396
414
|
title: 'Sistem Güncellemesi',
|
|
397
415
|
message: 'ARMOYU V3 Beta 1.2 sürümüne güncellendi.',
|
|
398
|
-
sender: new NotificationSender({ type: 'SYSTEM', name: 'Sistem' }),
|
|
416
|
+
sender: new NotificationSender_1.NotificationSender({ type: 'SYSTEM', name: 'Sistem' }),
|
|
399
417
|
timestamp: '1 gün önce',
|
|
400
418
|
isRead: true
|
|
401
419
|
})
|
|
402
420
|
],
|
|
403
421
|
chatList: [
|
|
404
|
-
new Chat({
|
|
422
|
+
new Chat_1.Chat({
|
|
405
423
|
id: 'c1',
|
|
406
|
-
name: userList[1].displayName,
|
|
407
|
-
avatar: userList[1].avatar,
|
|
408
|
-
participants: [userList[0], userList[1]],
|
|
409
|
-
lastMessage: new ChatMessage({ content: 'V3 sistemleri efsane oldu!', timestamp: '10:45' }),
|
|
424
|
+
name: exports.userList[1].displayName,
|
|
425
|
+
avatar: exports.userList[1].avatar,
|
|
426
|
+
participants: [exports.userList[0], exports.userList[1]],
|
|
427
|
+
lastMessage: new Message_1.ChatMessage({ content: 'V3 sistemleri efsane oldu!', timestamp: '10:45' }),
|
|
410
428
|
time: '10:45',
|
|
411
429
|
unreadCount: 1,
|
|
412
430
|
isOnline: true
|
|
413
431
|
}),
|
|
414
|
-
new Chat({
|
|
432
|
+
new Chat_1.Chat({
|
|
415
433
|
id: 'c2',
|
|
416
|
-
name: userList[14].displayName,
|
|
417
|
-
avatar: userList[14].avatar,
|
|
418
|
-
participants: [userList[0], userList[14]],
|
|
419
|
-
lastMessage: new ChatMessage({ content: 'Aksam turnuva var mi?', timestamp: 'Dun' }),
|
|
434
|
+
name: exports.userList[14].displayName,
|
|
435
|
+
avatar: exports.userList[14].avatar,
|
|
436
|
+
participants: [exports.userList[0], exports.userList[14]],
|
|
437
|
+
lastMessage: new Message_1.ChatMessage({ content: 'Aksam turnuva var mi?', timestamp: 'Dun' }),
|
|
420
438
|
time: 'Dun',
|
|
421
439
|
unreadCount: 0,
|
|
422
440
|
isOnline: false
|
|
423
441
|
}),
|
|
424
|
-
new Chat({
|
|
442
|
+
new Chat_1.Chat({
|
|
425
443
|
id: 'c3',
|
|
426
444
|
name: 'ARMOYU Yonetim',
|
|
427
445
|
avatar: 'https://api.dicebear.com/7.x/identicon/svg?seed=Admin',
|
|
428
446
|
isGroup: true,
|
|
429
|
-
participants: [userList[0], userList[1], userList[2]],
|
|
430
|
-
lastMessage: new ChatMessage({ content: 'Yeni istasyonlar eklendi.', timestamp: '2 gun once' }),
|
|
447
|
+
participants: [exports.userList[0], exports.userList[1], exports.userList[2]],
|
|
448
|
+
lastMessage: new Message_1.ChatMessage({ content: 'Yeni istasyonlar eklendi.', timestamp: '2 gun once' }),
|
|
431
449
|
time: '2 gun once',
|
|
432
450
|
unreadCount: 5,
|
|
433
451
|
isOnline: true
|
|
@@ -437,8 +455,8 @@ export const MOCK_SESSION = new Session({
|
|
|
437
455
|
/**
|
|
438
456
|
* Shop & News Mock Data (Migrated from mockData.ts)
|
|
439
457
|
*/
|
|
440
|
-
|
|
441
|
-
new Product({
|
|
458
|
+
exports.MOCK_PRODUCTS = [
|
|
459
|
+
new Product_1.Product({
|
|
442
460
|
id: '1',
|
|
443
461
|
name: 'Premium VIP Üyelik',
|
|
444
462
|
category: 'Üyelik',
|
|
@@ -449,7 +467,7 @@ export const MOCK_PRODUCTS = [
|
|
|
449
467
|
badge: 'EN POPÜLER',
|
|
450
468
|
stock: 999
|
|
451
469
|
}),
|
|
452
|
-
new Product({
|
|
470
|
+
new Product_1.Product({
|
|
453
471
|
id: '2',
|
|
454
472
|
name: '1000 ARMOYU Coin',
|
|
455
473
|
category: 'Oyun İçi',
|
|
@@ -458,7 +476,7 @@ export const MOCK_PRODUCTS = [
|
|
|
458
476
|
image: 'https://images.unsplash.com/photo-1621416848469-8c2033bc699b?w=800&q=80',
|
|
459
477
|
stock: 9999
|
|
460
478
|
}),
|
|
461
|
-
new Product({
|
|
479
|
+
new Product_1.Product({
|
|
462
480
|
id: '3',
|
|
463
481
|
name: 'Elite Minecraft Paketi',
|
|
464
482
|
category: 'Oyun İçi',
|
|
@@ -467,7 +485,7 @@ export const MOCK_PRODUCTS = [
|
|
|
467
485
|
image: 'https://images.unsplash.com/photo-1627398242454-45a1465c2479?w=800&q=80',
|
|
468
486
|
stock: 50
|
|
469
487
|
}),
|
|
470
|
-
new Product({
|
|
488
|
+
new Product_1.Product({
|
|
471
489
|
id: '4',
|
|
472
490
|
name: 'ARMOYU Kapşonlu (Siyah)',
|
|
473
491
|
category: 'Giyim',
|
|
@@ -476,7 +494,7 @@ export const MOCK_PRODUCTS = [
|
|
|
476
494
|
image: 'https://images.unsplash.com/photo-1556821840-3a63f95609a7?w=800&q=80',
|
|
477
495
|
stock: 25
|
|
478
496
|
}),
|
|
479
|
-
new Product({
|
|
497
|
+
new Product_1.Product({
|
|
480
498
|
id: '5',
|
|
481
499
|
name: 'Efsanevi Kasa Anahtarı',
|
|
482
500
|
category: 'Oyun İçi',
|
|
@@ -484,7 +502,7 @@ export const MOCK_PRODUCTS = [
|
|
|
484
502
|
image: 'https://images.unsplash.com/photo-1552820728-8b83bb6b773f?w=800&q=80',
|
|
485
503
|
stock: 500
|
|
486
504
|
}),
|
|
487
|
-
new Product({
|
|
505
|
+
new Product_1.Product({
|
|
488
506
|
id: '6',
|
|
489
507
|
name: 'Discord Özel Rolü',
|
|
490
508
|
category: 'Üyelik',
|
|
@@ -493,8 +511,8 @@ export const MOCK_PRODUCTS = [
|
|
|
493
511
|
stock: 1000
|
|
494
512
|
})
|
|
495
513
|
];
|
|
496
|
-
|
|
497
|
-
new News({
|
|
514
|
+
exports.MOCK_NEWS = [
|
|
515
|
+
new News_1.News({
|
|
498
516
|
slug: 'armoyu-v3-yayinda',
|
|
499
517
|
title: 'ARMOYU V3 Sistemleri Yayına Girdi!',
|
|
500
518
|
excerpt: 'Uzun süredir beklenen ARMOYU V3 sistemlerimiz artık yayında. Yepyeni bir dashboard konsepti sizi bekliyor.',
|
|
@@ -510,12 +528,12 @@ export const MOCK_NEWS = [
|
|
|
510
528
|
<li><strong>Gelişmiş Grup Sistemi:</strong> Klan ve takım yönetimleri artık çok daha detaylı.</li>
|
|
511
529
|
</ul>
|
|
512
530
|
`,
|
|
513
|
-
author: userList[0], // Berkay
|
|
531
|
+
author: exports.userList[0], // Berkay
|
|
514
532
|
date: '31 Mart 2024',
|
|
515
533
|
image: 'https://images.unsplash.com/photo-1550745165-9bc0b252726f?w=1200&q=80',
|
|
516
534
|
category: 'Güncelleme'
|
|
517
535
|
}),
|
|
518
|
-
new News({
|
|
536
|
+
new News_1.News({
|
|
519
537
|
slug: 'yeni-donem-basliyor',
|
|
520
538
|
title: 'Toplulukta Yeni Bir Dönem Başlıyor',
|
|
521
539
|
excerpt: 'ARMOYU olarak topluluğumuzu bir üst seviyeye taşımak için yeni stratejilerimizi açıklıyoruz.',
|
|
@@ -523,41 +541,41 @@ export const MOCK_NEWS = [
|
|
|
523
541
|
<p>ARMOYU olarak topluluğumuzu bir üst seviyeye taşımak için yeni stratejilerimizi açıklıyoruz. Gelecek vizyonumuzda daha fazla oyun sunucusu ve daha geniş bir etkinlik takvimi yer alıyor.</p>
|
|
524
542
|
<p>Yeni yılda yapacağımız turnuvalar ve özel buluşmalar ile Türkiye'nin en aktif oyun topluluğu olma yolunda ilerliyoruz.</p>
|
|
525
543
|
`,
|
|
526
|
-
author: userList[1], // Alperen -> MythX'i admin olarak kullanabiliriz veya index 1
|
|
544
|
+
author: exports.userList[1], // Alperen -> MythX'i admin olarak kullanabiliriz veya index 1
|
|
527
545
|
date: '30 Mart 2024',
|
|
528
546
|
image: 'https://images.unsplash.com/photo-1511512578047-dfb367046420?w=1200&q=80',
|
|
529
547
|
category: 'Duyuru'
|
|
530
548
|
})
|
|
531
549
|
];
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
new Note({
|
|
535
|
-
username: userList[0].username,
|
|
536
|
-
avatar: userList[0].avatar,
|
|
550
|
+
exports.newsList = exports.MOCK_NEWS;
|
|
551
|
+
exports.MOCK_NOTES = [
|
|
552
|
+
new Note_1.Note({
|
|
553
|
+
username: exports.userList[0].username,
|
|
554
|
+
avatar: exports.userList[0].avatar,
|
|
537
555
|
content: 'Not bırak...',
|
|
538
556
|
createdAt: 'Şimdi'
|
|
539
557
|
}),
|
|
540
|
-
new Note({
|
|
541
|
-
username: userList[1].username,
|
|
542
|
-
avatar: userList[1].avatar,
|
|
558
|
+
new Note_1.Note({
|
|
559
|
+
username: exports.userList[1].username,
|
|
560
|
+
avatar: exports.userList[1].avatar,
|
|
543
561
|
content: 'V3 sistemleri efsane oldu! 🚀',
|
|
544
562
|
createdAt: '1 saat önce'
|
|
545
563
|
}),
|
|
546
|
-
new Note({
|
|
547
|
-
username: userList[14].username,
|
|
548
|
-
avatar: userList[14].avatar,
|
|
564
|
+
new Note_1.Note({
|
|
565
|
+
username: exports.userList[14].username,
|
|
566
|
+
avatar: exports.userList[14].avatar,
|
|
549
567
|
content: 'Akşam turnuva var, hazır mısınız? 🏆',
|
|
550
568
|
createdAt: '2 saat önce'
|
|
551
569
|
}),
|
|
552
|
-
new Note({
|
|
553
|
-
username: userList[9].username,
|
|
554
|
-
avatar: userList[9].avatar,
|
|
570
|
+
new Note_1.Note({
|
|
571
|
+
username: exports.userList[9].username,
|
|
572
|
+
avatar: exports.userList[9].avatar,
|
|
555
573
|
content: 'Kahve & Kod keyfi... ☕️⌨️',
|
|
556
574
|
createdAt: '3 saat önce'
|
|
557
575
|
}),
|
|
558
|
-
new Note({
|
|
559
|
-
username: userList[13].username,
|
|
560
|
-
avatar: userList[13].avatar,
|
|
576
|
+
new Note_1.Note({
|
|
577
|
+
username: exports.userList[13].username,
|
|
578
|
+
avatar: exports.userList[13].avatar,
|
|
561
579
|
content: 'Birazdan yayındayız! 🔴',
|
|
562
580
|
createdAt: '4 saat önce'
|
|
563
581
|
})
|
|
@@ -565,7 +583,7 @@ export const MOCK_NOTES = [
|
|
|
565
583
|
/**
|
|
566
584
|
* Global Statistics (Migrated from mockData.ts)
|
|
567
585
|
*/
|
|
568
|
-
|
|
586
|
+
exports.mockGlobalStats = {
|
|
569
587
|
totalPlayers: 15420,
|
|
570
588
|
malePlayers: 8950,
|
|
571
589
|
femalePlayers: 6470,
|
|
@@ -580,76 +598,76 @@ export const mockGlobalStats = {
|
|
|
580
598
|
/**
|
|
581
599
|
* Rankings (Derived from userList)
|
|
582
600
|
*/
|
|
583
|
-
|
|
601
|
+
exports.MOCK_RANKING_LEVEL = [...exports.userList]
|
|
584
602
|
.sort((a, b) => (b.level || 0) - (a.level || 0))
|
|
585
603
|
.slice(0, 10);
|
|
586
|
-
|
|
604
|
+
exports.MOCK_RANKING_POPULARITY = [...exports.userList]
|
|
587
605
|
.sort((a, b) => (b.popScore || 0) - (a.popScore || 0))
|
|
588
606
|
.slice(0, 10);
|
|
589
607
|
/**
|
|
590
608
|
* Stories Mock Data (Migrated and Reconstructed)
|
|
591
609
|
*/
|
|
592
|
-
|
|
593
|
-
new Story({ id: 's1', author: userList[0], isViewed: true }),
|
|
594
|
-
new Story({ id: 's2', author: userList[1], isViewed: false, media: 'https://images.unsplash.com/photo-1542751371-adc38448a05e?q=80&w=2670' }),
|
|
595
|
-
new Story({ id: 's3', author: userList[14], isViewed: false, media: 'https://images.unsplash.com/photo-1511512578047-dfb367046420?q=80&w=1200' }),
|
|
596
|
-
new Story({ id: 's4', author: userList[9], isViewed: true, media: 'https://images.unsplash.com/photo-1550745165-9bc0b252726f?q=80&w=800' }),
|
|
597
|
-
new Story({ id: 's5', author: userList[13], isViewed: false, media: 'https://images.unsplash.com/photo-1517694712202-14dd9538aa97?q=80&w=2670' }),
|
|
598
|
-
new Story({ id: 's6', author: userList[5], isViewed: true }),
|
|
599
|
-
new Story({ id: 's7', author: userList[10], isViewed: false }),
|
|
610
|
+
exports.MOCK_STORIES = [
|
|
611
|
+
new Story_1.Story({ id: 's1', author: exports.userList[0], isViewed: true }),
|
|
612
|
+
new Story_1.Story({ id: 's2', author: exports.userList[1], isViewed: false, media: 'https://images.unsplash.com/photo-1542751371-adc38448a05e?q=80&w=2670' }),
|
|
613
|
+
new Story_1.Story({ id: 's3', author: exports.userList[14], isViewed: false, media: 'https://images.unsplash.com/photo-1511512578047-dfb367046420?q=80&w=1200' }),
|
|
614
|
+
new Story_1.Story({ id: 's4', author: exports.userList[9], isViewed: true, media: 'https://images.unsplash.com/photo-1550745165-9bc0b252726f?q=80&w=800' }),
|
|
615
|
+
new Story_1.Story({ id: 's5', author: exports.userList[13], isViewed: false, media: 'https://images.unsplash.com/photo-1517694712202-14dd9538aa97?q=80&w=2670' }),
|
|
616
|
+
new Story_1.Story({ id: 's6', author: exports.userList[5], isViewed: true }),
|
|
617
|
+
new Story_1.Story({ id: 's7', author: exports.userList[10], isViewed: false }),
|
|
600
618
|
];
|
|
601
619
|
/**
|
|
602
620
|
* Game Mods Mock Data
|
|
603
621
|
*/
|
|
604
|
-
|
|
605
|
-
new Mod({ id: '1', name: 'ARMOYU Realistic Minecraft Pack', game: 'Minecraft', version: '1.20.1', author: userList[0], downloads: '1.2k', image: 'https://images.unsplash.com/photo-1627398242454-45a1465c2479?w=800&q=80', isFeatured: true, description: 'Minecraft görselliğini kökünden değiştiren, en gerçekçi shader ve doku paketleriyle entegre edilmiş ARMOYU özel mod paketi. Su yansımalarından, güneş ışınlarına kadar her detayı hisset.' }),
|
|
606
|
-
new Mod({ id: '2', name: 'Tofaş Doğan SLX Drift Mod', game: 'Assetto Corsa', version: 'v2.4', author: userList[2], downloads: '4.5k', image: 'https://images.unsplash.com/photo-1541899481282-d53bffe3c35d?w=800&q=80', description: 'Gelişmiş fizikler, ayarlanabilir süspansiyon ve tam uyumlu direksiyon hasasiyeti ile Tofaş Doğan SLX keyfini Assetto Corsa\'da yaşayın.' }),
|
|
607
|
-
new Mod({ id: '3', name: 'Medieval Kingdom Pack', game: 'Minecraft', version: '1.19.2', author: userList[3], downloads: '850', image: 'https://images.unsplash.com/photo-1599420186946-7b6fb4e297f0?w=800&q=80', description: 'Orta Çağ Krallığı temasına sahip bu devasa mod paketi, yeni silahlar, şatolar ve yepyeni düşmanlarla dolu zorlu bir hayatta kalma macerası.' }),
|
|
608
|
-
new Mod({ id: '4', name: 'Nürburgring Night Edition', game: 'Assetto Corsa', version: '1.0', author: userList[5], downloads: '2.1k', image: 'https://images.unsplash.com/photo-1503376780353-7e6692767b70?w=800&q=80', description: 'Efsanevi Nürburgring pistini karanlık çöktüğünde gece aydınlatmalarıyla oynamak için optimize edilmiş yüksek kaliteli harita modu.' }),
|
|
609
|
-
new Mod({ id: '5', name: 'ARMOYU Voice Chat Integration', game: 'Minecraft', version: 'v1.5', author: userList[4], downloads: '3.2k', image: 'https://images.unsplash.com/photo-1614850523296-d8c1af93d400?w=800&q=80', description: 'Oyuncuların 3D ses konumu sistemiyle oyun içinde Discord olmadan direkt iletişim kurmasını sağlayan eşsiz ARMOYU plugini.' }),
|
|
610
|
-
new Mod({ id: '6', name: 'Ultra Shader Pack V2', game: 'Genel', version: 'v5.0', author: userList[11], downloads: '12k', image: 'https://images.unsplash.com/photo-1550745165-9bc0b252726f?w=800&q=80', description: 'Işın izleme (Ray Tracing) teknolojisine benzeyen özel gölgelendirmeleri ile en çok tercih edilen ultra gerçekçi grafik motoru pakedi.' })
|
|
622
|
+
exports.MOCK_MODS = [
|
|
623
|
+
new Mod_1.Mod({ id: '1', name: 'ARMOYU Realistic Minecraft Pack', game: 'Minecraft', version: '1.20.1', author: exports.userList[0], downloads: '1.2k', image: 'https://images.unsplash.com/photo-1627398242454-45a1465c2479?w=800&q=80', isFeatured: true, description: 'Minecraft görselliğini kökünden değiştiren, en gerçekçi shader ve doku paketleriyle entegre edilmiş ARMOYU özel mod paketi. Su yansımalarından, güneş ışınlarına kadar her detayı hisset.' }),
|
|
624
|
+
new Mod_1.Mod({ id: '2', name: 'Tofaş Doğan SLX Drift Mod', game: 'Assetto Corsa', version: 'v2.4', author: exports.userList[2], downloads: '4.5k', image: 'https://images.unsplash.com/photo-1541899481282-d53bffe3c35d?w=800&q=80', description: 'Gelişmiş fizikler, ayarlanabilir süspansiyon ve tam uyumlu direksiyon hasasiyeti ile Tofaş Doğan SLX keyfini Assetto Corsa\'da yaşayın.' }),
|
|
625
|
+
new Mod_1.Mod({ id: '3', name: 'Medieval Kingdom Pack', game: 'Minecraft', version: '1.19.2', author: exports.userList[3], downloads: '850', image: 'https://images.unsplash.com/photo-1599420186946-7b6fb4e297f0?w=800&q=80', description: 'Orta Çağ Krallığı temasına sahip bu devasa mod paketi, yeni silahlar, şatolar ve yepyeni düşmanlarla dolu zorlu bir hayatta kalma macerası.' }),
|
|
626
|
+
new Mod_1.Mod({ id: '4', name: 'Nürburgring Night Edition', game: 'Assetto Corsa', version: '1.0', author: exports.userList[5], downloads: '2.1k', image: 'https://images.unsplash.com/photo-1503376780353-7e6692767b70?w=800&q=80', description: 'Efsanevi Nürburgring pistini karanlık çöktüğünde gece aydınlatmalarıyla oynamak için optimize edilmiş yüksek kaliteli harita modu.' }),
|
|
627
|
+
new Mod_1.Mod({ id: '5', name: 'ARMOYU Voice Chat Integration', game: 'Minecraft', version: 'v1.5', author: exports.userList[4], downloads: '3.2k', image: 'https://images.unsplash.com/photo-1614850523296-d8c1af93d400?w=800&q=80', description: 'Oyuncuların 3D ses konumu sistemiyle oyun içinde Discord olmadan direkt iletişim kurmasını sağlayan eşsiz ARMOYU plugini.' }),
|
|
628
|
+
new Mod_1.Mod({ id: '6', name: 'Ultra Shader Pack V2', game: 'Genel', version: 'v5.0', author: exports.userList[11], downloads: '12k', image: 'https://images.unsplash.com/photo-1550745165-9bc0b252726f?w=800&q=80', description: 'Işın izleme (Ray Tracing) teknolojisine benzeyen özel gölgelendirmeleri ile en çok tercih edilen ultra gerçekçi grafik motoru pakedi.' })
|
|
611
629
|
];
|
|
612
630
|
/**
|
|
613
631
|
* Forum Categories Mock Data
|
|
614
632
|
*/
|
|
615
|
-
|
|
633
|
+
exports.MOCK_FORUM_CATEGORIES = [
|
|
616
634
|
{
|
|
617
635
|
title: 'ARMOYU TOPLULUĞU',
|
|
618
636
|
boards: [
|
|
619
|
-
new Forum({ id: 'duyurular', name: 'Duyurular & Haberler', desc: 'ARMOYU hakkında en güncel haberler ve resmi duyurular.', topicCount: 124, postCount: 2540 }),
|
|
620
|
-
new Forum({ id: 'kurallar', name: 'Kurallar & Rehberler', desc: 'Topluluğumuzda uymanız gereken kurallar ve kullanım rehberleri.', topicCount: 12, postCount: 150 })
|
|
637
|
+
new Forum_1.Forum({ id: 'duyurular', name: 'Duyurular & Haberler', desc: 'ARMOYU hakkında en güncel haberler ve resmi duyurular.', topicCount: 124, postCount: 2540 }),
|
|
638
|
+
new Forum_1.Forum({ id: 'kurallar', name: 'Kurallar & Rehberler', desc: 'Topluluğumuzda uymanız gereken kurallar ve kullanım rehberleri.', topicCount: 12, postCount: 150 })
|
|
621
639
|
]
|
|
622
640
|
},
|
|
623
641
|
{
|
|
624
642
|
title: 'OYUN DÜNYASI',
|
|
625
643
|
boards: [
|
|
626
|
-
new Forum({ id: 'minecraft', name: 'Minecraft', desc: 'Minecraft sunucularımız, buildler ve teknik destek.', topicCount: 540, postCount: 8400, lastPost: { topicTitle: 'Sunucuya nasıl girerim?', author: 'MinecraftMaster', avatar: 'https://api.dicebear.com/7.x/avataaars/svg?seed=MC', time: '10 dk önce' } }),
|
|
627
|
-
new Forum({ id: 'csgo', name: 'Counter-Strike', desc: 'CS2 taktikleri, skin piyasası ve topluluk maçları.', topicCount: 320, postCount: 4200 }),
|
|
628
|
-
new Forum({ id: 'assetto', name: 'Assetto Corsa', desc: 'Simülasyon dünyası, modlar ve drift etkinlikleri.', topicCount: 210, postCount: 1800 })
|
|
644
|
+
new Forum_1.Forum({ id: 'minecraft', name: 'Minecraft', desc: 'Minecraft sunucularımız, buildler ve teknik destek.', topicCount: 540, postCount: 8400, lastPost: { topicTitle: 'Sunucuya nasıl girerim?', author: 'MinecraftMaster', avatar: 'https://api.dicebear.com/7.x/avataaars/svg?seed=MC', time: '10 dk önce' } }),
|
|
645
|
+
new Forum_1.Forum({ id: 'csgo', name: 'Counter-Strike', desc: 'CS2 taktikleri, skin piyasası ve topluluk maçları.', topicCount: 320, postCount: 4200 }),
|
|
646
|
+
new Forum_1.Forum({ id: 'assetto', name: 'Assetto Corsa', desc: 'Simülasyon dünyası, modlar ve drift etkinlikleri.', topicCount: 210, postCount: 1800 })
|
|
629
647
|
]
|
|
630
648
|
},
|
|
631
649
|
{
|
|
632
650
|
title: 'YAZILIM VE TEKNOLOJİ',
|
|
633
651
|
boards: [
|
|
634
|
-
new Forum({ id: 'web-dev', name: 'Web Geliştirme', desc: 'React, Next.js, CSS ve Web teknolojileri üzerine tartışmalar.', topicCount: 85, postCount: 740 }),
|
|
635
|
-
new Forum({ id: 'python', name: 'Python & AI', desc: 'Python projeleri, veri bilimi ve yapay zeka.', topicCount: 42, postCount: 320 })
|
|
652
|
+
new Forum_1.Forum({ id: 'web-dev', name: 'Web Geliştirme', desc: 'React, Next.js, CSS ve Web teknolojileri üzerine tartışmalar.', topicCount: 85, postCount: 740 }),
|
|
653
|
+
new Forum_1.Forum({ id: 'python', name: 'Python & AI', desc: 'Python projeleri, veri bilimi ve yapay zeka.', topicCount: 42, postCount: 320 })
|
|
636
654
|
]
|
|
637
655
|
}
|
|
638
656
|
];
|
|
639
657
|
/**
|
|
640
658
|
* Giveaways Mock Data
|
|
641
659
|
*/
|
|
642
|
-
|
|
643
|
-
new Giveaway({ id: 'g1', title: 'Aylık ARMOYU Plus Aboneliği', prize: '1 Aylık Plus + Discord Rolü', status: 'active', participants: 450, timeLeft: '3 Gün Kaldı', image: 'https://images.unsplash.com/photo-1550745165-9bc0b252726f?w=800&q=80' }),
|
|
644
|
-
new Giveaway({ id: 'g2', title: '500 ARMOYU Coin (Oyun İçi)', prize: '500 AC', status: 'active', participants: 210, timeLeft: '10 Saat Kaldı', image: 'https://images.unsplash.com/photo-1621416848469-8c2033bc699b?w=800&q=80' }),
|
|
645
|
-
new Giveaway({ id: 'g3', title: 'Steam $10 Cüzdan Kodu', prize: '$10 Cüzdan', status: 'ended', participants: 1200, timeLeft: 'Sona Erdi', image: 'https://images.unsplash.com/photo-1614680376593-902f74cf0d41?w=800&q=80' })
|
|
660
|
+
exports.MOCK_GIVEAWAYS = [
|
|
661
|
+
new Giveaway_1.Giveaway({ id: 'g1', title: 'Aylık ARMOYU Plus Aboneliği', prize: '1 Aylık Plus + Discord Rolü', status: 'active', participants: 450, timeLeft: '3 Gün Kaldı', image: 'https://images.unsplash.com/photo-1550745165-9bc0b252726f?w=800&q=80' }),
|
|
662
|
+
new Giveaway_1.Giveaway({ id: 'g2', title: '500 ARMOYU Coin (Oyun İçi)', prize: '500 AC', status: 'active', participants: 210, timeLeft: '10 Saat Kaldı', image: 'https://images.unsplash.com/photo-1621416848469-8c2033bc699b?w=800&q=80' }),
|
|
663
|
+
new Giveaway_1.Giveaway({ id: 'g3', title: 'Steam $10 Cüzdan Kodu', prize: '$10 Cüzdan', status: 'ended', participants: 1200, timeLeft: 'Sona Erdi', image: 'https://images.unsplash.com/photo-1614680376593-902f74cf0d41?w=800&q=80' })
|
|
646
664
|
];
|
|
647
|
-
|
|
665
|
+
exports.giveawayList = exports.MOCK_GIVEAWAYS;
|
|
648
666
|
/**
|
|
649
667
|
* Mock Projects Data
|
|
650
668
|
*/
|
|
651
|
-
|
|
652
|
-
new Project({
|
|
669
|
+
exports.MOCK_PROJECTS = [
|
|
670
|
+
new Project_1.Project({
|
|
653
671
|
id: 'p1',
|
|
654
672
|
name: 'ARMOYU V3 Dashboard',
|
|
655
673
|
description: 'Yeni nesil ARMOYU topluluk yönetim platformu. Glassmorphism tasarımı, gerçek zamanlı bildirimler ve optimize edilmiş kullanıcı deneyimi sunar.',
|
|
@@ -657,14 +675,14 @@ export const MOCK_PROJECTS = [
|
|
|
657
675
|
image: 'https://images.unsplash.com/photo-1550745165-9bc0b252726f?w=1200&q=80',
|
|
658
676
|
techStack: ['Next.js', 'TypeScript', 'Tailwind CSS', 'Socket.io'],
|
|
659
677
|
authors: [
|
|
660
|
-
{ user: userList[0], role: 'Proje Lideri' },
|
|
661
|
-
{ user: userList[1], role: 'UI/UX Tasarımcı' }
|
|
678
|
+
{ user: exports.userList[0], role: 'Proje Lideri' },
|
|
679
|
+
{ user: exports.userList[1], role: 'UI/UX Tasarımcı' }
|
|
662
680
|
],
|
|
663
|
-
group: groupList[1], // CODE MASTERS
|
|
681
|
+
group: exports.groupList[1], // CODE MASTERS
|
|
664
682
|
url: 'https://v3.armoyu.com',
|
|
665
683
|
githubUrl: 'https://github.com/armoyu/v3-dashboard'
|
|
666
684
|
}),
|
|
667
|
-
new Project({
|
|
685
|
+
new Project_1.Project({
|
|
668
686
|
id: 'p2',
|
|
669
687
|
name: 'Realistic Minecraft Launcher',
|
|
670
688
|
description: 'Modlu Minecraft oyuncuları için özel olarak geliştirilmiş, performans odaklı ve otomatik güncelleme özellikli launcher.',
|
|
@@ -672,12 +690,12 @@ export const MOCK_PROJECTS = [
|
|
|
672
690
|
image: 'https://images.unsplash.com/photo-1627398242454-45a1465c2479?w=1200&q=80',
|
|
673
691
|
techStack: ['Electron', 'React', 'Node.js'],
|
|
674
692
|
authors: [
|
|
675
|
-
{ user: userList[14], role: 'Baş Geliştirici' }
|
|
693
|
+
{ user: exports.userList[14], role: 'Baş Geliştirici' }
|
|
676
694
|
],
|
|
677
|
-
group: groupList[0], // RIHTIM
|
|
695
|
+
group: exports.groupList[0], // RIHTIM
|
|
678
696
|
url: 'https://launcher.armoyu.com'
|
|
679
697
|
}),
|
|
680
|
-
new Project({
|
|
698
|
+
new Project_1.Project({
|
|
681
699
|
id: 'p3',
|
|
682
700
|
name: 'ARMOYU Mobile App',
|
|
683
701
|
description: 'Toplulukla her zaman bağlantıda kalmanızı sağlayan, Flutter ile geliştirilen modern mobil uygulama projesi.',
|
|
@@ -685,21 +703,21 @@ export const MOCK_PROJECTS = [
|
|
|
685
703
|
image: 'https://images.unsplash.com/photo-1512941937669-90a1b58e7e9c?w=1200&q=80',
|
|
686
704
|
techStack: ['Flutter', 'Dart', 'Firebase'],
|
|
687
705
|
authors: [
|
|
688
|
-
{ user: userList[11], role: 'Mobile Dev' },
|
|
689
|
-
{ user: userList[0], role: 'API Architect' }
|
|
706
|
+
{ user: exports.userList[11], role: 'Mobile Dev' },
|
|
707
|
+
{ user: exports.userList[0], role: 'API Architect' }
|
|
690
708
|
],
|
|
691
|
-
group: groupList[1],
|
|
709
|
+
group: exports.groupList[1],
|
|
692
710
|
githubUrl: 'https://github.com/armoyu/mobile-app'
|
|
693
711
|
})
|
|
694
712
|
];
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
713
|
+
exports.projectList = exports.MOCK_PROJECTS;
|
|
714
|
+
exports.sessionList = [];
|
|
715
|
+
exports.armoyuProjects = exports.MOCK_PROJECTS;
|
|
716
|
+
exports.armoyuGiveaways = exports.giveawayList;
|
|
699
717
|
/**
|
|
700
718
|
* Forum Topics Mock Data
|
|
701
719
|
*/
|
|
702
|
-
|
|
720
|
+
exports.MOCK_FORUM_TOPICS = [
|
|
703
721
|
// Minecraft Board Topics
|
|
704
722
|
{ id: '1', boardId: 'minecraft', title: 'Sunucuya nasıl girerim?', author: 'MinecraftMaster', authorAvatar: 'https://api.dicebear.com/7.x/avataaars/svg?seed=MC', replies: 12, views: 240, lastActivity: '10 dk önce', lastAuthor: 'Berkay Tikenoğlu', isPinned: true, isHot: true },
|
|
705
723
|
{ id: '2', boardId: 'minecraft', title: 'Hala whitelist bekliyorum!', author: 'Oyuncu42', authorAvatar: 'https://api.dicebear.com/7.x/avataaars/svg?seed=42', replies: 4, views: 80, lastActivity: '2 saat önce', lastAuthor: 'Admin_Bey', isSolved: true },
|