@armoyu/ui 1.1.6 → 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.d.ts +6 -0
- package/dist/app/Providers.d.ts.map +1 -0
- package/dist/app/Providers.js +35 -0
- package/dist/app/Providers.js.map +1 -0
- package/dist/app/api/proxy/[...path]/route.d.ts +23 -0
- package/dist/app/api/proxy/[...path]/route.d.ts.map +1 -0
- package/dist/app/api/proxy/[...path]/route.js +140 -0
- package/dist/app/api/proxy/[...path]/route.js.map +1 -0
- package/dist/app/gruplar/[groupId]/page.js +13 -0
- package/dist/app/gruplar/[groupId]/page.js.map +1 -0
- package/dist/app/layout.d.ts +8 -0
- package/dist/app/layout.d.ts.map +1 -0
- package/dist/app/layout.js +36 -0
- package/dist/app/layout.js.map +1 -0
- package/dist/app/not-found.d.ts +2 -0
- package/dist/app/not-found.d.ts.map +1 -0
- package/dist/app/not-found.js +10 -0
- package/dist/app/not-found.js.map +1 -0
- package/dist/app/page.js +44 -0
- package/dist/app/page.js.map +1 -0
- package/dist/components/Button.d.ts +8 -0
- package/dist/components/Button.d.ts.map +1 -0
- package/dist/components/Button.js +52 -0
- package/dist/components/Button.js.map +1 -0
- package/dist/components/GenderStatsBar.d.ts +6 -0
- package/dist/components/GenderStatsBar.d.ts.map +1 -0
- package/dist/components/GenderStatsBar.js +11 -0
- package/dist/components/GenderStatsBar.js.map +1 -0
- package/dist/components/RollingNumber.d.ts +7 -0
- package/dist/components/RollingNumber.d.ts.map +1 -0
- package/dist/components/RollingNumber.js +27 -0
- package/dist/components/RollingNumber.js.map +1 -0
- package/dist/components/Slider.d.ts +11 -0
- package/dist/components/Slider.d.ts.map +1 -0
- package/dist/components/Slider.js +39 -0
- package/dist/components/Slider.js.map +1 -0
- package/dist/components/StatsGrid.d.ts +6 -0
- package/dist/components/StatsGrid.d.ts.map +1 -0
- package/dist/components/StatsGrid.js +17 -0
- package/dist/components/StatsGrid.js.map +1 -0
- package/dist/components/ViewModeToggle.d.ts +8 -0
- package/dist/components/ViewModeToggle.d.ts.map +1 -0
- package/dist/components/ViewModeToggle.js +13 -0
- package/dist/components/ViewModeToggle.js.map +1 -0
- 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.js +232 -0
- package/dist/components/modules/chat/ChatLayout.js.map +1 -0
- package/dist/components/modules/chat/widgets/ChatInput.d.ts +5 -0
- package/dist/components/modules/chat/widgets/ChatInput.d.ts.map +1 -0
- package/dist/components/modules/chat/widgets/ChatInput.js +34 -0
- package/dist/components/modules/chat/widgets/ChatInput.js.map +1 -0
- package/dist/components/modules/chat/widgets/ChatList.d.ts +7 -0
- package/dist/components/modules/chat/widgets/ChatList.d.ts.map +1 -0
- package/dist/components/modules/chat/widgets/ChatList.js +56 -0
- package/dist/components/modules/chat/widgets/ChatList.js.map +1 -0
- package/dist/components/modules/chat/widgets/ChatMessage.d.ts +12 -0
- package/dist/components/modules/chat/widgets/ChatMessage.d.ts.map +1 -0
- package/dist/components/modules/chat/widgets/ChatMessage.js +34 -0
- package/dist/components/modules/chat/widgets/ChatMessage.js.map +1 -0
- package/dist/components/modules/chat/widgets/ChatNotes.d.ts +2 -0
- package/dist/components/modules/chat/widgets/ChatNotes.d.ts.map +1 -0
- package/dist/components/modules/chat/widgets/ChatNotes.js +18 -0
- package/dist/components/modules/chat/widgets/ChatNotes.js.map +1 -0
- package/dist/components/modules/community/CommunityLayout.js +139 -0
- package/dist/components/modules/community/CommunityLayout.js.map +1 -0
- package/dist/components/modules/community/widgets/GroupAboutCard.d.ts +6 -0
- package/dist/components/modules/community/widgets/GroupAboutCard.d.ts.map +1 -0
- package/dist/components/modules/community/widgets/GroupAboutCard.js +10 -0
- package/dist/components/modules/community/widgets/GroupAboutCard.js.map +1 -0
- package/dist/components/modules/community/widgets/GroupFeedSection.d.ts +9 -0
- package/dist/components/modules/community/widgets/GroupFeedSection.d.ts.map +1 -0
- package/dist/components/modules/community/widgets/GroupFeedSection.js +11 -0
- package/dist/components/modules/community/widgets/GroupFeedSection.js.map +1 -0
- package/dist/components/modules/community/widgets/GroupHeader.d.ts +11 -0
- package/dist/components/modules/community/widgets/GroupHeader.d.ts.map +1 -0
- package/dist/components/modules/community/widgets/GroupHeader.js +21 -0
- package/dist/components/modules/community/widgets/GroupHeader.js.map +1 -0
- package/dist/components/modules/community/widgets/GroupMenu.d.ts +10 -0
- package/dist/components/modules/community/widgets/GroupMenu.d.ts.map +1 -0
- package/dist/components/modules/community/widgets/GroupMenu.js +23 -0
- package/dist/components/modules/community/widgets/GroupMenu.js.map +1 -0
- package/dist/components/modules/community/widgets/GroupPermissions.d.ts +6 -0
- package/dist/components/modules/community/widgets/GroupPermissions.d.ts.map +1 -0
- package/dist/components/modules/community/widgets/GroupPermissions.js +10 -0
- package/dist/components/modules/community/widgets/GroupPermissions.js.map +1 -0
- package/dist/components/modules/community/widgets/GroupStatsGrid.d.ts +11 -0
- package/dist/components/modules/community/widgets/GroupStatsGrid.d.ts.map +1 -0
- package/dist/components/modules/community/widgets/GroupStatsGrid.js +16 -0
- package/dist/components/modules/community/widgets/GroupStatsGrid.js.map +1 -0
- package/dist/components/modules/community/widgets/GroupTopMembers.d.ts +7 -0
- package/dist/components/modules/community/widgets/GroupTopMembers.d.ts.map +1 -0
- package/dist/components/modules/community/widgets/GroupTopMembers.js +14 -0
- package/dist/components/modules/community/widgets/GroupTopMembers.js.map +1 -0
- package/dist/components/modules/community/widgets/SchoolCard.d.ts +7 -0
- package/dist/components/modules/community/widgets/SchoolCard.d.ts.map +1 -0
- package/dist/components/modules/community/widgets/SchoolCard.js +14 -0
- package/dist/components/modules/community/widgets/SchoolCard.js.map +1 -0
- package/dist/components/modules/community/widgets/SurveyCard.d.ts +8 -0
- package/dist/components/modules/community/widgets/SurveyCard.d.ts.map +1 -0
- package/dist/components/modules/community/widgets/SurveyCard.js +28 -0
- package/dist/components/modules/community/widgets/SurveyCard.js.map +1 -0
- package/dist/components/modules/events/DetailPage.d.ts +7 -0
- package/dist/components/modules/events/DetailPage.d.ts.map +1 -0
- package/dist/components/modules/events/DetailPage.js +58 -0
- package/dist/components/modules/events/DetailPage.js.map +1 -0
- package/dist/components/modules/events/EventsLayout.d.ts +8 -0
- package/dist/components/modules/events/EventsLayout.d.ts.map +1 -0
- package/dist/components/modules/events/EventsLayout.js +9 -0
- package/dist/components/modules/events/EventsLayout.js.map +1 -0
- package/dist/components/modules/events/EventsPage.d.ts +8 -0
- package/dist/components/modules/events/EventsPage.d.ts.map +1 -0
- package/dist/components/modules/events/EventsPage.js +79 -0
- package/dist/components/modules/events/EventsPage.js.map +1 -0
- package/dist/components/modules/events/index.d.ts +7 -0
- package/dist/components/modules/events/index.d.ts.map +1 -0
- package/dist/components/modules/events/index.js +16 -0
- package/dist/components/modules/events/index.js.map +1 -0
- package/dist/components/modules/events/widgets/EventCard.d.ts +11 -0
- package/dist/components/modules/events/widgets/EventCard.d.ts.map +1 -0
- package/dist/components/modules/events/widgets/EventCard.js +16 -0
- package/dist/components/modules/events/widgets/EventCard.js.map +1 -0
- package/dist/components/modules/events/widgets/EventFormModal.d.ts +9 -0
- package/dist/components/modules/events/widgets/EventFormModal.d.ts.map +1 -0
- package/dist/components/modules/events/widgets/EventFormModal.js +27 -0
- package/dist/components/modules/events/widgets/EventFormModal.js.map +1 -0
- package/dist/components/modules/events/widgets/EventList.d.ts +10 -0
- package/dist/components/modules/events/widgets/EventList.d.ts.map +1 -0
- package/dist/components/modules/events/widgets/EventList.js +32 -0
- package/dist/components/modules/events/widgets/EventList.js.map +1 -0
- package/dist/components/modules/forum/widgets/ForumBoard.d.ts +17 -0
- package/dist/components/modules/forum/widgets/ForumBoard.d.ts.map +1 -0
- package/dist/components/modules/forum/widgets/ForumBoard.js +13 -0
- package/dist/components/modules/forum/widgets/ForumBoard.js.map +1 -0
- package/dist/components/modules/forum/widgets/ForumCategoryList.d.ts +6 -0
- package/dist/components/modules/forum/widgets/ForumCategoryList.d.ts.map +1 -0
- package/dist/components/modules/forum/widgets/ForumCategoryList.js +10 -0
- package/dist/components/modules/forum/widgets/ForumCategoryList.js.map +1 -0
- package/dist/components/modules/forum/widgets/ForumHeaderWidget.d.ts +6 -0
- package/dist/components/modules/forum/widgets/ForumHeaderWidget.d.ts.map +1 -0
- package/dist/components/modules/forum/widgets/ForumHeaderWidget.js +9 -0
- package/dist/components/modules/forum/widgets/ForumHeaderWidget.js.map +1 -0
- package/dist/components/modules/forum/widgets/ForumPost.d.ts +14 -0
- package/dist/components/modules/forum/widgets/ForumPost.d.ts.map +1 -0
- package/dist/components/modules/forum/widgets/ForumPost.js +9 -0
- package/dist/components/modules/forum/widgets/ForumPost.js.map +1 -0
- package/dist/components/modules/forum/widgets/ForumSidebar.d.ts +2 -0
- package/dist/components/modules/forum/widgets/ForumSidebar.d.ts.map +1 -0
- package/dist/components/modules/forum/widgets/ForumSidebar.js +9 -0
- package/dist/components/modules/forum/widgets/ForumSidebar.js.map +1 -0
- package/dist/components/modules/forum/widgets/NewTopicModal.d.ts +8 -0
- package/dist/components/modules/forum/widgets/NewTopicModal.d.ts.map +1 -0
- package/dist/components/modules/forum/widgets/NewTopicModal.js +30 -0
- package/dist/components/modules/forum/widgets/NewTopicModal.js.map +1 -0
- package/dist/components/modules/forum/widgets/TopicItem.d.ts +16 -0
- package/dist/components/modules/forum/widgets/TopicItem.d.ts.map +1 -0
- package/dist/components/modules/forum/widgets/TopicItem.js +13 -0
- package/dist/components/modules/forum/widgets/TopicItem.js.map +1 -0
- package/dist/components/modules/galleries/widgets/GalleryCard.d.ts +10 -0
- package/dist/components/modules/galleries/widgets/GalleryCard.d.ts.map +1 -0
- package/dist/components/modules/galleries/widgets/GalleryCard.js +9 -0
- package/dist/components/modules/galleries/widgets/GalleryCard.js.map +1 -0
- package/dist/components/modules/galleries/widgets/GalleryFilterBar.d.ts +8 -0
- package/dist/components/modules/galleries/widgets/GalleryFilterBar.d.ts.map +1 -0
- package/dist/components/modules/galleries/widgets/GalleryFilterBar.js +9 -0
- package/dist/components/modules/galleries/widgets/GalleryFilterBar.js.map +1 -0
- package/dist/components/modules/galleries/widgets/GalleryHeaderWidget.d.ts +2 -0
- package/dist/components/modules/galleries/widgets/GalleryHeaderWidget.d.ts.map +1 -0
- package/dist/components/modules/galleries/widgets/GalleryHeaderWidget.js +9 -0
- package/dist/components/modules/galleries/widgets/GalleryHeaderWidget.js.map +1 -0
- package/dist/components/modules/galleries/widgets/GalleryMasonryGrid.d.ts +7 -0
- package/dist/components/modules/galleries/widgets/GalleryMasonryGrid.d.ts.map +1 -0
- package/dist/components/modules/galleries/widgets/GalleryMasonryGrid.js +9 -0
- package/dist/components/modules/galleries/widgets/GalleryMasonryGrid.js.map +1 -0
- package/dist/components/modules/giveaways/widgets/GiveawayCard.d.ts +10 -0
- package/dist/components/modules/giveaways/widgets/GiveawayCard.d.ts.map +1 -0
- package/dist/components/modules/giveaways/widgets/GiveawayCard.js +10 -0
- package/dist/components/modules/giveaways/widgets/GiveawayCard.js.map +1 -0
- package/dist/components/modules/groups/widgets/ApplicationModal.d.ts +8 -0
- package/dist/components/modules/groups/widgets/ApplicationModal.d.ts.map +1 -0
- package/dist/components/modules/groups/widgets/ApplicationModal.js +31 -0
- package/dist/components/modules/groups/widgets/ApplicationModal.js.map +1 -0
- package/dist/components/modules/groups/widgets/GroupCard.d.ts +14 -0
- package/dist/components/modules/groups/widgets/GroupCard.d.ts.map +1 -0
- package/dist/components/modules/groups/widgets/GroupCard.js +14 -0
- package/dist/components/modules/groups/widgets/GroupCard.js.map +1 -0
- package/dist/components/modules/guest/widgets/Introduction.d.ts +2 -0
- package/dist/components/modules/guest/widgets/Introduction.d.ts.map +1 -0
- package/dist/components/modules/guest/widgets/Introduction.js +18 -0
- package/dist/components/modules/guest/widgets/Introduction.js.map +1 -0
- package/dist/components/modules/news/widgets/NewsCard.d.ts +12 -0
- package/dist/components/modules/news/widgets/NewsCard.d.ts.map +1 -0
- package/dist/components/modules/news/widgets/NewsCard.js +13 -0
- package/dist/components/modules/news/widgets/NewsCard.js.map +1 -0
- package/dist/components/modules/news/widgets/NewsComments.d.ts +4 -0
- package/dist/components/modules/news/widgets/NewsComments.d.ts.map +1 -0
- package/dist/components/modules/news/widgets/NewsComments.js +9 -0
- package/dist/components/modules/news/widgets/NewsComments.js.map +1 -0
- package/dist/components/modules/posts/widgets/MediaLightbox.d.ts +14 -0
- package/dist/components/modules/posts/widgets/MediaLightbox.d.ts.map +1 -0
- package/dist/components/modules/posts/widgets/MediaLightbox.js +50 -0
- package/dist/components/modules/posts/widgets/MediaLightbox.js.map +1 -0
- package/dist/components/modules/posts/widgets/PostCard.d.ts +36 -0
- package/dist/components/modules/posts/widgets/PostCard.d.ts.map +1 -0
- package/dist/components/modules/posts/widgets/PostCard.js +279 -0
- package/dist/components/modules/posts/widgets/PostCard.js.map +1 -0
- package/dist/components/modules/posts/widgets/PostInteractionsModal.d.ts +15 -0
- package/dist/components/modules/posts/widgets/PostInteractionsModal.d.ts.map +1 -0
- package/dist/components/modules/posts/widgets/PostInteractionsModal.js +19 -0
- package/dist/components/modules/posts/widgets/PostInteractionsModal.js.map +1 -0
- package/dist/components/modules/posts/widgets/RepostModal.d.ts +22 -0
- package/dist/components/modules/posts/widgets/RepostModal.d.ts.map +1 -0
- package/dist/components/modules/posts/widgets/RepostModal.js +79 -0
- package/dist/components/modules/posts/widgets/RepostModal.js.map +1 -0
- package/dist/components/modules/posts/widgets/SocialFeed.d.ts +20 -0
- package/dist/components/modules/posts/widgets/SocialFeed.d.ts.map +1 -0
- package/dist/components/modules/posts/widgets/SocialFeed.js +123 -0
- package/dist/components/modules/posts/widgets/SocialFeed.js.map +1 -0
- package/dist/components/modules/posts/widgets/Stories.d.ts +2 -0
- package/dist/components/modules/posts/widgets/Stories.d.ts.map +1 -0
- package/dist/components/modules/posts/widgets/Stories.js +24 -0
- package/dist/components/modules/posts/widgets/Stories.js.map +1 -0
- package/dist/components/modules/posts/widgets/StoryViewer.d.ts +10 -0
- package/dist/components/modules/posts/widgets/StoryViewer.d.ts.map +1 -0
- package/dist/components/modules/posts/widgets/StoryViewer.js +54 -0
- package/dist/components/modules/posts/widgets/StoryViewer.js.map +1 -0
- package/dist/components/modules/posts/widgets/reels/ReelCard.d.ts +16 -0
- package/dist/components/modules/posts/widgets/reels/ReelCard.d.ts.map +1 -0
- package/dist/components/modules/posts/widgets/reels/ReelCard.js +58 -0
- package/dist/components/modules/posts/widgets/reels/ReelCard.js.map +1 -0
- package/dist/components/modules/posts/widgets/reels/ReelsContainer.d.ts +7 -0
- package/dist/components/modules/posts/widgets/reels/ReelsContainer.d.ts.map +1 -0
- package/dist/components/modules/posts/widgets/reels/ReelsContainer.js +27 -0
- package/dist/components/modules/posts/widgets/reels/ReelsContainer.js.map +1 -0
- package/dist/components/modules/profile/ProfileLayout.js +73 -0
- package/dist/components/modules/profile/ProfileLayout.js.map +1 -0
- package/dist/components/modules/profile/tabs/AboutTab.d.ts +10 -0
- package/dist/components/modules/profile/tabs/AboutTab.d.ts.map +1 -0
- package/dist/components/modules/profile/tabs/AboutTab.js +12 -0
- package/dist/components/modules/profile/tabs/AboutTab.js.map +1 -0
- package/dist/components/modules/profile/tabs/CareerTab.d.ts +7 -0
- package/dist/components/modules/profile/tabs/CareerTab.d.ts.map +1 -0
- package/dist/components/modules/profile/tabs/CareerTab.js +49 -0
- package/dist/components/modules/profile/tabs/CareerTab.js.map +1 -0
- package/dist/components/modules/profile/tabs/FriendsTab.d.ts +11 -0
- package/dist/components/modules/profile/tabs/FriendsTab.d.ts.map +1 -0
- package/dist/components/modules/profile/tabs/FriendsTab.js +11 -0
- package/dist/components/modules/profile/tabs/FriendsTab.js.map +1 -0
- package/dist/components/modules/profile/tabs/GamesTab.d.ts +7 -0
- package/dist/components/modules/profile/tabs/GamesTab.d.ts.map +1 -0
- package/dist/components/modules/profile/tabs/GamesTab.js +40 -0
- package/dist/components/modules/profile/tabs/GamesTab.js.map +1 -0
- package/dist/components/modules/profile/tabs/GroupsTab.d.ts +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.js +48 -12
- package/dist/components/modules/profile/tabs/PostsTab.js.map +1 -1
- package/dist/components/modules/profile/widgets/CloudStorageModal.d.ts +9 -0
- package/dist/components/modules/profile/widgets/CloudStorageModal.d.ts.map +1 -0
- package/dist/components/modules/profile/widgets/CloudStorageModal.js +35 -0
- package/dist/components/modules/profile/widgets/CloudStorageModal.js.map +1 -0
- package/dist/components/modules/profile/widgets/EditProfileModal.d.ts +9 -0
- package/dist/components/modules/profile/widgets/EditProfileModal.d.ts.map +1 -0
- package/dist/components/modules/profile/widgets/EditProfileModal.js +31 -0
- package/dist/components/modules/profile/widgets/EditProfileModal.js.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileBadgesWidget.d.ts +2 -0
- package/dist/components/modules/profile/widgets/ProfileBadgesWidget.d.ts.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileBadgesWidget.js +9 -0
- package/dist/components/modules/profile/widgets/ProfileBadgesWidget.js.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileCloudWidget.d.ts +6 -0
- package/dist/components/modules/profile/widgets/ProfileCloudWidget.d.ts.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileCloudWidget.js +9 -0
- package/dist/components/modules/profile/widgets/ProfileCloudWidget.js.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileFriendsWidget.d.ts +8 -0
- package/dist/components/modules/profile/widgets/ProfileFriendsWidget.d.ts.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileFriendsWidget.js +15 -0
- package/dist/components/modules/profile/widgets/ProfileFriendsWidget.js.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileHeader.d.ts +8 -0
- package/dist/components/modules/profile/widgets/ProfileHeader.d.ts.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileHeader.js +26 -0
- package/dist/components/modules/profile/widgets/ProfileHeader.js.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileSidebar.d.ts +11 -0
- package/dist/components/modules/profile/widgets/ProfileSidebar.d.ts.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileSidebar.js +12 -0
- package/dist/components/modules/profile/widgets/ProfileSidebar.js.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileStats.d.ts +7 -0
- package/dist/components/modules/profile/widgets/ProfileStats.d.ts.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileStats.js +33 -0
- package/dist/components/modules/profile/widgets/ProfileStats.js.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileTabsArea.js +63 -0
- package/dist/components/modules/profile/widgets/ProfileTabsArea.js.map +1 -0
- package/dist/components/modules/profile/widgets/TeamSelectorModal.d.ts +11 -0
- package/dist/components/modules/profile/widgets/TeamSelectorModal.d.ts.map +1 -0
- package/dist/components/modules/profile/widgets/TeamSelectorModal.js +21 -0
- package/dist/components/modules/profile/widgets/TeamSelectorModal.js.map +1 -0
- package/dist/components/modules/shop/DetailLayout.d.ts +8 -0
- package/dist/components/modules/shop/DetailLayout.d.ts.map +1 -0
- package/dist/components/modules/shop/DetailLayout.js +25 -0
- package/dist/components/modules/shop/DetailLayout.js.map +1 -0
- package/dist/components/modules/shop/StoreLayout.d.ts +8 -0
- package/dist/components/modules/shop/StoreLayout.d.ts.map +1 -0
- package/dist/components/modules/shop/StoreLayout.js +9 -0
- package/dist/components/modules/shop/StoreLayout.js.map +1 -0
- package/dist/components/modules/shop/widgets/BackToStore.d.ts +2 -0
- package/dist/components/modules/shop/widgets/BackToStore.d.ts.map +1 -0
- package/dist/components/modules/shop/widgets/BackToStore.js +17 -0
- package/dist/components/modules/shop/widgets/BackToStore.js.map +1 -0
- package/dist/components/modules/shop/widgets/CategoryWidget.d.ts +8 -0
- package/dist/components/modules/shop/widgets/CategoryWidget.d.ts.map +1 -0
- package/dist/components/modules/shop/widgets/CategoryWidget.js +26 -0
- package/dist/components/modules/shop/widgets/CategoryWidget.js.map +1 -0
- package/dist/components/modules/shop/widgets/ProductCard.d.ts +8 -0
- package/dist/components/modules/shop/widgets/ProductCard.d.ts.map +1 -0
- package/dist/components/modules/shop/widgets/ProductCard.js +13 -0
- package/dist/components/modules/shop/widgets/ProductCard.js.map +1 -0
- package/dist/components/modules/shop/widgets/StoreHeader.d.ts +6 -0
- package/dist/components/modules/shop/widgets/StoreHeader.d.ts.map +1 -0
- package/dist/components/modules/shop/widgets/StoreHeader.js +15 -0
- package/dist/components/modules/shop/widgets/StoreHeader.js.map +1 -0
- package/dist/components/modules/shop/widgets/StoreProductGrid.d.ts +7 -0
- package/dist/components/modules/shop/widgets/StoreProductGrid.d.ts.map +1 -0
- package/dist/components/modules/shop/widgets/StoreProductGrid.js +19 -0
- package/dist/components/modules/shop/widgets/StoreProductGrid.js.map +1 -0
- package/dist/components/modules/shop/widgets/StoreSidebar.d.ts +8 -0
- package/dist/components/modules/shop/widgets/StoreSidebar.d.ts.map +1 -0
- package/dist/components/modules/shop/widgets/StoreSidebar.js +11 -0
- package/dist/components/modules/shop/widgets/StoreSidebar.js.map +1 -0
- package/dist/components/modules/shop/widgets/StoreTrustBadges.d.ts +2 -0
- package/dist/components/modules/shop/widgets/StoreTrustBadges.d.ts.map +1 -0
- package/dist/components/modules/shop/widgets/StoreTrustBadges.js +32 -0
- package/dist/components/modules/shop/widgets/StoreTrustBadges.js.map +1 -0
- package/dist/components/modules/social/SocialLayout.js +136 -0
- package/dist/components/modules/social/SocialLayout.js.map +1 -0
- package/dist/components/modules/social/widgets/EconomyWidget.d.ts +2 -0
- package/dist/components/modules/social/widgets/EconomyWidget.d.ts.map +1 -0
- package/dist/components/modules/social/widgets/EconomyWidget.js +48 -0
- package/dist/components/modules/social/widgets/EconomyWidget.js.map +1 -0
- package/dist/components/modules/social/widgets/LeagueWidget.d.ts +2 -0
- package/dist/components/modules/social/widgets/LeagueWidget.d.ts.map +1 -0
- package/dist/components/modules/social/widgets/LeagueWidget.js +46 -0
- package/dist/components/modules/social/widgets/LeagueWidget.js.map +1 -0
- package/dist/components/modules/social/widgets/MinecraftWidget.d.ts +2 -0
- package/dist/components/modules/social/widgets/MinecraftWidget.d.ts.map +1 -0
- package/dist/components/modules/social/widgets/MinecraftWidget.js +46 -0
- package/dist/components/modules/social/widgets/MinecraftWidget.js.map +1 -0
- package/dist/components/modules/social/widgets/RankingWidget.d.ts +5 -0
- package/dist/components/modules/social/widgets/RankingWidget.d.ts.map +1 -0
- package/dist/components/modules/social/widgets/RankingWidget.js +81 -0
- package/dist/components/modules/social/widgets/RankingWidget.js.map +1 -0
- package/dist/components/modules/social/widgets/SocialSidebar.d.ts +2 -0
- package/dist/components/modules/social/widgets/SocialSidebar.d.ts.map +1 -0
- package/dist/components/modules/social/widgets/SocialSidebar.js +12 -0
- package/dist/components/modules/social/widgets/SocialSidebar.js.map +1 -0
- package/dist/components/modules/stations/widgets/StationCard.d.ts +3 -0
- package/dist/components/modules/stations/widgets/StationCard.d.ts.map +1 -0
- package/dist/components/modules/stations/widgets/StationCard.js +32 -0
- package/dist/components/modules/stations/widgets/StationCard.js.map +1 -0
- package/dist/components/modules/stations/widgets/StationQRModal.d.ts +10 -0
- package/dist/components/modules/stations/widgets/StationQRModal.d.ts.map +1 -0
- package/dist/components/modules/stations/widgets/StationQRModal.js +16 -0
- package/dist/components/modules/stations/widgets/StationQRModal.js.map +1 -0
- package/dist/components/shared/DevTools.d.ts +2 -0
- package/dist/components/shared/DevTools.d.ts.map +1 -0
- package/dist/components/shared/DevTools.js +42 -0
- package/dist/components/shared/DevTools.js.map +1 -0
- package/dist/components/shared/FilterTabs.d.ts +16 -0
- package/dist/components/shared/FilterTabs.d.ts.map +1 -0
- package/dist/components/shared/FilterTabs.js +21 -0
- package/dist/components/shared/FilterTabs.js.map +1 -0
- package/dist/components/shared/FloatingChatButton.js +24 -0
- package/dist/components/shared/FloatingChatButton.js.map +1 -0
- package/dist/components/shared/Footer.d.ts +2 -0
- package/dist/components/shared/Footer.d.ts.map +1 -0
- package/dist/components/shared/Footer.js +13 -0
- package/dist/components/shared/Footer.js.map +1 -0
- package/dist/components/shared/Header.d.ts +7 -0
- package/dist/components/shared/Header.d.ts.map +1 -0
- package/dist/components/shared/Header.js +141 -0
- package/dist/components/shared/Header.js.map +1 -0
- package/dist/components/shared/ListToolbar.d.ts +32 -0
- package/dist/components/shared/ListToolbar.d.ts.map +1 -0
- package/dist/components/shared/ListToolbar.js +16 -0
- package/dist/components/shared/ListToolbar.js.map +1 -0
- package/dist/components/shared/LoginModal.d.ts +7 -0
- package/dist/components/shared/LoginModal.d.ts.map +1 -0
- package/dist/components/shared/LoginModal.js +12 -0
- package/dist/components/shared/LoginModal.js.map +1 -0
- package/dist/components/shared/MainLayoutWrapper.d.ts +5 -0
- package/dist/components/shared/MainLayoutWrapper.d.ts.map +1 -0
- package/dist/components/shared/MainLayoutWrapper.js +11 -0
- package/dist/components/shared/MainLayoutWrapper.js.map +1 -0
- package/dist/components/shared/NotFound.d.ts +21 -0
- package/dist/components/shared/NotFound.d.ts.map +1 -0
- package/dist/components/shared/NotFound.js +10 -0
- package/dist/components/shared/NotFound.js.map +1 -0
- package/dist/components/shared/PageWidth.d.ts +6 -0
- package/dist/components/shared/PageWidth.d.ts.map +1 -0
- package/dist/components/shared/PageWidth.js +17 -0
- package/dist/components/shared/PageWidth.js.map +1 -0
- 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.d.ts +14 -0
- package/dist/components/shared/SearchBar.d.ts.map +1 -0
- package/dist/components/shared/SearchBar.js +24 -0
- package/dist/components/shared/SearchBar.js.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 +9 -0
- package/dist/components/showcase/CommunityTab.js.map +1 -0
- package/dist/components/showcase/CorporateTab.js +23 -0
- package/dist/components/showcase/CorporateTab.js.map +1 -0
- package/dist/components/showcase/GeneralTab.js +9 -0
- package/dist/components/showcase/GeneralTab.js.map +1 -0
- package/dist/components/showcase/GroupTab.d.ts +2 -0
- package/dist/components/showcase/GroupTab.d.ts.map +1 -0
- package/dist/components/showcase/GroupTab.js +80 -0
- package/dist/components/showcase/GroupTab.js.map +1 -0
- package/dist/components/showcase/MessagesTab.js +23 -0
- package/dist/components/showcase/MessagesTab.js.map +1 -0
- package/dist/components/showcase/ProfileTab.js +55 -0
- package/dist/components/showcase/ProfileTab.js.map +1 -0
- package/dist/components/showcase/ReelsTab.d.ts +2 -0
- package/dist/components/showcase/ReelsTab.d.ts.map +1 -0
- package/dist/components/showcase/ReelsTab.js +37 -0
- package/dist/components/showcase/ReelsTab.js.map +1 -0
- package/dist/components/showcase/ShopTab.js +35 -0
- package/dist/components/showcase/ShopTab.js.map +1 -0
- package/dist/components/showcase/ShowcaseNavigation.d.ts +2 -0
- package/dist/components/showcase/ShowcaseNavigation.d.ts.map +1 -0
- package/dist/components/showcase/ShowcaseNavigation.js +38 -0
- package/dist/components/showcase/ShowcaseNavigation.js.map +1 -0
- package/dist/components/showcase/SocialTab.js +62 -0
- package/dist/components/showcase/SocialTab.js.map +1 -0
- package/dist/context/ArmoyuContext.d.ts +42 -0
- package/dist/context/ArmoyuContext.d.ts.map +1 -0
- package/dist/context/ArmoyuContext.js +80 -0
- package/dist/context/ArmoyuContext.js.map +1 -0
- package/dist/context/AuthContext.d.ts +23 -0
- package/dist/context/AuthContext.d.ts.map +1 -0
- package/dist/context/AuthContext.js +144 -0
- package/dist/context/AuthContext.js.map +1 -0
- package/dist/context/CartContext.d.ts +18 -0
- package/dist/context/CartContext.d.ts.map +1 -0
- package/dist/context/CartContext.js +67 -0
- package/dist/context/CartContext.js.map +1 -0
- package/dist/context/ChatContext.d.ts +23 -0
- package/dist/context/ChatContext.d.ts.map +1 -0
- package/dist/context/ChatContext.js +98 -0
- package/dist/context/ChatContext.js.map +1 -0
- package/dist/context/LayoutContext.d.ts +11 -0
- package/dist/context/LayoutContext.d.ts.map +1 -0
- package/dist/context/LayoutContext.js +21 -0
- package/dist/context/LayoutContext.js.map +1 -0
- package/dist/context/SocketContext.d.ts +13 -0
- package/dist/context/SocketContext.d.ts.map +1 -0
- package/dist/context/SocketContext.js +36 -0
- package/dist/context/SocketContext.js.map +1 -0
- package/dist/context/ThemeContext.d.ts +11 -0
- package/dist/context/ThemeContext.d.ts.map +1 -0
- package/dist/context/ThemeContext.js +44 -0
- package/dist/context/ThemeContext.js.map +1 -0
- package/dist/index.d.ts +9 -8
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +216 -114
- package/dist/index.js.map +1 -1
- package/dist/lib/ArmoyuUI.d.ts +18 -0
- package/dist/lib/ArmoyuUI.d.ts.map +1 -0
- package/dist/lib/ArmoyuUI.js +29 -0
- package/dist/lib/ArmoyuUI.js.map +1 -0
- package/dist/lib/constants/config.d.ts +9 -0
- package/dist/lib/constants/config.d.ts.map +1 -0
- package/dist/lib/constants/config.js +18 -0
- package/dist/lib/constants/config.js.map +1 -0
- package/dist/lib/constants/educationData.d.ts +11 -0
- package/dist/lib/constants/educationData.d.ts.map +1 -0
- package/dist/lib/constants/educationData.js +125 -0
- package/dist/lib/constants/educationData.js.map +1 -0
- package/dist/lib/constants/punishmentData.d.ts +30 -0
- package/dist/lib/constants/punishmentData.d.ts.map +1 -0
- package/dist/lib/constants/punishmentData.js +190 -0
- package/dist/lib/constants/punishmentData.js.map +1 -0
- package/dist/lib/constants/seedData.d.ts +182 -0
- package/dist/lib/constants/seedData.d.ts.map +1 -0
- package/dist/lib/constants/seedData.js +742 -0
- package/dist/lib/constants/seedData.js.map +1 -0
- package/dist/lib/constants/stationData.d.ts +16 -0
- package/dist/lib/constants/stationData.d.ts.map +1 -0
- package/dist/lib/constants/stationData.js +131 -0
- package/dist/lib/constants/stationData.js.map +1 -0
- package/dist/lib/constants/surveyData.d.ts +3 -0
- package/dist/lib/constants/surveyData.d.ts.map +1 -0
- package/dist/lib/constants/surveyData.js +55 -0
- package/dist/lib/constants/surveyData.js.map +1 -0
- package/dist/lib/constants/teamData.d.ts +19 -0
- package/dist/lib/constants/teamData.d.ts.map +1 -0
- package/dist/lib/constants/teamData.js +59 -0
- package/dist/lib/constants/teamData.js.map +1 -0
- package/dist/lib/utils/numberFormat.d.ts +10 -0
- package/dist/lib/utils/numberFormat.d.ts.map +1 -0
- package/dist/lib/utils/numberFormat.js +20 -0
- package/dist/lib/utils/numberFormat.js.map +1 -0
- package/dist/lib/utils/odpUtils.d.ts +16 -0
- package/dist/lib/utils/odpUtils.d.ts.map +1 -0
- package/dist/lib/utils/odpUtils.js +48 -0
- package/dist/lib/utils/odpUtils.js.map +1 -0
- package/dist/lib/utils/postUtils.d.ts +7 -0
- package/dist/lib/utils/postUtils.d.ts.map +1 -0
- package/dist/lib/utils/postUtils.js +40 -0
- package/dist/lib/utils/postUtils.js.map +1 -0
- package/dist/models/BaseModel.d.ts +13 -0
- package/dist/models/BaseModel.d.ts.map +1 -0
- package/dist/models/BaseModel.js +17 -0
- package/dist/models/BaseModel.js.map +1 -0
- package/dist/models/auth/RankedUser.d.ts +21 -0
- package/dist/models/auth/RankedUser.d.ts.map +1 -0
- package/dist/models/auth/RankedUser.js +41 -0
- package/dist/models/auth/RankedUser.js.map +1 -0
- package/dist/models/auth/Role.d.ts +16 -0
- package/dist/models/auth/Role.d.ts.map +1 -0
- package/dist/models/auth/Role.js +32 -0
- package/dist/models/auth/Role.js.map +1 -0
- package/dist/models/auth/Session.d.ts +25 -0
- package/dist/models/auth/Session.d.ts.map +1 -0
- package/dist/models/auth/Session.js +56 -0
- package/dist/models/auth/Session.js.map +1 -0
- package/dist/models/auth/StaffApplication.d.ts +21 -0
- package/dist/models/auth/StaffApplication.d.ts.map +1 -0
- package/dist/models/auth/StaffApplication.js +42 -0
- package/dist/models/auth/StaffApplication.js.map +1 -0
- package/dist/models/auth/TeamMember.d.ts +20 -0
- package/dist/models/auth/TeamMember.d.ts.map +1 -0
- package/dist/models/auth/TeamMember.js +40 -0
- package/dist/models/auth/TeamMember.js.map +1 -0
- package/dist/models/auth/User.d.ts +93 -0
- package/dist/models/auth/User.d.ts.map +1 -0
- package/dist/models/auth/User.js +221 -0
- package/dist/models/auth/User.js.map +1 -0
- package/dist/models/auth/UserBadge.d.ts +19 -0
- package/dist/models/auth/UserBadge.d.ts.map +1 -0
- package/dist/models/auth/UserBadge.js +40 -0
- package/dist/models/auth/UserBadge.js.map +1 -0
- package/dist/models/community/ArmoyuEvent.d.ts +53 -0
- package/dist/models/community/ArmoyuEvent.d.ts.map +1 -0
- package/dist/models/community/ArmoyuEvent.js +107 -0
- package/dist/models/community/ArmoyuEvent.js.map +1 -0
- package/dist/models/community/Classroom.d.ts +20 -0
- package/dist/models/community/Classroom.d.ts.map +1 -0
- package/dist/models/community/Classroom.js +39 -0
- package/dist/models/community/Classroom.js.map +1 -0
- package/dist/models/community/Faculty.d.ts +18 -0
- package/dist/models/community/Faculty.d.ts.map +1 -0
- package/dist/models/community/Faculty.js +35 -0
- package/dist/models/community/Faculty.js.map +1 -0
- package/dist/models/community/Forum.d.ts +27 -0
- package/dist/models/community/Forum.d.ts.map +1 -0
- package/dist/models/community/Forum.js +42 -0
- package/dist/models/community/Forum.js.map +1 -0
- package/dist/models/community/Giveaway.d.ts +23 -0
- package/dist/models/community/Giveaway.d.ts.map +1 -0
- package/dist/models/community/Giveaway.js +44 -0
- package/dist/models/community/Giveaway.js.map +1 -0
- package/dist/models/community/Group.d.ts +39 -0
- package/dist/models/community/Group.d.ts.map +1 -0
- package/dist/models/community/Group.js +121 -0
- package/dist/models/community/Group.js.map +1 -0
- package/dist/models/community/School.d.ts +29 -0
- package/dist/models/community/School.d.ts.map +1 -0
- package/dist/models/community/School.js +74 -0
- package/dist/models/community/School.js.map +1 -0
- package/dist/models/community/SchoolTeam.d.ts +28 -0
- package/dist/models/community/SchoolTeam.d.ts.map +1 -0
- package/dist/models/community/SchoolTeam.js +47 -0
- package/dist/models/community/SchoolTeam.js.map +1 -0
- package/dist/models/community/Station.d.ts +82 -0
- package/dist/models/community/Station.d.ts.map +1 -0
- package/dist/models/community/Station.js +177 -0
- package/dist/models/community/Station.js.map +1 -0
- package/dist/models/community/Survey.d.ts +28 -0
- package/dist/models/community/Survey.d.ts.map +1 -0
- package/dist/models/community/Survey.js +57 -0
- package/dist/models/community/Survey.js.map +1 -0
- package/dist/models/community/SurveyAnswer.d.ts +16 -0
- package/dist/models/community/SurveyAnswer.d.ts.map +1 -0
- package/dist/models/community/SurveyAnswer.js +32 -0
- package/dist/models/community/SurveyAnswer.js.map +1 -0
- package/dist/models/community/Team.d.ts +23 -0
- package/dist/models/community/Team.d.ts.map +1 -0
- package/dist/models/community/Team.js +66 -0
- package/dist/models/community/Team.js.map +1 -0
- package/dist/models/community/Workplace.d.ts +19 -0
- package/dist/models/community/Workplace.d.ts.map +1 -0
- package/dist/models/community/Workplace.js +38 -0
- package/dist/models/community/Workplace.js.map +1 -0
- package/dist/models/content/Game.d.ts +21 -0
- package/dist/models/content/Game.d.ts.map +1 -0
- package/dist/models/content/Game.js +46 -0
- package/dist/models/content/Game.js.map +1 -0
- package/dist/models/content/Media.d.ts +18 -0
- package/dist/models/content/Media.d.ts.map +1 -0
- package/dist/models/content/Media.js +36 -0
- package/dist/models/content/Media.js.map +1 -0
- package/dist/models/content/Mod.d.ts +22 -0
- package/dist/models/content/Mod.d.ts.map +1 -0
- package/dist/models/content/Mod.js +43 -0
- package/dist/models/content/Mod.js.map +1 -0
- package/dist/models/content/News.d.ts +37 -0
- package/dist/models/content/News.d.ts.map +1 -0
- package/dist/models/content/News.js +80 -0
- package/dist/models/content/News.js.map +1 -0
- package/dist/models/content/PlatformStation.d.ts +19 -0
- package/dist/models/content/PlatformStation.d.ts.map +1 -0
- package/dist/models/content/PlatformStation.js +38 -0
- package/dist/models/content/PlatformStation.js.map +1 -0
- package/dist/models/content/PlatformTeam.d.ts +15 -0
- package/dist/models/content/PlatformTeam.d.ts.map +1 -0
- package/dist/models/content/PlatformTeam.js +30 -0
- package/dist/models/content/PlatformTeam.js.map +1 -0
- package/dist/models/content/Project.d.ts +27 -0
- package/dist/models/content/Project.d.ts.map +1 -0
- package/dist/models/content/Project.js +47 -0
- package/dist/models/content/Project.js.map +1 -0
- package/dist/models/content/ProjectScore.d.ts +15 -0
- package/dist/models/content/ProjectScore.d.ts.map +1 -0
- package/dist/models/content/ProjectScore.js +30 -0
- package/dist/models/content/ProjectScore.js.map +1 -0
- package/dist/models/content/StationEquipment.d.ts +17 -0
- package/dist/models/content/StationEquipment.d.ts.map +1 -0
- package/dist/models/content/StationEquipment.js +34 -0
- package/dist/models/content/StationEquipment.js.map +1 -0
- package/dist/models/core/Country.d.ts +16 -0
- package/dist/models/core/Country.d.ts.map +1 -0
- package/dist/models/core/Country.js +32 -0
- package/dist/models/core/Country.js.map +1 -0
- package/dist/models/core/PlatformStats.d.ts +47 -0
- package/dist/models/core/PlatformStats.d.ts.map +1 -0
- package/dist/models/core/PlatformStats.js +94 -0
- package/dist/models/core/PlatformStats.js.map +1 -0
- package/dist/models/core/Province.d.ts +16 -0
- package/dist/models/core/Province.d.ts.map +1 -0
- package/dist/models/core/Province.js +32 -0
- package/dist/models/core/Province.js.map +1 -0
- package/dist/models/core/Rule.d.ts +17 -0
- package/dist/models/core/Rule.d.ts.map +1 -0
- package/dist/models/core/Rule.js +34 -0
- package/dist/models/core/Rule.js.map +1 -0
- package/dist/models/core/SystemSettings.d.ts +39 -0
- package/dist/models/core/SystemSettings.d.ts.map +1 -0
- package/dist/models/core/SystemSettings.js +70 -0
- package/dist/models/core/SystemSettings.js.map +1 -0
- package/dist/models/index.d.ts +59 -0
- package/dist/models/index.d.ts.map +1 -0
- package/dist/models/index.js +89 -0
- package/dist/models/index.js.map +1 -0
- package/dist/models/shop/CartItem.d.ts +21 -0
- package/dist/models/shop/CartItem.d.ts.map +1 -0
- package/dist/models/shop/CartItem.js +42 -0
- package/dist/models/shop/CartItem.js.map +1 -0
- package/dist/models/shop/Invoice.d.ts +19 -0
- package/dist/models/shop/Invoice.d.ts.map +1 -0
- package/dist/models/shop/Invoice.js +38 -0
- package/dist/models/shop/Invoice.js.map +1 -0
- package/dist/models/shop/Order.d.ts +24 -0
- package/dist/models/shop/Order.d.ts.map +1 -0
- package/dist/models/shop/Order.js +54 -0
- package/dist/models/shop/Order.js.map +1 -0
- package/dist/models/shop/Product.d.ts +27 -0
- package/dist/models/shop/Product.d.ts.map +1 -0
- package/dist/models/shop/Product.js +73 -0
- package/dist/models/shop/Product.js.map +1 -0
- package/dist/models/social/chat/Chat.d.ts +27 -0
- package/dist/models/social/chat/Chat.d.ts.map +1 -0
- package/dist/models/social/chat/Chat.js +86 -0
- package/dist/models/social/chat/Chat.js.map +1 -0
- package/dist/models/social/chat/Message.d.ts +18 -0
- package/dist/models/social/chat/Message.d.ts.map +1 -0
- package/dist/models/social/chat/Message.js +61 -0
- package/dist/models/social/chat/Message.js.map +1 -0
- package/dist/models/social/chat/Note.d.ts +16 -0
- package/dist/models/social/chat/Note.d.ts.map +1 -0
- package/dist/models/social/chat/Note.js +32 -0
- package/dist/models/social/chat/Note.js.map +1 -0
- package/dist/models/social/feed/Comment.d.ts +22 -0
- package/dist/models/social/feed/Comment.d.ts.map +1 -0
- package/dist/models/social/feed/Comment.js +51 -0
- package/dist/models/social/feed/Comment.js.map +1 -0
- package/dist/models/social/feed/Post.d.ts +24 -0
- package/dist/models/social/feed/Post.d.ts.map +1 -0
- package/dist/models/social/feed/Post.js +49 -0
- package/dist/models/social/feed/Post.js.map +1 -0
- package/dist/models/social/feed/Story.d.ts +18 -0
- package/dist/models/social/feed/Story.d.ts.map +1 -0
- package/dist/models/social/feed/Story.js +35 -0
- package/dist/models/social/feed/Story.js.map +1 -0
- package/dist/models/social/gaming/Game.d.ts +20 -0
- package/dist/models/social/gaming/Game.d.ts.map +1 -0
- package/dist/models/social/gaming/Game.js +40 -0
- package/dist/models/social/gaming/Game.js.map +1 -0
- package/dist/models/social/meta/AuthEnums.d.ts +18 -0
- package/dist/models/social/meta/AuthEnums.d.ts.map +1 -0
- package/dist/models/social/meta/AuthEnums.js +23 -0
- package/dist/models/social/meta/AuthEnums.js.map +1 -0
- package/dist/models/social/meta/MediaEnums.d.ts +20 -0
- package/dist/models/social/meta/MediaEnums.d.ts.map +1 -0
- package/dist/models/social/meta/MediaEnums.js +25 -0
- package/dist/models/social/meta/MediaEnums.js.map +1 -0
- package/dist/models/social/notification/Notification.d.ts +24 -0
- package/dist/models/social/notification/Notification.d.ts.map +1 -0
- package/dist/models/social/notification/Notification.js +70 -0
- package/dist/models/social/notification/Notification.js.map +1 -0
- package/dist/models/social/notification/NotificationEnums.d.ts +54 -0
- package/dist/models/social/notification/NotificationEnums.d.ts.map +1 -0
- package/dist/models/social/notification/NotificationEnums.js +62 -0
- package/dist/models/social/notification/NotificationEnums.js.map +1 -0
- package/dist/models/social/notification/NotificationSender.d.ts +17 -0
- package/dist/models/social/notification/NotificationSender.d.ts.map +1 -0
- package/dist/models/social/notification/NotificationSender.js +34 -0
- package/dist/models/social/notification/NotificationSender.js.map +1 -0
- package/dist/models/social/poll/Poll.d.ts +20 -0
- package/dist/models/social/poll/Poll.d.ts.map +1 -0
- package/dist/models/social/poll/Poll.js +39 -0
- package/dist/models/social/poll/Poll.js.map +1 -0
- package/dist/models/social/poll/PollOption.d.ts +16 -0
- package/dist/models/social/poll/PollOption.d.ts.map +1 -0
- package/dist/models/social/poll/PollOption.js +32 -0
- package/dist/models/social/poll/PollOption.js.map +1 -0
- package/dist/models/social/search/SearchEnums.d.ts +22 -0
- package/dist/models/social/search/SearchEnums.d.ts.map +1 -0
- package/dist/models/social/search/SearchEnums.js +27 -0
- package/dist/models/social/search/SearchEnums.js.map +1 -0
- package/dist/models/social/search/SearchResult.d.ts +22 -0
- package/dist/models/social/search/SearchResult.d.ts.map +1 -0
- package/dist/models/social/search/SearchResult.js +78 -0
- package/dist/models/social/search/SearchResult.js.map +1 -0
- package/dist/models/social/stats/Leaderboard.d.ts +30 -0
- package/dist/models/social/stats/Leaderboard.d.ts.map +1 -0
- package/dist/models/social/stats/Leaderboard.js +58 -0
- package/dist/models/social/stats/Leaderboard.js.map +1 -0
- package/dist/models/social/support/SupportTicket.d.ts +19 -0
- package/dist/models/social/support/SupportTicket.d.ts.map +1 -0
- package/dist/models/social/support/SupportTicket.js +38 -0
- package/dist/models/social/support/SupportTicket.js.map +1 -0
- package/dist/models/social/user/BlockedUser.d.ts +16 -0
- package/dist/models/social/user/BlockedUser.d.ts.map +1 -0
- package/dist/models/social/user/BlockedUser.js +31 -0
- package/dist/models/social/user/BlockedUser.js.map +1 -0
- package/dist/models/store/StoreItem.d.ts +19 -0
- package/dist/models/store/StoreItem.d.ts.map +1 -0
- package/dist/models/store/StoreItem.js +38 -0
- package/dist/models/store/StoreItem.js.map +1 -0
- package/dist/types/index.d.ts +4 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +20 -0
- package/dist/types/index.js.map +1 -0
- 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.d.ts +18 -0
- package/dist/types/stats.d.ts.map +1 -0
- package/dist/types/stats.js +3 -0
- package/dist/types/stats.js.map +1 -0
- package/package.json +2 -2
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.User = void 0;
|
|
4
|
+
const BaseModel_1 = require("../BaseModel");
|
|
5
|
+
const Role_1 = require("./Role");
|
|
6
|
+
const NotificationSender_1 = require("../social/notification/NotificationSender");
|
|
7
|
+
const Team_1 = require("../community/Team");
|
|
8
|
+
const UserBadge_1 = require("./UserBadge");
|
|
9
|
+
const Game_1 = require("../social/gaming/Game");
|
|
10
|
+
/**
|
|
11
|
+
* Represents a User in the aramizdakioyuncu.com platform.
|
|
12
|
+
*/
|
|
13
|
+
class User extends BaseModel_1.BaseModel {
|
|
14
|
+
id = '';
|
|
15
|
+
username = '';
|
|
16
|
+
displayName = '';
|
|
17
|
+
avatar = '';
|
|
18
|
+
banner = '';
|
|
19
|
+
bio = '';
|
|
20
|
+
role = null;
|
|
21
|
+
verified = false;
|
|
22
|
+
level = 1;
|
|
23
|
+
xp = 0;
|
|
24
|
+
seasonalXp = 0;
|
|
25
|
+
popScore = 0;
|
|
26
|
+
groups = [];
|
|
27
|
+
friends = [];
|
|
28
|
+
myPosts = [];
|
|
29
|
+
career = [];
|
|
30
|
+
zodiac;
|
|
31
|
+
favoriteTeam;
|
|
32
|
+
punishmentCount = 0;
|
|
33
|
+
distrustScore = 1.0;
|
|
34
|
+
odp = 0;
|
|
35
|
+
levelColor = '';
|
|
36
|
+
xpTarget = 1000;
|
|
37
|
+
friendCount = 0;
|
|
38
|
+
friendsCount = 0;
|
|
39
|
+
postCount = 0;
|
|
40
|
+
awardCount = 0;
|
|
41
|
+
mutualFriendsCount = 0;
|
|
42
|
+
gameCount = 0;
|
|
43
|
+
createdAt = '';
|
|
44
|
+
location = '';
|
|
45
|
+
followerCount = 0;
|
|
46
|
+
followingCount = 0;
|
|
47
|
+
viewsCount = 0;
|
|
48
|
+
socials = {};
|
|
49
|
+
firstName = '';
|
|
50
|
+
lastName = '';
|
|
51
|
+
isOnline = false;
|
|
52
|
+
lastSeen = '';
|
|
53
|
+
gender = '';
|
|
54
|
+
birthday = '';
|
|
55
|
+
email;
|
|
56
|
+
phoneNumber;
|
|
57
|
+
rankTitle = '';
|
|
58
|
+
badges = [];
|
|
59
|
+
rating = 0;
|
|
60
|
+
memberNumber = '';
|
|
61
|
+
headerImage = '';
|
|
62
|
+
age = 0;
|
|
63
|
+
inviteCode = '';
|
|
64
|
+
lastLoginAt = '';
|
|
65
|
+
registeredAt = '';
|
|
66
|
+
country = '';
|
|
67
|
+
city = '';
|
|
68
|
+
jobTitle = '';
|
|
69
|
+
defaultGroupId = '';
|
|
70
|
+
isFriend = false;
|
|
71
|
+
isFollowing = false;
|
|
72
|
+
friendStatusText = '';
|
|
73
|
+
popularGames = [];
|
|
74
|
+
mutualFriends = [];
|
|
75
|
+
constructor(data) {
|
|
76
|
+
super();
|
|
77
|
+
Object.assign(this, data);
|
|
78
|
+
this.punishmentCount = Number(data.punishmentCount || 0);
|
|
79
|
+
this.distrustScore = Number(data.distrustScore || 1.0);
|
|
80
|
+
this.odp = Number(data.odp || 0);
|
|
81
|
+
this.level = Number(data.level || 1);
|
|
82
|
+
this.xp = Number(data.xp || 0);
|
|
83
|
+
this.xpTarget = Number(data.xpTarget || 1000);
|
|
84
|
+
this.followerCount = Number(data.followerCount || 0);
|
|
85
|
+
this.followingCount = Number(data.followingCount || 0);
|
|
86
|
+
this.viewsCount = Number(data.viewsCount || 0);
|
|
87
|
+
}
|
|
88
|
+
addCareerEvent(event) {
|
|
89
|
+
const newEvent = {
|
|
90
|
+
...event,
|
|
91
|
+
id: `CR-${Math.random().toString(36).substr(2, 5).toUpperCase()}`
|
|
92
|
+
};
|
|
93
|
+
this.career = [newEvent, ...(this.career || [])];
|
|
94
|
+
}
|
|
95
|
+
getProfileUrl() {
|
|
96
|
+
return `/oyuncular/${this.username}`;
|
|
97
|
+
}
|
|
98
|
+
getFullName() {
|
|
99
|
+
if (this.firstName || this.lastName) {
|
|
100
|
+
return `${this.firstName} ${this.lastName}`.trim();
|
|
101
|
+
}
|
|
102
|
+
return this.displayName || this.username;
|
|
103
|
+
}
|
|
104
|
+
getName() {
|
|
105
|
+
return this.displayName || this.getFullName() || this.username;
|
|
106
|
+
}
|
|
107
|
+
isUserOnline() {
|
|
108
|
+
return this.isOnline;
|
|
109
|
+
}
|
|
110
|
+
getXpProgress() {
|
|
111
|
+
if (this.xpTarget <= 0)
|
|
112
|
+
return 0;
|
|
113
|
+
return Math.min(100, Math.max(0, (this.xp / this.xpTarget) * 100));
|
|
114
|
+
}
|
|
115
|
+
toNotificationSender() {
|
|
116
|
+
return new NotificationSender_1.NotificationSender({
|
|
117
|
+
id: this.id,
|
|
118
|
+
name: this.displayName,
|
|
119
|
+
avatar: this.avatar,
|
|
120
|
+
type: 'USER',
|
|
121
|
+
url: this.getProfileUrl()
|
|
122
|
+
});
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* Maps a raw API response (UserResponse) to a UI-friendly User instance.
|
|
126
|
+
*/
|
|
127
|
+
static fromAPI(json) {
|
|
128
|
+
if (!json)
|
|
129
|
+
return new User({});
|
|
130
|
+
const resolveKey = (keys) => {
|
|
131
|
+
// Find all matching keys
|
|
132
|
+
const matchingKeys = Object.keys(json).filter(k => keys.includes(k.toLowerCase()));
|
|
133
|
+
// Return the first one that has a non-empty value
|
|
134
|
+
for (const k of matchingKeys) {
|
|
135
|
+
const val = json[k];
|
|
136
|
+
if (val !== undefined && val !== null && val !== '')
|
|
137
|
+
return val;
|
|
138
|
+
}
|
|
139
|
+
return undefined;
|
|
140
|
+
};
|
|
141
|
+
const avatarData = resolveKey(['avatar', 'oyuncu_avatar', 'oyuncuminnakavatar', 'chatimage', 'player_avatar']);
|
|
142
|
+
const bannerData = resolveKey(['banner', 'oyuncu_kapak', 'kapak']);
|
|
143
|
+
const wallpaperData = resolveKey(['wallpaper', 'oyuncu_wallpaper', 'kapak_wallpaper']) || {};
|
|
144
|
+
const detailInfo = json.detailInfo || json.oyuncu_bilgi || json.detail_info || {};
|
|
145
|
+
const userRole = json.userRole || json.oyuncu_rutbe || {};
|
|
146
|
+
const jobData = json.job || {};
|
|
147
|
+
const countryData = detailInfo.country || {};
|
|
148
|
+
const provinceData = detailInfo.province || {};
|
|
149
|
+
return new User({
|
|
150
|
+
id: String(json.playerID || json.player_ID || json.id || json.owner_ID || json.id_user || json.user_id || json.oyuncuID || json.oyuncu_ID || ''),
|
|
151
|
+
username: json.username || json.kullaniciadi || json.player_userlogin || json.user_name || json.owner_username || json.oyuncu_ad || json.oyuncukullaniciad || json.oyuncukullaniciadi || json.oyuncukullanici_ad || '',
|
|
152
|
+
displayName: json.displayname || json.adsoyad || json.player_displayname || json.owner_displayname || json.displayName || json.user_displayname || json.name || json.username || json.oyuncuad || json.oyuncu_ad_soyad || '',
|
|
153
|
+
firstName: json.firstName || '',
|
|
154
|
+
lastName: json.lastName || '',
|
|
155
|
+
avatar: typeof avatarData === 'object' ? (avatarData.media_URL || avatarData.media_minURL || avatarData.media_bigURL || json.player_avatar || json.chatImage?.media_URL || '') : (avatarData || json.player_avatar || ''),
|
|
156
|
+
banner: typeof bannerData === 'object' ? (bannerData.media_URL || bannerData.media_bigURL || bannerData.media_minURL || '') : bannerData,
|
|
157
|
+
headerImage: typeof wallpaperData === 'object' ? (wallpaperData.media_URL || wallpaperData.media_bigURL || '') : wallpaperData,
|
|
158
|
+
bio: detailInfo.about || detailInfo.aciklama || json.bio || json.oyuncu_bio || json.aciklama || json.description || '',
|
|
159
|
+
role: Role_1.Role.fromAPI(userRole.roleName ? { name: userRole.roleName, color: userRole.roleColor } : json.role),
|
|
160
|
+
verified: json.verified === true || json.oyuncu_onay === 1 || json.oyuncu_onay === '1' || false,
|
|
161
|
+
level: Number(json.level || json.oyuncu_seviye || 1),
|
|
162
|
+
levelColor: json.levelColor || '',
|
|
163
|
+
xp: Number(json.levelXP || json.xp || json.user_xp || 0),
|
|
164
|
+
xpTarget: Number(json.nextLevelXP || json.xpTarget || json.seviye_xp_hedef || 1000),
|
|
165
|
+
popScore: Number(json.popScore || json.user_popscore || 0),
|
|
166
|
+
rating: Number(json.ODP || json.rating || 0),
|
|
167
|
+
odp: Number(json.ODP || json.onur_puani || 0),
|
|
168
|
+
memberNumber: String(json.kulno || json.memberNumber || ''),
|
|
169
|
+
age: Number(detailInfo.age || 0),
|
|
170
|
+
inviteCode: detailInfo.inviteCode || '',
|
|
171
|
+
lastLoginAt: detailInfo.lastloginDate || '',
|
|
172
|
+
registeredAt: json.registeredAt || json.registeredDate || json.created_at || '',
|
|
173
|
+
country: countryData.country_name || '',
|
|
174
|
+
city: provinceData.province_name || detailInfo.location || json.location || json.sehir || '',
|
|
175
|
+
jobTitle: jobData.job_name || '',
|
|
176
|
+
defaultGroupId: String(json.defaultGroup?.group_ID || ''),
|
|
177
|
+
groups: json.groups || json.user_groups || [],
|
|
178
|
+
friendCount: Number(detailInfo.friends || 0),
|
|
179
|
+
postCount: Number(detailInfo.posts || 0),
|
|
180
|
+
awardCount: Number(detailInfo.awards || 0),
|
|
181
|
+
friendsCount: Number(detailInfo.friends || 0),
|
|
182
|
+
mutualFriendsCount: Number(json.ortakarkadaslar || 0),
|
|
183
|
+
gameCount: Number(json.mevcutoyunsayisi || 0),
|
|
184
|
+
friends: Array.isArray(json.friends || json.arkadasliste) ? (json.friends || json.arkadasliste).map((f) => User.fromAPI(f)) : [],
|
|
185
|
+
mutualFriends: Array.isArray(json.ortakarkadasliste) ? json.ortakarkadasliste.map((f) => User.fromAPI(f)) : [],
|
|
186
|
+
followerCount: Number(json.followerCount || json.follower_count || json.oyuncu_takipci || 0),
|
|
187
|
+
followingCount: Number(json.followingCount || json.following_count || json.oyuncu_takip_edilen || 0),
|
|
188
|
+
viewsCount: Number(json.viewsCount || json.views_count || json.oyuncu_goruntulenme || 0),
|
|
189
|
+
zodiac: json.zodiac || json.burc || detailInfo.zodiac || '',
|
|
190
|
+
favoriteTeam: json.favoriteTeam || json.favorite_team || json.favori_takim || detailInfo.favorite_team || json.favTeam ? Team_1.Team.fromAPI(json.favoriteTeam || json.favorite_team || json.favori_takim || detailInfo.favorite_team || json.favTeam) : null,
|
|
191
|
+
createdAt: json.createdAt || json.created_at || json.kayit_tarihi || detailInfo.created_at || '',
|
|
192
|
+
location: detailInfo.location || json.location || json.sehir || detailInfo.city || detailInfo.sehir || '',
|
|
193
|
+
isOnline: json.isOnline === true || json.is_online === 1 || json.oyuncu_online === 1 || false,
|
|
194
|
+
lastSeen: json.lastSeen || json.last_login || json.son_gorulme || detailInfo.last_login || '',
|
|
195
|
+
gender: json.gender || json.cinsiyet || detailInfo.gender || detailInfo.cinsiyet || '',
|
|
196
|
+
birthday: json.birthday || json.dogum_tarihi || detailInfo.birthday || detailInfo.dogum_tarihi || detailInfo.birthdayDate || '',
|
|
197
|
+
email: json.email || json.user_email || detailInfo.email || '',
|
|
198
|
+
phoneNumber: json.phoneNumber || json.phone || json.telefon || detailInfo.phoneNumber || '',
|
|
199
|
+
rankTitle: json.rankTitle || json.rank_name || json.rutbe_ad || userRole.roleName || '',
|
|
200
|
+
isFriend: json.isFriend === true || json.is_friend === 1 || Number(json.arkadasdurum) === 1 || false,
|
|
201
|
+
isFollowing: json.isFollowing === true || json.is_following === 1 || false,
|
|
202
|
+
friendStatusText: json.arkadasdurumaciklama || '',
|
|
203
|
+
badges: Array.isArray(json.badges || json.rozetler) ? (json.badges || json.rozetler).map((b) => UserBadge_1.UserBadge.fromAPI(b)) : [],
|
|
204
|
+
popularGames: Array.isArray(json.popularGames) ? json.popularGames.map((g) => Game_1.Game.fromAPI(g)) : [],
|
|
205
|
+
socials: {
|
|
206
|
+
discord: detailInfo.discord || json.discord || '',
|
|
207
|
+
steam: detailInfo.steam || json.steam || jobData.steam || json.socailAccounts?.steam || '',
|
|
208
|
+
instagram: detailInfo.instagram || json.instagram || json.socailAccounts?.instagram || '',
|
|
209
|
+
twitter: detailInfo.twitter || json.twitter || json.socailAccounts?.twitter || '',
|
|
210
|
+
facebook: detailInfo.facebook || json.facebook || json.socailAccounts?.facebook || '',
|
|
211
|
+
linkedin: detailInfo.linkedin || json.linkedin || json.socailAccounts?.linkedin || '',
|
|
212
|
+
youtube: json.socailAccounts?.youtube || '',
|
|
213
|
+
twitch: json.socailAccounts?.twitch || '',
|
|
214
|
+
github: json.socailAccounts?.github || '',
|
|
215
|
+
...(json.socials || json.social_media || detailInfo.socials || {})
|
|
216
|
+
}
|
|
217
|
+
});
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
exports.User = User;
|
|
221
|
+
//# sourceMappingURL=User.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"User.js","sourceRoot":"","sources":["../../../src/models/auth/User.ts"],"names":[],"mappings":";;;AAAA,4CAAyC;AACzC,iCAA8B;AAC9B,kFAA+E;AAC/E,4CAAyC;AACzC,2CAAwC;AACxC,gDAA6C;AAa7C;;GAEG;AACH,MAAa,IAAK,SAAQ,qBAAS;IACjC,EAAE,GAAW,EAAE,CAAC;IAChB,QAAQ,GAAW,EAAE,CAAC;IACtB,WAAW,GAAW,EAAE,CAAC;IACzB,MAAM,GAAW,EAAE,CAAC;IACpB,MAAM,GAAW,EAAE,CAAC;IACpB,GA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,OAAO,IAAI,EAAE;gBACjD,KAAK,EAAE,UAAU,CAAC,KAAK,IAAI,IAAI,CAAC,KAAK,IAAI,OAAO,CAAC,KAAK,IAAI,IAAI,CAAC,cAAc,EAAE,KAAK,IAAI,EAAE;gBAC1F,SAAS,EAAE,UAAU,CAAC,SAAS,IAAI,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC,cAAc,EAAE,SAAS,IAAI,EAAE;gBACzF,OAAO,EAAE,UAAU,CAAC,OAAO,IAAI,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,cAAc,EAAE,OAAO,IAAI,EAAE;gBACjF,QAAQ,EAAE,UAAU,CAAC,QAAQ,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,cAAc,EAAE,QAAQ,IAAI,EAAE;gBACrF,QAAQ,EAAE,UAAU,CAAC,QAAQ,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,cAAc,EAAE,QAAQ,IAAI,EAAE;gBACrF,OAAO,EAAE,IAAI,CAAC,cAAc,EAAE,OAAO,IAAI,EAAE;gBAC3C,MAAM,EAAE,IAAI,CAAC,cAAc,EAAE,MAAM,IAAI,EAAE;gBACzC,MAAM,EAAE,IAAI,CAAC,cAAc,EAAE,MAAM,IAAI,EAAE;gBACzC,GAAG,CAAC,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,YAAY,IAAI,UAAU,CAAC,OAAO,IAAI,EAAE,CAAC;aACnE;SACF,CAAC,CAAC;IACL,CAAC;CACF;AAtOD,oBAsOC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { BaseModel } from '../BaseModel';
|
|
2
|
+
/**
|
|
3
|
+
* Represents a Badge or Achievement earned by a user.
|
|
4
|
+
*/
|
|
5
|
+
export declare class UserBadge extends BaseModel {
|
|
6
|
+
id: string;
|
|
7
|
+
name: string;
|
|
8
|
+
description: string;
|
|
9
|
+
icon: string;
|
|
10
|
+
color: string;
|
|
11
|
+
earnedAt?: string;
|
|
12
|
+
constructor(data: Partial<UserBadge>);
|
|
13
|
+
/**
|
|
14
|
+
* Instantiates a UserBadge object from an API response.
|
|
15
|
+
*/
|
|
16
|
+
static fromAPI(json: any): UserBadge;
|
|
17
|
+
}
|
|
18
|
+
export declare const mapBadgeFromAPI: (json: any) => UserBadge;
|
|
19
|
+
//# sourceMappingURL=UserBadge.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UserBadge.d.ts","sourceRoot":"","sources":["../../../src/models/auth/UserBadge.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC;;GAEG;AACH,qBAAa,SAAU,SAAQ,SAAS;IACtC,EAAE,EAAE,MAAM,CAAM;IAChB,IAAI,EAAE,MAAM,CAAM;IAClB,WAAW,EAAE,MAAM,CAAM;IACzB,IAAI,EAAE,MAAM,CAAM;IAClB,KAAK,EAAE,MAAM,CAAM;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAM;gBAEX,IAAI,EAAE,OAAO,CAAC,SAAS,CAAC;IAKpC;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,GAAG,GAAG,SAAS;CAYrC;AAED,eAAO,MAAM,eAAe,GAAI,MAAM,GAAG,KAAG,SAE3C,CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.mapBadgeFromAPI = exports.UserBadge = void 0;
|
|
4
|
+
const BaseModel_1 = require("../BaseModel");
|
|
5
|
+
/**
|
|
6
|
+
* Represents a Badge or Achievement earned by a user.
|
|
7
|
+
*/
|
|
8
|
+
class UserBadge extends BaseModel_1.BaseModel {
|
|
9
|
+
id = '';
|
|
10
|
+
name = '';
|
|
11
|
+
description = '';
|
|
12
|
+
icon = '';
|
|
13
|
+
color = '';
|
|
14
|
+
earnedAt = '';
|
|
15
|
+
constructor(data) {
|
|
16
|
+
super();
|
|
17
|
+
Object.assign(this, data);
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Instantiates a UserBadge object from an API response.
|
|
21
|
+
*/
|
|
22
|
+
static fromAPI(json) {
|
|
23
|
+
if (!json)
|
|
24
|
+
return new UserBadge({});
|
|
25
|
+
return new UserBadge({
|
|
26
|
+
id: String(json.id || json.rozet_id || ''),
|
|
27
|
+
name: json.name || json.rozet_ad || json.title || '',
|
|
28
|
+
description: json.description || json.rozet_aciklama || '',
|
|
29
|
+
icon: json.icon || json.rozet_icon || json.image_url || '',
|
|
30
|
+
color: json.color || json.rozet_renk || '#808080',
|
|
31
|
+
earnedAt: json.earnedAt || json.kazanma_tarihi || json.date || ''
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
exports.UserBadge = UserBadge;
|
|
36
|
+
const mapBadgeFromAPI = (json) => {
|
|
37
|
+
return UserBadge.fromAPI(json);
|
|
38
|
+
};
|
|
39
|
+
exports.mapBadgeFromAPI = mapBadgeFromAPI;
|
|
40
|
+
//# sourceMappingURL=UserBadge.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UserBadge.js","sourceRoot":"","sources":["../../../src/models/auth/UserBadge.ts"],"names":[],"mappings":";;;AAAA,4CAAyC;AAEzC;;GAEG;AACH,MAAa,SAAU,SAAQ,qBAAS;IACtC,EAAE,GAAW,EAAE,CAAC;IAChB,IAAI,GAAW,EAAE,CAAC;IAClB,WAAW,GAAW,EAAE,CAAC;IACzB,IAAI,GAAW,EAAE,CAAC;IAClB,KAAK,GAAW,EAAE,CAAC;IACnB,QAAQ,GAAY,EAAE,CAAC;IAEvB,YAAY,IAAwB;QAClC,KAAK,EAAE,CAAC;QACR,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IAC5B,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,IAAS;QACtB,IAAI,CAAC,IAAI;YAAE,OAAO,IAAI,SAAS,CAAC,EAAE,CAAC,CAAC;QAEpC,OAAO,IAAI,SAAS,CAAC;YACnB,EAAE,EAAE,MAAM,CAAC,IAAI,CAAC,EAAE,IAAI,IAAI,CAAC,QAAQ,IAAI,EAAE,CAAC;YAC1C,IAAI,EAAE,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,KAAK,IAAI,EAAE;YACpD,WAAW,EAAE,IAAI,CAAC,WAAW,IAAI,IAAI,CAAC,cAAc,IAAI,EAAE;YAC1D,IAAI,EAAE,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,UAAU,IAAI,IAAI,CAAC,SAAS,IAAI,EAAE;YAC1D,KAAK,EAAE,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,UAAU,IAAI,SAAS;YACjD,QAAQ,EAAE,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,cAAc,IAAI,IAAI,CAAC,IAAI,IAAI,EAAE;SAClE,CAAC,CAAC;IACL,CAAC;CACF;AA5BD,8BA4BC;AAEM,MAAM,eAAe,GAAG,CAAC,IAAS,EAAa,EAAE;IACtD,OAAO,SAAS,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;AACjC,CAAC,CAAC;AAFW,QAAA,eAAe,mBAE1B"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { BaseModel } from '../BaseModel';
|
|
2
|
+
/**
|
|
3
|
+
* Represents an entity that organizes an event.
|
|
4
|
+
*/
|
|
5
|
+
export declare class EventOrganizer extends BaseModel {
|
|
6
|
+
id: number;
|
|
7
|
+
displayName: string;
|
|
8
|
+
avatar: string;
|
|
9
|
+
constructor(data: Partial<EventOrganizer>);
|
|
10
|
+
/**
|
|
11
|
+
* Instantiates an EventOrganizer object from an API response.
|
|
12
|
+
*/
|
|
13
|
+
static fromAPI(json: Record<string, any>): EventOrganizer;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Represents an ARMOYU platform event (tournament, meeting, etc.) in the UI.
|
|
17
|
+
*/
|
|
18
|
+
export declare class ArmoyuEvent extends BaseModel {
|
|
19
|
+
id: number;
|
|
20
|
+
name: string;
|
|
21
|
+
status: number;
|
|
22
|
+
link: string;
|
|
23
|
+
thumbnail: string;
|
|
24
|
+
image?: string;
|
|
25
|
+
gameId: number;
|
|
26
|
+
gameName: string;
|
|
27
|
+
gameLogo: string;
|
|
28
|
+
gameBanner: string;
|
|
29
|
+
organizers: EventOrganizer[];
|
|
30
|
+
type: string;
|
|
31
|
+
date: string;
|
|
32
|
+
participantType: string;
|
|
33
|
+
participantLimit: number;
|
|
34
|
+
groupPlayerLimit: number;
|
|
35
|
+
currentParticipants: number;
|
|
36
|
+
location: string;
|
|
37
|
+
description: string;
|
|
38
|
+
rules: string;
|
|
39
|
+
constructor(data: Partial<ArmoyuEvent>);
|
|
40
|
+
/**
|
|
41
|
+
* Instantiates an ArmoyuEvent object from an API response.
|
|
42
|
+
*/
|
|
43
|
+
static fromAPI(json: Record<string, any>): ArmoyuEvent;
|
|
44
|
+
/**
|
|
45
|
+
* Checks if the event has space for more participants.
|
|
46
|
+
*/
|
|
47
|
+
hasSpace(): boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Returns a formatted progress string for participants (e.g. "12/16").
|
|
50
|
+
*/
|
|
51
|
+
getParticipantProgress(): string;
|
|
52
|
+
}
|
|
53
|
+
//# sourceMappingURL=ArmoyuEvent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ArmoyuEvent.d.ts","sourceRoot":"","sources":["../../../src/models/community/ArmoyuEvent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC;;GAEG;AACH,qBAAa,cAAe,SAAQ,SAAS;IAC3C,EAAE,EAAE,MAAM,CAAK;IACf,WAAW,EAAE,MAAM,CAAM;IACzB,MAAM,EAAE,MAAM,CAAM;gBAER,IAAI,EAAE,OAAO,CAAC,cAAc,CAAC;IAKzC;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,cAAc;CAQ1D;AAED;;GAEG;AACH,qBAAa,WAAY,SAAQ,SAAS;IACxC,EAAE,EAAE,MAAM,CAAK;IACf,IAAI,EAAE,MAAM,CAAM;IAClB,MAAM,EAAE,MAAM,CAAK;IACnB,IAAI,EAAE,MAAM,CAAM;IAClB,SAAS,EAAE,MAAM,CAAM;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf,MAAM,EAAE,MAAM,CAAK;IACnB,QAAQ,EAAE,MAAM,CAAM;IACtB,QAAQ,EAAE,MAAM,CAAM;IACtB,UAAU,EAAE,MAAM,CAAM;IAGxB,UAAU,EAAE,cAAc,EAAE,CAAM;IAGlC,IAAI,EAAE,MAAM,CAAM;IAClB,IAAI,EAAE,MAAM,CAAM;IAClB,eAAe,EAAE,MAAM,CAAM;IAC7B,gBAAgB,EAAE,MAAM,CAAK;IAC7B,gBAAgB,EAAE,MAAM,CAAK;IAC7B,mBAAmB,EAAE,MAAM,CAAK;IAEhC,QAAQ,EAAE,MAAM,CAAM;IACtB,WAAW,EAAE,MAAM,CAAM;IACzB,KAAK,EAAE,MAAM,CAAM;gBAEP,IAAI,EAAE,OAAO,CAAC,WAAW,CAAC;IAKtC;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,WAAW;IAkCtD;;OAEG;IACH,QAAQ,IAAI,OAAO;IAInB;;OAEG;IACH,sBAAsB,IAAI,MAAM;CAIjC"}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ArmoyuEvent = exports.EventOrganizer = void 0;
|
|
4
|
+
const BaseModel_1 = require("../BaseModel");
|
|
5
|
+
/**
|
|
6
|
+
* Represents an entity that organizes an event.
|
|
7
|
+
*/
|
|
8
|
+
class EventOrganizer extends BaseModel_1.BaseModel {
|
|
9
|
+
id = 0;
|
|
10
|
+
displayName = '';
|
|
11
|
+
avatar = '';
|
|
12
|
+
constructor(data) {
|
|
13
|
+
super();
|
|
14
|
+
Object.assign(this, data);
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Instantiates an EventOrganizer object from an API response.
|
|
18
|
+
*/
|
|
19
|
+
static fromAPI(json) {
|
|
20
|
+
if (!json)
|
|
21
|
+
return new EventOrganizer({});
|
|
22
|
+
return new EventOrganizer({
|
|
23
|
+
id: Number(json.player_ID || 0),
|
|
24
|
+
displayName: json.player_displayname || '',
|
|
25
|
+
avatar: json.player_avatar || ''
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
exports.EventOrganizer = EventOrganizer;
|
|
30
|
+
/**
|
|
31
|
+
* Represents an ARMOYU platform event (tournament, meeting, etc.) in the UI.
|
|
32
|
+
*/
|
|
33
|
+
class ArmoyuEvent extends BaseModel_1.BaseModel {
|
|
34
|
+
id = 0;
|
|
35
|
+
name = '';
|
|
36
|
+
status = 0;
|
|
37
|
+
link = '';
|
|
38
|
+
thumbnail = '';
|
|
39
|
+
image;
|
|
40
|
+
// Game details
|
|
41
|
+
gameId = 0;
|
|
42
|
+
gameName = '';
|
|
43
|
+
gameLogo = '';
|
|
44
|
+
gameBanner = '';
|
|
45
|
+
// Organizer details
|
|
46
|
+
organizers = [];
|
|
47
|
+
// Event specifics
|
|
48
|
+
type = ''; // e.g. 'bireysel', 'gruplu'
|
|
49
|
+
date = ''; // Format: DD.MM.YYYY HH:mm
|
|
50
|
+
participantType = ''; // e.g. 'herkes'
|
|
51
|
+
participantLimit = 0;
|
|
52
|
+
groupPlayerLimit = 0;
|
|
53
|
+
currentParticipants = 0;
|
|
54
|
+
location = '';
|
|
55
|
+
description = '';
|
|
56
|
+
rules = '';
|
|
57
|
+
constructor(data) {
|
|
58
|
+
super();
|
|
59
|
+
Object.assign(this, data);
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Instantiates an ArmoyuEvent object from an API response.
|
|
63
|
+
*/
|
|
64
|
+
static fromAPI(json) {
|
|
65
|
+
if (!json)
|
|
66
|
+
return new ArmoyuEvent({});
|
|
67
|
+
// Map organizer list
|
|
68
|
+
const organizers = (json.event_organizer || []).map((o) => EventOrganizer.fromAPI(o));
|
|
69
|
+
return new ArmoyuEvent({
|
|
70
|
+
id: Number(json.event_ID || json.etkinlikID || json.id || 0),
|
|
71
|
+
name: json.event_name || json.etkinlikadi || json.baslik || json.title || '',
|
|
72
|
+
status: Number(json.event_status || json.durum || 0),
|
|
73
|
+
link: json.event_link || json.url || '',
|
|
74
|
+
thumbnail: json.event_foto || json.etkinlikresimi || json.resimurl || json.banner || '',
|
|
75
|
+
image: json.event_fotodetail || json.resimurldetay || undefined,
|
|
76
|
+
gameId: Number(json.event_gameID || json.oyunID || 0),
|
|
77
|
+
gameName: json.event_gamename || json.oyunadi || json.game || '',
|
|
78
|
+
gameLogo: json.event_gamelogo || json.oyunlogo || '',
|
|
79
|
+
gameBanner: json.event_gamebanner || json.oyunbanner || '',
|
|
80
|
+
organizers: organizers,
|
|
81
|
+
type: json.event_type || json.etkinlikturu || '',
|
|
82
|
+
date: json.event_date || json.etkinlikzaman || json.baslangiczaman || json.date || '',
|
|
83
|
+
participantType: json.event_participanttype || json.katilimturu || '',
|
|
84
|
+
participantLimit: Number(json.event_participantlimit || json.kontenjan || 0),
|
|
85
|
+
groupPlayerLimit: Number(json.event_participantgroupplayerlimit || 0),
|
|
86
|
+
currentParticipants: Number(json.event_participantcurrent || json.katilimcisayisi || 0),
|
|
87
|
+
location: json.event_location || json.konum || json.location || '',
|
|
88
|
+
description: json.event_description || json.aciklama || json.icerik || json.description || '',
|
|
89
|
+
rules: json.event_rules || json.kurallar || ''
|
|
90
|
+
});
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* Checks if the event has space for more participants.
|
|
94
|
+
*/
|
|
95
|
+
hasSpace() {
|
|
96
|
+
return this.participantLimit === 0 || this.currentParticipants < this.participantLimit;
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* Returns a formatted progress string for participants (e.g. "12/16").
|
|
100
|
+
*/
|
|
101
|
+
getParticipantProgress() {
|
|
102
|
+
const limit = this.participantLimit === 0 ? "∞" : this.participantLimit;
|
|
103
|
+
return `${this.currentParticipants}/${limit}`;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
exports.ArmoyuEvent = ArmoyuEvent;
|
|
107
|
+
//# sourceMappingURL=ArmoyuEvent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ArmoyuEvent.js","sourceRoot":"","sources":["../../../src/models/community/ArmoyuEvent.ts"],"names":[],"mappings":";;;AAAA,4CAAyC;AAEzC;;GAEG;AACH,MAAa,cAAe,SAAQ,qBAAS;IAC3C,EAAE,GAAW,CAAC,CAAC;IACf,WAAW,GAAW,EAAE,CAAC;IACzB,MAAM,GAAW,EAAE,CAAC;IAEpB,YAAY,IAA6B;QACvC,KAAK,EAAE,CAAC;QACR,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IAC5B,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,IAAyB;QACtC,IAAI,CAAC,IAAI;YAAE,OAAO,IAAI,cAAc,CAAC,EAAE,CAAC,CAAC;QACzC,OAAO,IAAI,cAAc,CAAC;YACxB,EAAE,EAAE,MAAM,CAAC,IAAI,CAAC,SAAS,IAAI,CAAC,CAAC;YAC/B,WAAW,EAAE,IAAI,CAAC,kBAAkB,IAAI,EAAE;YAC1C,MAAM,EAAE,IAAI,CAAC,aAAa,IAAI,EAAE;SACjC,CAAC,CAAC;IACL,CAAC;CACF;AArBD,wCAqBC;AAED;;GAEG;AACH,MAAa,WAAY,SAAQ,qBAAS;IACxC,EAAE,GAAW,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,MAAM,CAAC,IAAI,CAAC,iCAAiC,IAAI,CAAC,CAAC;YACrE,mBAAmB,EAAE,MAAM,CAAC,IAAI,CAAC,wBAAwB,IAAI,IAAI,CAAC,eAAe,IAAI,CAAC,CAAC;YAEvF,QAAQ,EAAE,IAAI,CAAC,cAAc,IAAI,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,QAAQ,IAAI,EAAE;YAClE,WAAW,EAAE,IAAI,CAAC,iBAAiB,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,WAAW,IAAI,EAAE;YAC7F,KAAK,EAAE,IAAI,CAAC,WAAW,IAAI,IAAI,CAAC,QAAQ,IAAI,EAAE;SAC/C,CAAC,CAAC;IACL,CAAC;IAED;;OAEG;IACH,QAAQ;QACN,OAAO,IAAI,CAAC,gBAAgB,KAAK,CAAC,IAAI,IAAI,CAAC,mBAAmB,GAAG,IAAI,CAAC,gBAAgB,CAAC;IACzF,CAAC;IAED;;OAEG;IACH,sBAAsB;QACpB,MAAM,KAAK,GAAG,IAAI,CAAC,gBAAgB,KAAK,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC;QACxE,OAAO,GAAG,IAAI,CAAC,mBAAmB,IAAI,KAAK,EAAE,CAAC;IAChD,CAAC;CACF;AArFD,kCAqFC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { BaseModel } from '../BaseModel';
|
|
2
|
+
import { User } from '../auth/User';
|
|
3
|
+
/**
|
|
4
|
+
* Represents a Classroom (Sınıf) in the ARMOYU education ecosystem in the UI.
|
|
5
|
+
*/
|
|
6
|
+
export declare class Classroom extends BaseModel {
|
|
7
|
+
id: string;
|
|
8
|
+
name: string;
|
|
9
|
+
password?: string;
|
|
10
|
+
schoolId: string;
|
|
11
|
+
members: User[];
|
|
12
|
+
teacher: User | null;
|
|
13
|
+
memberCount: number;
|
|
14
|
+
constructor(data: Partial<Classroom>);
|
|
15
|
+
/**
|
|
16
|
+
* Instantiates a Classroom object from an API response.
|
|
17
|
+
*/
|
|
18
|
+
static fromAPI(json: Record<string, any>): Classroom;
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=Classroom.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Classroom.d.ts","sourceRoot":"","sources":["../../../src/models/community/Classroom.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC;;GAEG;AACH,qBAAa,SAAU,SAAQ,SAAS;IACtC,EAAE,EAAE,MAAM,CAAM;IAChB,IAAI,EAAE,MAAM,CAAM;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAM;IACvB,QAAQ,EAAE,MAAM,CAAM;IACtB,OAAO,EAAE,IAAI,EAAE,CAAM;IACrB,OAAO,EAAE,IAAI,GAAG,IAAI,CAAQ;IAC5B,WAAW,EAAE,MAAM,CAAK;gBAEZ,IAAI,EAAE,OAAO,CAAC,SAAS,CAAC;IAKpC;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,SAAS;CAYrD"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Classroom = void 0;
|
|
4
|
+
const BaseModel_1 = require("../BaseModel");
|
|
5
|
+
const User_1 = require("../auth/User");
|
|
6
|
+
/**
|
|
7
|
+
* Represents a Classroom (Sınıf) in the ARMOYU education ecosystem in the UI.
|
|
8
|
+
*/
|
|
9
|
+
class Classroom extends BaseModel_1.BaseModel {
|
|
10
|
+
id = '';
|
|
11
|
+
name = '';
|
|
12
|
+
password = '';
|
|
13
|
+
schoolId = '';
|
|
14
|
+
members = [];
|
|
15
|
+
teacher = null;
|
|
16
|
+
memberCount = 0;
|
|
17
|
+
constructor(data) {
|
|
18
|
+
super();
|
|
19
|
+
Object.assign(this, data);
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Instantiates a Classroom object from an API response.
|
|
23
|
+
*/
|
|
24
|
+
static fromAPI(json) {
|
|
25
|
+
if (!json)
|
|
26
|
+
return new Classroom({});
|
|
27
|
+
return new Classroom({
|
|
28
|
+
id: String(json.id || ''),
|
|
29
|
+
name: json.name || '',
|
|
30
|
+
password: json.password || '',
|
|
31
|
+
schoolId: String(json.schoolId || ''),
|
|
32
|
+
members: Array.isArray(json.members) ? json.members.map(User_1.User.fromAPI) : [],
|
|
33
|
+
teacher: json.teacher ? User_1.User.fromAPI(json.teacher) : null,
|
|
34
|
+
memberCount: Number(json.memberCount || 0)
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
exports.Classroom = Classroom;
|
|
39
|
+
//# sourceMappingURL=Classroom.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Classroom.js","sourceRoot":"","sources":["../../../src/models/community/Classroom.ts"],"names":[],"mappings":";;;AAAA,4CAAyC;AACzC,uCAAoC;AAEpC;;GAEG;AACH,MAAa,SAAU,SAAQ,qBAAS;IACtC,EAAE,GAAW,EAAE,CAAC;IAChB,IAAI,GAAW,EAAE,CAAC;IAClB,QAAQ,GAAY,EAAE,CAAC;IACvB,QAAQ,GAAW,EAAE,CAAC;IACtB,OAAO,GAAW,EAAE,CAAC;IACrB,OAAO,GAAgB,IAAI,CAAC;IAC5B,WAAW,GAAW,CAAC,CAAC;IAExB,YAAY,IAAwB;QAClC,KAAK,EAAE,CAAC;QACR,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IAC5B,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,IAAyB;QACtC,IAAI,CAAC,IAAI;YAAE,OAAO,IAAI,SAAS,CAAC,EAAE,CAAC,CAAC;QACpC,OAAO,IAAI,SAAS,CAAC;YACnB,EAAE,EAAE,MAAM,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,CAAC;YACzB,IAAI,EAAE,IAAI,CAAC,IAAI,IAAI,EAAE;YACrB,QAAQ,EAAE,IAAI,CAAC,QAAQ,IAAI,EAAE;YAC7B,QAAQ,EAAE,MAAM,CAAC,IAAI,CAAC,QAAQ,IAAI,EAAE,CAAC;YACrC,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,WAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,EAAE;YAC1E,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,WAAI,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI;YACzD,WAAW,EAAE,MAAM,CAAC,IAAI,CAAC,WAAW,IAAI,CAAC,CAAC;SAC3C,CAAC,CAAC;IACL,CAAC;CACF;AA7BD,8BA6BC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { BaseModel } from '../BaseModel';
|
|
2
|
+
import { User } from '../auth/User';
|
|
3
|
+
/**
|
|
4
|
+
* Represents a Faculty (Fakülte) within a School in the UI.
|
|
5
|
+
*/
|
|
6
|
+
export declare class Faculty extends BaseModel {
|
|
7
|
+
id: string;
|
|
8
|
+
name: string;
|
|
9
|
+
schoolId: string;
|
|
10
|
+
representative: User | null;
|
|
11
|
+
memberCount: number;
|
|
12
|
+
constructor(data: Partial<Faculty>);
|
|
13
|
+
/**
|
|
14
|
+
* Instantiates a Faculty object from an API response.
|
|
15
|
+
*/
|
|
16
|
+
static fromAPI(json: Record<string, any>): Faculty;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=Faculty.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Faculty.d.ts","sourceRoot":"","sources":["../../../src/models/community/Faculty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC;;GAEG;AACH,qBAAa,OAAQ,SAAQ,SAAS;IACpC,EAAE,EAAE,MAAM,CAAM;IAChB,IAAI,EAAE,MAAM,CAAM;IAClB,QAAQ,EAAE,MAAM,CAAM;IACtB,cAAc,EAAE,IAAI,GAAG,IAAI,CAAQ;IACnC,WAAW,EAAE,MAAM,CAAK;gBAEZ,IAAI,EAAE,OAAO,CAAC,OAAO,CAAC;IAKlC;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,OAAO;CAUnD"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Faculty = void 0;
|
|
4
|
+
const BaseModel_1 = require("../BaseModel");
|
|
5
|
+
const User_1 = require("../auth/User");
|
|
6
|
+
/**
|
|
7
|
+
* Represents a Faculty (Fakülte) within a School in the UI.
|
|
8
|
+
*/
|
|
9
|
+
class Faculty extends BaseModel_1.BaseModel {
|
|
10
|
+
id = '';
|
|
11
|
+
name = '';
|
|
12
|
+
schoolId = '';
|
|
13
|
+
representative = null;
|
|
14
|
+
memberCount = 0;
|
|
15
|
+
constructor(data) {
|
|
16
|
+
super();
|
|
17
|
+
Object.assign(this, data);
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Instantiates a Faculty object from an API response.
|
|
21
|
+
*/
|
|
22
|
+
static fromAPI(json) {
|
|
23
|
+
if (!json)
|
|
24
|
+
return new Faculty({});
|
|
25
|
+
return new Faculty({
|
|
26
|
+
id: String(json.id || ''),
|
|
27
|
+
name: json.name || '',
|
|
28
|
+
schoolId: String(json.schoolId || ''),
|
|
29
|
+
representative: json.representative ? User_1.User.fromAPI(json.representative) : null,
|
|
30
|
+
memberCount: Number(json.memberCount || 0)
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
exports.Faculty = Faculty;
|
|
35
|
+
//# sourceMappingURL=Faculty.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Faculty.js","sourceRoot":"","sources":["../../../src/models/community/Faculty.ts"],"names":[],"mappings":";;;AAAA,4CAAyC;AACzC,uCAAoC;AAEpC;;GAEG;AACH,MAAa,OAAQ,SAAQ,qBAAS;IACpC,EAAE,GAAW,EAAE,CAAC;IAChB,IAAI,GAAW,EAAE,CAAC;IAClB,QAAQ,GAAW,EAAE,CAAC;IACtB,cAAc,GAAgB,IAAI,CAAC;IACnC,WAAW,GAAW,CAAC,CAAC;IAExB,YAAY,IAAsB;QAChC,KAAK,EAAE,CAAC;QACR,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IAC5B,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,IAAyB;QACtC,IAAI,CAAC,IAAI;YAAE,OAAO,IAAI,OAAO,CAAC,EAAE,CAAC,CAAC;QAClC,OAAO,IAAI,OAAO,CAAC;YACjB,EAAE,EAAE,MAAM,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,CAAC;YACzB,IAAI,EAAE,IAAI,CAAC,IAAI,IAAI,EAAE;YACrB,QAAQ,EAAE,MAAM,CAAC,IAAI,CAAC,QAAQ,IAAI,EAAE,CAAC;YACrC,cAAc,EAAE,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,WAAI,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,IAAI;YAC9E,WAAW,EAAE,MAAM,CAAC,IAAI,CAAC,WAAW,IAAI,CAAC,CAAC;SAC3C,CAAC,CAAC;IACL,CAAC;CACF;AAzBD,0BAyBC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { BaseModel } from '../BaseModel';
|
|
2
|
+
/**
|
|
3
|
+
* Represents a Forum Board (Forum Bölümü) in the ARMOYU platform.
|
|
4
|
+
*/
|
|
5
|
+
export declare class Forum extends BaseModel {
|
|
6
|
+
id: string;
|
|
7
|
+
name: string;
|
|
8
|
+
desc: string;
|
|
9
|
+
topicCount: number;
|
|
10
|
+
postCount: number;
|
|
11
|
+
lastPost?: {
|
|
12
|
+
topicTitle: string;
|
|
13
|
+
author: string;
|
|
14
|
+
avatar: string;
|
|
15
|
+
time: string;
|
|
16
|
+
};
|
|
17
|
+
constructor(data: Partial<Forum>);
|
|
18
|
+
/**
|
|
19
|
+
* Returns the absolute URL to the forum board.
|
|
20
|
+
*/
|
|
21
|
+
getUrl(): string;
|
|
22
|
+
/**
|
|
23
|
+
* Instantiates a Forum object from an API response.
|
|
24
|
+
*/
|
|
25
|
+
static fromAPI(json: Record<string, any>): Forum;
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=Forum.d.ts.map
|