Update Saqel Platform: 2026-09-05 23:24:49
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
/// Global Application Configuration for Saqel Teacher Studio
|
||||
class AppConfig {
|
||||
AppConfig._();
|
||||
|
||||
// Official Live Saqel API Gateway
|
||||
static const String productionBaseUrl = 'https://saqel.intaleqapp.com';
|
||||
static const String localBaseUrl = 'http://127.0.0.1:8000';
|
||||
|
||||
// Active Base URL (defaults to production)
|
||||
static String baseUrl = productionBaseUrl;
|
||||
|
||||
// Real-time WebSocket Gateway
|
||||
static const String productionWsUrl = 'wss://saqel.intaleqapp.com/ws';
|
||||
static const String localWsUrl = 'ws://127.0.0.1:4240';
|
||||
static String wsUrl = productionWsUrl;
|
||||
|
||||
static const String appNameAr = 'صَقِل — استوديو المعلم المعتمد';
|
||||
static const String appNameEn = 'Saqel Teacher Studio';
|
||||
|
||||
// Authentication Endpoints
|
||||
static const String otpRequestEndpoint = '/api/auth/otp/request';
|
||||
static const String otpVerifyEndpoint = '/api/auth/otp/verify';
|
||||
static const String meEndpoint = '/api/auth/me';
|
||||
static const String logoutEndpoint = '/api/auth/logout';
|
||||
|
||||
// Teacher Studio Endpoints
|
||||
static const String profileStatusEndpoint = '/api/teacher/profile/status';
|
||||
static const String profileSetupEndpoint = '/api/teacher/profile/setup';
|
||||
static const String dashboardEndpoint = '/api/teacher/dashboard';
|
||||
static const String coursesEndpoint = '/api/teacher/courses';
|
||||
static const String lessonsEndpoint = '/api/teacher/lessons';
|
||||
static const String broadcastEndpoint = '/api/teacher/broadcast';
|
||||
static const String monetizationEndpoint = '/api/teacher/monetization';
|
||||
static const String reputationEndpoint = '/api/teacher/reputation';
|
||||
static const String auditVideoEndpoint = '/api/teacher/audit-studio-video';
|
||||
static const String cliqPayoutEndpoint = '/api/teacher/payout/request';
|
||||
|
||||
// Chat & Real-Time Inquiries Endpoints
|
||||
static const String chatConversationsEndpoint = '/api/chat/conversations';
|
||||
static const String chatMessagesEndpoint = '/api/chat/messages';
|
||||
static const String chatReadEndpoint = '/api/chat/read';
|
||||
}
|
||||
Reference in New Issue
Block a user