@armoyu/ui 1.0.1 → 1.0.3
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 +37 -0
- package/dist/app/Providers.js.map +1 -0
- package/dist/app/api/proxy/[...path]/route.d.ts +22 -0
- package/dist/app/api/proxy/[...path]/route.d.ts.map +1 -0
- package/dist/app/api/proxy/[...path]/route.js +97 -0
- package/dist/app/api/proxy/[...path]/route.js.map +1 -0
- package/dist/app/layout.d.ts.map +1 -1
- package/dist/app/layout.js +16 -23
- package/dist/app/layout.js.map +1 -1
- package/dist/components/RollingNumber.d.ts +6 -6
- package/dist/components/RollingNumber.js +23 -23
- package/dist/components/RollingNumber.js.map +1 -1
- package/dist/components/StatsGrid.d.ts +5 -5
- package/dist/components/modules/auth/Dashboard.d.ts +1 -1
- package/dist/components/modules/auth/PostCard.d.ts +25 -24
- package/dist/components/modules/auth/PostCard.d.ts.map +1 -1
- package/dist/components/modules/auth/PostCard.js +115 -112
- package/dist/components/modules/auth/PostCard.js.map +1 -1
- package/dist/components/modules/auth/PostInteractionsModal.d.ts +11 -11
- package/dist/components/modules/auth/RepostModal.d.ts +21 -21
- package/dist/components/modules/auth/SidebarLeft.d.ts +1 -1
- package/dist/components/modules/auth/SidebarLeft.d.ts.map +1 -1
- package/dist/components/modules/auth/SidebarLeft.js +8 -40
- package/dist/components/modules/auth/SidebarLeft.js.map +1 -1
- package/dist/components/modules/auth/Stories.d.ts +1 -1
- package/dist/components/modules/auth/StoryViewer.d.ts +9 -9
- package/dist/components/modules/auth/widgets/EconomyWidget.d.ts +2 -0
- package/dist/components/modules/auth/widgets/EconomyWidget.d.ts.map +1 -0
- package/dist/components/modules/auth/widgets/EconomyWidget.js +38 -0
- package/dist/components/modules/auth/widgets/EconomyWidget.js.map +1 -0
- package/dist/components/modules/auth/widgets/LeagueWidget.d.ts +2 -0
- package/dist/components/modules/auth/widgets/LeagueWidget.d.ts.map +1 -0
- package/dist/components/modules/auth/widgets/LeagueWidget.js +36 -0
- package/dist/components/modules/auth/widgets/LeagueWidget.js.map +1 -0
- package/dist/components/modules/auth/widgets/MinecraftWidget.d.ts +2 -0
- package/dist/components/modules/auth/widgets/MinecraftWidget.d.ts.map +1 -0
- package/dist/components/modules/auth/widgets/MinecraftWidget.js +36 -0
- package/dist/components/modules/auth/widgets/MinecraftWidget.js.map +1 -0
- package/dist/components/modules/auth/widgets/RankingWidget.d.ts +5 -0
- package/dist/components/modules/auth/widgets/RankingWidget.d.ts.map +1 -0
- package/dist/components/modules/auth/widgets/RankingWidget.js +79 -0
- package/dist/components/modules/auth/widgets/RankingWidget.js.map +1 -0
- package/dist/components/modules/chat/ChatContainer.d.ts +1 -1
- package/dist/components/modules/chat/ChatInput.d.ts +4 -4
- package/dist/components/modules/chat/ChatList.d.ts +6 -6
- package/dist/components/modules/chat/ChatNotes.d.ts +1 -1
- package/dist/components/modules/community/GroupHeader.d.ts +10 -10
- package/dist/components/modules/community/GroupMenu.d.ts +9 -9
- package/dist/components/modules/community/SchoolCard.d.ts +6 -6
- package/dist/components/modules/community/SurveyCard.d.ts +6 -6
- package/dist/components/modules/forum/ForumBoard.d.ts +16 -16
- package/dist/components/modules/forum/ForumBoard.js +6 -6
- package/dist/components/modules/forum/ForumBoard.js.map +1 -1
- package/dist/components/modules/forum/TopicItem.d.ts +15 -15
- package/dist/components/modules/forum/TopicItem.js +6 -6
- package/dist/components/modules/forum/TopicItem.js.map +1 -1
- package/dist/components/modules/guest/Introduction.d.ts +1 -1
- package/dist/components/modules/magaza/BackToStore.d.ts +1 -1
- package/dist/components/modules/magaza/StoreHeader.d.ts +5 -5
- package/dist/components/modules/news/NewsCard.d.ts +11 -11
- package/dist/components/modules/news/NewsComments.d.ts +1 -1
- package/dist/components/modules/profile/ProfileContent.d.ts +4 -4
- package/dist/components/modules/profile/ProfileContent.d.ts.map +1 -1
- package/dist/components/modules/profile/ProfileContent.js +98 -70
- package/dist/components/modules/profile/ProfileContent.js.map +1 -1
- package/dist/components/modules/profile/ProfileHeader.d.ts +7 -7
- package/dist/components/modules/profile/ProfileHeader.js +19 -19
- package/dist/components/modules/profile/ProfileHeader.js.map +1 -1
- package/dist/components/modules/profile/ProfileStats.d.ts +6 -1
- package/dist/components/modules/profile/ProfileStats.d.ts.map +1 -1
- package/dist/components/modules/profile/ProfileStats.js +11 -6
- package/dist/components/modules/profile/ProfileStats.js.map +1 -1
- package/dist/components/modules/profile/TeamSelectorModal.d.ts +10 -10
- 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 +7 -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/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 +81 -0
- package/dist/components/modules/profile/tabs/PostsTab.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/stations/StationCard.d.ts +2 -2
- package/dist/components/modules/stations/StationQRModal.d.ts +9 -9
- 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/FloatingChatButton.d.ts +4 -4
- package/dist/components/shared/Header.d.ts +1 -1
- package/dist/components/shared/Header.d.ts.map +1 -1
- package/dist/components/shared/Header.js +108 -97
- package/dist/components/shared/Header.js.map +1 -1
- package/dist/components/shared/LoginModal.d.ts +4 -4
- package/dist/components/shared/LoginModal.d.ts.map +1 -1
- package/dist/components/shared/LoginModal.js +65 -69
- package/dist/components/shared/LoginModal.js.map +1 -1
- package/dist/components/shared/MainLayoutWrapper.d.ts +3 -3
- package/dist/components/showcase/ProfileTab.d.ts.map +1 -1
- package/dist/components/showcase/ProfileTab.js +43 -3
- package/dist/components/showcase/ProfileTab.js.map +1 -1
- package/dist/components/showcase/SocialTab.d.ts.map +1 -1
- package/dist/components/showcase/SocialTab.js +86 -2
- package/dist/components/showcase/SocialTab.js.map +1 -1
- 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 +18 -18
- package/dist/context/AuthContext.d.ts.map +1 -1
- package/dist/context/AuthContext.js +97 -74
- package/dist/context/AuthContext.js.map +1 -1
- package/dist/context/CartContext.d.ts +16 -16
- package/dist/context/SocketContext.d.ts +12 -12
- package/dist/context/SocketContext.d.ts.map +1 -1
- package/dist/context/SocketContext.js +31 -30
- package/dist/context/SocketContext.js.map +1 -1
- package/dist/index.d.ts +67 -65
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +83 -80
- 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 +25 -0
- package/dist/lib/ArmoyuUI.js.map +1 -0
- package/dist/lib/constants/educationData.d.ts +7 -7
- package/dist/lib/constants/seedData.d.ts +164 -164
- package/dist/lib/constants/seedData.d.ts.map +1 -1
- package/dist/lib/constants/seedData.js +694 -694
- package/dist/lib/constants/seedData.js.map +1 -1
- package/dist/lib/constants/stationData.d.ts +13 -13
- package/dist/lib/constants/stationData.js +166 -166
- package/dist/lib/constants/stationData.js.map +1 -1
- package/dist/lib/constants/surveyData.d.ts +2 -2
- package/dist/lib/constants/teamData.d.ts +12 -12
- package/package.json +14 -12
- package/next.config.ts +0 -13
- package/postcss.config.js +0 -6
- package/src/app/layout.tsx +0 -67
- package/src/app/page.tsx +0 -101
- package/src/components/Button.tsx +0 -41
- package/src/components/GenderStatsBar.tsx +0 -66
- package/src/components/RollingNumber.tsx +0 -50
- package/src/components/Slider.tsx +0 -114
- package/src/components/StatsGrid.tsx +0 -35
- package/src/components/ViewModeToggle.tsx +0 -39
- package/src/components/modules/auth/Dashboard.tsx +0 -649
- package/src/components/modules/auth/MediaLightbox.tsx +0 -112
- package/src/components/modules/auth/PostCard.tsx +0 -556
- package/src/components/modules/auth/PostInteractionsModal.tsx +0 -138
- package/src/components/modules/auth/RepostModal.tsx +0 -167
- package/src/components/modules/auth/SidebarLeft.tsx +0 -237
- package/src/components/modules/auth/Stories.tsx +0 -69
- package/src/components/modules/auth/StoryViewer.tsx +0 -146
- package/src/components/modules/chat/ChatContainer.tsx +0 -332
- package/src/components/modules/chat/ChatInput.tsx +0 -57
- package/src/components/modules/chat/ChatList.tsx +0 -179
- package/src/components/modules/chat/ChatMessage.tsx +0 -43
- package/src/components/modules/chat/ChatNotes.tsx +0 -58
- package/src/components/modules/community/GroupHeader.tsx +0 -111
- package/src/components/modules/community/GroupMenu.tsx +0 -82
- package/src/components/modules/community/SchoolCard.tsx +0 -104
- package/src/components/modules/community/SurveyCard.tsx +0 -149
- package/src/components/modules/forum/ForumBoard.tsx +0 -78
- package/src/components/modules/forum/ForumPost.tsx +0 -71
- package/src/components/modules/forum/NewTopicModal.tsx +0 -112
- package/src/components/modules/forum/TopicItem.tsx +0 -72
- package/src/components/modules/galleries/GalleryCard.tsx +0 -66
- package/src/components/modules/giveaways/GiveawayCard.tsx +0 -76
- package/src/components/modules/groups/ApplicationModal.tsx +0 -133
- package/src/components/modules/groups/GroupCard.tsx +0 -96
- package/src/components/modules/guest/Introduction.tsx +0 -60
- package/src/components/modules/magaza/BackToStore.tsx +0 -53
- package/src/components/modules/magaza/StoreHeader.tsx +0 -74
- package/src/components/modules/news/NewsCard.tsx +0 -66
- package/src/components/modules/news/NewsComments.tsx +0 -141
- package/src/components/modules/profile/CloudStorageModal.tsx +0 -200
- package/src/components/modules/profile/EditProfileModal.tsx +0 -191
- package/src/components/modules/profile/ProfileContent.tsx +0 -491
- package/src/components/modules/profile/ProfileHeader.tsx +0 -128
- package/src/components/modules/profile/ProfileStats.tsx +0 -72
- package/src/components/modules/profile/TeamSelectorModal.tsx +0 -129
- package/src/components/modules/stations/StationCard.tsx +0 -95
- package/src/components/modules/stations/StationQRModal.tsx +0 -102
- package/src/components/shared/FloatingChatButton.tsx +0 -57
- package/src/components/shared/Footer.tsx +0 -77
- package/src/components/shared/Header.tsx +0 -799
- package/src/components/shared/LoginModal.tsx +0 -208
- package/src/components/shared/MainLayoutWrapper.tsx +0 -15
- package/src/components/shared/PageWidth.tsx +0 -22
- package/src/components/showcase/CommunityTab.tsx +0 -22
- package/src/components/showcase/CorporateTab.tsx +0 -38
- package/src/components/showcase/GeneralTab.tsx +0 -41
- package/src/components/showcase/MessagesTab.tsx +0 -26
- package/src/components/showcase/ProfileTab.tsx +0 -20
- package/src/components/showcase/ShopTab.tsx +0 -24
- package/src/components/showcase/SocialTab.tsx +0 -28
- package/src/context/AuthContext.tsx +0 -104
- package/src/context/CartContext.tsx +0 -93
- package/src/context/ChatContext.tsx +0 -32
- package/src/context/LayoutContext.tsx +0 -29
- package/src/context/SocketContext.tsx +0 -50
- package/src/context/ThemeContext.tsx +0 -52
- package/src/index.ts +0 -96
- package/src/lib/constants/educationData.ts +0 -124
- package/src/lib/constants/punishmentData.ts +0 -201
- package/src/lib/constants/seedData.ts +0 -758
- package/src/lib/constants/stationData.ts +0 -170
- package/src/lib/constants/surveyData.ts +0 -53
- package/src/lib/constants/teamData.ts +0 -69
- package/src/lib/utils/numberFormat.ts +0 -16
- package/src/lib/utils/odpUtils.ts +0 -51
- package/src/types/index.ts +0 -1
- package/src/types/stats.ts +0 -17
|
@@ -1,165 +1,165 @@
|
|
|
1
|
-
import { User, Post, Role, Group, Product, Note, Story, News, Mod, Forum, Giveaway, Project, Survey, School, Faculty, Classroom, SchoolTeam, Session } from '@armoyu/core';
|
|
2
|
-
import { GlobalStats } from '../../types';
|
|
3
|
-
export * from './stationData';
|
|
4
|
-
export * from './surveyData';
|
|
5
|
-
export * from './educationData';
|
|
6
|
-
/**
|
|
7
|
-
* Common Roles
|
|
8
|
-
*/
|
|
9
|
-
export declare const roles: {
|
|
10
|
-
admin: Role;
|
|
11
|
-
memberMgmt: Role;
|
|
12
|
-
discipline: Role;
|
|
13
|
-
eventMgmt: Role;
|
|
14
|
-
assettoOfficial: Role;
|
|
15
|
-
mcOfficial: Role;
|
|
16
|
-
responsible: Role;
|
|
17
|
-
gameDev: Role;
|
|
18
|
-
softwareDev: Role;
|
|
19
|
-
frontendDev: Role;
|
|
20
|
-
backendDev: Role;
|
|
21
|
-
fullstackDev: Role;
|
|
22
|
-
streamerContent: Role;
|
|
23
|
-
streamerGaming: Role;
|
|
24
|
-
streamer: Role;
|
|
25
|
-
esports: Role;
|
|
26
|
-
user: Role;
|
|
27
|
-
qualified: Role;
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* Seed data for Groups (Guilds/Communities)
|
|
31
|
-
*/
|
|
32
|
-
export declare const groupList: Group[];
|
|
33
|
-
/**
|
|
34
|
-
* Seed data for users (Team Members)
|
|
35
|
-
*/
|
|
36
|
-
export declare const userList: User[];
|
|
37
|
-
export declare const MOCK_SURVEYS: Survey[];
|
|
38
|
-
export declare const surveyList: Survey[];
|
|
39
|
-
export declare const schoolList: School[];
|
|
40
|
-
export declare const facultyList: Faculty[];
|
|
41
|
-
export declare const schoolTeamList: SchoolTeam[];
|
|
42
|
-
export declare const classroomList: Classroom[];
|
|
43
|
-
/**
|
|
44
|
-
* Seed data for posts
|
|
45
|
-
*/
|
|
46
|
-
export declare const postList: Post[];
|
|
47
|
-
/**
|
|
48
|
-
* Mock Session for Auto-Login
|
|
49
|
-
* notifications and chatList live on Session, not User.
|
|
50
|
-
*/
|
|
51
|
-
export declare const MOCK_SESSION: Session;
|
|
52
|
-
/**
|
|
53
|
-
* Shop & News Mock Data (Migrated from mockData.ts)
|
|
54
|
-
*/
|
|
55
|
-
export declare const MOCK_PRODUCTS: Product[];
|
|
56
|
-
export declare const MOCK_NEWS: News[];
|
|
57
|
-
export declare const newsList: News[];
|
|
58
|
-
export declare const MOCK_NOTES: Note[];
|
|
59
|
-
/**
|
|
60
|
-
* Global Statistics (Migrated from mockData.ts)
|
|
61
|
-
*/
|
|
62
|
-
export declare const mockGlobalStats: GlobalStats;
|
|
63
|
-
/**
|
|
64
|
-
* Rankings (Derived from userList)
|
|
65
|
-
*/
|
|
66
|
-
export declare const MOCK_RANKING_LEVEL: User[];
|
|
67
|
-
export declare const MOCK_RANKING_POPULARITY: User[];
|
|
68
|
-
/**
|
|
69
|
-
* Stories Mock Data (Migrated and Reconstructed)
|
|
70
|
-
*/
|
|
71
|
-
export declare const MOCK_STORIES: Story[];
|
|
72
|
-
/**
|
|
73
|
-
* Game Mods Mock Data
|
|
74
|
-
*/
|
|
75
|
-
export declare const MOCK_MODS: Mod[];
|
|
76
|
-
/**
|
|
77
|
-
* Forum Categories Mock Data
|
|
78
|
-
*/
|
|
79
|
-
export declare const MOCK_FORUM_CATEGORIES: {
|
|
80
|
-
title: string;
|
|
81
|
-
boards: Forum[];
|
|
82
|
-
}[];
|
|
83
|
-
/**
|
|
84
|
-
* Giveaways Mock Data
|
|
85
|
-
*/
|
|
86
|
-
export declare const MOCK_GIVEAWAYS: Giveaway[];
|
|
87
|
-
export declare const giveawayList: Giveaway[];
|
|
88
|
-
/**
|
|
89
|
-
* Mock Projects Data
|
|
90
|
-
*/
|
|
91
|
-
export declare const MOCK_PROJECTS: Project[];
|
|
92
|
-
export declare const projectList: Project[];
|
|
93
|
-
export declare const sessionList: Session[];
|
|
94
|
-
export declare const armoyuProjects: Project[];
|
|
95
|
-
export declare const armoyuGiveaways: Giveaway[];
|
|
96
|
-
/**
|
|
97
|
-
* Forum Topics Mock Data
|
|
98
|
-
*/
|
|
99
|
-
export declare const MOCK_FORUM_TOPICS: ({
|
|
100
|
-
id: string;
|
|
101
|
-
boardId: string;
|
|
102
|
-
title: string;
|
|
103
|
-
author: string;
|
|
104
|
-
authorAvatar: string;
|
|
105
|
-
replies: number;
|
|
106
|
-
views: number;
|
|
107
|
-
lastActivity: string;
|
|
108
|
-
lastAuthor: string;
|
|
109
|
-
isPinned: boolean;
|
|
110
|
-
isHot: boolean;
|
|
111
|
-
isSolved?: undefined;
|
|
112
|
-
} | {
|
|
113
|
-
id: string;
|
|
114
|
-
boardId: string;
|
|
115
|
-
title: string;
|
|
116
|
-
author: string;
|
|
117
|
-
authorAvatar: string;
|
|
118
|
-
replies: number;
|
|
119
|
-
views: number;
|
|
120
|
-
lastActivity: string;
|
|
121
|
-
lastAuthor: string;
|
|
122
|
-
isSolved: boolean;
|
|
123
|
-
isPinned?: undefined;
|
|
124
|
-
isHot?: undefined;
|
|
125
|
-
} | {
|
|
126
|
-
id: string;
|
|
127
|
-
boardId: string;
|
|
128
|
-
title: string;
|
|
129
|
-
author: string;
|
|
130
|
-
authorAvatar: string;
|
|
131
|
-
replies: number;
|
|
132
|
-
views: number;
|
|
133
|
-
lastActivity: string;
|
|
134
|
-
lastAuthor: string;
|
|
135
|
-
isHot: boolean;
|
|
136
|
-
isPinned?: undefined;
|
|
137
|
-
isSolved?: undefined;
|
|
138
|
-
} | {
|
|
139
|
-
id: string;
|
|
140
|
-
boardId: string;
|
|
141
|
-
title: string;
|
|
142
|
-
author: string;
|
|
143
|
-
authorAvatar: string;
|
|
144
|
-
replies: number;
|
|
145
|
-
views: number;
|
|
146
|
-
lastActivity: string;
|
|
147
|
-
lastAuthor: string;
|
|
148
|
-
isPinned?: undefined;
|
|
149
|
-
isHot?: undefined;
|
|
150
|
-
isSolved?: undefined;
|
|
151
|
-
} | {
|
|
152
|
-
id: string;
|
|
153
|
-
boardId: string;
|
|
154
|
-
title: string;
|
|
155
|
-
author: string;
|
|
156
|
-
authorAvatar: string;
|
|
157
|
-
replies: number;
|
|
158
|
-
views: number;
|
|
159
|
-
lastActivity: string;
|
|
160
|
-
lastAuthor: string;
|
|
161
|
-
isPinned: boolean;
|
|
162
|
-
isHot?: undefined;
|
|
163
|
-
isSolved?: undefined;
|
|
164
|
-
})[];
|
|
1
|
+
import { User, Post, Role, Group, Product, Note, Story, News, Mod, Forum, Giveaway, Project, Survey, School, Faculty, Classroom, SchoolTeam, Session } from '@armoyu/core';
|
|
2
|
+
import { GlobalStats } from '../../types';
|
|
3
|
+
export * from './stationData';
|
|
4
|
+
export * from './surveyData';
|
|
5
|
+
export * from './educationData';
|
|
6
|
+
/**
|
|
7
|
+
* Common Roles
|
|
8
|
+
*/
|
|
9
|
+
export declare const roles: {
|
|
10
|
+
admin: Role;
|
|
11
|
+
memberMgmt: Role;
|
|
12
|
+
discipline: Role;
|
|
13
|
+
eventMgmt: Role;
|
|
14
|
+
assettoOfficial: Role;
|
|
15
|
+
mcOfficial: Role;
|
|
16
|
+
responsible: Role;
|
|
17
|
+
gameDev: Role;
|
|
18
|
+
softwareDev: Role;
|
|
19
|
+
frontendDev: Role;
|
|
20
|
+
backendDev: Role;
|
|
21
|
+
fullstackDev: Role;
|
|
22
|
+
streamerContent: Role;
|
|
23
|
+
streamerGaming: Role;
|
|
24
|
+
streamer: Role;
|
|
25
|
+
esports: Role;
|
|
26
|
+
user: Role;
|
|
27
|
+
qualified: Role;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Seed data for Groups (Guilds/Communities)
|
|
31
|
+
*/
|
|
32
|
+
export declare const groupList: Group[];
|
|
33
|
+
/**
|
|
34
|
+
* Seed data for users (Team Members)
|
|
35
|
+
*/
|
|
36
|
+
export declare const userList: User[];
|
|
37
|
+
export declare const MOCK_SURVEYS: Survey[];
|
|
38
|
+
export declare const surveyList: Survey[];
|
|
39
|
+
export declare const schoolList: School[];
|
|
40
|
+
export declare const facultyList: Faculty[];
|
|
41
|
+
export declare const schoolTeamList: SchoolTeam[];
|
|
42
|
+
export declare const classroomList: Classroom[];
|
|
43
|
+
/**
|
|
44
|
+
* Seed data for posts
|
|
45
|
+
*/
|
|
46
|
+
export declare const postList: Post[];
|
|
47
|
+
/**
|
|
48
|
+
* Mock Session for Auto-Login
|
|
49
|
+
* notifications and chatList live on Session, not User.
|
|
50
|
+
*/
|
|
51
|
+
export declare const MOCK_SESSION: Session;
|
|
52
|
+
/**
|
|
53
|
+
* Shop & News Mock Data (Migrated from mockData.ts)
|
|
54
|
+
*/
|
|
55
|
+
export declare const MOCK_PRODUCTS: Product[];
|
|
56
|
+
export declare const MOCK_NEWS: News[];
|
|
57
|
+
export declare const newsList: News[];
|
|
58
|
+
export declare const MOCK_NOTES: Note[];
|
|
59
|
+
/**
|
|
60
|
+
* Global Statistics (Migrated from mockData.ts)
|
|
61
|
+
*/
|
|
62
|
+
export declare const mockGlobalStats: GlobalStats;
|
|
63
|
+
/**
|
|
64
|
+
* Rankings (Derived from userList)
|
|
65
|
+
*/
|
|
66
|
+
export declare const MOCK_RANKING_LEVEL: User[];
|
|
67
|
+
export declare const MOCK_RANKING_POPULARITY: User[];
|
|
68
|
+
/**
|
|
69
|
+
* Stories Mock Data (Migrated and Reconstructed)
|
|
70
|
+
*/
|
|
71
|
+
export declare const MOCK_STORIES: Story[];
|
|
72
|
+
/**
|
|
73
|
+
* Game Mods Mock Data
|
|
74
|
+
*/
|
|
75
|
+
export declare const MOCK_MODS: Mod[];
|
|
76
|
+
/**
|
|
77
|
+
* Forum Categories Mock Data
|
|
78
|
+
*/
|
|
79
|
+
export declare const MOCK_FORUM_CATEGORIES: {
|
|
80
|
+
title: string;
|
|
81
|
+
boards: Forum[];
|
|
82
|
+
}[];
|
|
83
|
+
/**
|
|
84
|
+
* Giveaways Mock Data
|
|
85
|
+
*/
|
|
86
|
+
export declare const MOCK_GIVEAWAYS: Giveaway[];
|
|
87
|
+
export declare const giveawayList: Giveaway[];
|
|
88
|
+
/**
|
|
89
|
+
* Mock Projects Data
|
|
90
|
+
*/
|
|
91
|
+
export declare const MOCK_PROJECTS: Project[];
|
|
92
|
+
export declare const projectList: Project[];
|
|
93
|
+
export declare const sessionList: Session[];
|
|
94
|
+
export declare const armoyuProjects: Project[];
|
|
95
|
+
export declare const armoyuGiveaways: Giveaway[];
|
|
96
|
+
/**
|
|
97
|
+
* Forum Topics Mock Data
|
|
98
|
+
*/
|
|
99
|
+
export declare const MOCK_FORUM_TOPICS: ({
|
|
100
|
+
id: string;
|
|
101
|
+
boardId: string;
|
|
102
|
+
title: string;
|
|
103
|
+
author: string;
|
|
104
|
+
authorAvatar: string;
|
|
105
|
+
replies: number;
|
|
106
|
+
views: number;
|
|
107
|
+
lastActivity: string;
|
|
108
|
+
lastAuthor: string;
|
|
109
|
+
isPinned: boolean;
|
|
110
|
+
isHot: boolean;
|
|
111
|
+
isSolved?: undefined;
|
|
112
|
+
} | {
|
|
113
|
+
id: string;
|
|
114
|
+
boardId: string;
|
|
115
|
+
title: string;
|
|
116
|
+
author: string;
|
|
117
|
+
authorAvatar: string;
|
|
118
|
+
replies: number;
|
|
119
|
+
views: number;
|
|
120
|
+
lastActivity: string;
|
|
121
|
+
lastAuthor: string;
|
|
122
|
+
isSolved: boolean;
|
|
123
|
+
isPinned?: undefined;
|
|
124
|
+
isHot?: undefined;
|
|
125
|
+
} | {
|
|
126
|
+
id: string;
|
|
127
|
+
boardId: string;
|
|
128
|
+
title: string;
|
|
129
|
+
author: string;
|
|
130
|
+
authorAvatar: string;
|
|
131
|
+
replies: number;
|
|
132
|
+
views: number;
|
|
133
|
+
lastActivity: string;
|
|
134
|
+
lastAuthor: string;
|
|
135
|
+
isHot: boolean;
|
|
136
|
+
isPinned?: undefined;
|
|
137
|
+
isSolved?: undefined;
|
|
138
|
+
} | {
|
|
139
|
+
id: string;
|
|
140
|
+
boardId: string;
|
|
141
|
+
title: string;
|
|
142
|
+
author: string;
|
|
143
|
+
authorAvatar: string;
|
|
144
|
+
replies: number;
|
|
145
|
+
views: number;
|
|
146
|
+
lastActivity: string;
|
|
147
|
+
lastAuthor: string;
|
|
148
|
+
isPinned?: undefined;
|
|
149
|
+
isHot?: undefined;
|
|
150
|
+
isSolved?: undefined;
|
|
151
|
+
} | {
|
|
152
|
+
id: string;
|
|
153
|
+
boardId: string;
|
|
154
|
+
title: string;
|
|
155
|
+
author: string;
|
|
156
|
+
authorAvatar: string;
|
|
157
|
+
replies: number;
|
|
158
|
+
views: number;
|
|
159
|
+
lastActivity: string;
|
|
160
|
+
lastAuthor: string;
|
|
161
|
+
isPinned: boolean;
|
|
162
|
+
isHot?: undefined;
|
|
163
|
+
isSolved?: undefined;
|
|
164
|
+
})[];
|
|
165
165
|
//# sourceMappingURL=seedData.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"seedData.d.ts","sourceRoot":"","sources":["../../../src/lib/constants/seedData.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAoC,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,QAAQ,EAC1B,OAAO,EAAE,MAAM,EAChG,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,UAAU,EAAqB,OAAO,
|
|
1
|
+
{"version":3,"file":"seedData.d.ts","sourceRoot":"","sources":["../../../src/lib/constants/seedData.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAoC,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,QAAQ,EAC1B,OAAO,EAAE,MAAM,EAChG,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,UAAU,EAAqB,OAAO,EAEnE,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAM1C,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAEhC;;GAEG;AACH,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;CAmBjB,CAAC;AA6BF;;GAEG;AACH,eAAO,MAAM,SAAS,EAAE,KAAK,EAmE5B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,QAAQ,EAAE,IAAI,EAkC1B,CAAC;AAgCF,eAAO,MAAM,YAAY,UAA8B,CAAC;AACxD,eAAO,MAAM,UAAU,EAAE,MAAM,EAAiB,CAAC;AAIjD,eAAO,MAAM,UAAU,EAAE,MAAM,EAAgB,CAAC;AAChD,eAAO,MAAM,WAAW,EAAE,OAAO,EAAkB,CAAC;AACpD,eAAO,MAAM,cAAc,EAAE,UAAU,EAAc,CAAC;AACtD,eAAO,MAAM,aAAa,EAAE,SAAS,EAAmB,CAAC;AAkEzD;;GAEG;AACH,eAAO,MAAM,QAAQ,EAAE,IAAI,EAoE1B,CAAC;AAcF;;;GAGG;AACH,eAAO,MAAM,YAAY,SA6EvB,CAAC;AAOH;;GAEG;AACH,eAAO,MAAM,aAAa,WAuDzB,CAAC;AAEF,eAAO,MAAM,SAAS,QAmCrB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,IAAI,EAAc,CAAC;AAE1C,eAAO,MAAM,UAAU,QA+BtB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,eAAe,EAAE,WAW7B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,kBAAkB,QAEhB,CAAC;AAEhB,eAAO,MAAM,uBAAuB,QAErB,CAAC;AAEhB;;GAEG;AACH,eAAO,MAAM,YAAY,SAQxB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,SAAS,OAOrB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,qBAAqB;;;GAuBjC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,cAAc,YAI1B,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,QAAQ,EAAmB,CAAC;AACvD;;GAEG;AACH,eAAO,MAAM,aAAa,EAAE,OAAO,EA2ClC,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,OAAO,EAAkB,CAAC;AACpD,eAAO,MAAM,WAAW,EAAE,OAAO,EAAO,CAAC;AACzC,eAAO,MAAM,cAAc,EAAE,OAAO,EAAkB,CAAC;AACvD,eAAO,MAAM,eAAe,EAAE,QAAQ,EAAiB,CAAC;AAExD;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAyB7B,CAAC"}
|