@armoyu/ui 1.1.2 → 1.1.5
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 +32 -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 +133 -0
- package/dist/app/api/proxy/[...path]/route.js.map +1 -0
- package/dist/app/gruplar/[groupId]/page.d.ts +2 -0
- package/dist/app/gruplar/[groupId]/page.d.ts.map +1 -0
- package/dist/app/gruplar/[groupId]/page.js +10 -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 +29 -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 +7 -0
- package/dist/app/not-found.js.map +1 -0
- package/dist/app/page.d.ts +2 -0
- package/dist/app/page.d.ts.map +1 -0
- package/dist/app/page.js +39 -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 +16 -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 +8 -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 +24 -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 +36 -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 +14 -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 +10 -0
- package/dist/components/ViewModeToggle.js.map +1 -0
- package/dist/components/modules/chat/ChatLayout.d.ts +2 -0
- package/dist/components/modules/chat/ChatLayout.d.ts.map +1 -0
- package/dist/components/modules/chat/ChatLayout.js +198 -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 +31 -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 +53 -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 +7 -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 +15 -0
- package/dist/components/modules/chat/widgets/ChatNotes.js.map +1 -0
- package/dist/components/modules/community/CommunityLayout.d.ts +7 -0
- package/dist/components/modules/community/CommunityLayout.d.ts.map +1 -0
- package/dist/components/modules/community/CommunityLayout.js +137 -0
- package/dist/components/modules/community/CommunityLayout.js.map +1 -0
- package/dist/components/modules/community/widgets/EventDetailLayout.d.ts +7 -0
- package/dist/components/modules/community/widgets/EventDetailLayout.d.ts.map +1 -0
- package/dist/components/modules/community/widgets/EventDetailLayout.js +54 -0
- package/dist/components/modules/community/widgets/EventDetailLayout.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 +7 -0
- package/dist/components/modules/community/widgets/GroupAboutCard.js.map +1 -0
- package/dist/components/modules/community/widgets/GroupEventsList.d.ts +8 -0
- package/dist/components/modules/community/widgets/GroupEventsList.d.ts.map +1 -0
- package/dist/components/modules/community/widgets/GroupEventsList.js +33 -0
- package/dist/components/modules/community/widgets/GroupEventsList.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 +8 -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 +18 -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 +17 -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 +7 -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 +13 -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 +8 -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 +8 -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 +25 -0
- package/dist/components/modules/community/widgets/SurveyCard.js.map +1 -0
- package/dist/components/modules/events/DetailLayout.d.ts +7 -0
- package/dist/components/modules/events/DetailLayout.d.ts.map +1 -0
- package/dist/components/modules/events/DetailLayout.js +54 -0
- package/dist/components/modules/events/DetailLayout.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 +54 -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 +6 -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 +75 -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 +7 -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 +10 -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 +24 -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 +29 -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 +7 -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 +7 -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 +6 -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 +6 -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 +6 -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 +27 -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 +7 -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 +6 -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 +6 -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 +6 -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 +6 -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 +7 -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 +28 -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 +8 -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 +15 -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 +7 -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 +6 -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 +47 -0
- package/dist/components/modules/posts/widgets/MediaLightbox.js.map +1 -0
- package/dist/components/modules/posts/widgets/PostCard.d.ts +34 -0
- package/dist/components/modules/posts/widgets/PostCard.d.ts.map +1 -0
- package/dist/components/modules/posts/widgets/PostCard.js +179 -0
- package/dist/components/modules/posts/widgets/PostCard.js.map +1 -0
- package/dist/components/modules/posts/widgets/PostInteractionsModal.d.ts +12 -0
- package/dist/components/modules/posts/widgets/PostInteractionsModal.d.ts.map +1 -0
- package/dist/components/modules/posts/widgets/PostInteractionsModal.js +13 -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 +76 -0
- package/dist/components/modules/posts/widgets/RepostModal.js.map +1 -0
- package/dist/components/modules/posts/widgets/SocialFeed.d.ts +19 -0
- package/dist/components/modules/posts/widgets/SocialFeed.d.ts.map +1 -0
- package/dist/components/modules/posts/widgets/SocialFeed.js +120 -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 +21 -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 +51 -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 +55 -0
- package/dist/components/modules/posts/widgets/reels/ReelCard.js.map +1 -0
- package/dist/components/modules/posts/widgets/reels/ReelsContainer.d.ts +8 -0
- package/dist/components/modules/posts/widgets/reels/ReelsContainer.d.ts.map +1 -0
- package/dist/components/modules/posts/widgets/reels/ReelsContainer.js +29 -0
- package/dist/components/modules/posts/widgets/reels/ReelsContainer.js.map +1 -0
- package/dist/components/modules/profile/ProfileLayout.d.ts +5 -0
- package/dist/components/modules/profile/ProfileLayout.d.ts.map +1 -0
- package/dist/components/modules/profile/ProfileLayout.js +70 -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 +9 -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 +46 -0
- package/dist/components/modules/profile/tabs/CareerTab.js.map +1 -0
- package/dist/components/modules/profile/tabs/FriendsTab.d.ts +10 -0
- package/dist/components/modules/profile/tabs/FriendsTab.d.ts.map +1 -0
- package/dist/components/modules/profile/tabs/FriendsTab.js +8 -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 +37 -0
- package/dist/components/modules/profile/tabs/GamesTab.js.map +1 -0
- package/dist/components/modules/profile/tabs/GroupsTab.d.ts +6 -0
- package/dist/components/modules/profile/tabs/GroupsTab.d.ts.map +1 -0
- package/dist/components/modules/profile/tabs/GroupsTab.js +9 -0
- package/dist/components/modules/profile/tabs/GroupsTab.js.map +1 -0
- package/dist/components/modules/profile/tabs/PostsTab.d.ts +7 -0
- package/dist/components/modules/profile/tabs/PostsTab.d.ts.map +1 -0
- package/dist/components/modules/profile/tabs/PostsTab.js +34 -0
- package/dist/components/modules/profile/tabs/PostsTab.js.map +1 -0
- 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 +32 -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 +28 -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 +6 -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 +6 -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 +12 -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 +20 -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 +9 -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 +21 -0
- package/dist/components/modules/profile/widgets/ProfileStats.js.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileTabsArea.d.ts +14 -0
- package/dist/components/modules/profile/widgets/ProfileTabsArea.d.ts.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileTabsArea.js +59 -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 +17 -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 +22 -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 +6 -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 +11 -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 +23 -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 +10 -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 +9 -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 +13 -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 +8 -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 +29 -0
- package/dist/components/modules/shop/widgets/StoreTrustBadges.js.map +1 -0
- package/dist/components/modules/social/SocialLayout.d.ts +2 -0
- package/dist/components/modules/social/SocialLayout.d.ts.map +1 -0
- package/dist/components/modules/social/SocialLayout.js +125 -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 +45 -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 +43 -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 +43 -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 +85 -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 +9 -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 +26 -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 +13 -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 +39 -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 +18 -0
- package/dist/components/shared/FilterTabs.js.map +1 -0
- package/dist/components/shared/FloatingChatButton.d.ts +5 -0
- package/dist/components/shared/FloatingChatButton.d.ts.map +1 -0
- package/dist/components/shared/FloatingChatButton.js +21 -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 +10 -0
- package/dist/components/shared/Footer.js.map +1 -0
- package/dist/components/shared/Header.d.ts +2 -0
- package/dist/components/shared/Header.d.ts.map +1 -0
- package/dist/components/shared/Header.js +133 -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 +13 -0
- package/dist/components/shared/ListToolbar.js.map +1 -0
- package/dist/components/shared/LoginModal.d.ts +5 -0
- package/dist/components/shared/LoginModal.d.ts.map +1 -0
- package/dist/components/shared/LoginModal.js +66 -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 +8 -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 +7 -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 +14 -0
- package/dist/components/shared/PageWidth.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 +21 -0
- package/dist/components/shared/SearchBar.js.map +1 -0
- package/dist/components/showcase/CommunityTab.d.ts +2 -0
- package/dist/components/showcase/CommunityTab.d.ts.map +1 -0
- package/dist/components/showcase/CommunityTab.js +6 -0
- package/dist/components/showcase/CommunityTab.js.map +1 -0
- package/dist/components/showcase/CorporateTab.d.ts +2 -0
- package/dist/components/showcase/CorporateTab.d.ts.map +1 -0
- package/dist/components/showcase/CorporateTab.js +6 -0
- package/dist/components/showcase/CorporateTab.js.map +1 -0
- package/dist/components/showcase/EventsTab.d.ts +2 -0
- package/dist/components/showcase/EventsTab.d.ts.map +1 -0
- package/dist/components/showcase/EventsTab.js +95 -0
- package/dist/components/showcase/EventsTab.js.map +1 -0
- package/dist/components/showcase/GeneralTab.d.ts +2 -0
- package/dist/components/showcase/GeneralTab.d.ts.map +1 -0
- package/dist/components/showcase/GeneralTab.js +6 -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 +74 -0
- package/dist/components/showcase/GroupTab.js.map +1 -0
- package/dist/components/showcase/MessagesTab.d.ts +2 -0
- package/dist/components/showcase/MessagesTab.d.ts.map +1 -0
- package/dist/components/showcase/MessagesTab.js +20 -0
- package/dist/components/showcase/MessagesTab.js.map +1 -0
- package/dist/components/showcase/ProfileTab.d.ts +2 -0
- package/dist/components/showcase/ProfileTab.d.ts.map +1 -0
- package/dist/components/showcase/ProfileTab.js +51 -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 +34 -0
- package/dist/components/showcase/ReelsTab.js.map +1 -0
- package/dist/components/showcase/ShopTab.d.ts +2 -0
- package/dist/components/showcase/ShopTab.d.ts.map +1 -0
- package/dist/components/showcase/ShopTab.js +32 -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 +29 -0
- package/dist/components/showcase/ShowcaseNavigation.js.map +1 -0
- package/dist/components/showcase/SocialTab.d.ts +2 -0
- package/dist/components/showcase/SocialTab.d.ts.map +1 -0
- package/dist/components/showcase/SocialTab.js +26 -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 +76 -0
- package/dist/context/ArmoyuContext.js.map +1 -0
- package/dist/context/AuthContext.d.ts +20 -0
- package/dist/context/AuthContext.d.ts.map +1 -0
- package/dist/context/AuthContext.js +114 -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 +63 -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 +94 -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 +17 -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 +32 -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 +40 -0
- package/dist/context/ThemeContext.js.map +1 -0
- package/dist/index.d.ts +100 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +112 -0
- package/dist/index.js.map +1 -0
- package/dist/lib/ArmoyuUI.d.ts +18 -0
- package/dist/lib/ArmoyuUI.d.ts.map +1 -0
- package/dist/lib/ArmoyuUI.js +25 -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 +15 -0
- package/dist/lib/constants/config.js.map +1 -0
- package/dist/lib/constants/educationData.d.ts +8 -0
- package/dist/lib/constants/educationData.d.ts.map +1 -0
- package/dist/lib/constants/educationData.js +118 -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 +184 -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 +724 -0
- package/dist/lib/constants/seedData.js.map +1 -0
- package/dist/lib/constants/stationData.d.ts +14 -0
- package/dist/lib/constants/stationData.d.ts.map +1 -0
- package/dist/lib/constants/stationData.js +167 -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 +50 -0
- package/dist/lib/constants/surveyData.js.map +1 -0
- package/dist/lib/constants/teamData.d.ts +13 -0
- package/dist/lib/constants/teamData.d.ts.map +1 -0
- package/dist/lib/constants/teamData.js +66 -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 +17 -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 +44 -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 +37 -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 +13 -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 +37 -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 +28 -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 +52 -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 +38 -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 +36 -0
- package/dist/models/auth/TeamMember.js.map +1 -0
- package/dist/models/auth/User.d.ts +91 -0
- package/dist/models/auth/User.d.ts.map +1 -0
- package/dist/models/auth/User.js +202 -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 +35 -0
- package/dist/models/auth/UserBadge.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 +35 -0
- package/dist/models/community/Classroom.js.map +1 -0
- package/dist/models/community/Event.d.ts +53 -0
- package/dist/models/community/Event.d.ts.map +1 -0
- package/dist/models/community/Event.js +102 -0
- package/dist/models/community/Event.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 +31 -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 +38 -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 +40 -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 +117 -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 +70 -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 +43 -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 +170 -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 +53 -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 +28 -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 +62 -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 +34 -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 +42 -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 +32 -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 +39 -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 +76 -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 +34 -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 +26 -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 +43 -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 +26 -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 +30 -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 +28 -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 +90 -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 +28 -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 +30 -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 +66 -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 +73 -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 +38 -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 +34 -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 +50 -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 +69 -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 +75 -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 +51 -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 +28 -0
- package/dist/models/social/chat/Note.js.map +1 -0
- package/dist/models/social/feed/Comment.d.ts +20 -0
- package/dist/models/social/feed/Comment.d.ts.map +1 -0
- package/dist/models/social/feed/Comment.js +35 -0
- package/dist/models/social/feed/Comment.js.map +1 -0
- package/dist/models/social/feed/Post.d.ts +23 -0
- package/dist/models/social/feed/Post.d.ts.map +1 -0
- package/dist/models/social/feed/Post.js +40 -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 +31 -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 +36 -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 +20 -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 +22 -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 +66 -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 +59 -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 +30 -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 +35 -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 +28 -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 +24 -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 +74 -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 +53 -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 +34 -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 +27 -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 +34 -0
- package/dist/models/store/StoreItem.js.map +1 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +2 -0
- package/dist/types/index.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 +2 -0
- package/dist/types/stats.js.map +1 -0
- package/package.json +2 -2
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { BaseModel } from '../../BaseModel';
|
|
2
|
+
/**
|
|
3
|
+
* Represents a Game in the ARMOYU platform in the UI.
|
|
4
|
+
*/
|
|
5
|
+
export declare class Game extends BaseModel {
|
|
6
|
+
id: string;
|
|
7
|
+
title: string;
|
|
8
|
+
shortName: string;
|
|
9
|
+
logo: string;
|
|
10
|
+
banner: string;
|
|
11
|
+
description: string;
|
|
12
|
+
rating: number;
|
|
13
|
+
category: string;
|
|
14
|
+
constructor(data: Partial<Game>);
|
|
15
|
+
/**
|
|
16
|
+
* Instantiates a Game object from an API response.
|
|
17
|
+
*/
|
|
18
|
+
static fromAPI(json: Record<string, any>): Game;
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=Game.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Game.d.ts","sourceRoot":"","sources":["../../../../src/models/social/gaming/Game.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAE5C;;GAEG;AACH,qBAAa,IAAK,SAAQ,SAAS;IACjC,EAAE,EAAE,MAAM,CAAM;IAChB,KAAK,EAAE,MAAM,CAAM;IACnB,SAAS,EAAE,MAAM,CAAM;IACvB,IAAI,EAAE,MAAM,CAAM;IAClB,MAAM,EAAE,MAAM,CAAM;IACpB,WAAW,EAAE,MAAM,CAAM;IACzB,MAAM,EAAE,MAAM,CAAK;IACnB,QAAQ,EAAE,MAAM,CAAM;gBAEV,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC;IAK/B;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI;CAchD"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { BaseModel } from '../../BaseModel';
|
|
2
|
+
/**
|
|
3
|
+
* Represents a Game in the ARMOYU platform in the UI.
|
|
4
|
+
*/
|
|
5
|
+
export class Game extends BaseModel {
|
|
6
|
+
id = '';
|
|
7
|
+
title = '';
|
|
8
|
+
shortName = '';
|
|
9
|
+
logo = '';
|
|
10
|
+
banner = '';
|
|
11
|
+
description = '';
|
|
12
|
+
rating = 0;
|
|
13
|
+
category = '';
|
|
14
|
+
constructor(data) {
|
|
15
|
+
super();
|
|
16
|
+
Object.assign(this, data);
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Instantiates a Game object from an API response.
|
|
20
|
+
*/
|
|
21
|
+
static fromAPI(json) {
|
|
22
|
+
if (!json)
|
|
23
|
+
return new Game({});
|
|
24
|
+
return new Game({
|
|
25
|
+
id: String(json.id || json.oyunid || ''),
|
|
26
|
+
title: json.title || json.ad || '',
|
|
27
|
+
shortName: json.shortName || json.kisa_ad || '',
|
|
28
|
+
logo: json.logo || json.minnakresim || '',
|
|
29
|
+
banner: json.banner || json.buyukresim || '',
|
|
30
|
+
description: json.description || json.aciklama || '',
|
|
31
|
+
rating: Number(json.rating || json.puan || 0),
|
|
32
|
+
category: json.category || json.tür || ''
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
//# sourceMappingURL=Game.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Game.js","sourceRoot":"","sources":["../../../../src/models/social/gaming/Game.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAE5C;;GAEG;AACH,MAAM,OAAO,IAAK,SAAQ,SAAS;IACjC,EAAE,GAAW,EAAE,CAAC;IAChB,KAAK,GAAW,EAAE,CAAC;IACnB,SAAS,GAAW,EAAE,CAAC;IACvB,IAAI,GAAW,EAAE,CAAC;IAClB,MAAM,GAAW,EAAE,CAAC;IACpB,WAAW,GAAW,EAAE,CAAC;IACzB,MAAM,GAAW,CAAC,CAAC;IACnB,QAAQ,GAAW,EAAE,CAAC;IAEtB,YAAY,IAAmB;QAC7B,KAAK,EAAE,CAAC;QACR,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IAC5B,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,IAAyB;QACtC,IAAI,CAAC,IAAI;YAAE,OAAO,IAAI,IAAI,CAAC,EAAE,CAAC,CAAC;QAE/B,OAAO,IAAI,IAAI,CAAC;YACd,EAAE,EAAE,MAAM,CAAC,IAAI,CAAC,EAAE,IAAI,IAAI,CAAC,MAAM,IAAI,EAAE,CAAC;YACxC,KAAK,EAAE,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,EAAE,IAAI,EAAE;YAClC,SAAS,EAAE,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC,OAAO,IAAI,EAAE;YAC/C,IAAI,EAAE,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,WAAW,IAAI,EAAE;YACzC,MAAM,EAAE,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,UAAU,IAAI,EAAE;YAC5C,WAAW,EAAE,IAAI,CAAC,WAAW,IAAI,IAAI,CAAC,QAAQ,IAAI,EAAE;YACpD,MAAM,EAAE,MAAM,CAAC,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,IAAI,IAAI,CAAC,CAAC;YAC7C,QAAQ,EAAE,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,GAAG,IAAI,EAAE;SAC1C,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Authentication related enums.
|
|
3
|
+
*/
|
|
4
|
+
export declare enum AuthStatus {
|
|
5
|
+
GUEST = 0,
|
|
6
|
+
USER = 1,
|
|
7
|
+
MODERATOR = 2,
|
|
8
|
+
ADMIN = 3
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Preferences for password reset.
|
|
12
|
+
*/
|
|
13
|
+
export declare enum PasswordResetPreference {
|
|
14
|
+
EMAIL = "email",
|
|
15
|
+
PHONE = "phone",
|
|
16
|
+
USER_INPUT = "user_input"
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=AuthEnums.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuthEnums.d.ts","sourceRoot":"","sources":["../../../../src/models/social/meta/AuthEnums.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,UAAU;IACpB,KAAK,IAAI;IACT,IAAI,IAAI;IACR,SAAS,IAAI;IACb,KAAK,IAAI;CACV;AAED;;GAEG;AACH,oBAAY,uBAAuB;IACjC,KAAK,UAAU;IACf,KAAK,UAAU;IACf,UAAU,eAAe;CAC1B"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Authentication related enums.
|
|
3
|
+
*/
|
|
4
|
+
export var AuthStatus;
|
|
5
|
+
(function (AuthStatus) {
|
|
6
|
+
AuthStatus[AuthStatus["GUEST"] = 0] = "GUEST";
|
|
7
|
+
AuthStatus[AuthStatus["USER"] = 1] = "USER";
|
|
8
|
+
AuthStatus[AuthStatus["MODERATOR"] = 2] = "MODERATOR";
|
|
9
|
+
AuthStatus[AuthStatus["ADMIN"] = 3] = "ADMIN";
|
|
10
|
+
})(AuthStatus || (AuthStatus = {}));
|
|
11
|
+
/**
|
|
12
|
+
* Preferences for password reset.
|
|
13
|
+
*/
|
|
14
|
+
export var PasswordResetPreference;
|
|
15
|
+
(function (PasswordResetPreference) {
|
|
16
|
+
PasswordResetPreference["EMAIL"] = "email";
|
|
17
|
+
PasswordResetPreference["PHONE"] = "phone";
|
|
18
|
+
PasswordResetPreference["USER_INPUT"] = "user_input";
|
|
19
|
+
})(PasswordResetPreference || (PasswordResetPreference = {}));
|
|
20
|
+
//# sourceMappingURL=AuthEnums.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuthEnums.js","sourceRoot":"","sources":["../../../../src/models/social/meta/AuthEnums.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,CAAN,IAAY,UAKX;AALD,WAAY,UAAU;IACpB,6CAAS,CAAA;IACT,2CAAQ,CAAA;IACR,qDAAa,CAAA;IACb,6CAAS,CAAA;AACX,CAAC,EALW,UAAU,KAAV,UAAU,QAKrB;AAED;;GAEG;AACH,MAAM,CAAN,IAAY,uBAIX;AAJD,WAAY,uBAAuB;IACjC,0CAAe,CAAA;IACf,0CAAe,CAAA;IACf,oDAAyB,CAAA;AAC3B,CAAC,EAJW,uBAAuB,KAAvB,uBAAuB,QAIlC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Media related enums.
|
|
3
|
+
*/
|
|
4
|
+
export declare enum MediaType {
|
|
5
|
+
IMAGE = "IMAGE",
|
|
6
|
+
VIDEO = "VIDEO",
|
|
7
|
+
AUDIO = "AUDIO",
|
|
8
|
+
DOCUMENT = "DOCUMENT"
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Categories for media.
|
|
12
|
+
*/
|
|
13
|
+
export declare enum MediaCategory {
|
|
14
|
+
ALL = "all",
|
|
15
|
+
PROFILE = "profile",
|
|
16
|
+
POST = "post",
|
|
17
|
+
GROUP = "group",
|
|
18
|
+
CHAT = "chat"
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=MediaEnums.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MediaEnums.d.ts","sourceRoot":"","sources":["../../../../src/models/social/meta/MediaEnums.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,SAAS;IACnB,KAAK,UAAU;IACf,KAAK,UAAU;IACf,KAAK,UAAU;IACf,QAAQ,aAAa;CACtB;AAED;;GAEG;AACH,oBAAY,aAAa;IACvB,GAAG,QAAQ;IACX,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,KAAK,UAAU;IACf,IAAI,SAAS;CACd"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Media related enums.
|
|
3
|
+
*/
|
|
4
|
+
export var MediaType;
|
|
5
|
+
(function (MediaType) {
|
|
6
|
+
MediaType["IMAGE"] = "IMAGE";
|
|
7
|
+
MediaType["VIDEO"] = "VIDEO";
|
|
8
|
+
MediaType["AUDIO"] = "AUDIO";
|
|
9
|
+
MediaType["DOCUMENT"] = "DOCUMENT";
|
|
10
|
+
})(MediaType || (MediaType = {}));
|
|
11
|
+
/**
|
|
12
|
+
* Categories for media.
|
|
13
|
+
*/
|
|
14
|
+
export var MediaCategory;
|
|
15
|
+
(function (MediaCategory) {
|
|
16
|
+
MediaCategory["ALL"] = "all";
|
|
17
|
+
MediaCategory["PROFILE"] = "profile";
|
|
18
|
+
MediaCategory["POST"] = "post";
|
|
19
|
+
MediaCategory["GROUP"] = "group";
|
|
20
|
+
MediaCategory["CHAT"] = "chat";
|
|
21
|
+
})(MediaCategory || (MediaCategory = {}));
|
|
22
|
+
//# sourceMappingURL=MediaEnums.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MediaEnums.js","sourceRoot":"","sources":["../../../../src/models/social/meta/MediaEnums.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,CAAN,IAAY,SAKX;AALD,WAAY,SAAS;IACnB,4BAAe,CAAA;IACf,4BAAe,CAAA;IACf,4BAAe,CAAA;IACf,kCAAqB,CAAA;AACvB,CAAC,EALW,SAAS,KAAT,SAAS,QAKpB;AAED;;GAEG;AACH,MAAM,CAAN,IAAY,aAMX;AAND,WAAY,aAAa;IACvB,4BAAW,CAAA;IACX,oCAAmB,CAAA;IACnB,8BAAa,CAAA;IACb,gCAAe,CAAA;IACf,8BAAa,CAAA;AACf,CAAC,EANW,aAAa,KAAb,aAAa,QAMxB"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { BaseModel } from '../../BaseModel';
|
|
2
|
+
import { NotificationType, NotificationPriority, NotificationStatus } from './NotificationEnums';
|
|
3
|
+
import { NotificationSender } from './NotificationSender';
|
|
4
|
+
/**
|
|
5
|
+
* Represents a System or User Notification in the UI.
|
|
6
|
+
*/
|
|
7
|
+
export declare class Notification extends BaseModel {
|
|
8
|
+
id: string;
|
|
9
|
+
type: NotificationType;
|
|
10
|
+
priority: NotificationPriority;
|
|
11
|
+
status: NotificationStatus;
|
|
12
|
+
title: string;
|
|
13
|
+
message: string;
|
|
14
|
+
sender: NotificationSender | null;
|
|
15
|
+
link: string;
|
|
16
|
+
createdAt: string;
|
|
17
|
+
metaData: Record<string, any>;
|
|
18
|
+
constructor(data: Partial<Notification>);
|
|
19
|
+
/**
|
|
20
|
+
* Instantiates a Notification object from an API response.
|
|
21
|
+
*/
|
|
22
|
+
static fromAPI(json: Record<string, any>): Notification;
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=Notification.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Notification.d.ts","sourceRoot":"","sources":["../../../../src/models/social/notification/Notification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AACjG,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D;;GAEG;AACH,qBAAa,YAAa,SAAQ,SAAS;IACzC,EAAE,EAAE,MAAM,CAAM;IAChB,IAAI,EAAE,gBAAgB,CAA2B;IACjD,QAAQ,EAAE,oBAAoB,CAA+B;IAC7D,MAAM,EAAE,kBAAkB,CAA6B;IACvD,KAAK,EAAE,MAAM,CAAM;IACnB,OAAO,EAAE,MAAM,CAAM;IACrB,MAAM,EAAE,kBAAkB,GAAG,IAAI,CAAQ;IACzC,IAAI,EAAE,MAAM,CAAM;IAClB,SAAS,EAAE,MAAM,CAAM;IACvB,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAM;gBAEvB,IAAI,EAAE,OAAO,CAAC,YAAY,CAAC;IAKvC;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,YAAY;CA2CxD"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { BaseModel } from '../../BaseModel';
|
|
2
|
+
import { NotificationType, NotificationPriority, NotificationStatus } from './NotificationEnums';
|
|
3
|
+
import { NotificationSender } from './NotificationSender';
|
|
4
|
+
/**
|
|
5
|
+
* Represents a System or User Notification in the UI.
|
|
6
|
+
*/
|
|
7
|
+
export class Notification extends BaseModel {
|
|
8
|
+
id = '';
|
|
9
|
+
type = NotificationType.SYSTEM;
|
|
10
|
+
priority = NotificationPriority.MEDIUM;
|
|
11
|
+
status = NotificationStatus.UNREAD;
|
|
12
|
+
title = '';
|
|
13
|
+
message = '';
|
|
14
|
+
sender = null;
|
|
15
|
+
link = '';
|
|
16
|
+
createdAt = '';
|
|
17
|
+
metaData = {};
|
|
18
|
+
constructor(data) {
|
|
19
|
+
super();
|
|
20
|
+
Object.assign(this, data);
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Instantiates a Notification object from an API response.
|
|
24
|
+
*/
|
|
25
|
+
static fromAPI(json) {
|
|
26
|
+
if (!json)
|
|
27
|
+
return new Notification({});
|
|
28
|
+
const resolveKey = (keys) => {
|
|
29
|
+
const foundKey = Object.keys(json).find(k => keys.includes(k.toLowerCase()));
|
|
30
|
+
return foundKey ? json[foundKey] : undefined;
|
|
31
|
+
};
|
|
32
|
+
const typeStr = resolveKey(['type', 'bildirimturu', 'tür']);
|
|
33
|
+
let nType = NotificationType.SYSTEM;
|
|
34
|
+
if (typeStr) {
|
|
35
|
+
const typeMap = {
|
|
36
|
+
'arkadaslik_istegi': NotificationType.FRIEND_REQUEST,
|
|
37
|
+
'arkadaslik_kabul': NotificationType.FRIEND_ACCEPT,
|
|
38
|
+
'begeni': NotificationType.POST_LIKE,
|
|
39
|
+
'yorum': NotificationType.POST_COMMENT,
|
|
40
|
+
'etiket': NotificationType.POST_MENTION,
|
|
41
|
+
'grup_davet': NotificationType.GROUP_INVITE,
|
|
42
|
+
'grup_kabul': NotificationType.GROUP_ACCEPT,
|
|
43
|
+
'sistem': NotificationType.SYSTEM,
|
|
44
|
+
'mesaj': NotificationType.CHAT_MESSAGE,
|
|
45
|
+
'seviye': NotificationType.LEVEL_UP,
|
|
46
|
+
'odul': NotificationType.AWARD
|
|
47
|
+
};
|
|
48
|
+
nType = typeMap[typeStr] || NotificationType.SYSTEM;
|
|
49
|
+
}
|
|
50
|
+
const priorityVal = resolveKey(['priority', 'oncelik']);
|
|
51
|
+
const statusVal = resolveKey(['status', 'durum', 'okundu']);
|
|
52
|
+
return new Notification({
|
|
53
|
+
id: String(resolveKey(['id', 'bildirimbakid', 'bildirimid']) || ''),
|
|
54
|
+
type: nType,
|
|
55
|
+
priority: typeof priorityVal === 'number' ? priorityVal : NotificationPriority.MEDIUM,
|
|
56
|
+
status: (statusVal === 1 || statusVal === true) ? NotificationStatus.READ : NotificationStatus.UNREAD,
|
|
57
|
+
title: resolveKey(['title', 'baslik']) || '',
|
|
58
|
+
message: resolveKey(['message', 'icerik', 'mesaj', 'text']) || '',
|
|
59
|
+
sender: resolveKey(['sender', 'gonderen']) ? NotificationSender.fromAPI(resolveKey(['sender', 'gonderen'])) : null,
|
|
60
|
+
link: resolveKey(['link', 'url', 'baglanti']) || '',
|
|
61
|
+
createdAt: resolveKey(['createdat', 'tarih', 'zaman']) || '',
|
|
62
|
+
metaData: json.meta || json.extra || {}
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
//# sourceMappingURL=Notification.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Notification.js","sourceRoot":"","sources":["../../../../src/models/social/notification/Notification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AACjG,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D;;GAEG;AACH,MAAM,OAAO,YAAa,SAAQ,SAAS;IACzC,EAAE,GAAW,EAAE,CAAC;IAChB,IAAI,GAAqB,gBAAgB,CAAC,MAAM,CAAC;IACjD,QAAQ,GAAyB,oBAAoB,CAAC,MAAM,CAAC;IAC7D,MAAM,GAAuB,kBAAkB,CAAC,MAAM,CAAC;IACvD,KAAK,GAAW,EAAE,CAAC;IACnB,OAAO,GAAW,EAAE,CAAC;IACrB,MAAM,GAA8B,IAAI,CAAC;IACzC,IAAI,GAAW,EAAE,CAAC;IAClB,SAAS,GAAW,EAAE,CAAC;IACvB,QAAQ,GAAwB,EAAE,CAAC;IAEnC,YAAY,IAA2B;QACrC,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,YAAY,CAAC,EAAE,CAAC,CAAC;QAEvC,MAAM,UAAU,GAAG,CAAC,IAAc,EAAO,EAAE;YACzC,MAAM,QAAQ,GAAG,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC;YAC7E,OAAO,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;QAC/C,CAAC,CAAC;QAEF,MAAM,OAAO,GAAG,UAAU,CAAC,CAAC,MAAM,EAAE,cAAc,EAAE,KAAK,CAAC,CAAC,CAAC;QAC5D,IAAI,KAAK,GAAG,gBAAgB,CAAC,MAAM,CAAC;QACpC,IAAI,OAAO,EAAE,CAAC;YACZ,MAAM,OAAO,GAAqC;gBAChD,mBAAmB,EAAE,gBAAgB,CAAC,cAAc;gBACpD,kBAAkB,EAAE,gBAAgB,CAAC,aAAa;gBAClD,QAAQ,EAAE,gBAAgB,CAAC,SAAS;gBACpC,OAAO,EAAE,gBAAgB,CAAC,YAAY;gBACtC,QAAQ,EAAE,gBAAgB,CAAC,YAAY;gBACvC,YAAY,EAAE,gBAAgB,CAAC,YAAY;gBAC3C,YAAY,EAAE,gBAAgB,CAAC,YAAY;gBAC3C,QAAQ,EAAE,gBAAgB,CAAC,MAAM;gBACjC,OAAO,EAAE,gBAAgB,CAAC,YAAY;gBACtC,QAAQ,EAAE,gBAAgB,CAAC,QAAQ;gBACnC,MAAM,EAAE,gBAAgB,CAAC,KAAK;aAC/B,CAAC;YACF,KAAK,GAAG,OAAO,CAAC,OAAO,CAAC,IAAI,gBAAgB,CAAC,MAAM,CAAC;QACtD,CAAC;QAED,MAAM,WAAW,GAAG,UAAU,CAAC,CAAC,UAAU,EAAE,SAAS,CAAC,CAAC,CAAC;QACxD,MAAM,SAAS,GAAG,UAAU,CAAC,CAAC,QAAQ,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC,CAAC;QAE5D,OAAO,IAAI,YAAY,CAAC;YACtB,EAAE,EAAE,MAAM,CAAC,UAAU,CAAC,CAAC,IAAI,EAAE,eAAe,EAAE,YAAY,CAAC,CAAC,IAAI,EAAE,CAAC;YACnE,IAAI,EAAE,KAAK;YACX,QAAQ,EAAE,OAAO,WAAW,KAAK,QAAQ,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,oBAAoB,CAAC,MAAM;YACrF,MAAM,EAAE,CAAC,SAAS,KAAK,CAAC,IAAI,SAAS,KAAK,IAAI,CAAC,CAAC,CAAC,CAAC,kBAAkB,CAAC,IAAI,CAAC,CAAC,CAAC,kBAAkB,CAAC,MAAM;YACrG,KAAK,EAAE,UAAU,CAAC,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC,IAAI,EAAE;YAC5C,OAAO,EAAE,UAAU,CAAC,CAAC,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC,IAAI,EAAE;YACjE,MAAM,EAAE,UAAU,CAAC,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,kBAAkB,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI;YAClH,IAAI,EAAE,UAAU,CAAC,CAAC,MAAM,EAAE,KAAK,EAAE,UAAU,CAAC,CAAC,IAAI,EAAE;YACnD,SAAS,EAAE,UAAU,CAAC,CAAC,WAAW,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,EAAE;YAC5D,QAAQ,EAAE,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,KAAK,IAAI,EAAE;SACxC,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Types of notifications.
|
|
3
|
+
*/
|
|
4
|
+
export declare enum NotificationType {
|
|
5
|
+
FRIEND_REQUEST = "FRIEND_REQUEST",
|
|
6
|
+
FRIEND_ACCEPT = "FRIEND_ACCEPT",
|
|
7
|
+
POST_LIKE = "POST_LIKE",
|
|
8
|
+
POST_COMMENT = "POST_COMMENT",
|
|
9
|
+
POST_MENTION = "POST_MENTION",
|
|
10
|
+
GROUP_INVITE = "GROUP_INVITE",
|
|
11
|
+
GROUP_ACCEPT = "GROUP_ACCEPT",
|
|
12
|
+
SYSTEM = "SYSTEM",
|
|
13
|
+
CHAT_MESSAGE = "CHAT_MESSAGE",
|
|
14
|
+
LEVEL_UP = "LEVEL_UP",
|
|
15
|
+
AWARD = "AWARD"
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Priority of notifications.
|
|
19
|
+
*/
|
|
20
|
+
export declare enum NotificationPriority {
|
|
21
|
+
LOW = 0,
|
|
22
|
+
MEDIUM = 1,
|
|
23
|
+
HIGH = 2,
|
|
24
|
+
URGENT = 3
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Status of notifications.
|
|
28
|
+
*/
|
|
29
|
+
export declare enum NotificationStatus {
|
|
30
|
+
UNREAD = 0,
|
|
31
|
+
READ = 1,
|
|
32
|
+
ARCHIVED = 2
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Categories for notifications.
|
|
36
|
+
*/
|
|
37
|
+
export declare enum NotificationCategory {
|
|
38
|
+
ALL = "all",
|
|
39
|
+
SOCIAL = "social",
|
|
40
|
+
SYSTEM = "system",
|
|
41
|
+
COMMUNITY = "community",
|
|
42
|
+
GAMING = "gaming"
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Sub-categories for notifications.
|
|
46
|
+
*/
|
|
47
|
+
export declare enum NotificationSubCategory {
|
|
48
|
+
ALL = "all",
|
|
49
|
+
FRIENDSHIP = "friendship",
|
|
50
|
+
POSTS = "posts",
|
|
51
|
+
GROUPS = "groups",
|
|
52
|
+
AWARDS = "awards"
|
|
53
|
+
}
|
|
54
|
+
//# sourceMappingURL=NotificationEnums.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NotificationEnums.d.ts","sourceRoot":"","sources":["../../../../src/models/social/notification/NotificationEnums.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,gBAAgB;IAC1B,cAAc,mBAAmB;IACjC,aAAa,kBAAkB;IAC/B,SAAS,cAAc;IACvB,YAAY,iBAAiB;IAC7B,YAAY,iBAAiB;IAC7B,YAAY,iBAAiB;IAC7B,YAAY,iBAAiB;IAC7B,MAAM,WAAW;IACjB,YAAY,iBAAiB;IAC7B,QAAQ,aAAa;IACrB,KAAK,UAAU;CAChB;AAED;;GAEG;AACH,oBAAY,oBAAoB;IAC9B,GAAG,IAAI;IACP,MAAM,IAAI;IACV,IAAI,IAAI;IACR,MAAM,IAAI;CACX;AAED;;GAEG;AACH,oBAAY,kBAAkB;IAC5B,MAAM,IAAI;IACV,IAAI,IAAI;IACR,QAAQ,IAAI;CACb;AAED;;GAEG;AACH,oBAAY,oBAAoB;IAC9B,GAAG,QAAQ;IACX,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,SAAS,cAAc;IACvB,MAAM,WAAW;CAClB;AAED;;GAEG;AACH,oBAAY,uBAAuB;IACjC,GAAG,QAAQ;IACX,UAAU,eAAe;IACzB,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,MAAM,WAAW;CAClB"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Types of notifications.
|
|
3
|
+
*/
|
|
4
|
+
export var NotificationType;
|
|
5
|
+
(function (NotificationType) {
|
|
6
|
+
NotificationType["FRIEND_REQUEST"] = "FRIEND_REQUEST";
|
|
7
|
+
NotificationType["FRIEND_ACCEPT"] = "FRIEND_ACCEPT";
|
|
8
|
+
NotificationType["POST_LIKE"] = "POST_LIKE";
|
|
9
|
+
NotificationType["POST_COMMENT"] = "POST_COMMENT";
|
|
10
|
+
NotificationType["POST_MENTION"] = "POST_MENTION";
|
|
11
|
+
NotificationType["GROUP_INVITE"] = "GROUP_INVITE";
|
|
12
|
+
NotificationType["GROUP_ACCEPT"] = "GROUP_ACCEPT";
|
|
13
|
+
NotificationType["SYSTEM"] = "SYSTEM";
|
|
14
|
+
NotificationType["CHAT_MESSAGE"] = "CHAT_MESSAGE";
|
|
15
|
+
NotificationType["LEVEL_UP"] = "LEVEL_UP";
|
|
16
|
+
NotificationType["AWARD"] = "AWARD";
|
|
17
|
+
})(NotificationType || (NotificationType = {}));
|
|
18
|
+
/**
|
|
19
|
+
* Priority of notifications.
|
|
20
|
+
*/
|
|
21
|
+
export var NotificationPriority;
|
|
22
|
+
(function (NotificationPriority) {
|
|
23
|
+
NotificationPriority[NotificationPriority["LOW"] = 0] = "LOW";
|
|
24
|
+
NotificationPriority[NotificationPriority["MEDIUM"] = 1] = "MEDIUM";
|
|
25
|
+
NotificationPriority[NotificationPriority["HIGH"] = 2] = "HIGH";
|
|
26
|
+
NotificationPriority[NotificationPriority["URGENT"] = 3] = "URGENT";
|
|
27
|
+
})(NotificationPriority || (NotificationPriority = {}));
|
|
28
|
+
/**
|
|
29
|
+
* Status of notifications.
|
|
30
|
+
*/
|
|
31
|
+
export var NotificationStatus;
|
|
32
|
+
(function (NotificationStatus) {
|
|
33
|
+
NotificationStatus[NotificationStatus["UNREAD"] = 0] = "UNREAD";
|
|
34
|
+
NotificationStatus[NotificationStatus["READ"] = 1] = "READ";
|
|
35
|
+
NotificationStatus[NotificationStatus["ARCHIVED"] = 2] = "ARCHIVED";
|
|
36
|
+
})(NotificationStatus || (NotificationStatus = {}));
|
|
37
|
+
/**
|
|
38
|
+
* Categories for notifications.
|
|
39
|
+
*/
|
|
40
|
+
export var NotificationCategory;
|
|
41
|
+
(function (NotificationCategory) {
|
|
42
|
+
NotificationCategory["ALL"] = "all";
|
|
43
|
+
NotificationCategory["SOCIAL"] = "social";
|
|
44
|
+
NotificationCategory["SYSTEM"] = "system";
|
|
45
|
+
NotificationCategory["COMMUNITY"] = "community";
|
|
46
|
+
NotificationCategory["GAMING"] = "gaming";
|
|
47
|
+
})(NotificationCategory || (NotificationCategory = {}));
|
|
48
|
+
/**
|
|
49
|
+
* Sub-categories for notifications.
|
|
50
|
+
*/
|
|
51
|
+
export var NotificationSubCategory;
|
|
52
|
+
(function (NotificationSubCategory) {
|
|
53
|
+
NotificationSubCategory["ALL"] = "all";
|
|
54
|
+
NotificationSubCategory["FRIENDSHIP"] = "friendship";
|
|
55
|
+
NotificationSubCategory["POSTS"] = "posts";
|
|
56
|
+
NotificationSubCategory["GROUPS"] = "groups";
|
|
57
|
+
NotificationSubCategory["AWARDS"] = "awards";
|
|
58
|
+
})(NotificationSubCategory || (NotificationSubCategory = {}));
|
|
59
|
+
//# sourceMappingURL=NotificationEnums.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NotificationEnums.js","sourceRoot":"","sources":["../../../../src/models/social/notification/NotificationEnums.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,CAAN,IAAY,gBAYX;AAZD,WAAY,gBAAgB;IAC1B,qDAAiC,CAAA;IACjC,mDAA+B,CAAA;IAC/B,2CAAuB,CAAA;IACvB,iDAA6B,CAAA;IAC7B,iDAA6B,CAAA;IAC7B,iDAA6B,CAAA;IAC7B,iDAA6B,CAAA;IAC7B,qCAAiB,CAAA;IACjB,iDAA6B,CAAA;IAC7B,yCAAqB,CAAA;IACrB,mCAAe,CAAA;AACjB,CAAC,EAZW,gBAAgB,KAAhB,gBAAgB,QAY3B;AAED;;GAEG;AACH,MAAM,CAAN,IAAY,oBAKX;AALD,WAAY,oBAAoB;IAC9B,6DAAO,CAAA;IACP,mEAAU,CAAA;IACV,+DAAQ,CAAA;IACR,mEAAU,CAAA;AACZ,CAAC,EALW,oBAAoB,KAApB,oBAAoB,QAK/B;AAED;;GAEG;AACH,MAAM,CAAN,IAAY,kBAIX;AAJD,WAAY,kBAAkB;IAC5B,+DAAU,CAAA;IACV,2DAAQ,CAAA;IACR,mEAAY,CAAA;AACd,CAAC,EAJW,kBAAkB,KAAlB,kBAAkB,QAI7B;AAED;;GAEG;AACH,MAAM,CAAN,IAAY,oBAMX;AAND,WAAY,oBAAoB;IAC9B,mCAAW,CAAA;IACX,yCAAiB,CAAA;IACjB,yCAAiB,CAAA;IACjB,+CAAuB,CAAA;IACvB,yCAAiB,CAAA;AACnB,CAAC,EANW,oBAAoB,KAApB,oBAAoB,QAM/B;AAED;;GAEG;AACH,MAAM,CAAN,IAAY,uBAMX;AAND,WAAY,uBAAuB;IACjC,sCAAW,CAAA;IACX,oDAAyB,CAAA;IACzB,0CAAe,CAAA;IACf,4CAAiB,CAAA;IACjB,4CAAiB,CAAA;AACnB,CAAC,EANW,uBAAuB,KAAvB,uBAAuB,QAMlC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { BaseModel } from '../../BaseModel';
|
|
2
|
+
/**
|
|
3
|
+
* Represents the entity that sent a notification in the UI.
|
|
4
|
+
*/
|
|
5
|
+
export declare class NotificationSender extends BaseModel {
|
|
6
|
+
id: string;
|
|
7
|
+
name: string;
|
|
8
|
+
avatar: string;
|
|
9
|
+
type: 'USER' | 'GROUP' | 'SYSTEM';
|
|
10
|
+
url?: string;
|
|
11
|
+
constructor(data: Partial<NotificationSender>);
|
|
12
|
+
/**
|
|
13
|
+
* Instantiates a NotificationSender object from an API response.
|
|
14
|
+
*/
|
|
15
|
+
static fromAPI(json: Record<string, any>): NotificationSender;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=NotificationSender.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NotificationSender.d.ts","sourceRoot":"","sources":["../../../../src/models/social/notification/NotificationSender.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAE5C;;GAEG;AACH,qBAAa,kBAAmB,SAAQ,SAAS;IAC/C,EAAE,EAAE,MAAM,CAAM;IAChB,IAAI,EAAE,MAAM,CAAM;IAClB,MAAM,EAAE,MAAM,CAAM;IACpB,IAAI,EAAE,MAAM,GAAG,OAAO,GAAG,QAAQ,CAAY;IAC7C,GAAG,CAAC,EAAE,MAAM,CAAC;gBAED,IAAI,EAAE,OAAO,CAAC,kBAAkB,CAAC;IAK7C;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,kBAAkB;CAW9D"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { BaseModel } from '../../BaseModel';
|
|
2
|
+
/**
|
|
3
|
+
* Represents the entity that sent a notification in the UI.
|
|
4
|
+
*/
|
|
5
|
+
export class NotificationSender extends BaseModel {
|
|
6
|
+
id = '';
|
|
7
|
+
name = '';
|
|
8
|
+
avatar = '';
|
|
9
|
+
type = 'SYSTEM';
|
|
10
|
+
url;
|
|
11
|
+
constructor(data) {
|
|
12
|
+
super();
|
|
13
|
+
Object.assign(this, data);
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Instantiates a NotificationSender object from an API response.
|
|
17
|
+
*/
|
|
18
|
+
static fromAPI(json) {
|
|
19
|
+
if (!json)
|
|
20
|
+
return new NotificationSender({});
|
|
21
|
+
return new NotificationSender({
|
|
22
|
+
id: String(json.id || json.senderid || ''),
|
|
23
|
+
name: json.name || json.displayname || json.ad || '',
|
|
24
|
+
avatar: json.avatar || json.foto || '',
|
|
25
|
+
type: json.type || 'SYSTEM',
|
|
26
|
+
url: json.url || ''
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=NotificationSender.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NotificationSender.js","sourceRoot":"","sources":["../../../../src/models/social/notification/NotificationSender.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAE5C;;GAEG;AACH,MAAM,OAAO,kBAAmB,SAAQ,SAAS;IAC/C,EAAE,GAAW,EAAE,CAAC;IAChB,IAAI,GAAW,EAAE,CAAC;IAClB,MAAM,GAAW,EAAE,CAAC;IACpB,IAAI,GAAgC,QAAQ,CAAC;IAC7C,GAAG,CAAU;IAEb,YAAY,IAAiC;QAC3C,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,kBAAkB,CAAC,EAAE,CAAC,CAAC;QAE7C,OAAO,IAAI,kBAAkB,CAAC;YAC5B,EAAE,EAAE,MAAM,CAAC,IAAI,CAAC,EAAE,IAAI,IAAI,CAAC,QAAQ,IAAI,EAAE,CAAC;YAC1C,IAAI,EAAE,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,WAAW,IAAI,IAAI,CAAC,EAAE,IAAI,EAAE;YACpD,MAAM,EAAE,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,IAAI,IAAI,EAAE;YACtC,IAAI,EAAE,IAAI,CAAC,IAAI,IAAI,QAAQ;YAC3B,GAAG,EAAE,IAAI,CAAC,GAAG,IAAI,EAAE;SACpB,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { BaseModel } from '../../BaseModel';
|
|
2
|
+
import { PollOption } from './PollOption';
|
|
3
|
+
/**
|
|
4
|
+
* Represents a Social Poll in the UI.
|
|
5
|
+
*/
|
|
6
|
+
export declare class Poll extends BaseModel {
|
|
7
|
+
id: string;
|
|
8
|
+
question: string;
|
|
9
|
+
options: PollOption[];
|
|
10
|
+
totalVotes: number;
|
|
11
|
+
expiresAt: string;
|
|
12
|
+
isClosed: boolean;
|
|
13
|
+
allowMultiple: boolean;
|
|
14
|
+
constructor(data: Partial<Poll>);
|
|
15
|
+
/**
|
|
16
|
+
* Instantiates a Poll object from an API response.
|
|
17
|
+
*/
|
|
18
|
+
static fromAPI(json: Record<string, any>): Poll;
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=Poll.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Poll.d.ts","sourceRoot":"","sources":["../../../../src/models/social/poll/Poll.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C;;GAEG;AACH,qBAAa,IAAK,SAAQ,SAAS;IACjC,EAAE,EAAE,MAAM,CAAM;IAChB,QAAQ,EAAE,MAAM,CAAM;IACtB,OAAO,EAAE,UAAU,EAAE,CAAM;IAC3B,UAAU,EAAE,MAAM,CAAK;IACvB,SAAS,EAAE,MAAM,CAAM;IACvB,QAAQ,EAAE,OAAO,CAAS;IAC1B,aAAa,EAAE,OAAO,CAAS;gBAEnB,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC;IAK/B;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI;CAYhD"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { BaseModel } from '../../BaseModel';
|
|
2
|
+
import { PollOption } from './PollOption';
|
|
3
|
+
/**
|
|
4
|
+
* Represents a Social Poll in the UI.
|
|
5
|
+
*/
|
|
6
|
+
export class Poll extends BaseModel {
|
|
7
|
+
id = '';
|
|
8
|
+
question = '';
|
|
9
|
+
options = [];
|
|
10
|
+
totalVotes = 0;
|
|
11
|
+
expiresAt = '';
|
|
12
|
+
isClosed = false;
|
|
13
|
+
allowMultiple = false;
|
|
14
|
+
constructor(data) {
|
|
15
|
+
super();
|
|
16
|
+
Object.assign(this, data);
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Instantiates a Poll object from an API response.
|
|
20
|
+
*/
|
|
21
|
+
static fromAPI(json) {
|
|
22
|
+
if (!json)
|
|
23
|
+
return new Poll({});
|
|
24
|
+
return new Poll({
|
|
25
|
+
id: String(json.id || json.anketid || ''),
|
|
26
|
+
question: json.question || json.soru || '',
|
|
27
|
+
options: Array.isArray(json.options || json.secenekler) ? (json.options || json.secenekler).map((o) => PollOption.fromAPI(o)) : [],
|
|
28
|
+
totalVotes: Number(json.totalVotes || json.toplam_oy || 0),
|
|
29
|
+
expiresAt: json.expiresAt || json.bitis_tarih || '',
|
|
30
|
+
isClosed: json.isClosed === true || json.durum === 0 || false,
|
|
31
|
+
allowMultiple: json.allowMultiple === true || json.coklu_secim === 1 || false
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
//# sourceMappingURL=Poll.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Poll.js","sourceRoot":"","sources":["../../../../src/models/social/poll/Poll.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C;;GAEG;AACH,MAAM,OAAO,IAAK,SAAQ,SAAS;IACjC,EAAE,GAAW,EAAE,CAAC;IAChB,QAAQ,GAAW,EAAE,CAAC;IACtB,OAAO,GAAiB,EAAE,CAAC;IAC3B,UAAU,GAAW,CAAC,CAAC;IACvB,SAAS,GAAW,EAAE,CAAC;IACvB,QAAQ,GAAY,KAAK,CAAC;IAC1B,aAAa,GAAY,KAAK,CAAC;IAE/B,YAAY,IAAmB;QAC7B,KAAK,EAAE,CAAC;QACR,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IAC5B,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,IAAyB;QACtC,IAAI,CAAC,IAAI;YAAE,OAAO,IAAI,IAAI,CAAC,EAAE,CAAC,CAAC;QAC/B,OAAO,IAAI,IAAI,CAAC;YACd,EAAE,EAAE,MAAM,CAAC,IAAI,CAAC,EAAE,IAAI,IAAI,CAAC,OAAO,IAAI,EAAE,CAAC;YACzC,QAAQ,EAAE,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,IAAI,IAAI,EAAE;YAC1C,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,UAAU,CAAC,CAAC,GAAG,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE;YACvI,UAAU,EAAE,MAAM,CAAC,IAAI,CAAC,UAAU,IAAI,IAAI,CAAC,SAAS,IAAI,CAAC,CAAC;YAC1D,SAAS,EAAE,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC,WAAW,IAAI,EAAE;YACnD,QAAQ,EAAE,IAAI,CAAC,QAAQ,KAAK,IAAI,IAAI,IAAI,CAAC,KAAK,KAAK,CAAC,IAAI,KAAK;YAC7D,aAAa,EAAE,IAAI,CAAC,aAAa,KAAK,IAAI,IAAI,IAAI,CAAC,WAAW,KAAK,CAAC,IAAI,KAAK;SAC9E,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { BaseModel } from '../../BaseModel';
|
|
2
|
+
/**
|
|
3
|
+
* Represents an option in a Poll in the UI.
|
|
4
|
+
*/
|
|
5
|
+
export declare class PollOption extends BaseModel {
|
|
6
|
+
id: string;
|
|
7
|
+
text: string;
|
|
8
|
+
votes: number;
|
|
9
|
+
isVoted: boolean;
|
|
10
|
+
constructor(data: Partial<PollOption>);
|
|
11
|
+
/**
|
|
12
|
+
* Instantiates a PollOption object from an API response.
|
|
13
|
+
*/
|
|
14
|
+
static fromAPI(json: Record<string, any>): PollOption;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=PollOption.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PollOption.d.ts","sourceRoot":"","sources":["../../../../src/models/social/poll/PollOption.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAE5C;;GAEG;AACH,qBAAa,UAAW,SAAQ,SAAS;IACvC,EAAE,EAAE,MAAM,CAAM;IAChB,IAAI,EAAE,MAAM,CAAM;IAClB,KAAK,EAAE,MAAM,CAAK;IAClB,OAAO,EAAE,OAAO,CAAS;gBAEb,IAAI,EAAE,OAAO,CAAC,UAAU,CAAC;IAKrC;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,UAAU;CAStD"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { BaseModel } from '../../BaseModel';
|
|
2
|
+
/**
|
|
3
|
+
* Represents an option in a Poll in the UI.
|
|
4
|
+
*/
|
|
5
|
+
export class PollOption extends BaseModel {
|
|
6
|
+
id = '';
|
|
7
|
+
text = '';
|
|
8
|
+
votes = 0;
|
|
9
|
+
isVoted = false;
|
|
10
|
+
constructor(data) {
|
|
11
|
+
super();
|
|
12
|
+
Object.assign(this, data);
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Instantiates a PollOption object from an API response.
|
|
16
|
+
*/
|
|
17
|
+
static fromAPI(json) {
|
|
18
|
+
if (!json)
|
|
19
|
+
return new PollOption({});
|
|
20
|
+
return new PollOption({
|
|
21
|
+
id: String(json.id || json.secenekid || ''),
|
|
22
|
+
text: json.text || json.secenek || '',
|
|
23
|
+
votes: Number(json.votes || json.oy_sayi || 0),
|
|
24
|
+
isVoted: json.isVoted === true || json.secildi === 1 || false
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=PollOption.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PollOption.js","sourceRoot":"","sources":["../../../../src/models/social/poll/PollOption.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAE5C;;GAEG;AACH,MAAM,OAAO,UAAW,SAAQ,SAAS;IACvC,EAAE,GAAW,EAAE,CAAC;IAChB,IAAI,GAAW,EAAE,CAAC;IAClB,KAAK,GAAW,CAAC,CAAC;IAClB,OAAO,GAAY,KAAK,CAAC;IAEzB,YAAY,IAAyB;QACnC,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,UAAU,CAAC,EAAE,CAAC,CAAC;QACrC,OAAO,IAAI,UAAU,CAAC;YACpB,EAAE,EAAE,MAAM,CAAC,IAAI,CAAC,EAAE,IAAI,IAAI,CAAC,SAAS,IAAI,EAAE,CAAC;YAC3C,IAAI,EAAE,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,OAAO,IAAI,EAAE;YACrC,KAAK,EAAE,MAAM,CAAC,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,OAAO,IAAI,CAAC,CAAC;YAC9C,OAAO,EAAE,IAAI,CAAC,OAAO,KAAK,IAAI,IAAI,IAAI,CAAC,OAAO,KAAK,CAAC,IAAI,KAAK;SAC9D,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Search Result Types.
|
|
3
|
+
*/
|
|
4
|
+
export declare enum SearchType {
|
|
5
|
+
USER = "USER",
|
|
6
|
+
GROUP = "GROUP",
|
|
7
|
+
POST = "POST",
|
|
8
|
+
GAME = "GAME",
|
|
9
|
+
NEWS = "NEWS"
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Categories for search.
|
|
13
|
+
*/
|
|
14
|
+
export declare enum SearchCategory {
|
|
15
|
+
ALL = "all",
|
|
16
|
+
USERS = "users",
|
|
17
|
+
GROUPS = "groups",
|
|
18
|
+
POSTS = "posts",
|
|
19
|
+
FORUMS = "forums",
|
|
20
|
+
NEWS = "news"
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=SearchEnums.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchEnums.d.ts","sourceRoot":"","sources":["../../../../src/models/social/search/SearchEnums.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,UAAU;IACpB,IAAI,SAAS;IACb,KAAK,UAAU;IACf,IAAI,SAAS;IACb,IAAI,SAAS;IACb,IAAI,SAAS;CACd;AAED;;GAEG;AACH,oBAAY,cAAc;IACxB,GAAG,QAAQ;IACX,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,IAAI,SAAS;CACd"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Search Result Types.
|
|
3
|
+
*/
|
|
4
|
+
export var SearchType;
|
|
5
|
+
(function (SearchType) {
|
|
6
|
+
SearchType["USER"] = "USER";
|
|
7
|
+
SearchType["GROUP"] = "GROUP";
|
|
8
|
+
SearchType["POST"] = "POST";
|
|
9
|
+
SearchType["GAME"] = "GAME";
|
|
10
|
+
SearchType["NEWS"] = "NEWS";
|
|
11
|
+
})(SearchType || (SearchType = {}));
|
|
12
|
+
/**
|
|
13
|
+
* Categories for search.
|
|
14
|
+
*/
|
|
15
|
+
export var SearchCategory;
|
|
16
|
+
(function (SearchCategory) {
|
|
17
|
+
SearchCategory["ALL"] = "all";
|
|
18
|
+
SearchCategory["USERS"] = "users";
|
|
19
|
+
SearchCategory["GROUPS"] = "groups";
|
|
20
|
+
SearchCategory["POSTS"] = "posts";
|
|
21
|
+
SearchCategory["FORUMS"] = "forums";
|
|
22
|
+
SearchCategory["NEWS"] = "news";
|
|
23
|
+
})(SearchCategory || (SearchCategory = {}));
|
|
24
|
+
//# sourceMappingURL=SearchEnums.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchEnums.js","sourceRoot":"","sources":["../../../../src/models/social/search/SearchEnums.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,CAAN,IAAY,UAMX;AAND,WAAY,UAAU;IACpB,2BAAa,CAAA;IACb,6BAAe,CAAA;IACf,2BAAa,CAAA;IACb,2BAAa,CAAA;IACb,2BAAa,CAAA;AACf,CAAC,EANW,UAAU,KAAV,UAAU,QAMrB;AAED;;GAEG;AACH,MAAM,CAAN,IAAY,cAOX;AAPD,WAAY,cAAc;IACxB,6BAAW,CAAA;IACX,iCAAe,CAAA;IACf,mCAAiB,CAAA;IACjB,iCAAe,CAAA;IACf,mCAAiB,CAAA;IACjB,+BAAa,CAAA;AACf,CAAC,EAPW,cAAc,KAAd,cAAc,QAOzB"}
|