@armoyu/ui 1.1.5 → 1.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app/page.d.ts.map +1 -1
- package/dist/components/modules/chat/ChatLayout.d.ts.map +1 -1
- package/dist/components/modules/community/CommunityLayout.d.ts.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 +1 -1
- package/dist/components/modules/profile/tabs/GroupsTab.js.map +1 -1
- 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.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/social/SocialLayout.d.ts.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/CorporateTab.d.ts.map +1 -1
- package/dist/index.d.ts +19 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +20 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/app/Providers.d.ts +0 -6
- package/dist/app/Providers.d.ts.map +0 -1
- package/dist/app/Providers.js +0 -32
- package/dist/app/Providers.js.map +0 -1
- package/dist/app/api/proxy/[...path]/route.d.ts +0 -23
- package/dist/app/api/proxy/[...path]/route.d.ts.map +0 -1
- package/dist/app/api/proxy/[...path]/route.js +0 -133
- package/dist/app/api/proxy/[...path]/route.js.map +0 -1
- package/dist/app/gruplar/[groupId]/page.js +0 -10
- package/dist/app/gruplar/[groupId]/page.js.map +0 -1
- package/dist/app/layout.d.ts +0 -8
- package/dist/app/layout.d.ts.map +0 -1
- package/dist/app/layout.js +0 -29
- package/dist/app/layout.js.map +0 -1
- package/dist/app/not-found.d.ts +0 -2
- package/dist/app/not-found.d.ts.map +0 -1
- package/dist/app/not-found.js +0 -7
- package/dist/app/not-found.js.map +0 -1
- package/dist/app/page.js +0 -39
- package/dist/app/page.js.map +0 -1
- package/dist/components/Button.d.ts +0 -8
- package/dist/components/Button.d.ts.map +0 -1
- package/dist/components/Button.js +0 -16
- package/dist/components/Button.js.map +0 -1
- package/dist/components/GenderStatsBar.d.ts +0 -6
- package/dist/components/GenderStatsBar.d.ts.map +0 -1
- package/dist/components/GenderStatsBar.js +0 -8
- package/dist/components/GenderStatsBar.js.map +0 -1
- package/dist/components/RollingNumber.d.ts +0 -7
- package/dist/components/RollingNumber.d.ts.map +0 -1
- package/dist/components/RollingNumber.js +0 -24
- package/dist/components/RollingNumber.js.map +0 -1
- package/dist/components/Slider.d.ts +0 -11
- package/dist/components/Slider.d.ts.map +0 -1
- package/dist/components/Slider.js +0 -36
- package/dist/components/Slider.js.map +0 -1
- package/dist/components/StatsGrid.d.ts +0 -6
- package/dist/components/StatsGrid.d.ts.map +0 -1
- package/dist/components/StatsGrid.js +0 -14
- package/dist/components/StatsGrid.js.map +0 -1
- package/dist/components/ViewModeToggle.d.ts +0 -8
- package/dist/components/ViewModeToggle.d.ts.map +0 -1
- package/dist/components/ViewModeToggle.js +0 -10
- package/dist/components/ViewModeToggle.js.map +0 -1
- package/dist/components/modules/chat/ChatLayout.js +0 -198
- package/dist/components/modules/chat/ChatLayout.js.map +0 -1
- package/dist/components/modules/chat/widgets/ChatInput.d.ts +0 -5
- package/dist/components/modules/chat/widgets/ChatInput.d.ts.map +0 -1
- package/dist/components/modules/chat/widgets/ChatInput.js +0 -31
- package/dist/components/modules/chat/widgets/ChatInput.js.map +0 -1
- package/dist/components/modules/chat/widgets/ChatList.d.ts +0 -7
- package/dist/components/modules/chat/widgets/ChatList.d.ts.map +0 -1
- package/dist/components/modules/chat/widgets/ChatList.js +0 -53
- package/dist/components/modules/chat/widgets/ChatList.js.map +0 -1
- package/dist/components/modules/chat/widgets/ChatMessage.d.ts +0 -12
- package/dist/components/modules/chat/widgets/ChatMessage.d.ts.map +0 -1
- package/dist/components/modules/chat/widgets/ChatMessage.js +0 -7
- package/dist/components/modules/chat/widgets/ChatMessage.js.map +0 -1
- package/dist/components/modules/chat/widgets/ChatNotes.d.ts +0 -2
- package/dist/components/modules/chat/widgets/ChatNotes.d.ts.map +0 -1
- package/dist/components/modules/chat/widgets/ChatNotes.js +0 -15
- package/dist/components/modules/chat/widgets/ChatNotes.js.map +0 -1
- package/dist/components/modules/community/CommunityLayout.js +0 -137
- package/dist/components/modules/community/CommunityLayout.js.map +0 -1
- 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/GroupAboutCard.d.ts +0 -6
- package/dist/components/modules/community/widgets/GroupAboutCard.d.ts.map +0 -1
- package/dist/components/modules/community/widgets/GroupAboutCard.js +0 -7
- package/dist/components/modules/community/widgets/GroupAboutCard.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/community/widgets/GroupFeedSection.d.ts +0 -9
- package/dist/components/modules/community/widgets/GroupFeedSection.d.ts.map +0 -1
- package/dist/components/modules/community/widgets/GroupFeedSection.js +0 -8
- package/dist/components/modules/community/widgets/GroupFeedSection.js.map +0 -1
- package/dist/components/modules/community/widgets/GroupHeader.d.ts +0 -11
- package/dist/components/modules/community/widgets/GroupHeader.d.ts.map +0 -1
- package/dist/components/modules/community/widgets/GroupHeader.js +0 -18
- package/dist/components/modules/community/widgets/GroupHeader.js.map +0 -1
- package/dist/components/modules/community/widgets/GroupMenu.d.ts +0 -10
- package/dist/components/modules/community/widgets/GroupMenu.d.ts.map +0 -1
- package/dist/components/modules/community/widgets/GroupMenu.js +0 -17
- package/dist/components/modules/community/widgets/GroupMenu.js.map +0 -1
- package/dist/components/modules/community/widgets/GroupPermissions.d.ts +0 -6
- package/dist/components/modules/community/widgets/GroupPermissions.d.ts.map +0 -1
- package/dist/components/modules/community/widgets/GroupPermissions.js +0 -7
- package/dist/components/modules/community/widgets/GroupPermissions.js.map +0 -1
- package/dist/components/modules/community/widgets/GroupStatsGrid.d.ts +0 -11
- package/dist/components/modules/community/widgets/GroupStatsGrid.d.ts.map +0 -1
- package/dist/components/modules/community/widgets/GroupStatsGrid.js +0 -13
- package/dist/components/modules/community/widgets/GroupStatsGrid.js.map +0 -1
- package/dist/components/modules/community/widgets/GroupTopMembers.d.ts +0 -7
- package/dist/components/modules/community/widgets/GroupTopMembers.d.ts.map +0 -1
- package/dist/components/modules/community/widgets/GroupTopMembers.js +0 -8
- package/dist/components/modules/community/widgets/GroupTopMembers.js.map +0 -1
- package/dist/components/modules/community/widgets/SchoolCard.d.ts +0 -7
- package/dist/components/modules/community/widgets/SchoolCard.d.ts.map +0 -1
- package/dist/components/modules/community/widgets/SchoolCard.js +0 -8
- package/dist/components/modules/community/widgets/SchoolCard.js.map +0 -1
- package/dist/components/modules/community/widgets/SurveyCard.d.ts +0 -8
- package/dist/components/modules/community/widgets/SurveyCard.d.ts.map +0 -1
- package/dist/components/modules/community/widgets/SurveyCard.js +0 -25
- package/dist/components/modules/community/widgets/SurveyCard.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/modules/events/DetailPage.d.ts +0 -7
- package/dist/components/modules/events/DetailPage.d.ts.map +0 -1
- package/dist/components/modules/events/DetailPage.js +0 -54
- package/dist/components/modules/events/DetailPage.js.map +0 -1
- package/dist/components/modules/events/EventsLayout.d.ts +0 -8
- package/dist/components/modules/events/EventsLayout.d.ts.map +0 -1
- package/dist/components/modules/events/EventsLayout.js +0 -6
- package/dist/components/modules/events/EventsLayout.js.map +0 -1
- package/dist/components/modules/events/EventsPage.d.ts +0 -8
- package/dist/components/modules/events/EventsPage.d.ts.map +0 -1
- package/dist/components/modules/events/EventsPage.js +0 -75
- package/dist/components/modules/events/EventsPage.js.map +0 -1
- package/dist/components/modules/events/index.d.ts +0 -7
- package/dist/components/modules/events/index.d.ts.map +0 -1
- package/dist/components/modules/events/index.js +0 -7
- package/dist/components/modules/events/index.js.map +0 -1
- package/dist/components/modules/events/widgets/EventCard.d.ts +0 -11
- package/dist/components/modules/events/widgets/EventCard.d.ts.map +0 -1
- package/dist/components/modules/events/widgets/EventCard.js +0 -10
- package/dist/components/modules/events/widgets/EventCard.js.map +0 -1
- package/dist/components/modules/events/widgets/EventFormModal.d.ts +0 -9
- package/dist/components/modules/events/widgets/EventFormModal.d.ts.map +0 -1
- package/dist/components/modules/events/widgets/EventFormModal.js +0 -24
- package/dist/components/modules/events/widgets/EventFormModal.js.map +0 -1
- package/dist/components/modules/events/widgets/EventList.d.ts +0 -10
- package/dist/components/modules/events/widgets/EventList.d.ts.map +0 -1
- package/dist/components/modules/events/widgets/EventList.js +0 -29
- package/dist/components/modules/events/widgets/EventList.js.map +0 -1
- package/dist/components/modules/forum/widgets/ForumBoard.d.ts +0 -17
- package/dist/components/modules/forum/widgets/ForumBoard.d.ts.map +0 -1
- package/dist/components/modules/forum/widgets/ForumBoard.js +0 -7
- package/dist/components/modules/forum/widgets/ForumBoard.js.map +0 -1
- package/dist/components/modules/forum/widgets/ForumCategoryList.d.ts +0 -6
- package/dist/components/modules/forum/widgets/ForumCategoryList.d.ts.map +0 -1
- package/dist/components/modules/forum/widgets/ForumCategoryList.js +0 -7
- package/dist/components/modules/forum/widgets/ForumCategoryList.js.map +0 -1
- package/dist/components/modules/forum/widgets/ForumHeaderWidget.d.ts +0 -6
- package/dist/components/modules/forum/widgets/ForumHeaderWidget.d.ts.map +0 -1
- package/dist/components/modules/forum/widgets/ForumHeaderWidget.js +0 -6
- package/dist/components/modules/forum/widgets/ForumHeaderWidget.js.map +0 -1
- package/dist/components/modules/forum/widgets/ForumPost.d.ts +0 -14
- package/dist/components/modules/forum/widgets/ForumPost.d.ts.map +0 -1
- package/dist/components/modules/forum/widgets/ForumPost.js +0 -6
- package/dist/components/modules/forum/widgets/ForumPost.js.map +0 -1
- package/dist/components/modules/forum/widgets/ForumSidebar.d.ts +0 -2
- package/dist/components/modules/forum/widgets/ForumSidebar.d.ts.map +0 -1
- package/dist/components/modules/forum/widgets/ForumSidebar.js +0 -6
- package/dist/components/modules/forum/widgets/ForumSidebar.js.map +0 -1
- package/dist/components/modules/forum/widgets/NewTopicModal.d.ts +0 -8
- package/dist/components/modules/forum/widgets/NewTopicModal.d.ts.map +0 -1
- package/dist/components/modules/forum/widgets/NewTopicModal.js +0 -27
- package/dist/components/modules/forum/widgets/NewTopicModal.js.map +0 -1
- package/dist/components/modules/forum/widgets/TopicItem.d.ts +0 -16
- package/dist/components/modules/forum/widgets/TopicItem.d.ts.map +0 -1
- package/dist/components/modules/forum/widgets/TopicItem.js +0 -7
- package/dist/components/modules/forum/widgets/TopicItem.js.map +0 -1
- package/dist/components/modules/galleries/widgets/GalleryCard.d.ts +0 -10
- package/dist/components/modules/galleries/widgets/GalleryCard.d.ts.map +0 -1
- package/dist/components/modules/galleries/widgets/GalleryCard.js +0 -6
- package/dist/components/modules/galleries/widgets/GalleryCard.js.map +0 -1
- package/dist/components/modules/galleries/widgets/GalleryFilterBar.d.ts +0 -8
- package/dist/components/modules/galleries/widgets/GalleryFilterBar.d.ts.map +0 -1
- package/dist/components/modules/galleries/widgets/GalleryFilterBar.js +0 -6
- package/dist/components/modules/galleries/widgets/GalleryFilterBar.js.map +0 -1
- package/dist/components/modules/galleries/widgets/GalleryHeaderWidget.d.ts +0 -2
- package/dist/components/modules/galleries/widgets/GalleryHeaderWidget.d.ts.map +0 -1
- package/dist/components/modules/galleries/widgets/GalleryHeaderWidget.js +0 -6
- package/dist/components/modules/galleries/widgets/GalleryHeaderWidget.js.map +0 -1
- package/dist/components/modules/galleries/widgets/GalleryMasonryGrid.d.ts +0 -7
- package/dist/components/modules/galleries/widgets/GalleryMasonryGrid.d.ts.map +0 -1
- package/dist/components/modules/galleries/widgets/GalleryMasonryGrid.js +0 -6
- package/dist/components/modules/galleries/widgets/GalleryMasonryGrid.js.map +0 -1
- package/dist/components/modules/giveaways/widgets/GiveawayCard.d.ts +0 -10
- package/dist/components/modules/giveaways/widgets/GiveawayCard.d.ts.map +0 -1
- package/dist/components/modules/giveaways/widgets/GiveawayCard.js +0 -7
- package/dist/components/modules/giveaways/widgets/GiveawayCard.js.map +0 -1
- package/dist/components/modules/groups/widgets/ApplicationModal.d.ts +0 -8
- package/dist/components/modules/groups/widgets/ApplicationModal.d.ts.map +0 -1
- package/dist/components/modules/groups/widgets/ApplicationModal.js +0 -28
- package/dist/components/modules/groups/widgets/ApplicationModal.js.map +0 -1
- package/dist/components/modules/groups/widgets/GroupCard.d.ts +0 -14
- package/dist/components/modules/groups/widgets/GroupCard.d.ts.map +0 -1
- package/dist/components/modules/groups/widgets/GroupCard.js +0 -8
- package/dist/components/modules/groups/widgets/GroupCard.js.map +0 -1
- package/dist/components/modules/guest/widgets/Introduction.d.ts +0 -2
- package/dist/components/modules/guest/widgets/Introduction.d.ts.map +0 -1
- package/dist/components/modules/guest/widgets/Introduction.js +0 -15
- package/dist/components/modules/guest/widgets/Introduction.js.map +0 -1
- package/dist/components/modules/news/widgets/NewsCard.d.ts +0 -12
- package/dist/components/modules/news/widgets/NewsCard.d.ts.map +0 -1
- package/dist/components/modules/news/widgets/NewsCard.js +0 -7
- package/dist/components/modules/news/widgets/NewsCard.js.map +0 -1
- package/dist/components/modules/news/widgets/NewsComments.d.ts +0 -4
- package/dist/components/modules/news/widgets/NewsComments.d.ts.map +0 -1
- package/dist/components/modules/news/widgets/NewsComments.js +0 -6
- package/dist/components/modules/news/widgets/NewsComments.js.map +0 -1
- package/dist/components/modules/posts/widgets/MediaLightbox.d.ts +0 -14
- package/dist/components/modules/posts/widgets/MediaLightbox.d.ts.map +0 -1
- package/dist/components/modules/posts/widgets/MediaLightbox.js +0 -47
- package/dist/components/modules/posts/widgets/MediaLightbox.js.map +0 -1
- package/dist/components/modules/posts/widgets/PostCard.d.ts +0 -34
- package/dist/components/modules/posts/widgets/PostCard.d.ts.map +0 -1
- package/dist/components/modules/posts/widgets/PostCard.js +0 -179
- package/dist/components/modules/posts/widgets/PostCard.js.map +0 -1
- package/dist/components/modules/posts/widgets/PostInteractionsModal.d.ts +0 -12
- package/dist/components/modules/posts/widgets/PostInteractionsModal.d.ts.map +0 -1
- package/dist/components/modules/posts/widgets/PostInteractionsModal.js +0 -13
- package/dist/components/modules/posts/widgets/PostInteractionsModal.js.map +0 -1
- package/dist/components/modules/posts/widgets/RepostModal.d.ts +0 -22
- package/dist/components/modules/posts/widgets/RepostModal.d.ts.map +0 -1
- package/dist/components/modules/posts/widgets/RepostModal.js +0 -76
- package/dist/components/modules/posts/widgets/RepostModal.js.map +0 -1
- package/dist/components/modules/posts/widgets/SocialFeed.d.ts +0 -19
- package/dist/components/modules/posts/widgets/SocialFeed.d.ts.map +0 -1
- package/dist/components/modules/posts/widgets/SocialFeed.js +0 -120
- package/dist/components/modules/posts/widgets/SocialFeed.js.map +0 -1
- package/dist/components/modules/posts/widgets/Stories.d.ts +0 -2
- package/dist/components/modules/posts/widgets/Stories.d.ts.map +0 -1
- package/dist/components/modules/posts/widgets/Stories.js +0 -21
- package/dist/components/modules/posts/widgets/Stories.js.map +0 -1
- package/dist/components/modules/posts/widgets/StoryViewer.d.ts +0 -10
- package/dist/components/modules/posts/widgets/StoryViewer.d.ts.map +0 -1
- package/dist/components/modules/posts/widgets/StoryViewer.js +0 -51
- package/dist/components/modules/posts/widgets/StoryViewer.js.map +0 -1
- package/dist/components/modules/posts/widgets/reels/ReelCard.d.ts +0 -16
- package/dist/components/modules/posts/widgets/reels/ReelCard.d.ts.map +0 -1
- package/dist/components/modules/posts/widgets/reels/ReelCard.js +0 -55
- package/dist/components/modules/posts/widgets/reels/ReelCard.js.map +0 -1
- package/dist/components/modules/posts/widgets/reels/ReelsContainer.d.ts +0 -8
- package/dist/components/modules/posts/widgets/reels/ReelsContainer.d.ts.map +0 -1
- package/dist/components/modules/posts/widgets/reels/ReelsContainer.js +0 -29
- package/dist/components/modules/posts/widgets/reels/ReelsContainer.js.map +0 -1
- package/dist/components/modules/profile/ProfileLayout.js +0 -70
- package/dist/components/modules/profile/ProfileLayout.js.map +0 -1
- package/dist/components/modules/profile/tabs/AboutTab.d.ts +0 -10
- package/dist/components/modules/profile/tabs/AboutTab.d.ts.map +0 -1
- package/dist/components/modules/profile/tabs/AboutTab.js +0 -9
- package/dist/components/modules/profile/tabs/AboutTab.js.map +0 -1
- package/dist/components/modules/profile/tabs/CareerTab.d.ts +0 -7
- package/dist/components/modules/profile/tabs/CareerTab.d.ts.map +0 -1
- package/dist/components/modules/profile/tabs/CareerTab.js +0 -46
- package/dist/components/modules/profile/tabs/CareerTab.js.map +0 -1
- package/dist/components/modules/profile/tabs/FriendsTab.d.ts +0 -10
- package/dist/components/modules/profile/tabs/FriendsTab.d.ts.map +0 -1
- package/dist/components/modules/profile/tabs/FriendsTab.js +0 -8
- package/dist/components/modules/profile/tabs/FriendsTab.js.map +0 -1
- package/dist/components/modules/profile/tabs/GamesTab.d.ts +0 -7
- package/dist/components/modules/profile/tabs/GamesTab.d.ts.map +0 -1
- package/dist/components/modules/profile/tabs/GamesTab.js +0 -37
- package/dist/components/modules/profile/tabs/GamesTab.js.map +0 -1
- package/dist/components/modules/profile/widgets/CloudStorageModal.d.ts +0 -9
- package/dist/components/modules/profile/widgets/CloudStorageModal.d.ts.map +0 -1
- package/dist/components/modules/profile/widgets/CloudStorageModal.js +0 -32
- package/dist/components/modules/profile/widgets/CloudStorageModal.js.map +0 -1
- package/dist/components/modules/profile/widgets/EditProfileModal.d.ts +0 -9
- package/dist/components/modules/profile/widgets/EditProfileModal.d.ts.map +0 -1
- package/dist/components/modules/profile/widgets/EditProfileModal.js +0 -28
- package/dist/components/modules/profile/widgets/EditProfileModal.js.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileBadgesWidget.d.ts +0 -2
- package/dist/components/modules/profile/widgets/ProfileBadgesWidget.d.ts.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileBadgesWidget.js +0 -6
- package/dist/components/modules/profile/widgets/ProfileBadgesWidget.js.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileCloudWidget.d.ts +0 -6
- package/dist/components/modules/profile/widgets/ProfileCloudWidget.d.ts.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileCloudWidget.js +0 -6
- package/dist/components/modules/profile/widgets/ProfileCloudWidget.js.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileFriendsWidget.d.ts +0 -8
- package/dist/components/modules/profile/widgets/ProfileFriendsWidget.d.ts.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileFriendsWidget.js +0 -12
- package/dist/components/modules/profile/widgets/ProfileFriendsWidget.js.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileHeader.d.ts +0 -8
- package/dist/components/modules/profile/widgets/ProfileHeader.d.ts.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileHeader.js +0 -20
- package/dist/components/modules/profile/widgets/ProfileHeader.js.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileSidebar.d.ts +0 -11
- package/dist/components/modules/profile/widgets/ProfileSidebar.d.ts.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileSidebar.js +0 -9
- package/dist/components/modules/profile/widgets/ProfileSidebar.js.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileStats.d.ts +0 -7
- package/dist/components/modules/profile/widgets/ProfileStats.d.ts.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileStats.js +0 -21
- package/dist/components/modules/profile/widgets/ProfileStats.js.map +0 -1
- package/dist/components/modules/profile/widgets/ProfileTabsArea.js +0 -59
- package/dist/components/modules/profile/widgets/ProfileTabsArea.js.map +0 -1
- package/dist/components/modules/profile/widgets/TeamSelectorModal.d.ts +0 -11
- package/dist/components/modules/profile/widgets/TeamSelectorModal.d.ts.map +0 -1
- package/dist/components/modules/profile/widgets/TeamSelectorModal.js +0 -17
- package/dist/components/modules/profile/widgets/TeamSelectorModal.js.map +0 -1
- package/dist/components/modules/shop/DetailLayout.d.ts +0 -8
- package/dist/components/modules/shop/DetailLayout.d.ts.map +0 -1
- package/dist/components/modules/shop/DetailLayout.js +0 -22
- package/dist/components/modules/shop/DetailLayout.js.map +0 -1
- package/dist/components/modules/shop/StoreLayout.d.ts +0 -8
- package/dist/components/modules/shop/StoreLayout.d.ts.map +0 -1
- package/dist/components/modules/shop/StoreLayout.js +0 -6
- package/dist/components/modules/shop/StoreLayout.js.map +0 -1
- package/dist/components/modules/shop/widgets/BackToStore.d.ts +0 -2
- package/dist/components/modules/shop/widgets/BackToStore.d.ts.map +0 -1
- package/dist/components/modules/shop/widgets/BackToStore.js +0 -11
- package/dist/components/modules/shop/widgets/BackToStore.js.map +0 -1
- package/dist/components/modules/shop/widgets/CategoryWidget.d.ts +0 -8
- package/dist/components/modules/shop/widgets/CategoryWidget.d.ts.map +0 -1
- package/dist/components/modules/shop/widgets/CategoryWidget.js +0 -23
- package/dist/components/modules/shop/widgets/CategoryWidget.js.map +0 -1
- package/dist/components/modules/shop/widgets/ProductCard.d.ts +0 -8
- package/dist/components/modules/shop/widgets/ProductCard.d.ts.map +0 -1
- package/dist/components/modules/shop/widgets/ProductCard.js +0 -10
- package/dist/components/modules/shop/widgets/ProductCard.js.map +0 -1
- package/dist/components/modules/shop/widgets/StoreHeader.d.ts +0 -6
- package/dist/components/modules/shop/widgets/StoreHeader.d.ts.map +0 -1
- package/dist/components/modules/shop/widgets/StoreHeader.js +0 -9
- package/dist/components/modules/shop/widgets/StoreHeader.js.map +0 -1
- package/dist/components/modules/shop/widgets/StoreProductGrid.d.ts +0 -7
- package/dist/components/modules/shop/widgets/StoreProductGrid.d.ts.map +0 -1
- package/dist/components/modules/shop/widgets/StoreProductGrid.js +0 -13
- package/dist/components/modules/shop/widgets/StoreProductGrid.js.map +0 -1
- package/dist/components/modules/shop/widgets/StoreSidebar.d.ts +0 -8
- package/dist/components/modules/shop/widgets/StoreSidebar.d.ts.map +0 -1
- package/dist/components/modules/shop/widgets/StoreSidebar.js +0 -8
- package/dist/components/modules/shop/widgets/StoreSidebar.js.map +0 -1
- package/dist/components/modules/shop/widgets/StoreTrustBadges.d.ts +0 -2
- package/dist/components/modules/shop/widgets/StoreTrustBadges.d.ts.map +0 -1
- package/dist/components/modules/shop/widgets/StoreTrustBadges.js +0 -29
- package/dist/components/modules/shop/widgets/StoreTrustBadges.js.map +0 -1
- package/dist/components/modules/social/SocialLayout.js +0 -125
- package/dist/components/modules/social/SocialLayout.js.map +0 -1
- package/dist/components/modules/social/widgets/EconomyWidget.d.ts +0 -2
- package/dist/components/modules/social/widgets/EconomyWidget.d.ts.map +0 -1
- package/dist/components/modules/social/widgets/EconomyWidget.js +0 -45
- package/dist/components/modules/social/widgets/EconomyWidget.js.map +0 -1
- package/dist/components/modules/social/widgets/LeagueWidget.d.ts +0 -2
- package/dist/components/modules/social/widgets/LeagueWidget.d.ts.map +0 -1
- package/dist/components/modules/social/widgets/LeagueWidget.js +0 -43
- package/dist/components/modules/social/widgets/LeagueWidget.js.map +0 -1
- package/dist/components/modules/social/widgets/MinecraftWidget.d.ts +0 -2
- package/dist/components/modules/social/widgets/MinecraftWidget.d.ts.map +0 -1
- package/dist/components/modules/social/widgets/MinecraftWidget.js +0 -43
- package/dist/components/modules/social/widgets/MinecraftWidget.js.map +0 -1
- package/dist/components/modules/social/widgets/RankingWidget.d.ts +0 -5
- package/dist/components/modules/social/widgets/RankingWidget.d.ts.map +0 -1
- package/dist/components/modules/social/widgets/RankingWidget.js +0 -85
- package/dist/components/modules/social/widgets/RankingWidget.js.map +0 -1
- package/dist/components/modules/social/widgets/SocialSidebar.d.ts +0 -2
- package/dist/components/modules/social/widgets/SocialSidebar.d.ts.map +0 -1
- package/dist/components/modules/social/widgets/SocialSidebar.js +0 -9
- package/dist/components/modules/social/widgets/SocialSidebar.js.map +0 -1
- package/dist/components/modules/stations/widgets/StationCard.d.ts +0 -3
- package/dist/components/modules/stations/widgets/StationCard.d.ts.map +0 -1
- package/dist/components/modules/stations/widgets/StationCard.js +0 -26
- package/dist/components/modules/stations/widgets/StationCard.js.map +0 -1
- package/dist/components/modules/stations/widgets/StationQRModal.d.ts +0 -10
- package/dist/components/modules/stations/widgets/StationQRModal.d.ts.map +0 -1
- package/dist/components/modules/stations/widgets/StationQRModal.js +0 -13
- package/dist/components/modules/stations/widgets/StationQRModal.js.map +0 -1
- package/dist/components/shared/DevTools.d.ts +0 -2
- package/dist/components/shared/DevTools.d.ts.map +0 -1
- package/dist/components/shared/DevTools.js +0 -39
- package/dist/components/shared/DevTools.js.map +0 -1
- package/dist/components/shared/FilterTabs.d.ts +0 -16
- package/dist/components/shared/FilterTabs.d.ts.map +0 -1
- package/dist/components/shared/FilterTabs.js +0 -18
- package/dist/components/shared/FilterTabs.js.map +0 -1
- package/dist/components/shared/FloatingChatButton.js +0 -21
- package/dist/components/shared/FloatingChatButton.js.map +0 -1
- package/dist/components/shared/Footer.d.ts +0 -2
- package/dist/components/shared/Footer.d.ts.map +0 -1
- package/dist/components/shared/Footer.js +0 -10
- package/dist/components/shared/Footer.js.map +0 -1
- package/dist/components/shared/Header.d.ts +0 -2
- package/dist/components/shared/Header.d.ts.map +0 -1
- package/dist/components/shared/Header.js +0 -133
- package/dist/components/shared/Header.js.map +0 -1
- package/dist/components/shared/ListToolbar.d.ts +0 -32
- package/dist/components/shared/ListToolbar.d.ts.map +0 -1
- package/dist/components/shared/ListToolbar.js +0 -13
- package/dist/components/shared/ListToolbar.js.map +0 -1
- package/dist/components/shared/LoginModal.d.ts +0 -5
- package/dist/components/shared/LoginModal.d.ts.map +0 -1
- package/dist/components/shared/LoginModal.js +0 -66
- package/dist/components/shared/LoginModal.js.map +0 -1
- package/dist/components/shared/MainLayoutWrapper.d.ts +0 -5
- package/dist/components/shared/MainLayoutWrapper.d.ts.map +0 -1
- package/dist/components/shared/MainLayoutWrapper.js +0 -8
- package/dist/components/shared/MainLayoutWrapper.js.map +0 -1
- package/dist/components/shared/NotFound.d.ts +0 -21
- package/dist/components/shared/NotFound.d.ts.map +0 -1
- package/dist/components/shared/NotFound.js +0 -7
- package/dist/components/shared/NotFound.js.map +0 -1
- package/dist/components/shared/PageWidth.d.ts +0 -6
- package/dist/components/shared/PageWidth.d.ts.map +0 -1
- package/dist/components/shared/PageWidth.js +0 -14
- package/dist/components/shared/PageWidth.js.map +0 -1
- package/dist/components/shared/SearchBar.d.ts +0 -14
- package/dist/components/shared/SearchBar.d.ts.map +0 -1
- package/dist/components/shared/SearchBar.js +0 -21
- package/dist/components/shared/SearchBar.js.map +0 -1
- package/dist/components/showcase/CommunityTab.js +0 -6
- package/dist/components/showcase/CommunityTab.js.map +0 -1
- package/dist/components/showcase/CorporateTab.js +0 -6
- package/dist/components/showcase/CorporateTab.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/components/showcase/GeneralTab.js +0 -6
- package/dist/components/showcase/GeneralTab.js.map +0 -1
- package/dist/components/showcase/GroupTab.d.ts +0 -2
- package/dist/components/showcase/GroupTab.d.ts.map +0 -1
- package/dist/components/showcase/GroupTab.js +0 -74
- package/dist/components/showcase/GroupTab.js.map +0 -1
- package/dist/components/showcase/MessagesTab.js +0 -20
- package/dist/components/showcase/MessagesTab.js.map +0 -1
- package/dist/components/showcase/ProfileTab.js +0 -51
- package/dist/components/showcase/ProfileTab.js.map +0 -1
- package/dist/components/showcase/ReelsTab.d.ts +0 -2
- package/dist/components/showcase/ReelsTab.d.ts.map +0 -1
- package/dist/components/showcase/ReelsTab.js +0 -34
- package/dist/components/showcase/ReelsTab.js.map +0 -1
- package/dist/components/showcase/ShopTab.js +0 -32
- package/dist/components/showcase/ShopTab.js.map +0 -1
- package/dist/components/showcase/ShowcaseNavigation.d.ts +0 -2
- package/dist/components/showcase/ShowcaseNavigation.d.ts.map +0 -1
- package/dist/components/showcase/ShowcaseNavigation.js +0 -29
- package/dist/components/showcase/ShowcaseNavigation.js.map +0 -1
- package/dist/components/showcase/SocialTab.js +0 -26
- package/dist/components/showcase/SocialTab.js.map +0 -1
- package/dist/context/ArmoyuContext.d.ts +0 -42
- package/dist/context/ArmoyuContext.d.ts.map +0 -1
- package/dist/context/ArmoyuContext.js +0 -76
- package/dist/context/ArmoyuContext.js.map +0 -1
- package/dist/context/AuthContext.d.ts +0 -20
- package/dist/context/AuthContext.d.ts.map +0 -1
- package/dist/context/AuthContext.js +0 -114
- package/dist/context/AuthContext.js.map +0 -1
- package/dist/context/CartContext.d.ts +0 -18
- package/dist/context/CartContext.d.ts.map +0 -1
- package/dist/context/CartContext.js +0 -63
- package/dist/context/CartContext.js.map +0 -1
- package/dist/context/ChatContext.d.ts +0 -23
- package/dist/context/ChatContext.d.ts.map +0 -1
- package/dist/context/ChatContext.js +0 -94
- package/dist/context/ChatContext.js.map +0 -1
- package/dist/context/LayoutContext.d.ts +0 -11
- package/dist/context/LayoutContext.d.ts.map +0 -1
- package/dist/context/LayoutContext.js +0 -17
- package/dist/context/LayoutContext.js.map +0 -1
- package/dist/context/SocketContext.d.ts +0 -13
- package/dist/context/SocketContext.d.ts.map +0 -1
- package/dist/context/SocketContext.js +0 -32
- package/dist/context/SocketContext.js.map +0 -1
- package/dist/context/ThemeContext.d.ts +0 -11
- package/dist/context/ThemeContext.d.ts.map +0 -1
- package/dist/context/ThemeContext.js +0 -40
- package/dist/context/ThemeContext.js.map +0 -1
- package/dist/lib/ArmoyuUI.d.ts +0 -18
- package/dist/lib/ArmoyuUI.d.ts.map +0 -1
- package/dist/lib/ArmoyuUI.js +0 -25
- package/dist/lib/ArmoyuUI.js.map +0 -1
- package/dist/lib/constants/config.d.ts +0 -9
- package/dist/lib/constants/config.d.ts.map +0 -1
- package/dist/lib/constants/config.js +0 -15
- package/dist/lib/constants/config.js.map +0 -1
- package/dist/lib/constants/educationData.d.ts +0 -8
- package/dist/lib/constants/educationData.d.ts.map +0 -1
- package/dist/lib/constants/educationData.js +0 -118
- package/dist/lib/constants/educationData.js.map +0 -1
- package/dist/lib/constants/punishmentData.d.ts +0 -30
- package/dist/lib/constants/punishmentData.d.ts.map +0 -1
- package/dist/lib/constants/punishmentData.js +0 -184
- package/dist/lib/constants/punishmentData.js.map +0 -1
- package/dist/lib/constants/seedData.d.ts +0 -182
- package/dist/lib/constants/seedData.d.ts.map +0 -1
- package/dist/lib/constants/seedData.js +0 -724
- package/dist/lib/constants/seedData.js.map +0 -1
- package/dist/lib/constants/stationData.d.ts +0 -14
- package/dist/lib/constants/stationData.d.ts.map +0 -1
- package/dist/lib/constants/stationData.js +0 -167
- package/dist/lib/constants/stationData.js.map +0 -1
- package/dist/lib/constants/surveyData.d.ts +0 -3
- package/dist/lib/constants/surveyData.d.ts.map +0 -1
- package/dist/lib/constants/surveyData.js +0 -50
- package/dist/lib/constants/surveyData.js.map +0 -1
- package/dist/lib/constants/teamData.d.ts +0 -13
- package/dist/lib/constants/teamData.d.ts.map +0 -1
- package/dist/lib/constants/teamData.js +0 -66
- package/dist/lib/constants/teamData.js.map +0 -1
- package/dist/lib/utils/numberFormat.d.ts +0 -10
- package/dist/lib/utils/numberFormat.d.ts.map +0 -1
- package/dist/lib/utils/numberFormat.js +0 -17
- package/dist/lib/utils/numberFormat.js.map +0 -1
- package/dist/lib/utils/odpUtils.d.ts +0 -16
- package/dist/lib/utils/odpUtils.d.ts.map +0 -1
- package/dist/lib/utils/odpUtils.js +0 -44
- package/dist/lib/utils/odpUtils.js.map +0 -1
- package/dist/lib/utils/postUtils.d.ts +0 -7
- package/dist/lib/utils/postUtils.d.ts.map +0 -1
- package/dist/lib/utils/postUtils.js +0 -37
- package/dist/lib/utils/postUtils.js.map +0 -1
- package/dist/models/BaseModel.d.ts +0 -13
- package/dist/models/BaseModel.d.ts.map +0 -1
- package/dist/models/BaseModel.js +0 -13
- package/dist/models/BaseModel.js.map +0 -1
- package/dist/models/auth/RankedUser.d.ts +0 -21
- package/dist/models/auth/RankedUser.d.ts.map +0 -1
- package/dist/models/auth/RankedUser.js +0 -37
- package/dist/models/auth/RankedUser.js.map +0 -1
- package/dist/models/auth/Role.d.ts +0 -16
- package/dist/models/auth/Role.d.ts.map +0 -1
- package/dist/models/auth/Role.js +0 -28
- package/dist/models/auth/Role.js.map +0 -1
- package/dist/models/auth/Session.d.ts +0 -25
- package/dist/models/auth/Session.d.ts.map +0 -1
- package/dist/models/auth/Session.js +0 -52
- package/dist/models/auth/Session.js.map +0 -1
- package/dist/models/auth/StaffApplication.d.ts +0 -21
- package/dist/models/auth/StaffApplication.d.ts.map +0 -1
- package/dist/models/auth/StaffApplication.js +0 -38
- package/dist/models/auth/StaffApplication.js.map +0 -1
- package/dist/models/auth/TeamMember.d.ts +0 -20
- package/dist/models/auth/TeamMember.d.ts.map +0 -1
- package/dist/models/auth/TeamMember.js +0 -36
- package/dist/models/auth/TeamMember.js.map +0 -1
- package/dist/models/auth/User.d.ts +0 -91
- package/dist/models/auth/User.d.ts.map +0 -1
- package/dist/models/auth/User.js +0 -202
- package/dist/models/auth/User.js.map +0 -1
- package/dist/models/auth/UserBadge.d.ts +0 -19
- package/dist/models/auth/UserBadge.d.ts.map +0 -1
- package/dist/models/auth/UserBadge.js +0 -35
- package/dist/models/auth/UserBadge.js.map +0 -1
- package/dist/models/community/Classroom.d.ts +0 -20
- package/dist/models/community/Classroom.d.ts.map +0 -1
- package/dist/models/community/Classroom.js +0 -35
- package/dist/models/community/Classroom.js.map +0 -1
- package/dist/models/community/Event.d.ts +0 -53
- package/dist/models/community/Event.d.ts.map +0 -1
- package/dist/models/community/Event.js +0 -102
- package/dist/models/community/Event.js.map +0 -1
- package/dist/models/community/Faculty.d.ts +0 -18
- package/dist/models/community/Faculty.d.ts.map +0 -1
- package/dist/models/community/Faculty.js +0 -31
- package/dist/models/community/Faculty.js.map +0 -1
- package/dist/models/community/Forum.d.ts +0 -27
- package/dist/models/community/Forum.d.ts.map +0 -1
- package/dist/models/community/Forum.js +0 -38
- package/dist/models/community/Forum.js.map +0 -1
- package/dist/models/community/Giveaway.d.ts +0 -23
- package/dist/models/community/Giveaway.d.ts.map +0 -1
- package/dist/models/community/Giveaway.js +0 -40
- package/dist/models/community/Giveaway.js.map +0 -1
- package/dist/models/community/Group.d.ts +0 -39
- package/dist/models/community/Group.d.ts.map +0 -1
- package/dist/models/community/Group.js +0 -117
- package/dist/models/community/Group.js.map +0 -1
- package/dist/models/community/School.d.ts +0 -29
- package/dist/models/community/School.d.ts.map +0 -1
- package/dist/models/community/School.js +0 -70
- package/dist/models/community/School.js.map +0 -1
- package/dist/models/community/SchoolTeam.d.ts +0 -28
- package/dist/models/community/SchoolTeam.d.ts.map +0 -1
- package/dist/models/community/SchoolTeam.js +0 -43
- package/dist/models/community/SchoolTeam.js.map +0 -1
- package/dist/models/community/Station.d.ts +0 -82
- package/dist/models/community/Station.d.ts.map +0 -1
- package/dist/models/community/Station.js +0 -170
- package/dist/models/community/Station.js.map +0 -1
- package/dist/models/community/Survey.d.ts +0 -28
- package/dist/models/community/Survey.d.ts.map +0 -1
- package/dist/models/community/Survey.js +0 -53
- package/dist/models/community/Survey.js.map +0 -1
- package/dist/models/community/SurveyAnswer.d.ts +0 -16
- package/dist/models/community/SurveyAnswer.d.ts.map +0 -1
- package/dist/models/community/SurveyAnswer.js +0 -28
- package/dist/models/community/SurveyAnswer.js.map +0 -1
- package/dist/models/community/Team.d.ts +0 -23
- package/dist/models/community/Team.d.ts.map +0 -1
- package/dist/models/community/Team.js +0 -62
- package/dist/models/community/Team.js.map +0 -1
- package/dist/models/community/Workplace.d.ts +0 -19
- package/dist/models/community/Workplace.d.ts.map +0 -1
- package/dist/models/community/Workplace.js +0 -34
- package/dist/models/community/Workplace.js.map +0 -1
- package/dist/models/content/Game.d.ts +0 -21
- package/dist/models/content/Game.d.ts.map +0 -1
- package/dist/models/content/Game.js +0 -42
- package/dist/models/content/Game.js.map +0 -1
- package/dist/models/content/Media.d.ts +0 -18
- package/dist/models/content/Media.d.ts.map +0 -1
- package/dist/models/content/Media.js +0 -32
- package/dist/models/content/Media.js.map +0 -1
- package/dist/models/content/Mod.d.ts +0 -22
- package/dist/models/content/Mod.d.ts.map +0 -1
- package/dist/models/content/Mod.js +0 -39
- package/dist/models/content/Mod.js.map +0 -1
- package/dist/models/content/News.d.ts +0 -37
- package/dist/models/content/News.d.ts.map +0 -1
- package/dist/models/content/News.js +0 -76
- package/dist/models/content/News.js.map +0 -1
- package/dist/models/content/PlatformStation.d.ts +0 -19
- package/dist/models/content/PlatformStation.d.ts.map +0 -1
- package/dist/models/content/PlatformStation.js +0 -34
- package/dist/models/content/PlatformStation.js.map +0 -1
- package/dist/models/content/PlatformTeam.d.ts +0 -15
- package/dist/models/content/PlatformTeam.d.ts.map +0 -1
- package/dist/models/content/PlatformTeam.js +0 -26
- package/dist/models/content/PlatformTeam.js.map +0 -1
- package/dist/models/content/Project.d.ts +0 -27
- package/dist/models/content/Project.d.ts.map +0 -1
- package/dist/models/content/Project.js +0 -43
- package/dist/models/content/Project.js.map +0 -1
- package/dist/models/content/ProjectScore.d.ts +0 -15
- package/dist/models/content/ProjectScore.d.ts.map +0 -1
- package/dist/models/content/ProjectScore.js +0 -26
- package/dist/models/content/ProjectScore.js.map +0 -1
- package/dist/models/content/StationEquipment.d.ts +0 -17
- package/dist/models/content/StationEquipment.d.ts.map +0 -1
- package/dist/models/content/StationEquipment.js +0 -30
- package/dist/models/content/StationEquipment.js.map +0 -1
- package/dist/models/core/Country.d.ts +0 -16
- package/dist/models/core/Country.d.ts.map +0 -1
- package/dist/models/core/Country.js +0 -28
- package/dist/models/core/Country.js.map +0 -1
- package/dist/models/core/PlatformStats.d.ts +0 -47
- package/dist/models/core/PlatformStats.d.ts.map +0 -1
- package/dist/models/core/PlatformStats.js +0 -90
- package/dist/models/core/PlatformStats.js.map +0 -1
- package/dist/models/core/Province.d.ts +0 -16
- package/dist/models/core/Province.d.ts.map +0 -1
- package/dist/models/core/Province.js +0 -28
- package/dist/models/core/Province.js.map +0 -1
- package/dist/models/core/Rule.d.ts +0 -17
- package/dist/models/core/Rule.d.ts.map +0 -1
- package/dist/models/core/Rule.js +0 -30
- package/dist/models/core/Rule.js.map +0 -1
- package/dist/models/core/SystemSettings.d.ts +0 -39
- package/dist/models/core/SystemSettings.d.ts.map +0 -1
- package/dist/models/core/SystemSettings.js +0 -66
- package/dist/models/core/SystemSettings.js.map +0 -1
- package/dist/models/index.d.ts +0 -59
- package/dist/models/index.d.ts.map +0 -1
- package/dist/models/index.js +0 -73
- package/dist/models/index.js.map +0 -1
- package/dist/models/shop/CartItem.d.ts +0 -21
- package/dist/models/shop/CartItem.d.ts.map +0 -1
- package/dist/models/shop/CartItem.js +0 -38
- package/dist/models/shop/CartItem.js.map +0 -1
- package/dist/models/shop/Invoice.d.ts +0 -19
- package/dist/models/shop/Invoice.d.ts.map +0 -1
- package/dist/models/shop/Invoice.js +0 -34
- package/dist/models/shop/Invoice.js.map +0 -1
- package/dist/models/shop/Order.d.ts +0 -24
- package/dist/models/shop/Order.d.ts.map +0 -1
- package/dist/models/shop/Order.js +0 -50
- package/dist/models/shop/Order.js.map +0 -1
- package/dist/models/shop/Product.d.ts +0 -27
- package/dist/models/shop/Product.d.ts.map +0 -1
- package/dist/models/shop/Product.js +0 -69
- package/dist/models/shop/Product.js.map +0 -1
- package/dist/models/social/chat/Chat.d.ts +0 -27
- package/dist/models/social/chat/Chat.d.ts.map +0 -1
- package/dist/models/social/chat/Chat.js +0 -75
- package/dist/models/social/chat/Chat.js.map +0 -1
- package/dist/models/social/chat/Message.d.ts +0 -18
- package/dist/models/social/chat/Message.d.ts.map +0 -1
- package/dist/models/social/chat/Message.js +0 -51
- package/dist/models/social/chat/Message.js.map +0 -1
- package/dist/models/social/chat/Note.d.ts +0 -16
- package/dist/models/social/chat/Note.d.ts.map +0 -1
- package/dist/models/social/chat/Note.js +0 -28
- package/dist/models/social/chat/Note.js.map +0 -1
- package/dist/models/social/feed/Comment.d.ts +0 -20
- package/dist/models/social/feed/Comment.d.ts.map +0 -1
- package/dist/models/social/feed/Comment.js +0 -35
- package/dist/models/social/feed/Comment.js.map +0 -1
- package/dist/models/social/feed/Post.d.ts +0 -23
- package/dist/models/social/feed/Post.d.ts.map +0 -1
- package/dist/models/social/feed/Post.js +0 -40
- package/dist/models/social/feed/Post.js.map +0 -1
- package/dist/models/social/feed/Story.d.ts +0 -18
- package/dist/models/social/feed/Story.d.ts.map +0 -1
- package/dist/models/social/feed/Story.js +0 -31
- package/dist/models/social/feed/Story.js.map +0 -1
- package/dist/models/social/gaming/Game.d.ts +0 -20
- package/dist/models/social/gaming/Game.d.ts.map +0 -1
- package/dist/models/social/gaming/Game.js +0 -36
- package/dist/models/social/gaming/Game.js.map +0 -1
- package/dist/models/social/meta/AuthEnums.d.ts +0 -18
- package/dist/models/social/meta/AuthEnums.d.ts.map +0 -1
- package/dist/models/social/meta/AuthEnums.js +0 -20
- package/dist/models/social/meta/AuthEnums.js.map +0 -1
- package/dist/models/social/meta/MediaEnums.d.ts +0 -20
- package/dist/models/social/meta/MediaEnums.d.ts.map +0 -1
- package/dist/models/social/meta/MediaEnums.js +0 -22
- package/dist/models/social/meta/MediaEnums.js.map +0 -1
- package/dist/models/social/notification/Notification.d.ts +0 -24
- package/dist/models/social/notification/Notification.d.ts.map +0 -1
- package/dist/models/social/notification/Notification.js +0 -66
- package/dist/models/social/notification/Notification.js.map +0 -1
- package/dist/models/social/notification/NotificationEnums.d.ts +0 -54
- package/dist/models/social/notification/NotificationEnums.d.ts.map +0 -1
- package/dist/models/social/notification/NotificationEnums.js +0 -59
- package/dist/models/social/notification/NotificationEnums.js.map +0 -1
- package/dist/models/social/notification/NotificationSender.d.ts +0 -17
- package/dist/models/social/notification/NotificationSender.d.ts.map +0 -1
- package/dist/models/social/notification/NotificationSender.js +0 -30
- package/dist/models/social/notification/NotificationSender.js.map +0 -1
- package/dist/models/social/poll/Poll.d.ts +0 -20
- package/dist/models/social/poll/Poll.d.ts.map +0 -1
- package/dist/models/social/poll/Poll.js +0 -35
- package/dist/models/social/poll/Poll.js.map +0 -1
- package/dist/models/social/poll/PollOption.d.ts +0 -16
- package/dist/models/social/poll/PollOption.d.ts.map +0 -1
- package/dist/models/social/poll/PollOption.js +0 -28
- package/dist/models/social/poll/PollOption.js.map +0 -1
- package/dist/models/social/search/SearchEnums.d.ts +0 -22
- package/dist/models/social/search/SearchEnums.d.ts.map +0 -1
- package/dist/models/social/search/SearchEnums.js +0 -24
- package/dist/models/social/search/SearchEnums.js.map +0 -1
- package/dist/models/social/search/SearchResult.d.ts +0 -22
- package/dist/models/social/search/SearchResult.d.ts.map +0 -1
- package/dist/models/social/search/SearchResult.js +0 -74
- package/dist/models/social/search/SearchResult.js.map +0 -1
- package/dist/models/social/stats/Leaderboard.d.ts +0 -30
- package/dist/models/social/stats/Leaderboard.d.ts.map +0 -1
- package/dist/models/social/stats/Leaderboard.js +0 -53
- package/dist/models/social/stats/Leaderboard.js.map +0 -1
- package/dist/models/social/support/SupportTicket.d.ts +0 -19
- package/dist/models/social/support/SupportTicket.d.ts.map +0 -1
- package/dist/models/social/support/SupportTicket.js +0 -34
- package/dist/models/social/support/SupportTicket.js.map +0 -1
- package/dist/models/social/user/BlockedUser.d.ts +0 -16
- package/dist/models/social/user/BlockedUser.d.ts.map +0 -1
- package/dist/models/social/user/BlockedUser.js +0 -27
- package/dist/models/social/user/BlockedUser.js.map +0 -1
- package/dist/models/store/StoreItem.d.ts +0 -19
- package/dist/models/store/StoreItem.d.ts.map +0 -1
- package/dist/models/store/StoreItem.js +0 -34
- package/dist/models/store/StoreItem.js.map +0 -1
- package/dist/types/index.d.ts +0 -2
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/index.js +0 -2
- package/dist/types/index.js.map +0 -1
- package/dist/types/stats.d.ts +0 -18
- package/dist/types/stats.d.ts.map +0 -1
- package/dist/types/stats.js +0 -2
- package/dist/types/stats.js.map +0 -1
package/dist/models/auth/User.js
DELETED
|
@@ -1,202 +0,0 @@
|
|
|
1
|
-
import { BaseModel } from '../BaseModel';
|
|
2
|
-
import { Role } from './Role';
|
|
3
|
-
import { NotificationSender } from '../social/notification/NotificationSender';
|
|
4
|
-
import { Team } from '../community/Team';
|
|
5
|
-
import { UserBadge } from './UserBadge';
|
|
6
|
-
import { Game } from '../social/gaming/Game';
|
|
7
|
-
/**
|
|
8
|
-
* Represents a User in the aramizdakioyuncu.com platform.
|
|
9
|
-
*/
|
|
10
|
-
export class User extends BaseModel {
|
|
11
|
-
id = '';
|
|
12
|
-
username = '';
|
|
13
|
-
displayName = '';
|
|
14
|
-
avatar = '';
|
|
15
|
-
banner = '';
|
|
16
|
-
bio = '';
|
|
17
|
-
role = null;
|
|
18
|
-
verified = false;
|
|
19
|
-
level = 1;
|
|
20
|
-
xp = 0;
|
|
21
|
-
popScore = 0;
|
|
22
|
-
groups = [];
|
|
23
|
-
friends = [];
|
|
24
|
-
myPosts = [];
|
|
25
|
-
career = [];
|
|
26
|
-
zodiac;
|
|
27
|
-
favoriteTeam;
|
|
28
|
-
punishmentCount = 0;
|
|
29
|
-
distrustScore = 1.0;
|
|
30
|
-
odp = 50;
|
|
31
|
-
createdAt = '';
|
|
32
|
-
location = '';
|
|
33
|
-
followerCount = 0;
|
|
34
|
-
followingCount = 0;
|
|
35
|
-
viewsCount = 0;
|
|
36
|
-
socials = {};
|
|
37
|
-
firstName = '';
|
|
38
|
-
lastName = '';
|
|
39
|
-
isOnline = false;
|
|
40
|
-
lastSeen = '';
|
|
41
|
-
gender = '';
|
|
42
|
-
birthday = '';
|
|
43
|
-
email;
|
|
44
|
-
phoneNumber;
|
|
45
|
-
rankTitle = '';
|
|
46
|
-
badges = [];
|
|
47
|
-
rating = 0;
|
|
48
|
-
memberNumber = '';
|
|
49
|
-
levelColor = '';
|
|
50
|
-
headerImage = '';
|
|
51
|
-
age = 0;
|
|
52
|
-
inviteCode = '';
|
|
53
|
-
lastLoginAt = '';
|
|
54
|
-
registeredAt = '';
|
|
55
|
-
country = '';
|
|
56
|
-
city = '';
|
|
57
|
-
jobTitle = '';
|
|
58
|
-
defaultGroupId = '';
|
|
59
|
-
friendCount = 0;
|
|
60
|
-
postCount = 0;
|
|
61
|
-
awardCount = 0;
|
|
62
|
-
mutualFriendsCount = 0;
|
|
63
|
-
gameCount = 0;
|
|
64
|
-
isFriend = false;
|
|
65
|
-
isFollowing = false;
|
|
66
|
-
friendStatusText = '';
|
|
67
|
-
xpTarget = 1000;
|
|
68
|
-
popularGames = [];
|
|
69
|
-
mutualFriends = [];
|
|
70
|
-
constructor(data) {
|
|
71
|
-
super();
|
|
72
|
-
Object.assign(this, data);
|
|
73
|
-
this.punishmentCount = Number(data.punishmentCount || 0);
|
|
74
|
-
this.distrustScore = Number(data.distrustScore || 1.0);
|
|
75
|
-
this.odp = Number(data.odp || 50);
|
|
76
|
-
this.level = Number(data.level || 1);
|
|
77
|
-
this.xp = Number(data.xp || 0);
|
|
78
|
-
this.xpTarget = Number(data.xpTarget || 1000);
|
|
79
|
-
this.followerCount = Number(data.followerCount || 0);
|
|
80
|
-
this.followingCount = Number(data.followingCount || 0);
|
|
81
|
-
this.viewsCount = Number(data.viewsCount || 0);
|
|
82
|
-
}
|
|
83
|
-
addCareerEvent(event) {
|
|
84
|
-
const newEvent = {
|
|
85
|
-
...event,
|
|
86
|
-
id: `CR-${Math.random().toString(36).substr(2, 5).toUpperCase()}`
|
|
87
|
-
};
|
|
88
|
-
this.career = [newEvent, ...(this.career || [])];
|
|
89
|
-
}
|
|
90
|
-
getProfileUrl() {
|
|
91
|
-
return `/oyuncular/${this.username}`;
|
|
92
|
-
}
|
|
93
|
-
getFullName() {
|
|
94
|
-
if (this.firstName || this.lastName) {
|
|
95
|
-
return `${this.firstName} ${this.lastName}`.trim();
|
|
96
|
-
}
|
|
97
|
-
return this.displayName || this.username;
|
|
98
|
-
}
|
|
99
|
-
getName() {
|
|
100
|
-
return this.displayName || this.getFullName() || this.username;
|
|
101
|
-
}
|
|
102
|
-
isUserOnline() {
|
|
103
|
-
return this.isOnline;
|
|
104
|
-
}
|
|
105
|
-
getXpProgress() {
|
|
106
|
-
if (this.xpTarget <= 0)
|
|
107
|
-
return 0;
|
|
108
|
-
return Math.min(100, Math.max(0, (this.xp / this.xpTarget) * 100));
|
|
109
|
-
}
|
|
110
|
-
toNotificationSender() {
|
|
111
|
-
return new NotificationSender({
|
|
112
|
-
id: this.id,
|
|
113
|
-
name: this.displayName,
|
|
114
|
-
avatar: this.avatar,
|
|
115
|
-
type: 'USER',
|
|
116
|
-
url: this.getProfileUrl()
|
|
117
|
-
});
|
|
118
|
-
}
|
|
119
|
-
/**
|
|
120
|
-
* Maps a raw API response (UserResponse) to a UI-friendly User instance.
|
|
121
|
-
*/
|
|
122
|
-
static fromAPI(json) {
|
|
123
|
-
if (!json)
|
|
124
|
-
return new User({});
|
|
125
|
-
const avatarData = json.avatar || json.oyuncu_avatar || json.oyuncuminnakavatar || {};
|
|
126
|
-
const bannerData = json.banner || json.oyuncu_kapak || json.kapak || {};
|
|
127
|
-
const wallpaperData = json.wallpaper || {};
|
|
128
|
-
const detailInfo = json.detailInfo || json.oyuncu_bilgi || json.detail_info || {};
|
|
129
|
-
const userRole = json.userRole || json.oyuncu_rutbe || {};
|
|
130
|
-
const jobData = json.job || {};
|
|
131
|
-
const countryData = detailInfo.country || {};
|
|
132
|
-
const provinceData = detailInfo.province || {};
|
|
133
|
-
return new User({
|
|
134
|
-
id: String(json.playerID || json.player_ID || json.id || json.owner_ID || json.id_user || json.user_id || json.oyuncuID || json.oyuncu_ID || ''),
|
|
135
|
-
username: json.username || json.player_userlogin || json.user_name || json.owner_username || json.oyuncu_ad || json.oyuncukullaniciad || json.oyuncukullaniciadi || json.oyuncukullanici_ad || '',
|
|
136
|
-
displayName: json.displayname || json.player_displayname || json.owner_displayname || json.displayName || json.user_displayname || json.name || json.username || json.oyuncuad || json.oyuncu_ad_soyad || '',
|
|
137
|
-
firstName: json.firstName || '',
|
|
138
|
-
lastName: json.lastName || '',
|
|
139
|
-
avatar: typeof avatarData === 'object' ? (avatarData.media_URL || avatarData.media_minURL || avatarData.media_bigURL || json.player_avatar || json.chatImage?.media_URL || '') : (avatarData || json.player_avatar || ''),
|
|
140
|
-
banner: typeof bannerData === 'object' ? (bannerData.media_URL || bannerData.media_bigURL || bannerData.media_minURL || '') : bannerData,
|
|
141
|
-
headerImage: typeof wallpaperData === 'object' ? (wallpaperData.media_URL || wallpaperData.media_bigURL || '') : wallpaperData,
|
|
142
|
-
bio: detailInfo.about || detailInfo.aciklama || json.bio || json.oyuncu_bio || json.aciklama || json.description || '',
|
|
143
|
-
role: Role.fromAPI(userRole.roleName ? { name: userRole.roleName, color: userRole.roleColor } : json.role),
|
|
144
|
-
verified: json.verified === true || json.oyuncu_onay === 1 || json.oyuncu_onay === '1' || false,
|
|
145
|
-
level: Number(json.level || json.oyuncu_seviye || 1),
|
|
146
|
-
levelColor: json.levelColor || '',
|
|
147
|
-
xp: Number(json.levelXP || json.xp || json.user_xp || 0),
|
|
148
|
-
xpTarget: Number(json.nextLevelXP || json.xpTarget || json.seviye_xp_hedef || 1000),
|
|
149
|
-
popScore: Number(json.popScore || json.user_popscore || 0),
|
|
150
|
-
rating: Number(json.ODP || json.rating || 0),
|
|
151
|
-
memberNumber: String(json.kulno || json.memberNumber || ''),
|
|
152
|
-
age: Number(detailInfo.age || 0),
|
|
153
|
-
inviteCode: detailInfo.inviteCode || '',
|
|
154
|
-
lastLoginAt: detailInfo.lastloginDate || '',
|
|
155
|
-
registeredAt: json.registeredAt || json.registeredDate || json.created_at || '',
|
|
156
|
-
country: countryData.country_name || '',
|
|
157
|
-
city: provinceData.province_name || detailInfo.location || json.location || json.sehir || '',
|
|
158
|
-
jobTitle: jobData.job_name || '',
|
|
159
|
-
defaultGroupId: String(json.defaultGroup?.group_ID || ''),
|
|
160
|
-
groups: json.groups || json.user_groups || [],
|
|
161
|
-
friendCount: Number(detailInfo.friends || 0),
|
|
162
|
-
postCount: Number(detailInfo.posts || 0),
|
|
163
|
-
awardCount: Number(detailInfo.awards || 0),
|
|
164
|
-
mutualFriendsCount: Number(json.ortakarkadaslar || 0),
|
|
165
|
-
gameCount: Number(json.mevcutoyunsayisi || 0),
|
|
166
|
-
friends: Array.isArray(json.friends || json.arkadasliste) ? (json.friends || json.arkadasliste).map((f) => User.fromAPI(f)) : [],
|
|
167
|
-
mutualFriends: Array.isArray(json.ortakarkadasliste) ? json.ortakarkadasliste.map((f) => User.fromAPI(f)) : [],
|
|
168
|
-
followerCount: Number(json.followerCount || json.follower_count || json.oyuncu_takipci || 0),
|
|
169
|
-
followingCount: Number(json.followingCount || json.following_count || json.oyuncu_takip_edilen || 0),
|
|
170
|
-
viewsCount: Number(json.viewsCount || json.views_count || json.oyuncu_goruntulenme || 0),
|
|
171
|
-
zodiac: json.zodiac || json.burc || detailInfo.zodiac || '',
|
|
172
|
-
favoriteTeam: json.favoriteTeam || json.favorite_team || json.favori_takim || detailInfo.favorite_team || json.favTeam ? Team.fromAPI(json.favoriteTeam || json.favorite_team || json.favori_takim || detailInfo.favorite_team || json.favTeam) : null,
|
|
173
|
-
createdAt: json.createdAt || json.created_at || json.kayit_tarihi || detailInfo.created_at || '',
|
|
174
|
-
location: detailInfo.location || json.location || json.sehir || detailInfo.city || detailInfo.sehir || '',
|
|
175
|
-
isOnline: json.isOnline === true || json.is_online === 1 || json.oyuncu_online === 1 || false,
|
|
176
|
-
lastSeen: json.lastSeen || json.last_login || json.son_gorulme || detailInfo.last_login || '',
|
|
177
|
-
gender: json.gender || json.cinsiyet || detailInfo.gender || detailInfo.cinsiyet || '',
|
|
178
|
-
birthday: json.birthday || json.dogum_tarihi || detailInfo.birthday || detailInfo.dogum_tarihi || detailInfo.birthdayDate || '',
|
|
179
|
-
email: json.email || json.user_email || detailInfo.email || '',
|
|
180
|
-
phoneNumber: json.phoneNumber || json.phone || json.telefon || detailInfo.phoneNumber || '',
|
|
181
|
-
rankTitle: json.rankTitle || json.rank_name || json.rutbe_ad || userRole.roleName || '',
|
|
182
|
-
isFriend: json.isFriend === true || json.is_friend === 1 || Number(json.arkadasdurum) === 1 || false,
|
|
183
|
-
isFollowing: json.isFollowing === true || json.is_following === 1 || false,
|
|
184
|
-
friendStatusText: json.arkadasdurumaciklama || '',
|
|
185
|
-
badges: Array.isArray(json.badges || json.rozetler) ? (json.badges || json.rozetler).map((b) => UserBadge.fromAPI(b)) : [],
|
|
186
|
-
popularGames: Array.isArray(json.popularGames) ? json.popularGames.map((g) => Game.fromAPI(g)) : [],
|
|
187
|
-
socials: {
|
|
188
|
-
discord: detailInfo.discord || json.discord || '',
|
|
189
|
-
steam: detailInfo.steam || json.steam || jobData.steam || json.socailAccounts?.steam || '',
|
|
190
|
-
instagram: detailInfo.instagram || json.instagram || json.socailAccounts?.instagram || '',
|
|
191
|
-
twitter: detailInfo.twitter || json.twitter || json.socailAccounts?.twitter || '',
|
|
192
|
-
facebook: detailInfo.facebook || json.facebook || json.socailAccounts?.facebook || '',
|
|
193
|
-
linkedin: detailInfo.linkedin || json.linkedin || json.socailAccounts?.linkedin || '',
|
|
194
|
-
youtube: json.socailAccounts?.youtube || '',
|
|
195
|
-
twitch: json.socailAccounts?.twitch || '',
|
|
196
|
-
github: json.socailAccounts?.github || '',
|
|
197
|
-
...(json.socials || json.social_media || detailInfo.socials || {})
|
|
198
|
-
}
|
|
199
|
-
});
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
//# sourceMappingURL=User.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"User.js","sourceRoot":"","sources":["../../../src/models/auth/User.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,kBAAkB,EAAE,MAAM,2CAA2C,CAAC;AAC/E,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAa7C;;GAEG;AACH,MAAM,OAAO,IAAK,SAAQ,SAAS;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,GAAG,GAAW,EAAE,CAAC;IACjB,IAAI,GAAgB,IAAI,CAAC;IACzB,QAAQ,GAAY,KAAK,CAAC;IAC1B,KAAK,GAAW,CAAC,CAAC;IAClB,EAAE,GAAW,CAAC,CAAC;IACf,QAAQ,GAAW,CAAC,CAAC;IACrB,MAAM,GAAU,EAAE,CAAC;IACnB,OAAO,GAAW,EAAE,CAAC;IACrB,OAAO,GAAU,EAAE,CAAC;IACpB,MAAM,GAAkB,EAAE,CAAC;IAC3B,MAAM,CAAU;IAChB,YAAY,CAAe;IAC3B,eAAe,GAAW,CAAC,CAAC;IAC5B,aAAa,GAAW,GAAG,CAAC;IAC5B,GAAG,GAAW,EAAE,CAAC;IACjB,SAAS,GAAW,EAAE,CAAC;IACvB,QAAQ,GAAW,EAAE,CAAC;IAEtB,aAAa,GAAW,CAAC,CAAC;IAC1B,cAAc,GAA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C,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"}
|
|
@@ -1,19 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { BaseModel } from '../BaseModel';
|
|
2
|
-
/**
|
|
3
|
-
* Represents a Badge or Achievement earned by a user.
|
|
4
|
-
*/
|
|
5
|
-
export class UserBadge extends BaseModel {
|
|
6
|
-
id = '';
|
|
7
|
-
name = '';
|
|
8
|
-
description = '';
|
|
9
|
-
icon = '';
|
|
10
|
-
color = '';
|
|
11
|
-
earnedAt = '';
|
|
12
|
-
constructor(data) {
|
|
13
|
-
super();
|
|
14
|
-
Object.assign(this, data);
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* Instantiates a UserBadge object from an API response.
|
|
18
|
-
*/
|
|
19
|
-
static fromAPI(json) {
|
|
20
|
-
if (!json)
|
|
21
|
-
return new UserBadge({});
|
|
22
|
-
return new UserBadge({
|
|
23
|
-
id: String(json.id || json.rozet_id || ''),
|
|
24
|
-
name: json.name || json.rozet_ad || json.title || '',
|
|
25
|
-
description: json.description || json.rozet_aciklama || '',
|
|
26
|
-
icon: json.icon || json.rozet_icon || json.image_url || '',
|
|
27
|
-
color: json.color || json.rozet_renk || '#808080',
|
|
28
|
-
earnedAt: json.earnedAt || json.kazanma_tarihi || json.date || ''
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
export const mapBadgeFromAPI = (json) => {
|
|
33
|
-
return UserBadge.fromAPI(json);
|
|
34
|
-
};
|
|
35
|
-
//# sourceMappingURL=UserBadge.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"UserBadge.js","sourceRoot":"","sources":["../../../src/models/auth/UserBadge.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC;;GAEG;AACH,MAAM,OAAO,SAAU,SAAQ,SAAS;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;AAED,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,IAAS,EAAa,EAAE;IACtD,OAAO,SAAS,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;AACjC,CAAC,CAAC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,35 +0,0 @@
|
|
|
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 class Classroom extends BaseModel {
|
|
7
|
-
id = '';
|
|
8
|
-
name = '';
|
|
9
|
-
password = '';
|
|
10
|
-
schoolId = '';
|
|
11
|
-
members = [];
|
|
12
|
-
teacher = null;
|
|
13
|
-
memberCount = 0;
|
|
14
|
-
constructor(data) {
|
|
15
|
-
super();
|
|
16
|
-
Object.assign(this, data);
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* Instantiates a Classroom object from an API response.
|
|
20
|
-
*/
|
|
21
|
-
static fromAPI(json) {
|
|
22
|
-
if (!json)
|
|
23
|
-
return new Classroom({});
|
|
24
|
-
return new Classroom({
|
|
25
|
-
id: String(json.id || ''),
|
|
26
|
-
name: json.name || '',
|
|
27
|
-
password: json.password || '',
|
|
28
|
-
schoolId: String(json.schoolId || ''),
|
|
29
|
-
members: Array.isArray(json.members) ? json.members.map(User.fromAPI) : [],
|
|
30
|
-
teacher: json.teacher ? User.fromAPI(json.teacher) : null,
|
|
31
|
-
memberCount: Number(json.memberCount || 0)
|
|
32
|
-
});
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
//# sourceMappingURL=Classroom.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Classroom.js","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,MAAM,OAAO,SAAU,SAAQ,SAAS;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,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,EAAE;YAC1E,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,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"}
|
|
@@ -1,53 +0,0 @@
|
|
|
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=Event.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Event.d.ts","sourceRoot":"","sources":["../../../src/models/community/Event.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"}
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
import { BaseModel } from '../BaseModel';
|
|
2
|
-
/**
|
|
3
|
-
* Represents an entity that organizes an event.
|
|
4
|
-
*/
|
|
5
|
-
export class EventOrganizer extends BaseModel {
|
|
6
|
-
id = 0;
|
|
7
|
-
displayName = '';
|
|
8
|
-
avatar = '';
|
|
9
|
-
constructor(data) {
|
|
10
|
-
super();
|
|
11
|
-
Object.assign(this, data);
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* Instantiates an EventOrganizer object from an API response.
|
|
15
|
-
*/
|
|
16
|
-
static fromAPI(json) {
|
|
17
|
-
if (!json)
|
|
18
|
-
return new EventOrganizer({});
|
|
19
|
-
return new EventOrganizer({
|
|
20
|
-
id: Number(json.player_ID || 0),
|
|
21
|
-
displayName: json.player_displayname || '',
|
|
22
|
-
avatar: json.player_avatar || ''
|
|
23
|
-
});
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Represents an ARMOYU platform event (tournament, meeting, etc.) in the UI.
|
|
28
|
-
*/
|
|
29
|
-
export class ArmoyuEvent extends BaseModel {
|
|
30
|
-
id = 0;
|
|
31
|
-
name = '';
|
|
32
|
-
status = 0;
|
|
33
|
-
link = '';
|
|
34
|
-
thumbnail = '';
|
|
35
|
-
image;
|
|
36
|
-
// Game details
|
|
37
|
-
gameId = 0;
|
|
38
|
-
gameName = '';
|
|
39
|
-
gameLogo = '';
|
|
40
|
-
gameBanner = '';
|
|
41
|
-
// Organizer details
|
|
42
|
-
organizers = [];
|
|
43
|
-
// Event specifics
|
|
44
|
-
type = ''; // e.g. 'bireysel', 'gruplu'
|
|
45
|
-
date = ''; // Format: DD.MM.YYYY HH:mm
|
|
46
|
-
participantType = ''; // e.g. 'herkes'
|
|
47
|
-
participantLimit = 0;
|
|
48
|
-
groupPlayerLimit = 0;
|
|
49
|
-
currentParticipants = 0;
|
|
50
|
-
location = '';
|
|
51
|
-
description = '';
|
|
52
|
-
rules = '';
|
|
53
|
-
constructor(data) {
|
|
54
|
-
super();
|
|
55
|
-
Object.assign(this, data);
|
|
56
|
-
}
|
|
57
|
-
/**
|
|
58
|
-
* Instantiates an ArmoyuEvent object from an API response.
|
|
59
|
-
*/
|
|
60
|
-
static fromAPI(json) {
|
|
61
|
-
if (!json)
|
|
62
|
-
return new ArmoyuEvent({});
|
|
63
|
-
// Map organizer list
|
|
64
|
-
const organizers = (json.event_organizer || []).map((o) => EventOrganizer.fromAPI(o));
|
|
65
|
-
return new ArmoyuEvent({
|
|
66
|
-
id: Number(json.event_ID || json.etkinlikID || json.id || 0),
|
|
67
|
-
name: json.event_name || json.etkinlikadi || json.baslik || json.title || '',
|
|
68
|
-
status: Number(json.event_status || json.durum || 0),
|
|
69
|
-
link: json.event_link || json.url || '',
|
|
70
|
-
thumbnail: json.event_foto || json.etkinlikresimi || json.resimurl || json.banner || '',
|
|
71
|
-
image: json.event_fotodetail || json.resimurldetay || undefined,
|
|
72
|
-
gameId: Number(json.event_gameID || json.oyunID || 0),
|
|
73
|
-
gameName: json.event_gamename || json.oyunadi || json.game || '',
|
|
74
|
-
gameLogo: json.event_gamelogo || json.oyunlogo || '',
|
|
75
|
-
gameBanner: json.event_gamebanner || json.oyunbanner || '',
|
|
76
|
-
organizers: organizers,
|
|
77
|
-
type: json.event_type || json.etkinlikturu || '',
|
|
78
|
-
date: json.event_date || json.etkinlikzaman || json.baslangiczaman || json.date || '',
|
|
79
|
-
participantType: json.event_participanttype || json.katilimturu || '',
|
|
80
|
-
participantLimit: Number(json.event_participantlimit || json.kontenjan || 0),
|
|
81
|
-
groupPlayerLimit: Number(json.event_participantgroupplayerlimit || 0),
|
|
82
|
-
currentParticipants: Number(json.event_participantcurrent || json.katilimcisayisi || 0),
|
|
83
|
-
location: json.event_location || json.konum || json.location || '',
|
|
84
|
-
description: json.event_description || json.aciklama || json.icerik || json.description || '',
|
|
85
|
-
rules: json.event_rules || json.kurallar || ''
|
|
86
|
-
});
|
|
87
|
-
}
|
|
88
|
-
/**
|
|
89
|
-
* Checks if the event has space for more participants.
|
|
90
|
-
*/
|
|
91
|
-
hasSpace() {
|
|
92
|
-
return this.participantLimit === 0 || this.currentParticipants < this.participantLimit;
|
|
93
|
-
}
|
|
94
|
-
/**
|
|
95
|
-
* Returns a formatted progress string for participants (e.g. "12/16").
|
|
96
|
-
*/
|
|
97
|
-
getParticipantProgress() {
|
|
98
|
-
const limit = this.participantLimit === 0 ? "∞" : this.participantLimit;
|
|
99
|
-
return `${this.currentParticipants}/${limit}`;
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
//# sourceMappingURL=Event.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Event.js","sourceRoot":"","sources":["../../../src/models/community/Event.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC;;GAEG;AACH,MAAM,OAAO,cAAe,SAAQ,SAAS;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,CAA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mB,IAAI,KAAK,EAAE,CAAC;IAChD,CAAC;CACF"}
|
|
@@ -1,18 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,31 +0,0 @@
|
|
|
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 class Faculty extends BaseModel {
|
|
7
|
-
id = '';
|
|
8
|
-
name = '';
|
|
9
|
-
schoolId = '';
|
|
10
|
-
representative = null;
|
|
11
|
-
memberCount = 0;
|
|
12
|
-
constructor(data) {
|
|
13
|
-
super();
|
|
14
|
-
Object.assign(this, data);
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* Instantiates a Faculty object from an API response.
|
|
18
|
-
*/
|
|
19
|
-
static fromAPI(json) {
|
|
20
|
-
if (!json)
|
|
21
|
-
return new Faculty({});
|
|
22
|
-
return new Faculty({
|
|
23
|
-
id: String(json.id || ''),
|
|
24
|
-
name: json.name || '',
|
|
25
|
-
schoolId: String(json.schoolId || ''),
|
|
26
|
-
representative: json.representative ? User.fromAPI(json.representative) : null,
|
|
27
|
-
memberCount: Number(json.memberCount || 0)
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
//# sourceMappingURL=Faculty.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Faculty.js","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,MAAM,OAAO,OAAQ,SAAQ,SAAS;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,IAAI,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"}
|
|
@@ -1,27 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Forum.d.ts","sourceRoot":"","sources":["../../../src/models/community/Forum.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC;;GAEG;AACH,qBAAa,KAAM,SAAQ,SAAS;IAClC,EAAE,EAAE,MAAM,CAAM;IAChB,IAAI,EAAE,MAAM,CAAM;IAClB,IAAI,EAAE,MAAM,CAAM;IAClB,UAAU,EAAE,MAAM,CAAK;IACvB,SAAS,EAAE,MAAM,CAAK;IACtB,QAAQ,CAAC,EAAE;QACT,UAAU,EAAE,MAAM,CAAC;QACnB,MAAM,EAAE,MAAM,CAAC;QACf,MAAM,EAAE,MAAM,CAAC;QACf,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;gBAEU,IAAI,EAAE,OAAO,CAAC,KAAK,CAAC;IAKhC;;OAEG;IACH,MAAM,IAAI,MAAM;IAIhB;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,KAAK;CAYjD"}
|