@burdenoff/microfe-comradecircle 2026.509.101
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/README.md +12 -0
- package/dist/comradecircle/ComradeCircleRoot.d.ts +5 -0
- package/dist/comradecircle/ComradeCircleRoot.d.ts.map +1 -0
- package/dist/comradecircle/ComradeCircleRoot.js +111 -0
- package/dist/comradecircle/ComradeCircleRoot.js.map +1 -0
- package/dist/comradecircle/ComradeCircleRoutes.d.ts +2 -0
- package/dist/comradecircle/ComradeCircleRoutes.d.ts.map +1 -0
- package/dist/comradecircle/ComradeCircleRoutes.js +43 -0
- package/dist/comradecircle/ComradeCircleRoutes.js.map +1 -0
- package/dist/comradecircle/index.d.ts +5 -0
- package/dist/comradecircle/index.d.ts.map +1 -0
- package/dist/comradecircle/index.js +3 -0
- package/dist/comradecircle/pages/CommunitiesPage.d.ts +2 -0
- package/dist/comradecircle/pages/CommunitiesPage.d.ts.map +1 -0
- package/dist/comradecircle/pages/CommunitiesPage.js +299 -0
- package/dist/comradecircle/pages/CommunitiesPage.js.map +1 -0
- package/dist/comradecircle/pages/CreatorPage.d.ts +2 -0
- package/dist/comradecircle/pages/CreatorPage.d.ts.map +1 -0
- package/dist/comradecircle/pages/CreatorPage.js +399 -0
- package/dist/comradecircle/pages/CreatorPage.js.map +1 -0
- package/dist/comradecircle/pages/DashboardPage.d.ts +2 -0
- package/dist/comradecircle/pages/DashboardPage.d.ts.map +1 -0
- package/dist/comradecircle/pages/DashboardPage.js +265 -0
- package/dist/comradecircle/pages/DashboardPage.js.map +1 -0
- package/dist/comradecircle/providers/ComradeCircleProvider.d.ts +6 -0
- package/dist/comradecircle/providers/ComradeCircleProvider.d.ts.map +1 -0
- package/dist/comradecircle/providers/ComradeCircleProvider.js +27 -0
- package/dist/comradecircle/providers/ComradeCircleProvider.js.map +1 -0
- package/dist/comradecircle/store/comradecircleStore.d.ts +28 -0
- package/dist/comradecircle/store/comradecircleStore.d.ts.map +1 -0
- package/dist/comradecircle/store/comradecircleStore.js +345 -0
- package/dist/comradecircle/store/comradecircleStore.js.map +1 -0
- package/dist/comradecircle/types/index.d.ts +162 -0
- package/dist/comradecircle/types/index.d.ts.map +1 -0
- package/dist/comradecircle/utils/cn.d.ts +4 -0
- package/dist/comradecircle/utils/cn.d.ts.map +1 -0
- package/dist/comradecircle/utils/navigation.d.ts +2 -0
- package/dist/comradecircle/utils/navigation.d.ts.map +1 -0
- package/dist/comradecircle/utils/navigation.js +8 -0
- package/dist/comradecircle/utils/navigation.js.map +1 -0
- package/dist/dev/main.d.ts +2 -0
- package/dist/dev/main.d.ts.map +1 -0
- package/dist/generated/global-operations.d.ts +2 -0
- package/dist/generated/global-operations.d.ts.map +1 -0
- package/dist/generated/global-types.d.ts +18199 -0
- package/dist/generated/global-types.d.ts.map +1 -0
- package/dist/generated/wspace-operations.d.ts +2 -0
- package/dist/generated/wspace-operations.d.ts.map +1 -0
- package/dist/generated/wspace-types.d.ts +43046 -0
- package/dist/generated/wspace-types.d.ts.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +5 -0
- package/package.json +107 -0
|
@@ -0,0 +1,345 @@
|
|
|
1
|
+
import { create as e } from "zustand";
|
|
2
|
+
//#region src/comradecircle/store/comradecircleStore.ts
|
|
3
|
+
var t = [
|
|
4
|
+
{
|
|
5
|
+
id: "1",
|
|
6
|
+
name: "React Developers Hub",
|
|
7
|
+
description: "A thriving community for React enthusiasts, sharing tips, tutorials, and best practices.",
|
|
8
|
+
memberCount: 15420,
|
|
9
|
+
category: "Technology",
|
|
10
|
+
type: "public",
|
|
11
|
+
isOwner: !0,
|
|
12
|
+
isModerator: !1,
|
|
13
|
+
isMember: !0,
|
|
14
|
+
avatar: "https://api.dicebear.com/7.x/shapes/svg?seed=react",
|
|
15
|
+
lastActivity: "2 minutes ago",
|
|
16
|
+
unreadMessages: 5,
|
|
17
|
+
features: [
|
|
18
|
+
"Live Events",
|
|
19
|
+
"Code Reviews",
|
|
20
|
+
"Job Board",
|
|
21
|
+
"Mentorship"
|
|
22
|
+
],
|
|
23
|
+
stats: {
|
|
24
|
+
totalMessages: 24567,
|
|
25
|
+
onlineMembers: 342,
|
|
26
|
+
weeklyGrowth: 12,
|
|
27
|
+
engagement: 89
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
id: "2",
|
|
32
|
+
name: "Creator Economy Network",
|
|
33
|
+
description: "Monetize your content and connect with fellow creators. Share strategies, collaborate on projects.",
|
|
34
|
+
memberCount: 8924,
|
|
35
|
+
category: "Business",
|
|
36
|
+
type: "premium",
|
|
37
|
+
isOwner: !1,
|
|
38
|
+
isModerator: !0,
|
|
39
|
+
isMember: !0,
|
|
40
|
+
price: "$19.99/month",
|
|
41
|
+
avatar: "https://api.dicebear.com/7.x/shapes/svg?seed=creator",
|
|
42
|
+
lastActivity: "15 minutes ago",
|
|
43
|
+
unreadMessages: 12,
|
|
44
|
+
features: [
|
|
45
|
+
"Revenue Sharing",
|
|
46
|
+
"Analytics",
|
|
47
|
+
"Direct Support",
|
|
48
|
+
"Exclusive Content"
|
|
49
|
+
],
|
|
50
|
+
stats: {
|
|
51
|
+
totalMessages: 15432,
|
|
52
|
+
onlineMembers: 156,
|
|
53
|
+
weeklyGrowth: 8,
|
|
54
|
+
engagement: 94
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
id: "3",
|
|
59
|
+
name: "Web3 Builders",
|
|
60
|
+
description: "Building the future of the decentralized web. Discuss DApps, smart contracts, and blockchain tech.",
|
|
61
|
+
memberCount: 6234,
|
|
62
|
+
category: "Technology",
|
|
63
|
+
type: "public",
|
|
64
|
+
isOwner: !1,
|
|
65
|
+
isModerator: !1,
|
|
66
|
+
isMember: !0,
|
|
67
|
+
avatar: "https://api.dicebear.com/7.x/shapes/svg?seed=web3",
|
|
68
|
+
lastActivity: "1 hour ago",
|
|
69
|
+
features: [
|
|
70
|
+
"NFT Showcase",
|
|
71
|
+
"DeFi Discussions",
|
|
72
|
+
"Code Audits"
|
|
73
|
+
],
|
|
74
|
+
stats: {
|
|
75
|
+
totalMessages: 9876,
|
|
76
|
+
onlineMembers: 89,
|
|
77
|
+
weeklyGrowth: 15,
|
|
78
|
+
engagement: 76
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
id: "4",
|
|
83
|
+
name: "Digital Art Collective",
|
|
84
|
+
description: "A private space for serious digital artists to share work, get feedback, and collaborate.",
|
|
85
|
+
memberCount: 1205,
|
|
86
|
+
category: "Creative",
|
|
87
|
+
type: "private",
|
|
88
|
+
isOwner: !1,
|
|
89
|
+
isModerator: !1,
|
|
90
|
+
isMember: !0,
|
|
91
|
+
avatar: "https://api.dicebear.com/7.x/shapes/svg?seed=art",
|
|
92
|
+
lastActivity: "3 hours ago",
|
|
93
|
+
unreadMessages: 3,
|
|
94
|
+
features: [
|
|
95
|
+
"Portfolio Reviews",
|
|
96
|
+
"Collaboration Tools",
|
|
97
|
+
"Commission Board"
|
|
98
|
+
],
|
|
99
|
+
stats: {
|
|
100
|
+
totalMessages: 5432,
|
|
101
|
+
onlineMembers: 45,
|
|
102
|
+
weeklyGrowth: 5,
|
|
103
|
+
engagement: 92
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
], n = {
|
|
107
|
+
totalCommunities: 12,
|
|
108
|
+
ownedCommunities: 3,
|
|
109
|
+
totalMembers: 45230,
|
|
110
|
+
weeklyGrowth: 8.5
|
|
111
|
+
}, r = {
|
|
112
|
+
totalRevenue: 15420.5,
|
|
113
|
+
monthlyRevenue: 8945.3,
|
|
114
|
+
subscribers: 1250,
|
|
115
|
+
oneTimePurchases: 45,
|
|
116
|
+
tips: 890.2,
|
|
117
|
+
platformFee: 771.02,
|
|
118
|
+
weeklyGrowth: 12.5,
|
|
119
|
+
monthlyGrowth: 23.8
|
|
120
|
+
}, i = [
|
|
121
|
+
{
|
|
122
|
+
id: "1",
|
|
123
|
+
name: "Basic Supporter",
|
|
124
|
+
price: 9.99,
|
|
125
|
+
subscribers: 850,
|
|
126
|
+
description: "Basic access to community and content",
|
|
127
|
+
features: [
|
|
128
|
+
"Community Access",
|
|
129
|
+
"Monthly Livestreams",
|
|
130
|
+
"Basic Support"
|
|
131
|
+
],
|
|
132
|
+
monthlyRevenue: 8491.5,
|
|
133
|
+
growthRate: 15
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
id: "2",
|
|
137
|
+
name: "Premium Member",
|
|
138
|
+
price: 24.99,
|
|
139
|
+
subscribers: 320,
|
|
140
|
+
description: "Enhanced features and early access",
|
|
141
|
+
features: [
|
|
142
|
+
"All Basic Features",
|
|
143
|
+
"Early Access Content",
|
|
144
|
+
"1-on-1 Sessions",
|
|
145
|
+
"Exclusive Discord"
|
|
146
|
+
],
|
|
147
|
+
monthlyRevenue: 7996.8,
|
|
148
|
+
growthRate: 28
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
id: "3",
|
|
152
|
+
name: "VIP Creator",
|
|
153
|
+
price: 99.99,
|
|
154
|
+
subscribers: 80,
|
|
155
|
+
description: "Premium tier with direct access",
|
|
156
|
+
features: [
|
|
157
|
+
"All Premium Features",
|
|
158
|
+
"Monthly 1-on-1 Call",
|
|
159
|
+
"Course Materials",
|
|
160
|
+
"Priority Support"
|
|
161
|
+
],
|
|
162
|
+
monthlyRevenue: 7999.2,
|
|
163
|
+
growthRate: 35
|
|
164
|
+
}
|
|
165
|
+
], a = [
|
|
166
|
+
{
|
|
167
|
+
id: "1",
|
|
168
|
+
title: "React Hooks Deep Dive",
|
|
169
|
+
type: "video",
|
|
170
|
+
publishDate: "2 days ago",
|
|
171
|
+
views: 15420,
|
|
172
|
+
likes: 892,
|
|
173
|
+
comments: 156,
|
|
174
|
+
revenue: 245.3,
|
|
175
|
+
engagement: 6.8
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
id: "2",
|
|
179
|
+
title: "Building Scalable APIs",
|
|
180
|
+
type: "course",
|
|
181
|
+
publishDate: "1 week ago",
|
|
182
|
+
views: 8945,
|
|
183
|
+
likes: 456,
|
|
184
|
+
comments: 89,
|
|
185
|
+
revenue: 1250,
|
|
186
|
+
engagement: 6.1
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
id: "3",
|
|
190
|
+
title: "Live Coding Session",
|
|
191
|
+
type: "livestream",
|
|
192
|
+
publishDate: "3 days ago",
|
|
193
|
+
views: 3420,
|
|
194
|
+
likes: 234,
|
|
195
|
+
comments: 78,
|
|
196
|
+
revenue: 89.5,
|
|
197
|
+
engagement: 9.1
|
|
198
|
+
}
|
|
199
|
+
], o = {
|
|
200
|
+
subscriptions: 24487.5,
|
|
201
|
+
oneTime: 3250,
|
|
202
|
+
tips: 890.2,
|
|
203
|
+
merchandise: 450
|
|
204
|
+
}, s = [
|
|
205
|
+
{
|
|
206
|
+
id: "1",
|
|
207
|
+
type: "community",
|
|
208
|
+
message: "New member joined \"React Developers\"",
|
|
209
|
+
time: "2 minutes ago"
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
id: "2",
|
|
213
|
+
type: "message",
|
|
214
|
+
message: "You have 3 new messages",
|
|
215
|
+
time: "5 minutes ago"
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
id: "3",
|
|
219
|
+
type: "revenue",
|
|
220
|
+
message: "Subscription payment received",
|
|
221
|
+
time: "1 hour ago"
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
id: "4",
|
|
225
|
+
type: "event",
|
|
226
|
+
message: "Upcoming event \"Weekly Standup\" in 2 hours",
|
|
227
|
+
time: "2 hours ago"
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
id: "5",
|
|
231
|
+
type: "member",
|
|
232
|
+
message: "15 new followers today",
|
|
233
|
+
time: "3 hours ago"
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
id: "6",
|
|
237
|
+
type: "content",
|
|
238
|
+
message: "Your post reached 1K views",
|
|
239
|
+
time: "5 hours ago"
|
|
240
|
+
}
|
|
241
|
+
], c = [
|
|
242
|
+
{
|
|
243
|
+
id: "1",
|
|
244
|
+
title: "React Conf Watch Party",
|
|
245
|
+
communityName: "React Developers Hub",
|
|
246
|
+
date: "2026-02-15T18:00:00Z",
|
|
247
|
+
attendees: 245,
|
|
248
|
+
type: "virtual",
|
|
249
|
+
status: "upcoming"
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
id: "2",
|
|
253
|
+
title: "Creator Monetization Workshop",
|
|
254
|
+
communityName: "Creator Economy Network",
|
|
255
|
+
date: "2026-02-18T14:00:00Z",
|
|
256
|
+
attendees: 128,
|
|
257
|
+
type: "virtual",
|
|
258
|
+
status: "upcoming"
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
id: "3",
|
|
262
|
+
title: "Art Portfolio Review Night",
|
|
263
|
+
communityName: "Digital Art Collective",
|
|
264
|
+
date: "2026-02-20T20:00:00Z",
|
|
265
|
+
attendees: 56,
|
|
266
|
+
type: "virtual",
|
|
267
|
+
status: "upcoming"
|
|
268
|
+
}
|
|
269
|
+
], l = e((e) => ({
|
|
270
|
+
metrics: [
|
|
271
|
+
{
|
|
272
|
+
label: "Communities",
|
|
273
|
+
value: "12",
|
|
274
|
+
trend: "+16.7%"
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
label: "Followers",
|
|
278
|
+
value: "45.2K",
|
|
279
|
+
trend: "+8.5%"
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
label: "Revenue",
|
|
283
|
+
value: "$15.4K",
|
|
284
|
+
trend: "+23.8%"
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
label: "Engagement",
|
|
288
|
+
value: "89%",
|
|
289
|
+
trend: "+4.2%"
|
|
290
|
+
}
|
|
291
|
+
],
|
|
292
|
+
workItems: [
|
|
293
|
+
{
|
|
294
|
+
id: "w1",
|
|
295
|
+
title: "Community guidelines update",
|
|
296
|
+
status: "active",
|
|
297
|
+
owner: "Moderation",
|
|
298
|
+
updatedAt: "2h ago"
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
id: "w2",
|
|
302
|
+
title: "Creator onboarding flow v2",
|
|
303
|
+
status: "planned",
|
|
304
|
+
owner: "Product",
|
|
305
|
+
updatedAt: "5h ago"
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
id: "w3",
|
|
309
|
+
title: "Content moderation backlog",
|
|
310
|
+
status: "at_risk",
|
|
311
|
+
owner: "Trust & Safety",
|
|
312
|
+
updatedAt: "1d ago"
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
id: "w4",
|
|
316
|
+
title: "Event platform integration",
|
|
317
|
+
status: "completed",
|
|
318
|
+
owner: "Engineering",
|
|
319
|
+
updatedAt: "2d ago"
|
|
320
|
+
}
|
|
321
|
+
],
|
|
322
|
+
selectedView: "overview",
|
|
323
|
+
communities: t,
|
|
324
|
+
communityStats: n,
|
|
325
|
+
communityFilter: "all",
|
|
326
|
+
communitySearchQuery: "",
|
|
327
|
+
revenueStats: r,
|
|
328
|
+
subscriptionTiers: i,
|
|
329
|
+
topContent: a,
|
|
330
|
+
revenueBreakdown: o,
|
|
331
|
+
creatorActiveTab: "overview",
|
|
332
|
+
creatorTimeRange: "30d",
|
|
333
|
+
recentActivity: s,
|
|
334
|
+
upcomingEvents: c,
|
|
335
|
+
setSelectedView: (t) => e({ selectedView: t }),
|
|
336
|
+
setWorkItems: (t) => e({ workItems: t }),
|
|
337
|
+
setCommunityFilter: (t) => e({ communityFilter: t }),
|
|
338
|
+
setCommunitySearchQuery: (t) => e({ communitySearchQuery: t }),
|
|
339
|
+
setCreatorActiveTab: (t) => e({ creatorActiveTab: t }),
|
|
340
|
+
setCreatorTimeRange: (t) => e({ creatorTimeRange: t })
|
|
341
|
+
}));
|
|
342
|
+
//#endregion
|
|
343
|
+
export { l as useComradeCircleStore };
|
|
344
|
+
|
|
345
|
+
//# sourceMappingURL=comradecircleStore.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"comradecircleStore.js","names":[],"sources":["../../../src/comradecircle/store/comradecircleStore.ts"],"sourcesContent":["import { create } from 'zustand';\nimport type {\n OverviewMetric,\n WorkItem,\n Community,\n CommunityStats,\n RevenueStats,\n SubscriptionTier,\n ContentPerformance,\n RevenueBreakdown,\n ActivityItem,\n CommunityEvent,\n} from '../types';\n\n// ── Mock Data ────────────────────────────────────────────────────────\n\nconst defaultCommunities: Community[] = [\n {\n id: '1',\n name: 'React Developers Hub',\n description:\n 'A thriving community for React enthusiasts, sharing tips, tutorials, and best practices.',\n memberCount: 15420,\n category: 'Technology',\n type: 'public',\n isOwner: true,\n isModerator: false,\n isMember: true,\n avatar: 'https://api.dicebear.com/7.x/shapes/svg?seed=react',\n lastActivity: '2 minutes ago',\n unreadMessages: 5,\n features: ['Live Events', 'Code Reviews', 'Job Board', 'Mentorship'],\n stats: { totalMessages: 24567, onlineMembers: 342, weeklyGrowth: 12, engagement: 89 },\n },\n {\n id: '2',\n name: 'Creator Economy Network',\n description:\n 'Monetize your content and connect with fellow creators. Share strategies, collaborate on projects.',\n memberCount: 8924,\n category: 'Business',\n type: 'premium',\n isOwner: false,\n isModerator: true,\n isMember: true,\n price: '$19.99/month',\n avatar: 'https://api.dicebear.com/7.x/shapes/svg?seed=creator',\n lastActivity: '15 minutes ago',\n unreadMessages: 12,\n features: ['Revenue Sharing', 'Analytics', 'Direct Support', 'Exclusive Content'],\n stats: { totalMessages: 15432, onlineMembers: 156, weeklyGrowth: 8, engagement: 94 },\n },\n {\n id: '3',\n name: 'Web3 Builders',\n description:\n 'Building the future of the decentralized web. Discuss DApps, smart contracts, and blockchain tech.',\n memberCount: 6234,\n category: 'Technology',\n type: 'public',\n isOwner: false,\n isModerator: false,\n isMember: true,\n avatar: 'https://api.dicebear.com/7.x/shapes/svg?seed=web3',\n lastActivity: '1 hour ago',\n features: ['NFT Showcase', 'DeFi Discussions', 'Code Audits'],\n stats: { totalMessages: 9876, onlineMembers: 89, weeklyGrowth: 15, engagement: 76 },\n },\n {\n id: '4',\n name: 'Digital Art Collective',\n description:\n 'A private space for serious digital artists to share work, get feedback, and collaborate.',\n memberCount: 1205,\n category: 'Creative',\n type: 'private',\n isOwner: false,\n isModerator: false,\n isMember: true,\n avatar: 'https://api.dicebear.com/7.x/shapes/svg?seed=art',\n lastActivity: '3 hours ago',\n unreadMessages: 3,\n features: ['Portfolio Reviews', 'Collaboration Tools', 'Commission Board'],\n stats: { totalMessages: 5432, onlineMembers: 45, weeklyGrowth: 5, engagement: 92 },\n },\n];\n\nconst defaultCommunityStats: CommunityStats = {\n totalCommunities: 12,\n ownedCommunities: 3,\n totalMembers: 45230,\n weeklyGrowth: 8.5,\n};\n\nconst defaultRevenueStats: RevenueStats = {\n totalRevenue: 15420.5,\n monthlyRevenue: 8945.3,\n subscribers: 1250,\n oneTimePurchases: 45,\n tips: 890.2,\n platformFee: 771.02,\n weeklyGrowth: 12.5,\n monthlyGrowth: 23.8,\n};\n\nconst defaultSubscriptionTiers: SubscriptionTier[] = [\n {\n id: '1',\n name: 'Basic Supporter',\n price: 9.99,\n subscribers: 850,\n description: 'Basic access to community and content',\n features: ['Community Access', 'Monthly Livestreams', 'Basic Support'],\n monthlyRevenue: 8491.5,\n growthRate: 15,\n },\n {\n id: '2',\n name: 'Premium Member',\n price: 24.99,\n subscribers: 320,\n description: 'Enhanced features and early access',\n features: [\n 'All Basic Features',\n 'Early Access Content',\n '1-on-1 Sessions',\n 'Exclusive Discord',\n ],\n monthlyRevenue: 7996.8,\n growthRate: 28,\n },\n {\n id: '3',\n name: 'VIP Creator',\n price: 99.99,\n subscribers: 80,\n description: 'Premium tier with direct access',\n features: [\n 'All Premium Features',\n 'Monthly 1-on-1 Call',\n 'Course Materials',\n 'Priority Support',\n ],\n monthlyRevenue: 7999.2,\n growthRate: 35,\n },\n];\n\nconst defaultTopContent: ContentPerformance[] = [\n {\n id: '1',\n title: 'React Hooks Deep Dive',\n type: 'video',\n publishDate: '2 days ago',\n views: 15420,\n likes: 892,\n comments: 156,\n revenue: 245.3,\n engagement: 6.8,\n },\n {\n id: '2',\n title: 'Building Scalable APIs',\n type: 'course',\n publishDate: '1 week ago',\n views: 8945,\n likes: 456,\n comments: 89,\n revenue: 1250.0,\n engagement: 6.1,\n },\n {\n id: '3',\n title: 'Live Coding Session',\n type: 'livestream',\n publishDate: '3 days ago',\n views: 3420,\n likes: 234,\n comments: 78,\n revenue: 89.5,\n engagement: 9.1,\n },\n];\n\nconst defaultRevenueBreakdown: RevenueBreakdown = {\n subscriptions: 24487.5,\n oneTime: 3250.0,\n tips: 890.2,\n merchandise: 450.0,\n};\n\nconst defaultRecentActivity: ActivityItem[] = [\n {\n id: '1',\n type: 'community',\n message: 'New member joined \"React Developers\"',\n time: '2 minutes ago',\n },\n { id: '2', type: 'message', message: 'You have 3 new messages', time: '5 minutes ago' },\n { id: '3', type: 'revenue', message: 'Subscription payment received', time: '1 hour ago' },\n {\n id: '4',\n type: 'event',\n message: 'Upcoming event \"Weekly Standup\" in 2 hours',\n time: '2 hours ago',\n },\n { id: '5', type: 'member', message: '15 new followers today', time: '3 hours ago' },\n { id: '6', type: 'content', message: 'Your post reached 1K views', time: '5 hours ago' },\n];\n\nconst defaultUpcomingEvents: CommunityEvent[] = [\n {\n id: '1',\n title: 'React Conf Watch Party',\n communityName: 'React Developers Hub',\n date: '2026-02-15T18:00:00Z',\n attendees: 245,\n type: 'virtual',\n status: 'upcoming',\n },\n {\n id: '2',\n title: 'Creator Monetization Workshop',\n communityName: 'Creator Economy Network',\n date: '2026-02-18T14:00:00Z',\n attendees: 128,\n type: 'virtual',\n status: 'upcoming',\n },\n {\n id: '3',\n title: 'Art Portfolio Review Night',\n communityName: 'Digital Art Collective',\n date: '2026-02-20T20:00:00Z',\n attendees: 56,\n type: 'virtual',\n status: 'upcoming',\n },\n];\n\n// ── Store Interface ──────────────────────────────────────────────────\n\ninterface ComradeCircleState {\n // Generic overview\n metrics: OverviewMetric[];\n workItems: WorkItem[];\n selectedView: string;\n\n // Communities\n communities: Community[];\n communityStats: CommunityStats;\n communityFilter: 'all' | 'owned' | 'moderated' | 'member';\n communitySearchQuery: string;\n\n // Creator / monetization\n revenueStats: RevenueStats;\n subscriptionTiers: SubscriptionTier[];\n topContent: ContentPerformance[];\n revenueBreakdown: RevenueBreakdown;\n creatorActiveTab: 'overview' | 'revenue' | 'analytics' | 'content';\n creatorTimeRange: '7d' | '30d' | '90d' | '1y';\n\n // Activity & events\n recentActivity: ActivityItem[];\n upcomingEvents: CommunityEvent[];\n\n // Actions\n setSelectedView: (view: string) => void;\n setWorkItems: (items: WorkItem[]) => void;\n setCommunityFilter: (filter: 'all' | 'owned' | 'moderated' | 'member') => void;\n setCommunitySearchQuery: (query: string) => void;\n setCreatorActiveTab: (tab: 'overview' | 'revenue' | 'analytics' | 'content') => void;\n setCreatorTimeRange: (range: '7d' | '30d' | '90d' | '1y') => void;\n}\n\nexport const useComradeCircleStore = create<ComradeCircleState>((set) => ({\n // Generic overview metrics\n metrics: [\n { label: 'Communities', value: '12', trend: '+16.7%' },\n { label: 'Followers', value: '45.2K', trend: '+8.5%' },\n { label: 'Revenue', value: '$15.4K', trend: '+23.8%' },\n { label: 'Engagement', value: '89%', trend: '+4.2%' },\n ],\n workItems: [\n {\n id: 'w1',\n title: 'Community guidelines update',\n status: 'active',\n owner: 'Moderation',\n updatedAt: '2h ago',\n },\n {\n id: 'w2',\n title: 'Creator onboarding flow v2',\n status: 'planned',\n owner: 'Product',\n updatedAt: '5h ago',\n },\n {\n id: 'w3',\n title: 'Content moderation backlog',\n status: 'at_risk',\n owner: 'Trust & Safety',\n updatedAt: '1d ago',\n },\n {\n id: 'w4',\n title: 'Event platform integration',\n status: 'completed',\n owner: 'Engineering',\n updatedAt: '2d ago',\n },\n ],\n selectedView: 'overview',\n\n // Communities\n communities: defaultCommunities,\n communityStats: defaultCommunityStats,\n communityFilter: 'all',\n communitySearchQuery: '',\n\n // Creator / monetization\n revenueStats: defaultRevenueStats,\n subscriptionTiers: defaultSubscriptionTiers,\n topContent: defaultTopContent,\n revenueBreakdown: defaultRevenueBreakdown,\n creatorActiveTab: 'overview',\n creatorTimeRange: '30d',\n\n // Activity & events\n recentActivity: defaultRecentActivity,\n upcomingEvents: defaultUpcomingEvents,\n\n // Actions\n setSelectedView: (view) => set({ selectedView: view }),\n setWorkItems: (items) => set({ workItems: items }),\n setCommunityFilter: (filter) => set({ communityFilter: filter }),\n setCommunitySearchQuery: (query) => set({ communitySearchQuery: query }),\n setCreatorActiveTab: (tab) => set({ creatorActiveTab: tab }),\n setCreatorTimeRange: (range) => set({ creatorTimeRange: range }),\n}));\n"],"mappings":";;AAgBA,IAAM,IAAkC;CACtC;EACE,IAAI;EACJ,MAAM;EACN,aACE;EACF,aAAa;EACb,UAAU;EACV,MAAM;EACN,SAAS;EACT,aAAa;EACb,UAAU;EACV,QAAQ;EACR,cAAc;EACd,gBAAgB;EAChB,UAAU;GAAC;GAAe;GAAgB;GAAa;GAAa;EACpE,OAAO;GAAE,eAAe;GAAO,eAAe;GAAK,cAAc;GAAI,YAAY;GAAI;EACtF;CACD;EACE,IAAI;EACJ,MAAM;EACN,aACE;EACF,aAAa;EACb,UAAU;EACV,MAAM;EACN,SAAS;EACT,aAAa;EACb,UAAU;EACV,OAAO;EACP,QAAQ;EACR,cAAc;EACd,gBAAgB;EAChB,UAAU;GAAC;GAAmB;GAAa;GAAkB;GAAoB;EACjF,OAAO;GAAE,eAAe;GAAO,eAAe;GAAK,cAAc;GAAG,YAAY;GAAI;EACrF;CACD;EACE,IAAI;EACJ,MAAM;EACN,aACE;EACF,aAAa;EACb,UAAU;EACV,MAAM;EACN,SAAS;EACT,aAAa;EACb,UAAU;EACV,QAAQ;EACR,cAAc;EACd,UAAU;GAAC;GAAgB;GAAoB;GAAc;EAC7D,OAAO;GAAE,eAAe;GAAM,eAAe;GAAI,cA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cAAc;CAGd,aAAa;CACb,gBAAgB;CAChB,iBAAiB;CACjB,sBAAsB;CAGtB,cAAc;CACd,mBAAmB;CACnB,YAAY;CACZ,kBAAkB;CAClB,kBAAkB;CAClB,kBAAkB;CAGlB,gBAAgB;CAChB,gBAAgB;CAGhB,kBAAkB,MAAS,EAAI,EAAE,cAAc,GAAM,CAAC;CACtD,eAAe,MAAU,EAAI,EAAE,WAAW,GAAO,CAAC;CAClD,qBAAqB,MAAW,EAAI,EAAE,iBAAiB,GAAQ,CAAC;CAChE,0BAA0B,MAAU,EAAI,EAAE,sBAAsB,GAAO,CAAC;CACxE,sBAAsB,MAAQ,EAAI,EAAE,kBAAkB,GAAK,CAAC;CAC5D,sBAAsB,MAAU,EAAI,EAAE,kBAAkB,GAAO,CAAC;CACjE,EAAE"}
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
|
|
3
|
+
export interface NavItem {
|
|
4
|
+
id: string;
|
|
5
|
+
label: string;
|
|
6
|
+
path: string;
|
|
7
|
+
icon?: React.ReactNode;
|
|
8
|
+
order?: number;
|
|
9
|
+
group?: string;
|
|
10
|
+
children?: NavItem[];
|
|
11
|
+
}
|
|
12
|
+
export interface FooterItem {
|
|
13
|
+
id: string;
|
|
14
|
+
label: string;
|
|
15
|
+
type: 'status' | 'action';
|
|
16
|
+
order?: number;
|
|
17
|
+
section: 'left' | 'center' | 'right';
|
|
18
|
+
}
|
|
19
|
+
export interface ComradeCircleRootProps {
|
|
20
|
+
basePath?: string;
|
|
21
|
+
workspaceId?: string;
|
|
22
|
+
tenantId?: string;
|
|
23
|
+
apiGatewayUrl?: string;
|
|
24
|
+
authToken?: string;
|
|
25
|
+
navigate?: (path: string) => void;
|
|
26
|
+
currentUser?: {
|
|
27
|
+
id: string;
|
|
28
|
+
email: string;
|
|
29
|
+
firstName?: string;
|
|
30
|
+
lastName?: string;
|
|
31
|
+
avatar?: string;
|
|
32
|
+
username?: string;
|
|
33
|
+
name?: string;
|
|
34
|
+
role?: string;
|
|
35
|
+
} | null;
|
|
36
|
+
registerNavItems?: (items: NavItem | NavItem[]) => () => void;
|
|
37
|
+
registerFooterItems?: (items: FooterItem | FooterItem[]) => () => void;
|
|
38
|
+
}
|
|
39
|
+
export interface OverviewMetric {
|
|
40
|
+
label: string;
|
|
41
|
+
value: string;
|
|
42
|
+
trend: string;
|
|
43
|
+
}
|
|
44
|
+
export interface WorkItem {
|
|
45
|
+
id: string;
|
|
46
|
+
title: string;
|
|
47
|
+
status: 'active' | 'planned' | 'at_risk' | 'completed';
|
|
48
|
+
owner: string;
|
|
49
|
+
updatedAt: string;
|
|
50
|
+
}
|
|
51
|
+
export type CommunityType = 'public' | 'private' | 'premium';
|
|
52
|
+
export interface Community {
|
|
53
|
+
id: string;
|
|
54
|
+
name: string;
|
|
55
|
+
description: string;
|
|
56
|
+
memberCount: number;
|
|
57
|
+
category: string;
|
|
58
|
+
type: CommunityType;
|
|
59
|
+
isOwner: boolean;
|
|
60
|
+
isModerator: boolean;
|
|
61
|
+
isMember: boolean;
|
|
62
|
+
avatar?: string;
|
|
63
|
+
price?: string;
|
|
64
|
+
lastActivity: string;
|
|
65
|
+
unreadMessages?: number;
|
|
66
|
+
features: string[];
|
|
67
|
+
stats: {
|
|
68
|
+
totalMessages: number;
|
|
69
|
+
onlineMembers: number;
|
|
70
|
+
weeklyGrowth: number;
|
|
71
|
+
engagement: number;
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
export interface CommunityStats {
|
|
75
|
+
totalCommunities: number;
|
|
76
|
+
ownedCommunities: number;
|
|
77
|
+
totalMembers: number;
|
|
78
|
+
weeklyGrowth: number;
|
|
79
|
+
}
|
|
80
|
+
export type ContentType = 'video' | 'article' | 'livestream' | 'course';
|
|
81
|
+
export interface ContentPerformance {
|
|
82
|
+
id: string;
|
|
83
|
+
title: string;
|
|
84
|
+
type: ContentType;
|
|
85
|
+
publishDate: string;
|
|
86
|
+
views: number;
|
|
87
|
+
likes: number;
|
|
88
|
+
comments: number;
|
|
89
|
+
revenue: number;
|
|
90
|
+
engagement: number;
|
|
91
|
+
}
|
|
92
|
+
export interface SubscriptionTier {
|
|
93
|
+
id: string;
|
|
94
|
+
name: string;
|
|
95
|
+
price: number;
|
|
96
|
+
subscribers: number;
|
|
97
|
+
description: string;
|
|
98
|
+
features: string[];
|
|
99
|
+
monthlyRevenue: number;
|
|
100
|
+
growthRate: number;
|
|
101
|
+
}
|
|
102
|
+
export interface RevenueStats {
|
|
103
|
+
totalRevenue: number;
|
|
104
|
+
monthlyRevenue: number;
|
|
105
|
+
subscribers: number;
|
|
106
|
+
oneTimePurchases: number;
|
|
107
|
+
tips: number;
|
|
108
|
+
platformFee: number;
|
|
109
|
+
weeklyGrowth: number;
|
|
110
|
+
monthlyGrowth: number;
|
|
111
|
+
}
|
|
112
|
+
export interface RevenueBreakdown {
|
|
113
|
+
subscriptions: number;
|
|
114
|
+
oneTime: number;
|
|
115
|
+
tips: number;
|
|
116
|
+
merchandise: number;
|
|
117
|
+
}
|
|
118
|
+
export interface ActivityItem {
|
|
119
|
+
id: string;
|
|
120
|
+
type: 'community' | 'message' | 'revenue' | 'event' | 'member' | 'content';
|
|
121
|
+
message: string;
|
|
122
|
+
time: string;
|
|
123
|
+
}
|
|
124
|
+
export interface CommunityEvent {
|
|
125
|
+
id: string;
|
|
126
|
+
title: string;
|
|
127
|
+
communityName: string;
|
|
128
|
+
date: string;
|
|
129
|
+
attendees: number;
|
|
130
|
+
type: 'virtual' | 'hybrid' | 'in-person';
|
|
131
|
+
status: 'upcoming' | 'live' | 'completed';
|
|
132
|
+
}
|
|
133
|
+
export interface CreatorProfile {
|
|
134
|
+
totalRevenue: RevenueStats;
|
|
135
|
+
subscriptionTiers: SubscriptionTier[];
|
|
136
|
+
topContent: ContentPerformance[];
|
|
137
|
+
revenueBreakdown: RevenueBreakdown;
|
|
138
|
+
}
|
|
139
|
+
export interface PlatformFeature {
|
|
140
|
+
icon: React.ComponentType<{
|
|
141
|
+
className?: string;
|
|
142
|
+
}>;
|
|
143
|
+
title: string;
|
|
144
|
+
description: string;
|
|
145
|
+
}
|
|
146
|
+
export interface PlatformStat {
|
|
147
|
+
number: string;
|
|
148
|
+
label: string;
|
|
149
|
+
description: string;
|
|
150
|
+
}
|
|
151
|
+
export type UserType = 'individual' | 'creator' | 'business' | 'enterprise';
|
|
152
|
+
export interface UserTypeOption {
|
|
153
|
+
id: UserType;
|
|
154
|
+
name: string;
|
|
155
|
+
icon: React.ComponentType<{
|
|
156
|
+
className?: string;
|
|
157
|
+
}>;
|
|
158
|
+
description: string;
|
|
159
|
+
price: string;
|
|
160
|
+
features: string[];
|
|
161
|
+
}
|
|
162
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/comradecircle/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAC;CACtB;AAED,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;CACtC;AAED,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ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,MAAM,CAAA;KAAE,CAAC,CAAC;IAClD,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,MAAM,QAAQ,GAAG,YAAY,GAAG,SAAS,GAAG,UAAU,GAAG,YAAY,CAAC;AAE5E,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,QAAQ,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,KAAK,CAAC,aAAa,CAAC;QAAE,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAClD,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,EAAE,CAAC;CACpB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cn.d.ts","sourceRoot":"","sources":["../../../src/comradecircle/utils/cn.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAQ,MAAM,MAAM,CAAC;AAG7C,wBAAgB,EAAE,CAAC,GAAG,MAAM,EAAE,UAAU,EAAE,UAEzC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"navigation.d.ts","sourceRoot":"","sources":["../../../src/comradecircle/utils/navigation.ts"],"names":[],"mappings":"AAAA,wBAAgB,QAAQ,CAAC,QAAQ,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,GAAG,MAAM,CAIvE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"navigation.js","names":[],"sources":["../../../src/comradecircle/utils/navigation.ts"],"sourcesContent":["export function joinPath(basePath: string, relativePath: string): string {\n const cleanBase = basePath.endsWith('/') ? basePath.slice(0, -1) : basePath;\n const cleanPath = relativePath.startsWith('/') ? relativePath : `/${relativePath}`;\n return cleanBase + cleanPath;\n}\n"],"mappings":";AAAA,SAAgB,EAAS,GAAkB,GAA8B;AAGvE,SAFkB,EAAS,SAAS,IAAI,GAAG,EAAS,MAAM,GAAG,GAAG,GAAG,MACjD,EAAa,WAAW,IAAI,GAAG,IAAe,IAAI"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../src/dev/main.tsx"],"names":[],"mappings":"AAIA,OAAO,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"global-operations.d.ts","sourceRoot":"","sources":["../../src/generated/global-operations.ts"],"names":[],"mappings":""}
|