@armoyu/ui 1.1.6 → 1.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app/Providers.d.ts +6 -0
- package/dist/app/Providers.d.ts.map +1 -0
- package/dist/app/Providers.js +35 -0
- package/dist/app/Providers.js.map +1 -0
- package/dist/app/api/proxy/[...path]/route.d.ts +23 -0
- package/dist/app/api/proxy/[...path]/route.d.ts.map +1 -0
- package/dist/app/api/proxy/[...path]/route.js +140 -0
- package/dist/app/api/proxy/[...path]/route.js.map +1 -0
- package/dist/app/gruplar/[groupId]/page.js +13 -0
- package/dist/app/gruplar/[groupId]/page.js.map +1 -0
- package/dist/app/layout.d.ts +8 -0
- package/dist/app/layout.d.ts.map +1 -0
- package/dist/app/layout.js +36 -0
- package/dist/app/layout.js.map +1 -0
- package/dist/app/not-found.d.ts +2 -0
- package/dist/app/not-found.d.ts.map +1 -0
- package/dist/app/not-found.js +10 -0
- package/dist/app/not-found.js.map +1 -0
- package/dist/app/page.js +44 -0
- package/dist/app/page.js.map +1 -0
- package/dist/components/Button.d.ts +8 -0
- package/dist/components/Button.d.ts.map +1 -0
- package/dist/components/Button.js +52 -0
- package/dist/components/Button.js.map +1 -0
- package/dist/components/GenderStatsBar.d.ts +6 -0
- package/dist/components/GenderStatsBar.d.ts.map +1 -0
- package/dist/components/GenderStatsBar.js +11 -0
- package/dist/components/GenderStatsBar.js.map +1 -0
- package/dist/components/RollingNumber.d.ts +7 -0
- package/dist/components/RollingNumber.d.ts.map +1 -0
- package/dist/components/RollingNumber.js +27 -0
- package/dist/components/RollingNumber.js.map +1 -0
- package/dist/components/Slider.d.ts +11 -0
- package/dist/components/Slider.d.ts.map +1 -0
- package/dist/components/Slider.js +39 -0
- package/dist/components/Slider.js.map +1 -0
- package/dist/components/StatsGrid.d.ts +6 -0
- package/dist/components/StatsGrid.d.ts.map +1 -0
- package/dist/components/StatsGrid.js +17 -0
- package/dist/components/StatsGrid.js.map +1 -0
- package/dist/components/ViewModeToggle.d.ts +8 -0
- package/dist/components/ViewModeToggle.d.ts.map +1 -0
- package/dist/components/ViewModeToggle.js +13 -0
- package/dist/components/ViewModeToggle.js.map +1 -0
- package/dist/components/modules/auth/widgets/AuthJoinCard.d.ts +2 -0
- package/dist/components/modules/auth/widgets/AuthJoinCard.d.ts.map +1 -0
- package/dist/components/modules/auth/widgets/AuthJoinCard.js +19 -0
- package/dist/components/modules/auth/widgets/AuthJoinCard.js.map +1 -0
- package/dist/components/modules/auth/widgets/LoginWidget.d.ts +9 -0
- package/dist/components/modules/auth/widgets/LoginWidget.d.ts.map +1 -0
- package/dist/components/modules/auth/widgets/LoginWidget.js +56 -0
- package/dist/components/modules/auth/widgets/LoginWidget.js.map +1 -0
- package/dist/components/modules/auth/widgets/RegisterWidget.d.ts +8 -0
- package/dist/components/modules/auth/widgets/RegisterWidget.d.ts.map +1 -0
- package/dist/components/modules/auth/widgets/RegisterWidget.js +57 -0
- package/dist/components/modules/auth/widgets/RegisterWidget.js.map +1 -0
- package/dist/components/modules/chat/ChatLayout.js +232 -0
- package/dist/components/modules/chat/ChatLayout.js.map +1 -0
- package/dist/components/modules/chat/widgets/ChatInput.d.ts +5 -0
- package/dist/components/modules/chat/widgets/ChatInput.d.ts.map +1 -0
- package/dist/components/modules/chat/widgets/ChatInput.js +34 -0
- package/dist/components/modules/chat/widgets/ChatInput.js.map +1 -0
- package/dist/components/modules/chat/widgets/ChatList.d.ts +7 -0
- package/dist/components/modules/chat/widgets/ChatList.d.ts.map +1 -0
- package/dist/components/modules/chat/widgets/ChatList.js +56 -0
- package/dist/components/modules/chat/widgets/ChatList.js.map +1 -0
- package/dist/components/modules/chat/widgets/ChatMessage.d.ts +12 -0
- package/dist/components/modules/chat/widgets/ChatMessage.d.ts.map +1 -0
- package/dist/components/modules/chat/widgets/ChatMessage.js +34 -0
- package/dist/components/modules/chat/widgets/ChatMessage.js.map +1 -0
- package/dist/components/modules/chat/widgets/ChatNotes.d.ts +2 -0
- package/dist/components/modules/chat/widgets/ChatNotes.d.ts.map +1 -0
- package/dist/components/modules/chat/widgets/ChatNotes.js +18 -0
- package/dist/components/modules/chat/widgets/ChatNotes.js.map +1 -0
- package/dist/components/modules/community/CommunityLayout.js +139 -0
- package/dist/components/modules/community/CommunityLayout.js.map +1 -0
- package/dist/components/modules/community/widgets/GroupAboutCard.d.ts +6 -0
- package/dist/components/modules/community/widgets/GroupAboutCard.d.ts.map +1 -0
- package/dist/components/modules/community/widgets/GroupAboutCard.js +10 -0
- package/dist/components/modules/community/widgets/GroupAboutCard.js.map +1 -0
- package/dist/components/modules/community/widgets/GroupFeedSection.d.ts +9 -0
- package/dist/components/modules/community/widgets/GroupFeedSection.d.ts.map +1 -0
- package/dist/components/modules/community/widgets/GroupFeedSection.js +11 -0
- package/dist/components/modules/community/widgets/GroupFeedSection.js.map +1 -0
- package/dist/components/modules/community/widgets/GroupHeader.d.ts +11 -0
- package/dist/components/modules/community/widgets/GroupHeader.d.ts.map +1 -0
- package/dist/components/modules/community/widgets/GroupHeader.js +21 -0
- package/dist/components/modules/community/widgets/GroupHeader.js.map +1 -0
- package/dist/components/modules/community/widgets/GroupMenu.d.ts +10 -0
- package/dist/components/modules/community/widgets/GroupMenu.d.ts.map +1 -0
- package/dist/components/modules/community/widgets/GroupMenu.js +23 -0
- package/dist/components/modules/community/widgets/GroupMenu.js.map +1 -0
- package/dist/components/modules/community/widgets/GroupPermissions.d.ts +6 -0
- package/dist/components/modules/community/widgets/GroupPermissions.d.ts.map +1 -0
- package/dist/components/modules/community/widgets/GroupPermissions.js +10 -0
- package/dist/components/modules/community/widgets/GroupPermissions.js.map +1 -0
- package/dist/components/modules/community/widgets/GroupStatsGrid.d.ts +11 -0
- package/dist/components/modules/community/widgets/GroupStatsGrid.d.ts.map +1 -0
- package/dist/components/modules/community/widgets/GroupStatsGrid.js +16 -0
- package/dist/components/modules/community/widgets/GroupStatsGrid.js.map +1 -0
- package/dist/components/modules/community/widgets/GroupTopMembers.d.ts +7 -0
- package/dist/components/modules/community/widgets/GroupTopMembers.d.ts.map +1 -0
- package/dist/components/modules/community/widgets/GroupTopMembers.js +14 -0
- package/dist/components/modules/community/widgets/GroupTopMembers.js.map +1 -0
- package/dist/components/modules/community/widgets/SchoolCard.d.ts +7 -0
- package/dist/components/modules/community/widgets/SchoolCard.d.ts.map +1 -0
- package/dist/components/modules/community/widgets/SchoolCard.js +14 -0
- package/dist/components/modules/community/widgets/SchoolCard.js.map +1 -0
- package/dist/components/modules/community/widgets/SurveyCard.d.ts +8 -0
- package/dist/components/modules/community/widgets/SurveyCard.d.ts.map +1 -0
- package/dist/components/modules/community/widgets/SurveyCard.js +28 -0
- package/dist/components/modules/community/widgets/SurveyCard.js.map +1 -0
- package/dist/components/modules/events/DetailPage.d.ts +7 -0
- package/dist/components/modules/events/DetailPage.d.ts.map +1 -0
- package/dist/components/modules/events/DetailPage.js +58 -0
- package/dist/components/modules/events/DetailPage.js.map +1 -0
- package/dist/components/modules/events/EventsLayout.d.ts +8 -0
- package/dist/components/modules/events/EventsLayout.d.ts.map +1 -0
- package/dist/components/modules/events/EventsLayout.js +9 -0
- package/dist/components/modules/events/EventsLayout.js.map +1 -0
- package/dist/components/modules/events/EventsPage.d.ts +8 -0
- package/dist/components/modules/events/EventsPage.d.ts.map +1 -0
- package/dist/components/modules/events/EventsPage.js +79 -0
- package/dist/components/modules/events/EventsPage.js.map +1 -0
- package/dist/components/modules/events/index.d.ts +7 -0
- package/dist/components/modules/events/index.d.ts.map +1 -0
- package/dist/components/modules/events/index.js +16 -0
- package/dist/components/modules/events/index.js.map +1 -0
- package/dist/components/modules/events/widgets/EventCard.d.ts +11 -0
- package/dist/components/modules/events/widgets/EventCard.d.ts.map +1 -0
- package/dist/components/modules/events/widgets/EventCard.js +16 -0
- package/dist/components/modules/events/widgets/EventCard.js.map +1 -0
- package/dist/components/modules/events/widgets/EventFormModal.d.ts +9 -0
- package/dist/components/modules/events/widgets/EventFormModal.d.ts.map +1 -0
- package/dist/components/modules/events/widgets/EventFormModal.js +27 -0
- package/dist/components/modules/events/widgets/EventFormModal.js.map +1 -0
- package/dist/components/modules/events/widgets/EventList.d.ts +10 -0
- package/dist/components/modules/events/widgets/EventList.d.ts.map +1 -0
- package/dist/components/modules/events/widgets/EventList.js +32 -0
- package/dist/components/modules/events/widgets/EventList.js.map +1 -0
- package/dist/components/modules/forum/widgets/ForumBoard.d.ts +17 -0
- package/dist/components/modules/forum/widgets/ForumBoard.d.ts.map +1 -0
- package/dist/components/modules/forum/widgets/ForumBoard.js +13 -0
- package/dist/components/modules/forum/widgets/ForumBoard.js.map +1 -0
- package/dist/components/modules/forum/widgets/ForumCategoryList.d.ts +6 -0
- package/dist/components/modules/forum/widgets/ForumCategoryList.d.ts.map +1 -0
- package/dist/components/modules/forum/widgets/ForumCategoryList.js +10 -0
- package/dist/components/modules/forum/widgets/ForumCategoryList.js.map +1 -0
- package/dist/components/modules/forum/widgets/ForumHeaderWidget.d.ts +6 -0
- package/dist/components/modules/forum/widgets/ForumHeaderWidget.d.ts.map +1 -0
- package/dist/components/modules/forum/widgets/ForumHeaderWidget.js +9 -0
- package/dist/components/modules/forum/widgets/ForumHeaderWidget.js.map +1 -0
- package/dist/components/modules/forum/widgets/ForumPost.d.ts +14 -0
- package/dist/components/modules/forum/widgets/ForumPost.d.ts.map +1 -0
- package/dist/components/modules/forum/widgets/ForumPost.js +9 -0
- package/dist/components/modules/forum/widgets/ForumPost.js.map +1 -0
- package/dist/components/modules/forum/widgets/ForumSidebar.d.ts +2 -0
- package/dist/components/modules/forum/widgets/ForumSidebar.d.ts.map +1 -0
- package/dist/components/modules/forum/widgets/ForumSidebar.js +9 -0
- package/dist/components/modules/forum/widgets/ForumSidebar.js.map +1 -0
- package/dist/components/modules/forum/widgets/NewTopicModal.d.ts +8 -0
- package/dist/components/modules/forum/widgets/NewTopicModal.d.ts.map +1 -0
- package/dist/components/modules/forum/widgets/NewTopicModal.js +30 -0
- package/dist/components/modules/forum/widgets/NewTopicModal.js.map +1 -0
- package/dist/components/modules/forum/widgets/TopicItem.d.ts +16 -0
- package/dist/components/modules/forum/widgets/TopicItem.d.ts.map +1 -0
- package/dist/components/modules/forum/widgets/TopicItem.js +13 -0
- package/dist/components/modules/forum/widgets/TopicItem.js.map +1 -0
- package/dist/components/modules/galleries/widgets/GalleryCard.d.ts +10 -0
- package/dist/components/modules/galleries/widgets/GalleryCard.d.ts.map +1 -0
- package/dist/components/modules/galleries/widgets/GalleryCard.js +9 -0
- package/dist/components/modules/galleries/widgets/GalleryCard.js.map +1 -0
- package/dist/components/modules/galleries/widgets/GalleryFilterBar.d.ts +8 -0
- package/dist/components/modules/galleries/widgets/GalleryFilterBar.d.ts.map +1 -0
- package/dist/components/modules/galleries/widgets/GalleryFilterBar.js +9 -0
- package/dist/components/modules/galleries/widgets/GalleryFilterBar.js.map +1 -0
- package/dist/components/modules/galleries/widgets/GalleryHeaderWidget.d.ts +2 -0
- package/dist/components/modules/galleries/widgets/GalleryHeaderWidget.d.ts.map +1 -0
- package/dist/components/modules/galleries/widgets/GalleryHeaderWidget.js +9 -0
- package/dist/components/modules/galleries/widgets/GalleryHeaderWidget.js.map +1 -0
- package/dist/components/modules/galleries/widgets/GalleryMasonryGrid.d.ts +7 -0
- package/dist/components/modules/galleries/widgets/GalleryMasonryGrid.d.ts.map +1 -0
- package/dist/components/modules/galleries/widgets/GalleryMasonryGrid.js +9 -0
- package/dist/components/modules/galleries/widgets/GalleryMasonryGrid.js.map +1 -0
- package/dist/components/modules/giveaways/widgets/GiveawayCard.d.ts +10 -0
- package/dist/components/modules/giveaways/widgets/GiveawayCard.d.ts.map +1 -0
- package/dist/components/modules/giveaways/widgets/GiveawayCard.js +10 -0
- package/dist/components/modules/giveaways/widgets/GiveawayCard.js.map +1 -0
- package/dist/components/modules/groups/widgets/ApplicationModal.d.ts +8 -0
- package/dist/components/modules/groups/widgets/ApplicationModal.d.ts.map +1 -0
- package/dist/components/modules/groups/widgets/ApplicationModal.js +31 -0
- package/dist/components/modules/groups/widgets/ApplicationModal.js.map +1 -0
- package/dist/components/modules/groups/widgets/GroupCard.d.ts +14 -0
- package/dist/components/modules/groups/widgets/GroupCard.d.ts.map +1 -0
- package/dist/components/modules/groups/widgets/GroupCard.js +14 -0
- package/dist/components/modules/groups/widgets/GroupCard.js.map +1 -0
- package/dist/components/modules/guest/widgets/Introduction.d.ts +2 -0
- package/dist/components/modules/guest/widgets/Introduction.d.ts.map +1 -0
- package/dist/components/modules/guest/widgets/Introduction.js +18 -0
- package/dist/components/modules/guest/widgets/Introduction.js.map +1 -0
- package/dist/components/modules/news/widgets/NewsCard.d.ts +12 -0
- package/dist/components/modules/news/widgets/NewsCard.d.ts.map +1 -0
- package/dist/components/modules/news/widgets/NewsCard.js +13 -0
- package/dist/components/modules/news/widgets/NewsCard.js.map +1 -0
- package/dist/components/modules/news/widgets/NewsComments.d.ts +4 -0
- package/dist/components/modules/news/widgets/NewsComments.d.ts.map +1 -0
- package/dist/components/modules/news/widgets/NewsComments.js +9 -0
- package/dist/components/modules/news/widgets/NewsComments.js.map +1 -0
- package/dist/components/modules/posts/widgets/MediaLightbox.d.ts +14 -0
- package/dist/components/modules/posts/widgets/MediaLightbox.d.ts.map +1 -0
- package/dist/components/modules/posts/widgets/MediaLightbox.js +50 -0
- package/dist/components/modules/posts/widgets/MediaLightbox.js.map +1 -0
- package/dist/components/modules/posts/widgets/PostCard.d.ts +36 -0
- package/dist/components/modules/posts/widgets/PostCard.d.ts.map +1 -0
- package/dist/components/modules/posts/widgets/PostCard.js +279 -0
- package/dist/components/modules/posts/widgets/PostCard.js.map +1 -0
- package/dist/components/modules/posts/widgets/PostInteractionsModal.d.ts +15 -0
- package/dist/components/modules/posts/widgets/PostInteractionsModal.d.ts.map +1 -0
- package/dist/components/modules/posts/widgets/PostInteractionsModal.js +19 -0
- package/dist/components/modules/posts/widgets/PostInteractionsModal.js.map +1 -0
- package/dist/components/modules/posts/widgets/RepostModal.d.ts +22 -0
- package/dist/components/modules/posts/widgets/RepostModal.d.ts.map +1 -0
- package/dist/components/modules/posts/widgets/RepostModal.js +79 -0
- package/dist/components/modules/posts/widgets/RepostModal.js.map +1 -0
- package/dist/components/modules/posts/widgets/SocialFeed.d.ts +20 -0
- package/dist/components/modules/posts/widgets/SocialFeed.d.ts.map +1 -0
- package/dist/components/modules/posts/widgets/SocialFeed.js +123 -0
- package/dist/components/modules/posts/widgets/SocialFeed.js.map +1 -0
- package/dist/components/modules/posts/widgets/Stories.d.ts +2 -0
- package/dist/components/modules/posts/widgets/Stories.d.ts.map +1 -0
- package/dist/components/modules/posts/widgets/Stories.js +24 -0
- package/dist/components/modules/posts/widgets/Stories.js.map +1 -0
- package/dist/components/modules/posts/widgets/StoryViewer.d.ts +10 -0
- package/dist/components/modules/posts/widgets/StoryViewer.d.ts.map +1 -0
- package/dist/components/modules/posts/widgets/StoryViewer.js +54 -0
- package/dist/components/modules/posts/widgets/StoryViewer.js.map +1 -0
- package/dist/components/modules/posts/widgets/reels/ReelCard.d.ts +16 -0
- package/dist/components/modules/posts/widgets/reels/ReelCard.d.ts.map +1 -0
- package/dist/components/modules/posts/widgets/reels/ReelCard.js +58 -0
- package/dist/components/modules/posts/widgets/reels/ReelCard.js.map +1 -0
- package/dist/components/modules/posts/widgets/reels/ReelsContainer.d.ts +7 -0
- package/dist/components/modules/posts/widgets/reels/ReelsContainer.d.ts.map +1 -0
- package/dist/components/modules/posts/widgets/reels/ReelsContainer.js +27 -0
- package/dist/components/modules/posts/widgets/reels/ReelsContainer.js.map +1 -0
- package/dist/components/modules/profile/ProfileLayout.js +73 -0
- package/dist/components/modules/profile/ProfileLayout.js.map +1 -0
- package/dist/components/modules/profile/tabs/AboutTab.d.ts +10 -0
- package/dist/components/modules/profile/tabs/AboutTab.d.ts.map +1 -0
- package/dist/components/modules/profile/tabs/AboutTab.js +12 -0
- package/dist/components/modules/profile/tabs/AboutTab.js.map +1 -0
- package/dist/components/modules/profile/tabs/CareerTab.d.ts +7 -0
- package/dist/components/modules/profile/tabs/CareerTab.d.ts.map +1 -0
- package/dist/components/modules/profile/tabs/CareerTab.js +49 -0
- package/dist/components/modules/profile/tabs/CareerTab.js.map +1 -0
- package/dist/components/modules/profile/tabs/FriendsTab.d.ts +11 -0
- package/dist/components/modules/profile/tabs/FriendsTab.d.ts.map +1 -0
- package/dist/components/modules/profile/tabs/FriendsTab.js +11 -0
- package/dist/components/modules/profile/tabs/FriendsTab.js.map +1 -0
- package/dist/components/modules/profile/tabs/GamesTab.d.ts +7 -0
- package/dist/components/modules/profile/tabs/GamesTab.d.ts.map +1 -0
- package/dist/components/modules/profile/tabs/GamesTab.js +40 -0
- package/dist/components/modules/profile/tabs/GamesTab.js.map +1 -0
- package/dist/components/modules/profile/tabs/GroupsTab.d.ts +1 -1
- package/dist/components/modules/profile/tabs/GroupsTab.js +11 -5
- package/dist/components/modules/profile/tabs/GroupsTab.js.map +1 -1
- package/dist/components/modules/profile/tabs/MediaTab.d.ts +7 -0
- package/dist/components/modules/profile/tabs/MediaTab.d.ts.map +1 -0
- package/dist/components/modules/profile/tabs/MediaTab.js +76 -0
- package/dist/components/modules/profile/tabs/MediaTab.js.map +1 -0
- package/dist/components/modules/profile/tabs/PostsTab.d.ts +1 -1
- package/dist/components/modules/profile/tabs/PostsTab.js +48 -12
- package/dist/components/modules/profile/tabs/PostsTab.js.map +1 -1
- package/dist/components/modules/profile/widgets/CloudStorageModal.d.ts +9 -0
- package/dist/components/modules/profile/widgets/CloudStorageModal.d.ts.map +1 -0
- package/dist/components/modules/profile/widgets/CloudStorageModal.js +35 -0
- package/dist/components/modules/profile/widgets/CloudStorageModal.js.map +1 -0
- package/dist/components/modules/profile/widgets/EditProfileModal.d.ts +9 -0
- package/dist/components/modules/profile/widgets/EditProfileModal.d.ts.map +1 -0
- package/dist/components/modules/profile/widgets/EditProfileModal.js +31 -0
- package/dist/components/modules/profile/widgets/EditProfileModal.js.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileBadgesWidget.d.ts +2 -0
- package/dist/components/modules/profile/widgets/ProfileBadgesWidget.d.ts.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileBadgesWidget.js +9 -0
- package/dist/components/modules/profile/widgets/ProfileBadgesWidget.js.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileCloudWidget.d.ts +6 -0
- package/dist/components/modules/profile/widgets/ProfileCloudWidget.d.ts.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileCloudWidget.js +9 -0
- package/dist/components/modules/profile/widgets/ProfileCloudWidget.js.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileFriendsWidget.d.ts +8 -0
- package/dist/components/modules/profile/widgets/ProfileFriendsWidget.d.ts.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileFriendsWidget.js +15 -0
- package/dist/components/modules/profile/widgets/ProfileFriendsWidget.js.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileHeader.d.ts +8 -0
- package/dist/components/modules/profile/widgets/ProfileHeader.d.ts.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileHeader.js +26 -0
- package/dist/components/modules/profile/widgets/ProfileHeader.js.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileSidebar.d.ts +11 -0
- package/dist/components/modules/profile/widgets/ProfileSidebar.d.ts.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileSidebar.js +12 -0
- package/dist/components/modules/profile/widgets/ProfileSidebar.js.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileStats.d.ts +7 -0
- package/dist/components/modules/profile/widgets/ProfileStats.d.ts.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileStats.js +33 -0
- package/dist/components/modules/profile/widgets/ProfileStats.js.map +1 -0
- package/dist/components/modules/profile/widgets/ProfileTabsArea.js +63 -0
- package/dist/components/modules/profile/widgets/ProfileTabsArea.js.map +1 -0
- package/dist/components/modules/profile/widgets/TeamSelectorModal.d.ts +11 -0
- package/dist/components/modules/profile/widgets/TeamSelectorModal.d.ts.map +1 -0
- package/dist/components/modules/profile/widgets/TeamSelectorModal.js +21 -0
- package/dist/components/modules/profile/widgets/TeamSelectorModal.js.map +1 -0
- package/dist/components/modules/shop/DetailLayout.d.ts +8 -0
- package/dist/components/modules/shop/DetailLayout.d.ts.map +1 -0
- package/dist/components/modules/shop/DetailLayout.js +25 -0
- package/dist/components/modules/shop/DetailLayout.js.map +1 -0
- package/dist/components/modules/shop/StoreLayout.d.ts +8 -0
- package/dist/components/modules/shop/StoreLayout.d.ts.map +1 -0
- package/dist/components/modules/shop/StoreLayout.js +9 -0
- package/dist/components/modules/shop/StoreLayout.js.map +1 -0
- package/dist/components/modules/shop/widgets/BackToStore.d.ts +2 -0
- package/dist/components/modules/shop/widgets/BackToStore.d.ts.map +1 -0
- package/dist/components/modules/shop/widgets/BackToStore.js +17 -0
- package/dist/components/modules/shop/widgets/BackToStore.js.map +1 -0
- package/dist/components/modules/shop/widgets/CategoryWidget.d.ts +8 -0
- package/dist/components/modules/shop/widgets/CategoryWidget.d.ts.map +1 -0
- package/dist/components/modules/shop/widgets/CategoryWidget.js +26 -0
- package/dist/components/modules/shop/widgets/CategoryWidget.js.map +1 -0
- package/dist/components/modules/shop/widgets/ProductCard.d.ts +8 -0
- package/dist/components/modules/shop/widgets/ProductCard.d.ts.map +1 -0
- package/dist/components/modules/shop/widgets/ProductCard.js +13 -0
- package/dist/components/modules/shop/widgets/ProductCard.js.map +1 -0
- package/dist/components/modules/shop/widgets/StoreHeader.d.ts +6 -0
- package/dist/components/modules/shop/widgets/StoreHeader.d.ts.map +1 -0
- package/dist/components/modules/shop/widgets/StoreHeader.js +15 -0
- package/dist/components/modules/shop/widgets/StoreHeader.js.map +1 -0
- package/dist/components/modules/shop/widgets/StoreProductGrid.d.ts +7 -0
- package/dist/components/modules/shop/widgets/StoreProductGrid.d.ts.map +1 -0
- package/dist/components/modules/shop/widgets/StoreProductGrid.js +19 -0
- package/dist/components/modules/shop/widgets/StoreProductGrid.js.map +1 -0
- package/dist/components/modules/shop/widgets/StoreSidebar.d.ts +8 -0
- package/dist/components/modules/shop/widgets/StoreSidebar.d.ts.map +1 -0
- package/dist/components/modules/shop/widgets/StoreSidebar.js +11 -0
- package/dist/components/modules/shop/widgets/StoreSidebar.js.map +1 -0
- package/dist/components/modules/shop/widgets/StoreTrustBadges.d.ts +2 -0
- package/dist/components/modules/shop/widgets/StoreTrustBadges.d.ts.map +1 -0
- package/dist/components/modules/shop/widgets/StoreTrustBadges.js +32 -0
- package/dist/components/modules/shop/widgets/StoreTrustBadges.js.map +1 -0
- package/dist/components/modules/social/SocialLayout.js +136 -0
- package/dist/components/modules/social/SocialLayout.js.map +1 -0
- package/dist/components/modules/social/widgets/EconomyWidget.d.ts +2 -0
- package/dist/components/modules/social/widgets/EconomyWidget.d.ts.map +1 -0
- package/dist/components/modules/social/widgets/EconomyWidget.js +48 -0
- package/dist/components/modules/social/widgets/EconomyWidget.js.map +1 -0
- package/dist/components/modules/social/widgets/LeagueWidget.d.ts +2 -0
- package/dist/components/modules/social/widgets/LeagueWidget.d.ts.map +1 -0
- package/dist/components/modules/social/widgets/LeagueWidget.js +46 -0
- package/dist/components/modules/social/widgets/LeagueWidget.js.map +1 -0
- package/dist/components/modules/social/widgets/MinecraftWidget.d.ts +2 -0
- package/dist/components/modules/social/widgets/MinecraftWidget.d.ts.map +1 -0
- package/dist/components/modules/social/widgets/MinecraftWidget.js +46 -0
- package/dist/components/modules/social/widgets/MinecraftWidget.js.map +1 -0
- package/dist/components/modules/social/widgets/RankingWidget.d.ts +5 -0
- package/dist/components/modules/social/widgets/RankingWidget.d.ts.map +1 -0
- package/dist/components/modules/social/widgets/RankingWidget.js +81 -0
- package/dist/components/modules/social/widgets/RankingWidget.js.map +1 -0
- package/dist/components/modules/social/widgets/SocialSidebar.d.ts +2 -0
- package/dist/components/modules/social/widgets/SocialSidebar.d.ts.map +1 -0
- package/dist/components/modules/social/widgets/SocialSidebar.js +12 -0
- package/dist/components/modules/social/widgets/SocialSidebar.js.map +1 -0
- package/dist/components/modules/stations/widgets/StationCard.d.ts +3 -0
- package/dist/components/modules/stations/widgets/StationCard.d.ts.map +1 -0
- package/dist/components/modules/stations/widgets/StationCard.js +32 -0
- package/dist/components/modules/stations/widgets/StationCard.js.map +1 -0
- package/dist/components/modules/stations/widgets/StationQRModal.d.ts +10 -0
- package/dist/components/modules/stations/widgets/StationQRModal.d.ts.map +1 -0
- package/dist/components/modules/stations/widgets/StationQRModal.js +16 -0
- package/dist/components/modules/stations/widgets/StationQRModal.js.map +1 -0
- package/dist/components/shared/DevTools.d.ts +2 -0
- package/dist/components/shared/DevTools.d.ts.map +1 -0
- package/dist/components/shared/DevTools.js +42 -0
- package/dist/components/shared/DevTools.js.map +1 -0
- package/dist/components/shared/FilterTabs.d.ts +16 -0
- package/dist/components/shared/FilterTabs.d.ts.map +1 -0
- package/dist/components/shared/FilterTabs.js +21 -0
- package/dist/components/shared/FilterTabs.js.map +1 -0
- package/dist/components/shared/FloatingChatButton.js +24 -0
- package/dist/components/shared/FloatingChatButton.js.map +1 -0
- package/dist/components/shared/Footer.d.ts +2 -0
- package/dist/components/shared/Footer.d.ts.map +1 -0
- package/dist/components/shared/Footer.js +13 -0
- package/dist/components/shared/Footer.js.map +1 -0
- package/dist/components/shared/Header.d.ts +7 -0
- package/dist/components/shared/Header.d.ts.map +1 -0
- package/dist/components/shared/Header.js +141 -0
- package/dist/components/shared/Header.js.map +1 -0
- package/dist/components/shared/ListToolbar.d.ts +32 -0
- package/dist/components/shared/ListToolbar.d.ts.map +1 -0
- package/dist/components/shared/ListToolbar.js +16 -0
- package/dist/components/shared/ListToolbar.js.map +1 -0
- package/dist/components/shared/LoginModal.d.ts +7 -0
- package/dist/components/shared/LoginModal.d.ts.map +1 -0
- package/dist/components/shared/LoginModal.js +12 -0
- package/dist/components/shared/LoginModal.js.map +1 -0
- package/dist/components/shared/MainLayoutWrapper.d.ts +5 -0
- package/dist/components/shared/MainLayoutWrapper.d.ts.map +1 -0
- package/dist/components/shared/MainLayoutWrapper.js +11 -0
- package/dist/components/shared/MainLayoutWrapper.js.map +1 -0
- package/dist/components/shared/NotFound.d.ts +21 -0
- package/dist/components/shared/NotFound.d.ts.map +1 -0
- package/dist/components/shared/NotFound.js +10 -0
- package/dist/components/shared/NotFound.js.map +1 -0
- package/dist/components/shared/PageWidth.d.ts +6 -0
- package/dist/components/shared/PageWidth.d.ts.map +1 -0
- package/dist/components/shared/PageWidth.js +17 -0
- package/dist/components/shared/PageWidth.js.map +1 -0
- package/dist/components/shared/RegisterModal.d.ts +7 -0
- package/dist/components/shared/RegisterModal.d.ts.map +1 -0
- package/dist/components/shared/RegisterModal.js +12 -0
- package/dist/components/shared/RegisterModal.js.map +1 -0
- package/dist/components/shared/SearchBar.d.ts +14 -0
- package/dist/components/shared/SearchBar.d.ts.map +1 -0
- package/dist/components/shared/SearchBar.js +24 -0
- package/dist/components/shared/SearchBar.js.map +1 -0
- package/dist/components/showcase/AuthTab.js +17 -0
- package/dist/components/showcase/AuthTab.js.map +1 -0
- package/dist/components/showcase/CommunityTab.js +9 -0
- package/dist/components/showcase/CommunityTab.js.map +1 -0
- package/dist/components/showcase/CorporateTab.js +23 -0
- package/dist/components/showcase/CorporateTab.js.map +1 -0
- package/dist/components/showcase/GeneralTab.js +9 -0
- package/dist/components/showcase/GeneralTab.js.map +1 -0
- package/dist/components/showcase/GroupTab.d.ts +2 -0
- package/dist/components/showcase/GroupTab.d.ts.map +1 -0
- package/dist/components/showcase/GroupTab.js +80 -0
- package/dist/components/showcase/GroupTab.js.map +1 -0
- package/dist/components/showcase/MessagesTab.js +23 -0
- package/dist/components/showcase/MessagesTab.js.map +1 -0
- package/dist/components/showcase/ProfileTab.js +55 -0
- package/dist/components/showcase/ProfileTab.js.map +1 -0
- package/dist/components/showcase/ReelsTab.d.ts +2 -0
- package/dist/components/showcase/ReelsTab.d.ts.map +1 -0
- package/dist/components/showcase/ReelsTab.js +37 -0
- package/dist/components/showcase/ReelsTab.js.map +1 -0
- package/dist/components/showcase/ShopTab.js +35 -0
- package/dist/components/showcase/ShopTab.js.map +1 -0
- package/dist/components/showcase/ShowcaseNavigation.d.ts +2 -0
- package/dist/components/showcase/ShowcaseNavigation.d.ts.map +1 -0
- package/dist/components/showcase/ShowcaseNavigation.js +38 -0
- package/dist/components/showcase/ShowcaseNavigation.js.map +1 -0
- package/dist/components/showcase/SocialTab.js +62 -0
- package/dist/components/showcase/SocialTab.js.map +1 -0
- package/dist/context/ArmoyuContext.d.ts +42 -0
- package/dist/context/ArmoyuContext.d.ts.map +1 -0
- package/dist/context/ArmoyuContext.js +80 -0
- package/dist/context/ArmoyuContext.js.map +1 -0
- package/dist/context/AuthContext.d.ts +23 -0
- package/dist/context/AuthContext.d.ts.map +1 -0
- package/dist/context/AuthContext.js +144 -0
- package/dist/context/AuthContext.js.map +1 -0
- package/dist/context/CartContext.d.ts +18 -0
- package/dist/context/CartContext.d.ts.map +1 -0
- package/dist/context/CartContext.js +67 -0
- package/dist/context/CartContext.js.map +1 -0
- package/dist/context/ChatContext.d.ts +23 -0
- package/dist/context/ChatContext.d.ts.map +1 -0
- package/dist/context/ChatContext.js +98 -0
- package/dist/context/ChatContext.js.map +1 -0
- package/dist/context/LayoutContext.d.ts +11 -0
- package/dist/context/LayoutContext.d.ts.map +1 -0
- package/dist/context/LayoutContext.js +21 -0
- package/dist/context/LayoutContext.js.map +1 -0
- package/dist/context/SocketContext.d.ts +13 -0
- package/dist/context/SocketContext.d.ts.map +1 -0
- package/dist/context/SocketContext.js +36 -0
- package/dist/context/SocketContext.js.map +1 -0
- package/dist/context/ThemeContext.d.ts +11 -0
- package/dist/context/ThemeContext.d.ts.map +1 -0
- package/dist/context/ThemeContext.js +44 -0
- package/dist/context/ThemeContext.js.map +1 -0
- package/dist/index.d.ts +9 -8
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +216 -114
- package/dist/index.js.map +1 -1
- package/dist/lib/ArmoyuUI.d.ts +18 -0
- package/dist/lib/ArmoyuUI.d.ts.map +1 -0
- package/dist/lib/ArmoyuUI.js +29 -0
- package/dist/lib/ArmoyuUI.js.map +1 -0
- package/dist/lib/constants/config.d.ts +9 -0
- package/dist/lib/constants/config.d.ts.map +1 -0
- package/dist/lib/constants/config.js +18 -0
- package/dist/lib/constants/config.js.map +1 -0
- package/dist/lib/constants/educationData.d.ts +11 -0
- package/dist/lib/constants/educationData.d.ts.map +1 -0
- package/dist/lib/constants/educationData.js +125 -0
- package/dist/lib/constants/educationData.js.map +1 -0
- package/dist/lib/constants/punishmentData.d.ts +30 -0
- package/dist/lib/constants/punishmentData.d.ts.map +1 -0
- package/dist/lib/constants/punishmentData.js +190 -0
- package/dist/lib/constants/punishmentData.js.map +1 -0
- package/dist/lib/constants/seedData.d.ts +182 -0
- package/dist/lib/constants/seedData.d.ts.map +1 -0
- package/dist/lib/constants/seedData.js +747 -0
- package/dist/lib/constants/seedData.js.map +1 -0
- package/dist/lib/constants/stationData.d.ts +16 -0
- package/dist/lib/constants/stationData.d.ts.map +1 -0
- package/dist/lib/constants/stationData.js +131 -0
- package/dist/lib/constants/stationData.js.map +1 -0
- package/dist/lib/constants/surveyData.d.ts +3 -0
- package/dist/lib/constants/surveyData.d.ts.map +1 -0
- package/dist/lib/constants/surveyData.js +55 -0
- package/dist/lib/constants/surveyData.js.map +1 -0
- package/dist/lib/constants/teamData.d.ts +19 -0
- package/dist/lib/constants/teamData.d.ts.map +1 -0
- package/dist/lib/constants/teamData.js +59 -0
- package/dist/lib/constants/teamData.js.map +1 -0
- package/dist/lib/utils/numberFormat.d.ts +10 -0
- package/dist/lib/utils/numberFormat.d.ts.map +1 -0
- package/dist/lib/utils/numberFormat.js +20 -0
- package/dist/lib/utils/numberFormat.js.map +1 -0
- package/dist/lib/utils/odpUtils.d.ts +16 -0
- package/dist/lib/utils/odpUtils.d.ts.map +1 -0
- package/dist/lib/utils/odpUtils.js +48 -0
- package/dist/lib/utils/odpUtils.js.map +1 -0
- package/dist/lib/utils/postUtils.d.ts +7 -0
- package/dist/lib/utils/postUtils.d.ts.map +1 -0
- package/dist/lib/utils/postUtils.js +40 -0
- package/dist/lib/utils/postUtils.js.map +1 -0
- package/dist/models/BaseModel.d.ts +13 -0
- package/dist/models/BaseModel.d.ts.map +1 -0
- package/dist/models/BaseModel.js +17 -0
- package/dist/models/BaseModel.js.map +1 -0
- package/dist/models/auth/RankedUser.d.ts +21 -0
- package/dist/models/auth/RankedUser.d.ts.map +1 -0
- package/dist/models/auth/RankedUser.js +41 -0
- package/dist/models/auth/RankedUser.js.map +1 -0
- package/dist/models/auth/Role.d.ts +16 -0
- package/dist/models/auth/Role.d.ts.map +1 -0
- package/dist/models/auth/Role.js +32 -0
- package/dist/models/auth/Role.js.map +1 -0
- package/dist/models/auth/Session.d.ts +25 -0
- package/dist/models/auth/Session.d.ts.map +1 -0
- package/dist/models/auth/Session.js +56 -0
- package/dist/models/auth/Session.js.map +1 -0
- package/dist/models/auth/StaffApplication.d.ts +21 -0
- package/dist/models/auth/StaffApplication.d.ts.map +1 -0
- package/dist/models/auth/StaffApplication.js +42 -0
- package/dist/models/auth/StaffApplication.js.map +1 -0
- package/dist/models/auth/TeamMember.d.ts +20 -0
- package/dist/models/auth/TeamMember.d.ts.map +1 -0
- package/dist/models/auth/TeamMember.js +40 -0
- package/dist/models/auth/TeamMember.js.map +1 -0
- package/dist/models/auth/User.d.ts +93 -0
- package/dist/models/auth/User.d.ts.map +1 -0
- package/dist/models/auth/User.js +221 -0
- package/dist/models/auth/User.js.map +1 -0
- package/dist/models/auth/UserBadge.d.ts +19 -0
- package/dist/models/auth/UserBadge.d.ts.map +1 -0
- package/dist/models/auth/UserBadge.js +40 -0
- package/dist/models/auth/UserBadge.js.map +1 -0
- package/dist/models/community/ArmoyuEvent.d.ts +53 -0
- package/dist/models/community/ArmoyuEvent.d.ts.map +1 -0
- package/dist/models/community/ArmoyuEvent.js +107 -0
- package/dist/models/community/ArmoyuEvent.js.map +1 -0
- package/dist/models/community/Classroom.d.ts +20 -0
- package/dist/models/community/Classroom.d.ts.map +1 -0
- package/dist/models/community/Classroom.js +39 -0
- package/dist/models/community/Classroom.js.map +1 -0
- package/dist/models/community/Faculty.d.ts +18 -0
- package/dist/models/community/Faculty.d.ts.map +1 -0
- package/dist/models/community/Faculty.js +35 -0
- package/dist/models/community/Faculty.js.map +1 -0
- package/dist/models/community/Forum.d.ts +27 -0
- package/dist/models/community/Forum.d.ts.map +1 -0
- package/dist/models/community/Forum.js +42 -0
- package/dist/models/community/Forum.js.map +1 -0
- package/dist/models/community/Giveaway.d.ts +23 -0
- package/dist/models/community/Giveaway.d.ts.map +1 -0
- package/dist/models/community/Giveaway.js +44 -0
- package/dist/models/community/Giveaway.js.map +1 -0
- package/dist/models/community/Group.d.ts +39 -0
- package/dist/models/community/Group.d.ts.map +1 -0
- package/dist/models/community/Group.js +121 -0
- package/dist/models/community/Group.js.map +1 -0
- package/dist/models/community/School.d.ts +29 -0
- package/dist/models/community/School.d.ts.map +1 -0
- package/dist/models/community/School.js +74 -0
- package/dist/models/community/School.js.map +1 -0
- package/dist/models/community/SchoolTeam.d.ts +28 -0
- package/dist/models/community/SchoolTeam.d.ts.map +1 -0
- package/dist/models/community/SchoolTeam.js +47 -0
- package/dist/models/community/SchoolTeam.js.map +1 -0
- package/dist/models/community/Station.d.ts +82 -0
- package/dist/models/community/Station.d.ts.map +1 -0
- package/dist/models/community/Station.js +177 -0
- package/dist/models/community/Station.js.map +1 -0
- package/dist/models/community/Survey.d.ts +28 -0
- package/dist/models/community/Survey.d.ts.map +1 -0
- package/dist/models/community/Survey.js +57 -0
- package/dist/models/community/Survey.js.map +1 -0
- package/dist/models/community/SurveyAnswer.d.ts +16 -0
- package/dist/models/community/SurveyAnswer.d.ts.map +1 -0
- package/dist/models/community/SurveyAnswer.js +32 -0
- package/dist/models/community/SurveyAnswer.js.map +1 -0
- package/dist/models/community/Team.d.ts +23 -0
- package/dist/models/community/Team.d.ts.map +1 -0
- package/dist/models/community/Team.js +66 -0
- package/dist/models/community/Team.js.map +1 -0
- package/dist/models/community/Workplace.d.ts +19 -0
- package/dist/models/community/Workplace.d.ts.map +1 -0
- package/dist/models/community/Workplace.js +38 -0
- package/dist/models/community/Workplace.js.map +1 -0
- package/dist/models/content/Game.d.ts +21 -0
- package/dist/models/content/Game.d.ts.map +1 -0
- package/dist/models/content/Game.js +46 -0
- package/dist/models/content/Game.js.map +1 -0
- package/dist/models/content/Media.d.ts +18 -0
- package/dist/models/content/Media.d.ts.map +1 -0
- package/dist/models/content/Media.js +36 -0
- package/dist/models/content/Media.js.map +1 -0
- package/dist/models/content/Mod.d.ts +22 -0
- package/dist/models/content/Mod.d.ts.map +1 -0
- package/dist/models/content/Mod.js +43 -0
- package/dist/models/content/Mod.js.map +1 -0
- package/dist/models/content/News.d.ts +37 -0
- package/dist/models/content/News.d.ts.map +1 -0
- package/dist/models/content/News.js +80 -0
- package/dist/models/content/News.js.map +1 -0
- package/dist/models/content/PlatformStation.d.ts +19 -0
- package/dist/models/content/PlatformStation.d.ts.map +1 -0
- package/dist/models/content/PlatformStation.js +38 -0
- package/dist/models/content/PlatformStation.js.map +1 -0
- package/dist/models/content/PlatformTeam.d.ts +15 -0
- package/dist/models/content/PlatformTeam.d.ts.map +1 -0
- package/dist/models/content/PlatformTeam.js +30 -0
- package/dist/models/content/PlatformTeam.js.map +1 -0
- package/dist/models/content/Project.d.ts +27 -0
- package/dist/models/content/Project.d.ts.map +1 -0
- package/dist/models/content/Project.js +47 -0
- package/dist/models/content/Project.js.map +1 -0
- package/dist/models/content/ProjectScore.d.ts +15 -0
- package/dist/models/content/ProjectScore.d.ts.map +1 -0
- package/dist/models/content/ProjectScore.js +30 -0
- package/dist/models/content/ProjectScore.js.map +1 -0
- package/dist/models/content/StationEquipment.d.ts +17 -0
- package/dist/models/content/StationEquipment.d.ts.map +1 -0
- package/dist/models/content/StationEquipment.js +34 -0
- package/dist/models/content/StationEquipment.js.map +1 -0
- package/dist/models/core/Country.d.ts +16 -0
- package/dist/models/core/Country.d.ts.map +1 -0
- package/dist/models/core/Country.js +32 -0
- package/dist/models/core/Country.js.map +1 -0
- package/dist/models/core/PlatformStats.d.ts +47 -0
- package/dist/models/core/PlatformStats.d.ts.map +1 -0
- package/dist/models/core/PlatformStats.js +94 -0
- package/dist/models/core/PlatformStats.js.map +1 -0
- package/dist/models/core/Province.d.ts +16 -0
- package/dist/models/core/Province.d.ts.map +1 -0
- package/dist/models/core/Province.js +32 -0
- package/dist/models/core/Province.js.map +1 -0
- package/dist/models/core/Rule.d.ts +17 -0
- package/dist/models/core/Rule.d.ts.map +1 -0
- package/dist/models/core/Rule.js +34 -0
- package/dist/models/core/Rule.js.map +1 -0
- package/dist/models/core/SystemSettings.d.ts +39 -0
- package/dist/models/core/SystemSettings.d.ts.map +1 -0
- package/dist/models/core/SystemSettings.js +70 -0
- package/dist/models/core/SystemSettings.js.map +1 -0
- package/dist/models/index.d.ts +59 -0
- package/dist/models/index.d.ts.map +1 -0
- package/dist/models/index.js +89 -0
- package/dist/models/index.js.map +1 -0
- package/dist/models/shop/CartItem.d.ts +21 -0
- package/dist/models/shop/CartItem.d.ts.map +1 -0
- package/dist/models/shop/CartItem.js +42 -0
- package/dist/models/shop/CartItem.js.map +1 -0
- package/dist/models/shop/Invoice.d.ts +19 -0
- package/dist/models/shop/Invoice.d.ts.map +1 -0
- package/dist/models/shop/Invoice.js +38 -0
- package/dist/models/shop/Invoice.js.map +1 -0
- package/dist/models/shop/Order.d.ts +24 -0
- package/dist/models/shop/Order.d.ts.map +1 -0
- package/dist/models/shop/Order.js +54 -0
- package/dist/models/shop/Order.js.map +1 -0
- package/dist/models/shop/Product.d.ts +27 -0
- package/dist/models/shop/Product.d.ts.map +1 -0
- package/dist/models/shop/Product.js +73 -0
- package/dist/models/shop/Product.js.map +1 -0
- package/dist/models/social/chat/Chat.d.ts +27 -0
- package/dist/models/social/chat/Chat.d.ts.map +1 -0
- package/dist/models/social/chat/Chat.js +86 -0
- package/dist/models/social/chat/Chat.js.map +1 -0
- package/dist/models/social/chat/Message.d.ts +18 -0
- package/dist/models/social/chat/Message.d.ts.map +1 -0
- package/dist/models/social/chat/Message.js +61 -0
- package/dist/models/social/chat/Message.js.map +1 -0
- package/dist/models/social/chat/Note.d.ts +17 -0
- package/dist/models/social/chat/Note.d.ts.map +1 -0
- package/dist/models/social/chat/Note.js +34 -0
- package/dist/models/social/chat/Note.js.map +1 -0
- package/dist/models/social/feed/Comment.d.ts +22 -0
- package/dist/models/social/feed/Comment.d.ts.map +1 -0
- package/dist/models/social/feed/Comment.js +51 -0
- package/dist/models/social/feed/Comment.js.map +1 -0
- package/dist/models/social/feed/Post.d.ts +24 -0
- package/dist/models/social/feed/Post.d.ts.map +1 -0
- package/dist/models/social/feed/Post.js +49 -0
- package/dist/models/social/feed/Post.js.map +1 -0
- package/dist/models/social/feed/Story.d.ts +18 -0
- package/dist/models/social/feed/Story.d.ts.map +1 -0
- package/dist/models/social/feed/Story.js +35 -0
- package/dist/models/social/feed/Story.js.map +1 -0
- package/dist/models/social/gaming/Game.d.ts +20 -0
- package/dist/models/social/gaming/Game.d.ts.map +1 -0
- package/dist/models/social/gaming/Game.js +40 -0
- package/dist/models/social/gaming/Game.js.map +1 -0
- package/dist/models/social/meta/AuthEnums.d.ts +18 -0
- package/dist/models/social/meta/AuthEnums.d.ts.map +1 -0
- package/dist/models/social/meta/AuthEnums.js +23 -0
- package/dist/models/social/meta/AuthEnums.js.map +1 -0
- package/dist/models/social/meta/MediaEnums.d.ts +20 -0
- package/dist/models/social/meta/MediaEnums.d.ts.map +1 -0
- package/dist/models/social/meta/MediaEnums.js +25 -0
- package/dist/models/social/meta/MediaEnums.js.map +1 -0
- package/dist/models/social/notification/Notification.d.ts +24 -0
- package/dist/models/social/notification/Notification.d.ts.map +1 -0
- package/dist/models/social/notification/Notification.js +70 -0
- package/dist/models/social/notification/Notification.js.map +1 -0
- package/dist/models/social/notification/NotificationEnums.d.ts +54 -0
- package/dist/models/social/notification/NotificationEnums.d.ts.map +1 -0
- package/dist/models/social/notification/NotificationEnums.js +62 -0
- package/dist/models/social/notification/NotificationEnums.js.map +1 -0
- package/dist/models/social/notification/NotificationSender.d.ts +17 -0
- package/dist/models/social/notification/NotificationSender.d.ts.map +1 -0
- package/dist/models/social/notification/NotificationSender.js +34 -0
- package/dist/models/social/notification/NotificationSender.js.map +1 -0
- package/dist/models/social/poll/Poll.d.ts +20 -0
- package/dist/models/social/poll/Poll.d.ts.map +1 -0
- package/dist/models/social/poll/Poll.js +39 -0
- package/dist/models/social/poll/Poll.js.map +1 -0
- package/dist/models/social/poll/PollOption.d.ts +16 -0
- package/dist/models/social/poll/PollOption.d.ts.map +1 -0
- package/dist/models/social/poll/PollOption.js +32 -0
- package/dist/models/social/poll/PollOption.js.map +1 -0
- package/dist/models/social/search/SearchEnums.d.ts +22 -0
- package/dist/models/social/search/SearchEnums.d.ts.map +1 -0
- package/dist/models/social/search/SearchEnums.js +27 -0
- package/dist/models/social/search/SearchEnums.js.map +1 -0
- package/dist/models/social/search/SearchResult.d.ts +22 -0
- package/dist/models/social/search/SearchResult.d.ts.map +1 -0
- package/dist/models/social/search/SearchResult.js +78 -0
- package/dist/models/social/search/SearchResult.js.map +1 -0
- package/dist/models/social/stats/Leaderboard.d.ts +30 -0
- package/dist/models/social/stats/Leaderboard.d.ts.map +1 -0
- package/dist/models/social/stats/Leaderboard.js +58 -0
- package/dist/models/social/stats/Leaderboard.js.map +1 -0
- package/dist/models/social/support/SupportTicket.d.ts +19 -0
- package/dist/models/social/support/SupportTicket.d.ts.map +1 -0
- package/dist/models/social/support/SupportTicket.js +38 -0
- package/dist/models/social/support/SupportTicket.js.map +1 -0
- package/dist/models/social/user/BlockedUser.d.ts +16 -0
- package/dist/models/social/user/BlockedUser.d.ts.map +1 -0
- package/dist/models/social/user/BlockedUser.js +31 -0
- package/dist/models/social/user/BlockedUser.js.map +1 -0
- package/dist/models/store/StoreItem.d.ts +19 -0
- package/dist/models/store/StoreItem.d.ts.map +1 -0
- package/dist/models/store/StoreItem.js +38 -0
- package/dist/models/store/StoreItem.js.map +1 -0
- package/dist/types/index.d.ts +4 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +20 -0
- package/dist/types/index.js.map +1 -0
- package/dist/types/navigation.d.ts +6 -0
- package/dist/types/navigation.d.ts.map +1 -0
- package/dist/types/navigation.js +3 -0
- package/dist/types/navigation.js.map +1 -0
- package/dist/types/socket.d.ts +6 -0
- package/dist/types/socket.d.ts.map +1 -0
- package/dist/types/socket.js +3 -0
- package/dist/types/socket.js.map +1 -0
- package/dist/types/stats.d.ts +18 -0
- package/dist/types/stats.d.ts.map +1 -0
- package/dist/types/stats.js +3 -0
- package/dist/types/stats.js.map +1 -0
- package/package.json +2 -2
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Post = void 0;
|
|
4
|
+
const BaseModel_1 = require("../../BaseModel");
|
|
5
|
+
const User_1 = require("../../auth/User");
|
|
6
|
+
const Comment_1 = require("./Comment");
|
|
7
|
+
/**
|
|
8
|
+
* Represents a Social Post.
|
|
9
|
+
*/
|
|
10
|
+
class Post extends BaseModel_1.BaseModel {
|
|
11
|
+
id = '';
|
|
12
|
+
author = null;
|
|
13
|
+
content = '';
|
|
14
|
+
media = [];
|
|
15
|
+
timestamp = '';
|
|
16
|
+
likeCount = 0;
|
|
17
|
+
commentCount = 0;
|
|
18
|
+
isLiked = false;
|
|
19
|
+
comments = [];
|
|
20
|
+
likeList = [];
|
|
21
|
+
constructor(data) {
|
|
22
|
+
super();
|
|
23
|
+
Object.assign(this, data);
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Maps a raw API response (PostResponse) to a UI-friendly Post instance.
|
|
27
|
+
*/
|
|
28
|
+
static fromAPI(json) {
|
|
29
|
+
if (!json)
|
|
30
|
+
return new Post({});
|
|
31
|
+
return new Post({
|
|
32
|
+
id: String(json.id || json.paylasimid || json.paylasim_id || json.post_id || json.postID || json.sosyalid || json.sosyal_id || json.owner?.paylasimid || json.oyuncu?.paylasim_id || ''),
|
|
33
|
+
author: (json.owner || json.author || json.oyuncu || json.oyuncuID || json.oyuncu_ID) ? User_1.User.fromAPI(json.owner || json.author || json.oyuncu || json) : null,
|
|
34
|
+
content: json.paylasimicerik || json.content || json.icerik || json.text || json.paylasimmetin || json.paylasim_metin || json.paylasim_icerik || json.sosyalicerik || json.sosyal_icerik || '',
|
|
35
|
+
media: Array.isArray(json.media) ? json.media : (Array.isArray(json.paylasimfoto) ? json.paylasimfoto.map((f) => f.fotourl || f.url || f.media_URL) : (Array.isArray(json.owner?.paylasimfoto) ? json.owner.paylasimfoto.map((f) => f.fotourl || f.url || f.media_URL) : (json.resim || json.paylasimresim || json.paylasim_resim ? [json.resim || json.paylasimresim || json.paylasim_resim] : []))),
|
|
36
|
+
timestamp: json.paylasimzaman || json.timestamp || json.tarih || json.created_at || json.paylasim_zaman || json.zaman || '',
|
|
37
|
+
likeCount: Number(json.begenisay || json.likeCount || json.begeni_sayi || 0),
|
|
38
|
+
commentCount: Number(json.yorumsay || json.commentCount || json.yorum_sayi || 0),
|
|
39
|
+
isLiked: json.benbegendim === 1 || json.isLiked === true || json.begendi === 1 || false,
|
|
40
|
+
comments: Array.isArray(json.ilkucyorum) ? json.ilkucyorum.map((c) => Comment_1.Comment.fromAPI(c)) :
|
|
41
|
+
(Array.isArray(json.comments) ? json.comments.map((c) => Comment_1.Comment.fromAPI(c)) :
|
|
42
|
+
(Array.isArray(json.yorumlar) ? json.yorumlar.map((c) => Comment_1.Comment.fromAPI(c)) :
|
|
43
|
+
(Array.isArray(json.yorum_liste) ? json.yorum_liste.map((c) => Comment_1.Comment.fromAPI(c)) : []))),
|
|
44
|
+
likeList: Array.isArray(json.paylasimilkucbegenen) ? json.paylasimilkucbegenen.map((l) => User_1.User.fromAPI(l)) : []
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
exports.Post = Post;
|
|
49
|
+
//# sourceMappingURL=Post.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Post.js","sourceRoot":"","sources":["../../../../src/models/social/feed/Post.ts"],"names":[],"mappings":";;;AAAA,+CAA4C;AAC5C,0CAAuC;AACvC,uCAAoC;AAGpC;;GAEG;AACH,MAAa,IAAK,SAAQ,qBAAS;IACjC,EAAE,GAAW,EAAE,CAAC;IAChB,MAAM,GAAgB,IAAI,CAAC;IAC3B,OAAO,GAAW,EAAE,CAAC;IACrB,KAAK,GAAa,EAAE,CAAC;IACrB,SAAS,GAAW,EAAE,CAAC;IACvB,SAAS,GAAW,CAAC,CAAC;IACtB,YAAY,GAAW,CAAC,CAAC;IACzB,OAAO,GAAY,KAAK,CAAC;IACzB,QAAQ,GAAc,EAAE,CAAC;IACzB,QAAQ,GAAW,EAAE,CAAC;IAEtB,YAAY,IAAmB;QAC7B,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,IAAI,CAAC,EAAE,CAAC,CAAC;QAE/B,OAAO,IAAI,IAAI,CAAC;YACd,EAAE,EAAE,MAAM,CAAC,IAAI,CAAC,EAAE,IAAI,IAAI,CAAC,UAAU,IAAI,IAAI,CAAC,WAAW,IAAI,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC,KAAK,EAAE,UAAU,IAAI,IAAI,CAAC,MAAM,EAAE,WAAW,IAAI,EAAE,CAAC;YACxL,MAAM,EAAE,CAAC,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,QAAQ,IAA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I,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,iBAAO,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;YACzG,QAAQ,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,oBAAoB,CAAC,GAAG,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,WAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE;SACrH,CAAC,CAAC;IACL,CAAC;CACF;AAvCD,oBAuCC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { BaseModel } from '../../BaseModel';
|
|
2
|
+
import { User } from '../../auth/User';
|
|
3
|
+
/**
|
|
4
|
+
* Represents a Social Story in the UI.
|
|
5
|
+
*/
|
|
6
|
+
export declare class Story extends BaseModel {
|
|
7
|
+
id: string;
|
|
8
|
+
author: User | null;
|
|
9
|
+
media: string;
|
|
10
|
+
timestamp: string;
|
|
11
|
+
isViewed: boolean;
|
|
12
|
+
constructor(data: Partial<Story>);
|
|
13
|
+
/**
|
|
14
|
+
* Instantiates a Story object from an API response.
|
|
15
|
+
*/
|
|
16
|
+
static fromAPI(json: Record<string, any>): Story;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=Story.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Story.d.ts","sourceRoot":"","sources":["../../../../src/models/social/feed/Story.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAEvC;;GAEG;AACH,qBAAa,KAAM,SAAQ,SAAS;IAClC,EAAE,EAAE,MAAM,CAAM;IAChB,MAAM,EAAE,IAAI,GAAG,IAAI,CAAQ;IAC3B,KAAK,EAAE,MAAM,CAAM;IACnB,SAAS,EAAE,MAAM,CAAM;IACvB,QAAQ,EAAE,OAAO,CAAS;gBAEd,IAAI,EAAE,OAAO,CAAC,KAAK,CAAC;IAKhC;;OAEG;IACH,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,KAAK;CAWjD"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Story = void 0;
|
|
4
|
+
const BaseModel_1 = require("../../BaseModel");
|
|
5
|
+
const User_1 = require("../../auth/User");
|
|
6
|
+
/**
|
|
7
|
+
* Represents a Social Story in the UI.
|
|
8
|
+
*/
|
|
9
|
+
class Story extends BaseModel_1.BaseModel {
|
|
10
|
+
id = '';
|
|
11
|
+
author = null;
|
|
12
|
+
media = '';
|
|
13
|
+
timestamp = '';
|
|
14
|
+
isViewed = false;
|
|
15
|
+
constructor(data) {
|
|
16
|
+
super();
|
|
17
|
+
Object.assign(this, data);
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Instantiates a Story object from an API response.
|
|
21
|
+
*/
|
|
22
|
+
static fromAPI(json) {
|
|
23
|
+
if (!json)
|
|
24
|
+
return new Story({});
|
|
25
|
+
return new Story({
|
|
26
|
+
id: String(json.id || json.hikayeid || ''),
|
|
27
|
+
author: (json.author || json.oyuncu) ? User_1.User.fromAPI(json.author || json.oyuncu) : null,
|
|
28
|
+
media: json.media || json.resim || json.url || '',
|
|
29
|
+
timestamp: json.timestamp || json.tarih || '',
|
|
30
|
+
isViewed: json.isViewed === true || json.izlendi === 1 || false
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
exports.Story = Story;
|
|
35
|
+
//# sourceMappingURL=Story.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Story.js","sourceRoot":"","sources":["../../../../src/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MOYU 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,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Game = void 0;
|
|
4
|
+
const BaseModel_1 = require("../../BaseModel");
|
|
5
|
+
/**
|
|
6
|
+
* Represents a Game in the ARMOYU platform in the UI.
|
|
7
|
+
*/
|
|
8
|
+
class Game extends BaseModel_1.BaseModel {
|
|
9
|
+
id = '';
|
|
10
|
+
title = '';
|
|
11
|
+
shortName = '';
|
|
12
|
+
logo = '';
|
|
13
|
+
banner = '';
|
|
14
|
+
description = '';
|
|
15
|
+
rating = 0;
|
|
16
|
+
category = '';
|
|
17
|
+
constructor(data) {
|
|
18
|
+
super();
|
|
19
|
+
Object.assign(this, data);
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Instantiates a Game object from an API response.
|
|
23
|
+
*/
|
|
24
|
+
static fromAPI(json) {
|
|
25
|
+
if (!json)
|
|
26
|
+
return new Game({});
|
|
27
|
+
return new Game({
|
|
28
|
+
id: String(json.id || json.oyunid || ''),
|
|
29
|
+
title: json.title || json.ad || '',
|
|
30
|
+
shortName: json.shortName || json.kisa_ad || '',
|
|
31
|
+
logo: json.logo || json.minnakresim || '',
|
|
32
|
+
banner: json.banner || json.buyukresim || '',
|
|
33
|
+
description: json.description || json.aciklama || '',
|
|
34
|
+
rating: Number(json.rating || json.puan || 0),
|
|
35
|
+
category: json.category || json.tür || ''
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
exports.Game = Game;
|
|
40
|
+
//# sourceMappingURL=Game.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Game.js","sourceRoot":"","sources":["../../../../src/models/social/gaming/Game.ts"],"names":[],"mappings":";;;AAAA,+CAA4C;AAE5C;;GAEG;AACH,MAAa,IAAK,SAAQ,qBAAS;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;AAhCD,oBAgCC"}
|
|
@@ -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,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PasswordResetPreference = exports.AuthStatus = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Authentication related enums.
|
|
6
|
+
*/
|
|
7
|
+
var AuthStatus;
|
|
8
|
+
(function (AuthStatus) {
|
|
9
|
+
AuthStatus[AuthStatus["GUEST"] = 0] = "GUEST";
|
|
10
|
+
AuthStatus[AuthStatus["USER"] = 1] = "USER";
|
|
11
|
+
AuthStatus[AuthStatus["MODERATOR"] = 2] = "MODERATOR";
|
|
12
|
+
AuthStatus[AuthStatus["ADMIN"] = 3] = "ADMIN";
|
|
13
|
+
})(AuthStatus || (exports.AuthStatus = AuthStatus = {}));
|
|
14
|
+
/**
|
|
15
|
+
* Preferences for password reset.
|
|
16
|
+
*/
|
|
17
|
+
var PasswordResetPreference;
|
|
18
|
+
(function (PasswordResetPreference) {
|
|
19
|
+
PasswordResetPreference["EMAIL"] = "email";
|
|
20
|
+
PasswordResetPreference["PHONE"] = "phone";
|
|
21
|
+
PasswordResetPreference["USER_INPUT"] = "user_input";
|
|
22
|
+
})(PasswordResetPreference || (exports.PasswordResetPreference = PasswordResetPreference = {}));
|
|
23
|
+
//# 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,IAAY,UAKX;AALD,WAAY,UAAU;IACpB,6CAAS,CAAA;IACT,2CAAQ,CAAA;IACR,qDAAa,CAAA;IACb,6CAAS,CAAA;AACX,CAAC,EALW,UAAU,0BAAV,UAAU,QAKrB;AAED;;GAEG;AACH,IAAY,uBAIX;AAJD,WAAY,uBAAuB;IACjC,0CAAe,CAAA;IACf,0CAAe,CAAA;IACf,oDAAyB,CAAA;AAC3B,CAAC,EAJW,uBAAuB,uCAAvB,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,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MediaCategory = exports.MediaType = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Media related enums.
|
|
6
|
+
*/
|
|
7
|
+
var MediaType;
|
|
8
|
+
(function (MediaType) {
|
|
9
|
+
MediaType["IMAGE"] = "IMAGE";
|
|
10
|
+
MediaType["VIDEO"] = "VIDEO";
|
|
11
|
+
MediaType["AUDIO"] = "AUDIO";
|
|
12
|
+
MediaType["DOCUMENT"] = "DOCUMENT";
|
|
13
|
+
})(MediaType || (exports.MediaType = MediaType = {}));
|
|
14
|
+
/**
|
|
15
|
+
* Categories for media.
|
|
16
|
+
*/
|
|
17
|
+
var MediaCategory;
|
|
18
|
+
(function (MediaCategory) {
|
|
19
|
+
MediaCategory["ALL"] = "all";
|
|
20
|
+
MediaCategory["PROFILE"] = "profile";
|
|
21
|
+
MediaCategory["POST"] = "post";
|
|
22
|
+
MediaCategory["GROUP"] = "group";
|
|
23
|
+
MediaCategory["CHAT"] = "chat";
|
|
24
|
+
})(MediaCategory || (exports.MediaCategory = MediaCategory = {}));
|
|
25
|
+
//# 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,IAAY,SAKX;AALD,WAAY,SAAS;IACnB,4BAAe,CAAA;IACf,4BAAe,CAAA;IACf,4BAAe,CAAA;IACf,kCAAqB,CAAA;AACvB,CAAC,EALW,SAAS,yBAAT,SAAS,QAKpB;AAED;;GAEG;AACH,IAAY,aAMX;AAND,WAAY,aAAa;IACvB,4BAAW,CAAA;IACX,oCAAmB,CAAA;IACnB,8BAAa,CAAA;IACb,gCAAe,CAAA;IACf,8BAAa,CAAA;AACf,CAAC,EANW,aAAa,6BAAb,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,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Notification = void 0;
|
|
4
|
+
const BaseModel_1 = require("../../BaseModel");
|
|
5
|
+
const NotificationEnums_1 = require("./NotificationEnums");
|
|
6
|
+
const NotificationSender_1 = require("./NotificationSender");
|
|
7
|
+
/**
|
|
8
|
+
* Represents a System or User Notification in the UI.
|
|
9
|
+
*/
|
|
10
|
+
class Notification extends BaseModel_1.BaseModel {
|
|
11
|
+
id = '';
|
|
12
|
+
type = NotificationEnums_1.NotificationType.SYSTEM;
|
|
13
|
+
priority = NotificationEnums_1.NotificationPriority.MEDIUM;
|
|
14
|
+
status = NotificationEnums_1.NotificationStatus.UNREAD;
|
|
15
|
+
title = '';
|
|
16
|
+
message = '';
|
|
17
|
+
sender = null;
|
|
18
|
+
link = '';
|
|
19
|
+
createdAt = '';
|
|
20
|
+
metaData = {};
|
|
21
|
+
constructor(data) {
|
|
22
|
+
super();
|
|
23
|
+
Object.assign(this, data);
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Instantiates a Notification object from an API response.
|
|
27
|
+
*/
|
|
28
|
+
static fromAPI(json) {
|
|
29
|
+
if (!json)
|
|
30
|
+
return new Notification({});
|
|
31
|
+
const resolveKey = (keys) => {
|
|
32
|
+
const foundKey = Object.keys(json).find(k => keys.includes(k.toLowerCase()));
|
|
33
|
+
return foundKey ? json[foundKey] : undefined;
|
|
34
|
+
};
|
|
35
|
+
const typeStr = resolveKey(['type', 'bildirimturu', 'tür']);
|
|
36
|
+
let nType = NotificationEnums_1.NotificationType.SYSTEM;
|
|
37
|
+
if (typeStr) {
|
|
38
|
+
const typeMap = {
|
|
39
|
+
'arkadaslik_istegi': NotificationEnums_1.NotificationType.FRIEND_REQUEST,
|
|
40
|
+
'arkadaslik_kabul': NotificationEnums_1.NotificationType.FRIEND_ACCEPT,
|
|
41
|
+
'begeni': NotificationEnums_1.NotificationType.POST_LIKE,
|
|
42
|
+
'yorum': NotificationEnums_1.NotificationType.POST_COMMENT,
|
|
43
|
+
'etiket': NotificationEnums_1.NotificationType.POST_MENTION,
|
|
44
|
+
'grup_davet': NotificationEnums_1.NotificationType.GROUP_INVITE,
|
|
45
|
+
'grup_kabul': NotificationEnums_1.NotificationType.GROUP_ACCEPT,
|
|
46
|
+
'sistem': NotificationEnums_1.NotificationType.SYSTEM,
|
|
47
|
+
'mesaj': NotificationEnums_1.NotificationType.CHAT_MESSAGE,
|
|
48
|
+
'seviye': NotificationEnums_1.NotificationType.LEVEL_UP,
|
|
49
|
+
'odul': NotificationEnums_1.NotificationType.AWARD
|
|
50
|
+
};
|
|
51
|
+
nType = typeMap[typeStr] || NotificationEnums_1.NotificationType.SYSTEM;
|
|
52
|
+
}
|
|
53
|
+
const priorityVal = resolveKey(['priority', 'oncelik']);
|
|
54
|
+
const statusVal = resolveKey(['status', 'durum', 'okundu']);
|
|
55
|
+
return new Notification({
|
|
56
|
+
id: String(resolveKey(['id', 'bildirimbakid', 'bildirimid']) || ''),
|
|
57
|
+
type: nType,
|
|
58
|
+
priority: typeof priorityVal === 'number' ? priorityVal : NotificationEnums_1.NotificationPriority.MEDIUM,
|
|
59
|
+
status: (statusVal === 1 || statusVal === true) ? NotificationEnums_1.NotificationStatus.READ : NotificationEnums_1.NotificationStatus.UNREAD,
|
|
60
|
+
title: resolveKey(['title', 'baslik']) || '',
|
|
61
|
+
message: resolveKey(['message', 'icerik', 'mesaj', 'text']) || '',
|
|
62
|
+
sender: resolveKey(['sender', 'gonderen']) ? NotificationSender_1.NotificationSender.fromAPI(resolveKey(['sender', 'gonderen'])) : null,
|
|
63
|
+
link: resolveKey(['link', 'url', 'baglanti']) || '',
|
|
64
|
+
createdAt: resolveKey(['createdat', 'tarih', 'zaman']) || '',
|
|
65
|
+
metaData: json.meta || json.extra || {}
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
exports.Notification = Notification;
|
|
70
|
+
//# sourceMappingURL=Notification.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Notification.js","sourceRoot":"","sources":["../../../../src/models/social/notification/Notification.ts"],"names":[],"mappings":";;;AAAA,+CAA4C;AAC5C,2DAAiG;AACjG,6DAA0D;AAE1D;;GAEG;AACH,MAAa,YAAa,SAAQ,qBAAS;IACzC,EAAE,GAAW,EAAE,CAAC;IAChB,IAAI,GAAqB,oCAAgB,CAAC,MAAM,CAAC;IACjD,QAAQ,GAAyB,wCAAoB,CAAC,MAAM,CAAC;IAC7D,MAAM,GAAuB,sCAAkB,CAAC,MAAM,CAAC;IACvD,KAAK,GAAW,EAAE,CAAC;IACnB,OAAO,GAAW,EAAE,CAAC;IACrB,MAAM,GAA8B,IAAI,CAAC;IACzC,IAAI,GAAW,EAAE,CAAC;IAClB,SAAS,GAAW,EAAE,CAAC;IACvB,QAAQ,GAAwB,EAAE,CAAC;IAEnC,YAAY,IAA2B;QACrC,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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|
|
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,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NotificationSubCategory = exports.NotificationCategory = exports.NotificationStatus = exports.NotificationPriority = exports.NotificationType = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Types of notifications.
|
|
6
|
+
*/
|
|
7
|
+
var NotificationType;
|
|
8
|
+
(function (NotificationType) {
|
|
9
|
+
NotificationType["FRIEND_REQUEST"] = "FRIEND_REQUEST";
|
|
10
|
+
NotificationType["FRIEND_ACCEPT"] = "FRIEND_ACCEPT";
|
|
11
|
+
NotificationType["POST_LIKE"] = "POST_LIKE";
|
|
12
|
+
NotificationType["POST_COMMENT"] = "POST_COMMENT";
|
|
13
|
+
NotificationType["POST_MENTION"] = "POST_MENTION";
|
|
14
|
+
NotificationType["GROUP_INVITE"] = "GROUP_INVITE";
|
|
15
|
+
NotificationType["GROUP_ACCEPT"] = "GROUP_ACCEPT";
|
|
16
|
+
NotificationType["SYSTEM"] = "SYSTEM";
|
|
17
|
+
NotificationType["CHAT_MESSAGE"] = "CHAT_MESSAGE";
|
|
18
|
+
NotificationType["LEVEL_UP"] = "LEVEL_UP";
|
|
19
|
+
NotificationType["AWARD"] = "AWARD";
|
|
20
|
+
})(NotificationType || (exports.NotificationType = NotificationType = {}));
|
|
21
|
+
/**
|
|
22
|
+
* Priority of notifications.
|
|
23
|
+
*/
|
|
24
|
+
var NotificationPriority;
|
|
25
|
+
(function (NotificationPriority) {
|
|
26
|
+
NotificationPriority[NotificationPriority["LOW"] = 0] = "LOW";
|
|
27
|
+
NotificationPriority[NotificationPriority["MEDIUM"] = 1] = "MEDIUM";
|
|
28
|
+
NotificationPriority[NotificationPriority["HIGH"] = 2] = "HIGH";
|
|
29
|
+
NotificationPriority[NotificationPriority["URGENT"] = 3] = "URGENT";
|
|
30
|
+
})(NotificationPriority || (exports.NotificationPriority = NotificationPriority = {}));
|
|
31
|
+
/**
|
|
32
|
+
* Status of notifications.
|
|
33
|
+
*/
|
|
34
|
+
var NotificationStatus;
|
|
35
|
+
(function (NotificationStatus) {
|
|
36
|
+
NotificationStatus[NotificationStatus["UNREAD"] = 0] = "UNREAD";
|
|
37
|
+
NotificationStatus[NotificationStatus["READ"] = 1] = "READ";
|
|
38
|
+
NotificationStatus[NotificationStatus["ARCHIVED"] = 2] = "ARCHIVED";
|
|
39
|
+
})(NotificationStatus || (exports.NotificationStatus = NotificationStatus = {}));
|
|
40
|
+
/**
|
|
41
|
+
* Categories for notifications.
|
|
42
|
+
*/
|
|
43
|
+
var NotificationCategory;
|
|
44
|
+
(function (NotificationCategory) {
|
|
45
|
+
NotificationCategory["ALL"] = "all";
|
|
46
|
+
NotificationCategory["SOCIAL"] = "social";
|
|
47
|
+
NotificationCategory["SYSTEM"] = "system";
|
|
48
|
+
NotificationCategory["COMMUNITY"] = "community";
|
|
49
|
+
NotificationCategory["GAMING"] = "gaming";
|
|
50
|
+
})(NotificationCategory || (exports.NotificationCategory = NotificationCategory = {}));
|
|
51
|
+
/**
|
|
52
|
+
* Sub-categories for notifications.
|
|
53
|
+
*/
|
|
54
|
+
var NotificationSubCategory;
|
|
55
|
+
(function (NotificationSubCategory) {
|
|
56
|
+
NotificationSubCategory["ALL"] = "all";
|
|
57
|
+
NotificationSubCategory["FRIENDSHIP"] = "friendship";
|
|
58
|
+
NotificationSubCategory["POSTS"] = "posts";
|
|
59
|
+
NotificationSubCategory["GROUPS"] = "groups";
|
|
60
|
+
NotificationSubCategory["AWARDS"] = "awards";
|
|
61
|
+
})(NotificationSubCategory || (exports.NotificationSubCategory = NotificationSubCategory = {}));
|
|
62
|
+
//# 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,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,gCAAhB,gBAAgB,QAY3B;AAED;;GAEG;AACH,IAAY,oBAKX;AALD,WAAY,oBAAoB;IAC9B,6DAAO,CAAA;IACP,mEAAU,CAAA;IACV,+DAAQ,CAAA;IACR,mEAAU,CAAA;AACZ,CAAC,EALW,oBAAoB,oCAApB,oBAAoB,QAK/B;AAED;;GAEG;AACH,IAAY,kBAIX;AAJD,WAAY,kBAAkB;IAC5B,+DAAU,CAAA;IACV,2DAAQ,CAAA;IACR,mEAAY,CAAA;AACd,CAAC,EAJW,kBAAkB,kCAAlB,kBAAkB,QAI7B;AAED;;GAEG;AACH,IAAY,oBAMX;AAND,WAAY,oBAAoB;IAC9B,mCAAW,CAAA;IACX,yCAAiB,CAAA;IACjB,yCAAiB,CAAA;IACjB,+CAAuB,CAAA;IACvB,yCAAiB,CAAA;AACnB,CAAC,EANW,oBAAoB,oCAApB,oBAAoB,QAM/B;AAED;;GAEG;AACH,IAAY,uBAMX;AAND,WAAY,uBAAuB;IACjC,sCAAW,CAAA;IACX,oDAAyB,CAAA;IACzB,0CAAe,CAAA;IACf,4CAAiB,CAAA;IACjB,4CAAiB,CAAA;AACnB,CAAC,EANW,uBAAuB,uCAAvB,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,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NotificationSender = void 0;
|
|
4
|
+
const BaseModel_1 = require("../../BaseModel");
|
|
5
|
+
/**
|
|
6
|
+
* Represents the entity that sent a notification in the UI.
|
|
7
|
+
*/
|
|
8
|
+
class NotificationSender extends BaseModel_1.BaseModel {
|
|
9
|
+
id = '';
|
|
10
|
+
name = '';
|
|
11
|
+
avatar = '';
|
|
12
|
+
type = 'SYSTEM';
|
|
13
|
+
url;
|
|
14
|
+
constructor(data) {
|
|
15
|
+
super();
|
|
16
|
+
Object.assign(this, data);
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Instantiates a NotificationSender object from an API response.
|
|
20
|
+
*/
|
|
21
|
+
static fromAPI(json) {
|
|
22
|
+
if (!json)
|
|
23
|
+
return new NotificationSender({});
|
|
24
|
+
return new NotificationSender({
|
|
25
|
+
id: String(json.id || json.senderid || ''),
|
|
26
|
+
name: json.name || json.displayname || json.ad || '',
|
|
27
|
+
avatar: json.avatar || json.foto || '',
|
|
28
|
+
type: json.type || 'SYSTEM',
|
|
29
|
+
url: json.url || ''
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
exports.NotificationSender = NotificationSender;
|
|
34
|
+
//# sourceMappingURL=NotificationSender.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NotificationSender.js","sourceRoot":"","sources":["../../../../src/models/social/notification/NotificationSender.ts"],"names":[],"mappings":";;;AAAA,+CAA4C;AAE5C;;GAEG;AACH,MAAa,kBAAmB,SAAQ,qBAAS;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;AA1BD,gDA0BC"}
|
|
@@ -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"}
|