- Introduce SUPER_ADMIN, ADMIN, CUSTOMER_SUPPORT with admin-roles helpers and useAdminRole hook - New pages: subscription transactions, system members, issues, FAQ & support, notification broadcast - Services and API paths for admin subscription-transactions, system-members, issues, faq, broadcast - Nav and quick search filtered by role; login accepts all panel roles Made-with: Cursor
76 lines
2.4 KiB
TypeScript
76 lines
2.4 KiB
TypeScript
// Export all services from a single entry point
|
|
export { authService } from "./auth.service";
|
|
export { userService } from "./user.service";
|
|
export { analyticsService } from "./analytics.service";
|
|
export { securityService } from "./security.service";
|
|
export { systemService } from "./system.service";
|
|
export { announcementService } from "./announcement.service";
|
|
export { auditService } from "./audit.service";
|
|
export { settingsService } from "./settings.service";
|
|
export { dashboardService } from "./dashboard.service";
|
|
export { notificationService } from "./notification.service";
|
|
export { paymentService } from "./payment.service";
|
|
export { invoiceService } from "./invoice.service";
|
|
export { subscriptionTransactionService } from "./subscription-transaction.service";
|
|
export { systemMemberService } from "./system-member.service";
|
|
export { issueService } from "./issue.service";
|
|
export { faqService } from "./faq.service";
|
|
|
|
// Export types
|
|
export type { LoginRequest, LoginResponse } from "./auth.service";
|
|
export type { User, GetUsersParams, PaginatedResponse } from "./user.service";
|
|
export type {
|
|
OverviewStats,
|
|
UserGrowthData,
|
|
RevenueData,
|
|
} from "./analytics.service";
|
|
export type {
|
|
SuspiciousActivity,
|
|
ActiveSession,
|
|
FailedLogin,
|
|
ApiKey,
|
|
} from "./security.service";
|
|
export type {
|
|
HealthStatus,
|
|
SystemInfo,
|
|
MaintenanceStatus,
|
|
} from "./system.service";
|
|
export type {
|
|
Announcement,
|
|
CreateAnnouncementData,
|
|
UpdateAnnouncementData,
|
|
} from "./announcement.service";
|
|
export type { AuditLog, GetAuditLogsParams, AuditStats } from "./audit.service";
|
|
export type {
|
|
Setting,
|
|
CreateSettingData,
|
|
UpdateSettingData,
|
|
} from "./settings.service";
|
|
export type { UserDashboardStats, UserProfile } from "./dashboard.service";
|
|
export type {
|
|
Notification,
|
|
NotificationSettings,
|
|
} from "./notification.service";
|
|
export type {
|
|
Payment,
|
|
PaymentRequest,
|
|
PaymentFilters,
|
|
PaymentRequestFilters,
|
|
} from "./payment.service";
|
|
export type {
|
|
Invoice,
|
|
Proforma,
|
|
ProformaRequest,
|
|
ProformaRequestItem,
|
|
InvoiceFilters,
|
|
ProformaFilters,
|
|
ProformaRequestFilters,
|
|
} from "./invoice.service";
|
|
export type {
|
|
SubscriptionTransaction,
|
|
SubscriptionPaymentStatus,
|
|
} from "./subscription-transaction.service";
|
|
export type { SystemMember, CreateSystemMemberPayload } from "./system-member.service";
|
|
export type { SupportIssue, IssueStatus } from "./issue.service";
|
|
export type { FaqEntry, FaqAudience } from "./faq.service";
|