2025-12-03 21:56:50 +00:00
|
|
|
/// <reference types="vite/client" />
|
|
|
|
|
|
|
|
|
|
interface ImportMetaEnv {
|
2025-12-16 19:40:16 +00:00
|
|
|
readonly VITE_API_URL: string;
|
|
|
|
|
readonly VITE_WS_URL: string;
|
2025-12-13 02:34:34 +00:00
|
|
|
readonly VITE_STREAM_URL: string;
|
2026-02-15 11:48:58 +00:00
|
|
|
readonly VITE_HLS_BASE_URL?: string;
|
2025-12-13 02:34:34 +00:00
|
|
|
readonly VITE_UPLOAD_URL: string;
|
|
|
|
|
readonly VITE_APP_NAME: string;
|
|
|
|
|
readonly VITE_DEBUG: string;
|
|
|
|
|
readonly VITE_USE_MSW: string;
|
2026-02-05 11:16:23 +00:00
|
|
|
readonly VITE_STORYBOOK?: string;
|
2025-12-13 02:34:34 +00:00
|
|
|
readonly VITE_FCM_VAPID_KEY: string;
|
2026-02-11 21:11:38 +00:00
|
|
|
/** Feature flags (optional) */
|
|
|
|
|
readonly VITE_FEATURE_TWO_FACTOR_AUTH?: string;
|
|
|
|
|
readonly VITE_FEATURE_PLAYLIST_COLLABORATION?: string;
|
|
|
|
|
readonly VITE_FEATURE_PLAYLIST_SEARCH?: string;
|
|
|
|
|
readonly VITE_FEATURE_PLAYLIST_SHARE?: string;
|
|
|
|
|
readonly VITE_FEATURE_PLAYLIST_RECOMMENDATIONS?: string;
|
|
|
|
|
readonly VITE_FEATURE_HLS_STREAMING?: string;
|
|
|
|
|
readonly VITE_FEATURE_ROLE_MANAGEMENT?: string;
|
|
|
|
|
readonly VITE_FEATURE_NOTIFICATIONS?: string;
|
2025-12-03 21:56:50 +00:00
|
|
|
// more env variables...
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
interface ImportMeta {
|
2025-12-13 02:34:34 +00:00
|
|
|
readonly env: ImportMetaEnv;
|
2025-12-03 21:56:50 +00:00
|
|
|
}
|
fix: stabilize frontend — 98 TS errors to 0, align API endpoints, optimize bundle
- Fix 98 TypeScript errors across 37 files:
- Service layer double-unwrapping (subscriptionService, distributionService, gearService)
- Self-referencing variables in SearchPageResults
- FeedView/ExploreView .posts→.items alignment
- useQueueSync Zustand subscribe API
- AdminAuditLogsView missing interface fields
- Toast proxy type, interceptor type narrowing
- 22 unused imports/variables removed
- 5 storybook mock data fixes
- Align frontend API calls with backend endpoints:
- Analytics: useAnalyticsView now calls /creator/analytics/dashboard (was /analytics)
- Chat: chatService uses /conversations (was mock data), WS URL from backend token
- Dashboard StatsSection: uses real /dashboard API data (was hardcoded zeros)
- Settings: suppress 2FA toast error when endpoint unavailable
- Fix marketplace products: seed uses 'active' status (was 'published')
- Enrich seed: admin follows all creators (feed has content)
- Optimize bundle: vendor catch-all 793KB→318KB gzip (-60%)
Split into vendor-charts, vendor-emoji, vendor-swagger, vendor-media, etc.
- Clean repo: remove ~100 orphaned screenshots, audit reports, logs from root
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 20:18:49 +00:00
|
|
|
|
|
|
|
|
declare module '@juspay-tech/react-hyper-js' {
|
|
|
|
|
export function useHyper(): unknown;
|
|
|
|
|
export function HyperElements(props: Record<string, unknown>): JSX.Element;
|
|
|
|
|
export function UnifiedCheckout(props: Record<string, unknown>): JSX.Element;
|
|
|
|
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
|
|
|
const _default: any;
|
|
|
|
|
export default _default;
|
|
|
|
|
}
|