veza/typecheck_output_v4.txt

300 lines
43 KiB
Text
Raw Normal View History

2026-01-07 18:39:21 +00:00
> veza-frontend@1.0.0 typecheck
> tsc --noEmit
src/app/App.tsx(4,1): error TS6133: 'TokenStorage' is declared but its value is never read.
src/app/App.tsx(29,9): error TS6133: 'isHydrating' is declared but its value is never read.
src/components/commerce/WishlistView.tsx(12,46): error TS2322: Type '"sample_pack"' is not assignable to type 'ProductType | undefined'.
src/components/commerce/WishlistView.tsx(13,47): error TS2322: Type '"preset"' is not assignable to type 'ProductType | undefined'.
src/components/commerce/WishlistView.tsx(14,38): error TS2322: Type '"sample_pack"' is not assignable to type 'ProductType | undefined'.
src/components/dashboard/TrackList.tsx(116,33): error TS2551: Property 'coverUrl' does not exist on type 'Track'. Did you mean 'cover_url'?
src/components/dashboard/TrackList.tsx(116,51): error TS2339: Property 'cover_art_path' does not exist on type 'Track'.
src/components/dashboard/TrackList.tsx(127,58): error TS2339: Property 'plays' does not exist on type 'Track'.
src/components/dashboard/TrackList.tsx(127,73): error TS2339: Property 'play_count' does not exist on type 'Track'.
src/components/dashboard/TrackList.tsx(127,105): error TS2339: Property 'plays' does not exist on type 'Track'.
src/components/dashboard/TrackList.tsx(127,120): error TS2339: Property 'play_count' does not exist on type 'Track'.
src/components/dashboard/TrackList.tsx(127,163): error TS2339: Property 'plays' does not exist on type 'Track'.
src/components/dashboard/TrackList.tsx(127,178): error TS2339: Property 'play_count' does not exist on type 'Track'.
src/components/education/MyCoursesView.tsx(32,38): error TS18048: 'c.progress' is possibly 'undefined'.
src/components/education/MyCoursesView.tsx(35,49): error TS18048: 'c.progress' is possibly 'undefined'.
src/components/education/MyCoursesView.tsx(35,67): error TS18048: 'c.progress' is possibly 'undefined'.
src/components/layout/AudioPlayer.tsx(78,55): error TS2551: Property 'coverUrl' does not exist on type 'Track'. Did you mean 'cover_url'?
src/components/layout/AudioPlayer.tsx(112,56): error TS2551: Property 'coverUrl' does not exist on type 'Track'. Did you mean 'cover_url'?
src/components/layout/AudioPlayer.tsx(151,52): error TS2551: Property 'coverUrl' does not exist on type 'Track'. Did you mean 'cover_url'?
src/components/layout/Navbar.tsx(17,14): error TS2322: Type '"system"' is not assignable to type '"error" | "success" | "info" | "warning"'.
src/components/layout/Navbar.tsx(18,14): error TS2322: Type '"like"' is not assignable to type '"error" | "success" | "info" | "warning"'.
src/components/layout/Navbar.tsx(19,14): error TS2322: Type '"follow"' is not assignable to type '"error" | "success" | "info" | "warning"'.
src/components/layout/Sidebar.tsx(91,9): error TS6133: 'handleNavigate' is declared but its value is never read.
src/components/library/AutoMetadataDetectionModal.tsx(20,35): error TS2304: Cannot find name 'useToast'.
src/components/library/playlists/AddToPlaylistModal.tsx(15,48): error TS2353: Object literal may only specify known properties, and 'creator' does not exist in type 'Playlist'.
src/components/library/playlists/AddToPlaylistModal.tsx(16,45): error TS2353: Object literal may only specify known properties, and 'creator' does not exist in type 'Playlist'.
src/components/library/playlists/AddToPlaylistModal.tsx(17,37): error TS2353: Object literal may only specify known properties, and 'creator' does not exist in type 'Playlist'.
src/components/library/playlists/AddToPlaylistModal.tsx(73,44): error TS2551: Property 'coverUrl' does not exist on type 'Playlist'. Did you mean 'cover_url'?
src/components/library/playlists/AddToPlaylistModal.tsx(76,78): error TS2551: Property 'trackCount' does not exist on type 'Playlist'. Did you mean 'track_count'?
src/components/library/playlists/EditPlaylistModal.tsx(20,53): error TS2551: Property 'isPublic' does not exist on type 'Playlist'. Did you mean 'is_public'?
src/components/library/playlists/EditPlaylistModal.tsx(21,67): error TS2339: Property 'isCollaborative' does not exist on type 'Playlist'.
src/components/library/playlists/EditPlaylistModal.tsx(29,42): error TS2561: Object literal may only specify known properties, but 'isPublic' does not exist in type 'Partial<Playlist>'. Did you mean to write 'is_public'?
src/components/library/playlists/EditPlaylistModal.tsx(66,36): error TS2551: Property 'coverUrl' does not exist on type 'Playlist'. Did you mean 'cover_url'?
src/components/library/playlists/PlaylistDetailView.tsx(30,5): error TS2322: Type '{ id: string; title: string; artist: string; album: string; coverUrl: string; duration: string; durationSec: number; plays: number; likes: number; }[]' is not assignable to type 'Track[]'.
Type '{ id: string; title: string; artist: string; album: string; coverUrl: string; duration: string; durationSec: number; plays: number; likes: number; }' is missing the following properties from type 'Track': creator_id, genre, year, file_path, and 11 more.
src/components/library/playlists/PlaylistDetailView.tsx(48,49): error TS2345: Argument of type 'Track[]' is not assignable to parameter of type 'Track[] | (() => Track[])'.
Type 'import("/home/senke/git/talas/veza/apps/web/src/types/api").Track[]' is not assignable to type 'import("/home/senke/git/talas/veza/apps/web/src/types/index").Track[]'.
Property 'file_url' is missing in type 'import("/home/senke/git/talas/veza/apps/web/src/types/api").Track' but required in type 'import("/home/senke/git/talas/veza/apps/web/src/types/index").Track'.
src/components/library/playlists/PlaylistDetailView.tsx(91,36): error TS2551: Property 'coverUrl' does not exist on type 'Playlist'. Did you mean 'cover_url'?
src/components/library/playlists/PlaylistDetailView.tsx(99,37): error TS2551: Property 'isPublic' does not exist on type 'Playlist'. Did you mean 'is_public'?
src/components/library/playlists/PlaylistDetailView.tsx(100,31): error TS2339: Property 'isCollaborative' does not exist on type 'Playlist'.
src/components/library/playlists/PlaylistDetailView.tsx(108,95): error TS2339: Property 'creator' does not exist on type 'Playlist'.
src/components/library/playlists/PlaylistDetailView.tsx(111,37): error TS2339: Property 'likes' does not exist on type 'Playlist'.
src/components/library/playlists/PlaylistDetailView.tsx(113,60): error TS2339: Property 'duration' does not exist on type 'Playlist'.
src/components/library/playlists/PlaylistDetailView.tsx(154,45): error TS2551: Property 'coverUrl' does not exist on type 'Track'. Did you mean 'cover_url'?
src/components/library/playlists/PlaylistDetailView.tsx(160,96): error TS2339: Property 'album' does not exist on type 'Track'.
src/components/library/playlists/PlaylistsView.tsx(36,55): error TS2353: Object literal may only specify known properties, and 'creator' does not exist in type 'Playlist'.
src/components/library/playlists/PlaylistsView.tsx(37,52): error TS2353: Object literal may only specify known properties, and 'creator' does not exist in type 'Playlist'.
src/components/library/playlists/PlaylistsView.tsx(84,39): error TS2551: Property 'coverUrl' does not exist on type 'Playlist'. Did you mean 'cover_url'?
src/components/library/playlists/PlaylistsView.tsx(85,52): error TS2551: Property 'coverUrl' does not exist on type 'Playlist'. Did you mean 'cover_url'?
src/components/library/playlists/PlaylistsView.tsx(95,44): error TS2551: Property 'isPublic' does not exist on type 'Playlist'. Did you mean 'is_public'?
src/components/library/playlists/PlaylistsView.tsx(100,124): error TS2339: Property 'creator' does not exist on type 'Playlist'.
src/components/library/playlists/PlaylistsView.tsx(102,49): error TS2551: Property 'trackCount' does not exist on type 'Playlist'. Did you mean 'track_count'?
src/components/library/playlists/PlaylistsView.tsx(103,43): error TS2551: Property 'isPublic' does not exist on type 'Playlist'. Did you mean 'is_public'?
src/components/library/playlists/QueueView.tsx(58,48): error TS2551: Property 'coverUrl' does not exist on type 'Track'. Did you mean 'cover_url'?
src/components/library/playlists/QueueView.tsx(117,49): error TS2551: Property 'coverUrl' does not exist on type 'Track'. Did you mean 'cover_url'?
src/components/marketplace/ProductCard.tsx(75,54): error TS2339: Property 'rating' does not exist on type 'Product'.
src/components/marketplace/ProductCard.tsx(76,59): error TS2339: Property 'reviewCount' does not exist on type 'Product'.
src/components/marketplace/ProductDetailView.tsx(32,78): error TS2339: Property 'licenses' does not exist on type 'Product'.
src/components/marketplace/ProductDetailView.tsx(36,35): error TS2339: Property 'licenses' does not exist on type 'Product'.
src/components/marketplace/ProductDetailView.tsx(77,26): error TS2339: Property 'images' does not exist on type 'Product'.
src/components/marketplace/ProductDetailView.tsx(77,44): error TS2339: Property 'images' does not exist on type 'Product'.
src/components/marketplace/ProductDetailView.tsx(79,34): error TS2339: Property 'images' does not exist on type 'Product'.
src/components/marketplace/ProductDetailView.tsx(104,143): error TS2339: Property 'rating' does not exist on type 'Product'.
src/components/marketplace/ProductDetailView.tsx(106,40): error TS2339: Property 'reviewCount' does not exist on type 'Product'.
src/components/marketplace/ProductDetailView.tsx(116,72): error TS2339: Property 'bpm' does not exist on type 'Product'.
src/components/marketplace/ProductDetailView.tsx(120,72): error TS2339: Property 'key' does not exist on type 'Product'.
src/components/marketplace/ProductDetailView.tsx(124,71): error TS2339: Property 'genre' does not exist on type 'Product'.
src/components/marketplace/ProductDetailView.tsx(128,62): error TS2339: Property 'size' does not exist on type 'Product'.
src/components/marketplace/ProductDetailView.tsx(138,34): error TS2339: Property 'licenses' does not exist on type 'Product'.
src/components/marketplace/ProductDetailView.tsx(179,38): error TS2339: Property 'features' does not exist on type 'Product'.
src/components/marketplace/ProductDetailView.tsx(191,34): error TS2339: Property 'reviews' does not exist on type 'Product'.
src/components/marketplace/ProductDetailView.tsx(206,36): error TS2339: Property 'reviews' does not exist on type 'Product'.
src/components/marketplace/ProductDetailView.tsx(206,55): error TS2339: Property 'reviews' does not exist on type 'Product'.
src/components/marketplace/ProductDetailView.tsx(215,18): error TS2304: Cannot find name 'UserCard'.
src/components/navigation/Pagination.tsx(101,50): error TS6133: 'action' is declared but its value is never read.
src/components/navigation/Pagination.tsx(101,70): error TS6133: 'alternativeAction' is declared but its value is never read.
src/components/notifications/NotificationItem.tsx(16,12): error TS2678: Type '"like"' is not comparable to type '"error" | "success" | "info" | "warning"'.
src/components/notifications/NotificationItem.tsx(17,12): error TS2678: Type '"follow"' is not comparable to type '"error" | "success" | "info" | "warning"'.
src/components/notifications/NotificationItem.tsx(18,12): error TS2678: Type '"mention"' is not comparable to type '"error" | "success" | "info" | "warning"'.
src/components/notifications/NotificationItem.tsx(19,12): error TS2678: Type '"sale"' is not comparable to type '"error" | "success" | "info" | "warning"'.
src/components/notifications/NotificationItem.tsx(20,12): error TS2678: Type '"security"' is not comparable to type '"error" | "success" | "info" | "warning"'.
src/components/notifications/NotificationItem.tsx(28,16): error TS2678: Type '"sale"' is not comparable to type '"error" | "success" | "info" | "warning"'.
src/components/notifications/NotificationItem.tsx(29,16): error TS2678: Type '"security"' is not comparable to type '"error" | "success" | "info" | "warning"'.
src/components/notifications/NotificationItem.tsx(42,27): error TS2339: Property 'text' does not exist on type 'Notification'.
src/components/notifications/NotificationItem.tsx(44,84): error TS2339: Property 'time' does not exist on type 'Notification'.
src/components/notifications/NotificationItem.tsx(57,25): error TS2339: Property 'actionUrl' does not exist on type 'Notification'.
src/components/player/FullPlayer.tsx(38,33): error TS2551: Property 'coverUrl' does not exist on type 'Track'. Did you mean 'cover_url'?
src/components/player/FullPlayer.tsx(62,39): error TS2551: Property 'coverUrl' does not exist on type 'Track'. Did you mean 'cover_url'?
src/components/player/FullPlayer.tsx(75,74): error TS2339: Property 'album' does not exist on type 'Track'.
src/components/player/FullPlayer.tsx(75,97): error TS2339: Property 'genre' does not exist on type 'Track'.
src/components/player/LyricsPanel.tsx(13,58): error TS2339: Property 'lyrics' does not exist on type 'Track'.
src/components/player/LyricsPanel.tsx(14,41): error TS2339: Property 'lyrics' does not exist on type 'Track'.
src/components/player/LyricsPanel.tsx(15,67): error TS2339: Property 'lyrics' does not exist on type 'Track'.
src/components/player/LyricsPanel.tsx(15,116): error TS2339: Property 'lyrics' does not exist on type 'Track'.
src/components/player/LyricsPanel.tsx(27,22): error TS2339: Property 'lyrics' does not exist on type 'Track'.
src/components/player/LyricsPanel.tsx(48,27): error TS2339: Property 'lyrics' does not exist on type 'Track'.
src/components/player/LyricsPanel.tsx(49,82): error TS2339: Property 'lyrics' does not exist on type 'Track'.
src/components/player/LyricsPanel.tsx(49,131): error TS2339: Property 'lyrics' does not exist on type 'Track'.
src/components/player/MiniPlayer.tsx(39,37): error TS2551: Property 'coverUrl' does not exist on type 'Track'. Did you mean 'cover_url'?
src/components/seller/SellerDashboardView.tsx(125,85): error TS2339: Property 'reviewCount' does not exist on type 'Product'.
src/components/seller/SellerDashboardView.tsx(125,117): error TS2339: Property 'rating' does not exist on type 'Product'.
src/components/settings/profile/EditProfile.tsx(84,30): error TS2551: Property 'firstName' does not exist on type 'User'. Did you mean 'first_name'?
src/components/settings/profile/EditProfile.tsx(85,29): error TS2551: Property 'lastName' does not exist on type 'User'. Did you mean 'last_name'?
src/components/settings/profile/EditProfile.tsx(92,18): error TS2339: Property 'banner' does not exist on type 'User'.
src/components/settings/profile/EditProfile.tsx(92,38): error TS2339: Property 'banner' does not exist on type 'User'.
src/components/settings/security/PasskeyModal.tsx(23,5): error TS2552: Cannot find name 'setStep'. Did you mean '_setStep'?
src/components/settings/security/PasskeyModal.tsx(24,5): error TS2552: Cannot find name 'setLoading'. Did you mean '_setLoading'?
src/components/settings/security/PasskeyModal.tsx(28,7): error TS2552: Cannot find name 'setLoading'. Did you mean '_setLoading'?
src/components/settings/security/PasskeyModal.tsx(29,7): error TS2552: Cannot find name 'setStep'. Did you mean '_setStep'?
src/components/settings/security/SecuritySettings.tsx(7,43): error TS2307: Cannot find module '../../auth/PasswordStrengthIndicator' or its corresponding type declarations.
src/components/settings/security/SecuritySettings.tsx(87,155): error TS2304: Cannot find name 'CheckCircle'.
src/components/settings/security/TwoFactorSetup.tsx(160,14): error TS2304: Cannot find name 'CheckCircle'.
src/components/social/ExploreView.tsx(51,32): error TS2551: Property 'coverUrl' does not exist on type 'Track'. Did you mean 'cover_url'?
src/components/social/ExploreView.tsx(52,28): error TS2339: Property 'likes' does not exist on type 'Track'.
src/components/social/ExploreView.tsx(90,55): error TS2552: Cannot find name 'Clock'. Did you mean 'Lock'?
src/components/studio/CloudFileBrowser.tsx(11,10): error TS6133: 'Loader2' is declared but its value is never read.
src/components/ui/ImageCropper.tsx(3,35): error TS2307: Cannot find module 'react-easy-crop' or its corresponding type declarations.
src/components/ui/ImageCropper.tsx(4,24): error TS2307: Cannot find module './Button' or its corresponding type declarations.
src/components/ui/ImageCropper.tsx(130,15): error TS2322: Type '{ image: string; crop: { x: number; y: number; }; zoom: number; rotation: number; aspect: number; onCropChange: (crop: { x: number; y: number; }) => void; onCropComplete: (_croppedArea: any, croppedAreaPixels: any) => void; onZoomChange: Dispatch<...>; cropShape: string; showGrid: boolean; }' is not assignable to type 'IntrinsicAttributes'.
Property 'image' does not exist on type 'IntrinsicAttributes'.
src/components/ui/LazyComponent.tsx(3,1): error TS6133: 'ErrorBoundary' is declared but its value is never read.
src/components/ui/LazyComponent.tsx(155,12): error TS2352: Conversion of type '{ default: () => JSX.Element; }' to type 'Promise<{ default: T; }>' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
Type '{ default: () => Element; }' is missing the following properties from type 'Promise<{ default: T; }>': then, catch, finally, [Symbol.toStringTag]
src/components/ui/checkbox.tsx(65,46): error TS2339: Property 'onChange' does not exist on type 'CheckboxProps'.
src/components/ui/checkbox.tsx(81,11): error TS6133: 'hasAccessibleLabel' is declared but its value is never read.
src/components/user/UserCard.tsx(32,19): error TS2339: Property 'fullName' does not exist on type 'Partial<User>'.
src/components/user/UserCard.tsx(42,61): error TS2551: Property 'stats' does not exist on type 'Partial<User>'. Did you mean 'status'?
src/components/user/UserCard.tsx(46,61): error TS2551: Property 'stats' does not exist on type 'Partial<User>'. Did you mean 'status'?
src/components/views/AuthView.tsx(3,27): error TS2307: Cannot find module '../auth/LoginForm' or its corresponding type declarations.
src/components/views/AuthView.tsx(4,30): error TS2307: Cannot find module '../auth/RegisterForm' or its corresponding type declarations.
src/components/views/AuthView.tsx(5,35): error TS2307: Cannot find module '../auth/EmailVerification' or its corresponding type declarations.
src/components/views/AuthView.tsx(6,36): error TS2307: Cannot find module '../auth/ForgotPasswordForm' or its corresponding type declarations.
src/components/views/AuthView.tsx(7,35): error TS2307: Cannot find module '../auth/ResetPasswordForm' or its corresponding type declarations.
src/components/views/AuthView.tsx(8,33): error TS2307: Cannot find module '../auth/TwoFactorVerify' or its corresponding type declarations.
src/components/views/AuthView.tsx(14,9): error TS6198: All destructured elements are unused.
src/components/views/ChatView.tsx(11,31): error TS2307: Cannot find module '../chat/MessageBubble' or its corresponding type declarations.
src/components/views/ChatView.tsx(12,33): error TS2307: Cannot find module '../chat/MessageComposer' or its corresponding type declarations.
src/components/views/ChatView.tsx(13,38): error TS2307: Cannot find module '../chat/ConversationListItem' or its corresponding type declarations.
src/components/views/ChatView.tsx(14,33): error TS2307: Cannot find module '../chat/modals/CreateRoomModal' or its corresponding type declarations.
src/components/views/ChatView.tsx(15,35): error TS2307: Cannot find module '../chat/modals/RoomSettingsModal' or its corresponding type declarations.
src/components/views/ChatView.tsx(16,33): error TS2307: Cannot find module '../chat/modals/UserStatusModal' or its corresponding type declarations.
src/components/views/ChatView.tsx(124,31): error TS2345: Argument of type '(prev: ChatMessage[]) => (ChatMessage | { id: string; sender: string; avatar: string; content: string; timestamp: string; isMe: boolean; type: string; })[]' is not assignable to parameter of type 'SetStateAction<ChatMessage[]>'.
Type '(prev: ChatMessage[]) => (ChatMessage | { id: string; sender: string; avatar: string; content: string; timestamp: string; isMe: boolean; type: string; })[]' is not assignable to type '(prevState: ChatMessage[]) => ChatMessage[]'.
Type '(ChatMessage | { id: string; sender: string; avatar: string; content: string; timestamp: string; isMe: boolean; type: string; })[]' is not assignable to type 'ChatMessage[]'.
Type 'ChatMessage | { id: string; sender: string; avatar: string; content: string; timestamp: string; isMe: boolean; type: string; }' is not assignable to type 'ChatMessage'.
Type '{ id: string; sender: string; avatar: string; content: string; timestamp: string; isMe: boolean; type: string; }' is missing the following properties from type 'ChatMessage': conversation_id, sender_id, created_at
src/components/views/DiscoverView.tsx(46,119): error TS2322: Type 'string' is not assignable to type 'number'.
src/components/views/DiscoverView.tsx(47,120): error TS2322: Type 'string' is not assignable to type 'number'.
src/components/views/DiscoverView.tsx(123,45): error TS2551: Property 'coverUrl' does not exist on type 'Track'. Did you mean 'cover_url'?
src/components/views/DiscoverView.tsx(132,97): error TS2339: Property 'plays' does not exist on type 'Track'.
src/components/views/DiscoverView.tsx(151,47): error TS2551: Property 'coverUrl' does not exist on type 'Track'. Did you mean 'cover_url'?
src/components/views/LiveView.tsx(64,143): error TS2304: Cannot find name 'Maximize2'.
src/components/views/MarketplaceView.tsx(62,57): error TS2367: This comparison appears to be unintentional because the types 'ProductType | undefined' and '"sample_pack"' have no overlap.
src/components/views/MarketplaceView.tsx(63,55): error TS2367: This comparison appears to be unintentional because the types 'ProductType | undefined' and '"beat"' have no overlap.
src/components/views/MarketplaceView.tsx(99,86): error TS2304: Cannot find name 'SlidersHorizontal'.
src/components/views/MarketplaceView.tsx(140,68): error TS2339: Property 'licenses' does not exist on type 'Product'.
src/components/views/NotificationsView.tsx(38,41): error TS2367: This comparison appears to be unintentional because the types '"error" | "success" | "info" | "warning"' and '"mention"' have no overlap.
src/components/views/NotificationsView.tsx(38,65): error TS2367: This comparison appears to be unintentional because the types '"error" | "success" | "info" | "warning"' and '"like"' have no overlap.
src/components/views/NotificationsView.tsx(38,86): error TS2367: This comparison appears to be unintentional because the types '"error" | "success" | "info" | "warning"' and '"follow"' have no overlap.
src/components/views/ProfileView.tsx(31,31): error TS2551: Property 'coverUrl' does not exist on type 'Track'. Did you mean 'cover_url'?
src/components/views/ProfileView.tsx(34,124): error TS2339: Property 'plays' does not exist on type 'Track'.
src/components/views/ProfileView.tsx(34,149): error TS2339: Property 'plays' does not exist on type 'Track'.
src/components/views/ProfileView.tsx(34,185): error TS2339: Property 'plays' does not exist on type 'Track'.
src/components/views/ProfileView.tsx(38,22): error TS2339: Property 'isPremium' does not exist on type 'Track'.
src/components/views/ProfileView.tsx(45,31): error TS2551: Property 'coverUrl' does not exist on type 'Track'. Did you mean 'cover_url'?
src/components/views/ProfileView.tsx(55,93): error TS2339: Property 'plays' does not exist on type 'Track'.
src/components/views/ProfileView.tsx(56,94): error TS2339: Property 'likes' does not exist on type 'Track'.
src/components/views/ProfileView.tsx(66,32): error TS2551: Property 'coverUrl' does not exist on type 'Playlist'. Did you mean 'cover_url'?
src/components/views/ProfileView.tsx(68,61): error TS2551: Property 'trackCount' does not exist on type 'Playlist'. Did you mean 'track_count'?
src/components/views/ProfileView.tsx(74,27): error TS2339: Property 'tags' does not exist on type 'Playlist'.
src/components/views/ProfileView.tsx(74,44): error TS2339: Property 'tags' does not exist on type 'Playlist'.
src/components/views/ProfileView.tsx(176,24): error TS2339: Property 'banner' does not exist on type 'User'.
src/components/views/ProfileView.tsx(177,37): error TS2339: Property 'banner' does not exist on type 'User'.
src/components/views/ProfileView.tsx(209,115): error TS2769: No overload matches this call.
Overload 1 of 4, '(value: string | number | Date): Date', gave the following error.
Argument of type 'string | undefined' is not assignable to parameter of type 'string | number | Date'.
Type 'undefined' is not assignable to type 'string | number | Date'.
Overload 2 of 4, '(value: string | number): Date', gave the following error.
Argument of type 'string | undefined' is not assignable to parameter of type 'string | number'.
Type 'undefined' is not assignable to type 'string | number'.
src/components/views/ProfileView.tsx(213,32): error TS2551: Property 'stats' does not exist on type 'User'. Did you mean 'status'?
src/components/views/ProfileView.tsx(213,64): error TS2551: Property 'stats' does not exist on type 'User'. Did you mean 'status'?
src/components/views/ProfileView.tsx(215,97): error TS2322: Type 'unknown' is not assignable to type 'ReactI18NextChildren | Iterable<ReactI18NextChildren>'.
src/components/views/ProfileView.tsx(251,32): error TS2339: Property 'website' does not exist on type 'User'.
src/components/views/ProfileView.tsx(254,46): error TS2339: Property 'website' does not exist on type 'User'.
src/components/views/ProfileView.tsx(254,83): error TS2339: Property 'website' does not exist on type 'User'.
src/components/views/ProfileView.tsx(254,112): error TS2339: Property 'website' does not exist on type 'User'.
src/components/views/ProfileView.tsx(254,193): error TS2339: Property 'website' does not exist on type 'User'.
src/components/views/ProfileView.tsx(257,32): error TS2339: Property 'socials' does not exist on type 'User'.
src/components/views/ProfileView.tsx(260,44): error TS2339: Property 'socials' does not exist on type 'User'.
src/components/views/ProfileView.tsx(263,32): error TS2339: Property 'socials' does not exist on type 'User'.
src/components/views/ProfileView.tsx(266,44): error TS2339: Property 'socials' does not exist on type 'User'.
src/components/views/ProfileView.tsx(292,21): error TS2322: Type '{ tabs: { id: string; label: string; }[]; activeTab: string; onChange: Dispatch<SetStateAction<string>>; variant: string; }' is not assignable to type 'IntrinsicAttributes & TabsProps & RefAttributes<HTMLDivElement>'.
Property 'tabs' does not exist on type 'IntrinsicAttributes & TabsProps & RefAttributes<HTMLDivElement>'.
src/components/views/ProfileView.tsx(315,59): error TS2551: Property 'coverUrl' does not exist on type 'Track'. Did you mean 'cover_url'?
src/components/views/ProfileView.tsx(346,63): error TS2551: Property 'coverUrl' does not exist on type 'Track'. Did you mean 'cover_url'?
src/components/views/ProfileView.tsx(350,93): error TS2339: Property 'plays' does not exist on type 'Track'.
src/components/views/SearchPageView.tsx(62,49): error TS2304: Cannot find name 'Disc'.
src/components/views/SearchPageView.tsx(160,57): error TS2551: Property 'coverUrl' does not exist on type 'Track'. Did you mean 'cover_url'?
src/components/views/SettingsView.tsx(23,11): error TS6198: All destructured elements are unused.
src/components/views/SettingsView.tsx(57,21): error TS2322: Type '{ tabs: { id: string; label: string; icon: Element; }[]; activeTab: string; onChange: Dispatch<SetStateAction<string>>; variant: string; className: string; }' is not assignable to type 'IntrinsicAttributes & TabsProps & RefAttributes<HTMLDivElement>'.
Property 'tabs' does not exist on type 'IntrinsicAttributes & TabsProps & RefAttributes<HTMLDivElement>'.
src/components/views/SocialView.tsx(86,47): error TS2551: Property 'coverUrl' does not exist on type 'Track'. Did you mean 'cover_url'?
src/components/views/SocialView.tsx(99,51): error TS2551: Property 'coverUrl' does not exist on type 'Track'. Did you mean 'cover_url'?
src/components/views/SocialView.tsx(106,79): error TS2339: Property 'genre' does not exist on type 'Track'.
src/components/views/SocialView.tsx(113,77): error TS2339: Property 'likes' does not exist on type 'Track'.
src/components/views/UploadView.tsx(83,37): error TS6133: 'metadata' is declared but its value is never read.
src/context/AudioContext.tsx(59,93): error TS2322: Type 'string' is not assignable to type 'number'.
src/context/AudioContext.tsx(60,94): error TS2322: Type 'string' is not assignable to type 'number'.
src/context/AudioContext.tsx(61,97): error TS2322: Type 'string' is not assignable to type 'number'.
src/context/AudioContext.tsx(62,77): error TS2322: Type 'string' is not assignable to type 'number'.
src/context/AudioContext.tsx(63,88): error TS2322: Type 'string' is not assignable to type 'number'.
src/context/AudioContext.tsx(95,36): error TS2551: Property 'durationSec' does not exist on type 'Track'. Did you mean 'duration'?
src/context/AudioContext.tsx(121,47): error TS2551: Property 'durationSec' does not exist on type 'Track'. Did you mean 'duration'?
src/context/AudioContext.tsx(186,56): error TS2551: Property 'durationSec' does not exist on type 'Track'. Did you mean 'duration'?
src/context/AudioContext.tsx(218,95): error TS2551: Property 'durationSec' does not exist on type 'Track'. Did you mean 'duration'?
src/context/CartContext.tsx(40,11): error TS2741: Property 'rating' is missing in type '{ cartId: string; selectedLicense: ProductLicense | undefined; id: string; seller_id: string; title: string; description: string; price: number; currency: string; status: ProductStatus; ... 8 more ...; author?: string; }' but required in type 'CartItem'.
src/features/auth/hooks/useLogin.ts(3,1): error TS6133: 'loginService' is declared but its value is never read.
src/features/auth/hooks/useLogin.ts(7,36): error TS7006: Parameter 'state' implicitly has an 'any' type.
src/features/auth/hooks/useLogout.ts(9,37): error TS7006: Parameter 'state' implicitly has an 'any' type.
src/features/auth/hooks/useRegister.ts(7,39): error TS7006: Parameter 'state' implicitly has an 'any' type.
src/features/auth/store/authStore.ts(35,14): error TS7022: 'useAuthStore' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer.
src/features/auth/store/authStore.ts(217,7): error TS7023: 'refreshUser' implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions.
src/features/auth/store/authStore.ts(220,15): error TS7022: 'currentState' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer.
src/features/chat/components/ChatInterface.tsx(231,22): error TS2322: Type '{ children: Element[]; className: string; }' is not assignable to type 'IntrinsicAttributes & AvatarProps & RefAttributes<HTMLDivElement>'.
Property 'children' does not exist on type 'IntrinsicAttributes & AvatarProps & RefAttributes<HTMLDivElement>'.
src/features/library/pages/LibraryPage.tsx(98,17): error TS2339: Property 'search' does not exist on type 'GetTracksParams'.
src/features/profile/pages/UserProfilePage.tsx(134,18): error TS2322: Type '{ children: Element[]; className: string; }' is not assignable to type 'IntrinsicAttributes & AvatarProps & RefAttributes<HTMLDivElement>'.
Property 'children' does not exist on type 'IntrinsicAttributes & AvatarProps & RefAttributes<HTMLDivElement>'.
src/features/settings/services/settingsService.ts(50,3): error TS6133: 'userId' is declared but its value is never read.
src/features/tracks/api/trackApi.ts(305,17): error TS2339: Property 'search' does not exist on type 'Omit<GetTracksParams, "limit" | "page">'.
src/features/tracks/api/trackApi.ts(306,43): error TS2339: Property 'search' does not exist on type 'Omit<GetTracksParams, "limit" | "page">'.
src/features/tracks/components/CommentThread.tsx(143,12): error TS2322: Type '{ children: Element[]; className: string; }' is not assignable to type 'IntrinsicAttributes & AvatarProps & RefAttributes<HTMLDivElement>'.
Property 'children' does not exist on type 'IntrinsicAttributes & AvatarProps & RefAttributes<HTMLDivElement>'.
src/pages/DesignSystemDemo.tsx(308,56): error TS2322: Type '{ children: string; variant: "graffiti"; onMouseEnter: (e: MouseEvent<HTMLButtonElement, MouseEvent>) => void; }' is not assignable to type 'IntrinsicAttributes & ButtonProps'.
Property 'onMouseEnter' does not exist on type 'IntrinsicAttributes & ButtonProps'.
src/pages/SearchPage.tsx(303,38): error TS2559: Type '{ children: Element[]; }' has no properties in common with type 'IntrinsicAttributes & AvatarProps & RefAttributes<HTMLDivElement>'.
src/pages/SearchPage.tsx(453,34): error TS2559: Type '{ children: Element[]; }' has no properties in common with type 'IntrinsicAttributes & AvatarProps & RefAttributes<HTMLDivElement>'.
src/pages/marketplace/MarketplaceHome.tsx(63,51): error TS2339: Property 'fetchProducts' does not exist on type '{ listProducts: (_params?: { status?: string | undefined; seller_id?: string | undefined; } | undefined) => Promise<Product[]>; createProduct: (productData: any) => Promise<...>; createOrder: (_items: { ...; }[]) => Promise<...>; listOrders: () => Promise<...>; }'.
src/pages/marketplace/MarketplaceHome.tsx(95,32): error TS2339: Property 'purchaseProduct' does not exist on type '{ listProducts: (_params?: { status?: string | undefined; seller_id?: string | undefined; } | undefined) => Promise<Product[]>; createProduct: (productData: any) => Promise<...>; createOrder: (_items: { ...; }[]) => Promise<...>; listOrders: () => Promise<...>; }'.
src/services/analyticsService.ts(26,23): error TS6133: 'eventName' is declared but its value is never read.
src/services/analyticsService.ts(26,42): error TS6133: 'payload' is declared but its value is never read.
src/services/api.ts(35,7): error TS7053: Element implicitly has an 'any' type because expression of type '"Authorization"' can't be used to index type 'HeadersInit'.
Property 'Authorization' does not exist on type 'HeadersInit'.
src/services/api/auth.ts(247,9): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
Type 'undefined' is not assignable to type 'string'.
src/services/api/client.ts(11,1): error TS6192: All imports in import declaration are unused.
src/services/api/client.ts(646,33): error TS7006: Parameter 'err' implicitly has an 'any' type.
src/services/api/client.ts(756,35): error TS7006: Parameter 'err' implicitly has an 'any' type.
src/services/authService.ts(11,3): error TS2561: Object literal may only specify known properties, but 'firstName' does not exist in type 'User'. Did you mean to write 'first_name'?
src/services/chatService.ts(53,32): error TS2353: Object literal may only specify known properties, and 'count' does not exist in type 'MessageReaction'.
src/services/chatService.ts(56,14): error TS2353: Object literal may only specify known properties, and 'sender' does not exist in type 'ChatMessage'.
src/services/chatService.ts(62,14): error TS2353: Object literal may only specify known properties, and 'sender' does not exist in type 'ChatMessage'.
src/services/chatService.ts(87,14): error TS2352: Conversion of type '{ id: string; sender: string; senderRole: string; roleColor: string; avatar: string; content: any; timestamp: string; isMe: boolean; type: any; attachmentUrl: any; }' to type 'ChatMessage' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
Type '{ id: string; sender: string; senderRole: string; roleColor: string; avatar: string; content: any; timestamp: string; isMe: boolean; type: any; attachmentUrl: any; }' is missing the following properties from type 'ChatMessage': conversation_id, sender_id, created_at
src/services/marketplaceService.ts(5,48): error TS2322: Type '"sample_pack"' is not assignable to type 'ProductType | undefined'.
src/services/marketplaceService.ts(6,48): error TS2322: Type '"preset"' is not assignable to type 'ProductType | undefined'.
src/services/marketplaceService.ts(7,46): error TS2322: Type '"beat"' is not assignable to type 'ProductType | undefined'.
src/services/marketplaceService.ts(8,43): error TS2322: Type '"sample_pack"' is not assignable to type 'ProductType | undefined'.
src/services/marketplaceService.ts(9,47): error TS2322: Type '"sample_pack"' is not assignable to type 'ProductType | undefined'.
src/services/playlistService.ts(5,47): error TS2353: Object literal may only specify known properties, and 'creator' does not exist in type 'Playlist'.
src/services/playlistService.ts(6,44): error TS2353: Object literal may only specify known properties, and 'creator' does not exist in type 'Playlist'.
src/services/playlistService.ts(7,36): error TS2353: Object literal may only specify known properties, and 'creator' does not exist in type 'Playlist'.
src/services/searchService.ts(9,11): error TS2322: Type '{ id: string; title: string; artist: string; album: string; duration: string; durationSec: number; plays: number; likes: number; coverUrl: string; genre: string; status: string; }[]' is not assignable to type 'Track[]'.
Type '{ id: string; title: string; artist: string; album: string; duration: string; durationSec: number; plays: number; likes: number; coverUrl: string; genre: string; status: string; }' is missing the following properties from type 'Track': file_url, created_at, updated_at
src/services/searchService.ts(14,11): error TS2322: Type '({ id: string; username: string; fullName: string; avatar: string; roles: string[]; status: "online"; email: string; joinDate: string; tier: "Pro"; bio: string; stats: { followers: number; following: number; tracks: number; plays: number; }; } | { ...; })[]' is not assignable to type 'User[]'.
Type '{ id: string; username: string; fullName: string; avatar: string; roles: string[]; status: "online"; email: string; joinDate: string; tier: "Pro"; bio: string; stats: { followers: number; following: number; tracks: number; plays: number; }; } | { ...; }' is not assignable to type 'User'.
Type '{ id: string; username: string; fullName: string; avatar: string; roles: string[]; status: "online"; email: string; joinDate: string; tier: "Pro"; bio: string; stats: { followers: number; following: number; tracks: number; plays: number; }; }' is missing the following properties from type 'User': role, is_active, is_verified, is_admin, and 3 more.
src/services/socialService.ts(15,16): error TS2322: Type '"system"' is not assignable to type '"error" | "success" | "info" | "warning"'.
src/services/socialService.ts(16,16): error TS2322: Type '"like"' is not assignable to type '"error" | "success" | "info" | "warning"'.
src/services/trackService.ts(11,3): error TS2322: Type 'string' is not assignable to type 'number'.
src/services/trackService.ts(55,21): error TS2339: Property 'genre' does not exist on type 'Partial<Track>'.
src/services/trackService.ts(56,21): error TS2339: Property 'album' does not exist on type 'Partial<Track>'.
src/services/userService.ts(8,3): error TS2561: Object literal may only specify known properties, but 'firstName' does not exist in type 'User'. Did you mean to write 'first_name'?
src/services/userService.ts(25,5): error TS2352: Conversion of type '{ id: string; username: string; fullName: string; email: string; avatar: string; roles: string[]; status: "dnd"; joinDate: string; tier: string; stats: { followers: number; following: number; tracks: number; plays: number; }; lastLogin: string; }' to type 'User' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
Type '{ id: string; username: string; fullName: string; email: string; avatar: string; roles: string[]; status: "dnd"; joinDate: string; tier: string; stats: { followers: number; following: number; tracks: number; plays: number; }; lastLogin: string; }' is missing the following properties from type 'User': role, is_active, is_verified, is_admin, and 3 more.
src/services/userService.ts(26,5): error TS2352: Conversion of type '{ id: string; username: string; fullName: string; email: string; avatar: string; roles: never[]; status: "offline"; joinDate: string; tier: string; stats: { followers: number; following: number; tracks: number; plays: number; }; lastLogin: string; }' to type 'User' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
Type '{ id: string; username: string; fullName: string; email: string; avatar: string; roles: never[]; status: "offline"; joinDate: string; tier: string; stats: { followers: number; following: number; tracks: number; plays: number; }; lastLogin: string; }' is missing the following properties from type 'User': role, is_active, is_verified, is_admin, and 3 more.
src/services/userService.ts(27,5): error TS2352: Conversion of type '{ id: string; username: string; fullName: string; email: string; avatar: string; roles: string[]; status: "online"; joinDate: string; tier: string; stats: { followers: number; following: number; tracks: number; plays: number; }; lastLogin: string; }' to type 'User' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
Type '{ id: string; username: string; fullName: string; email: string; avatar: string; roles: string[]; status: "online"; joinDate: string; tier: string; stats: { followers: number; following: number; tracks: number; plays: number; }; lastLogin: string; }' is missing the following properties from type 'User': role, is_active, is_verified, is_admin, and 3 more.
src/services/userService.ts(28,5): error TS2352: Conversion of type '{ id: string; username: string; fullName: string; email: string; avatar: string; roles: string[]; status: "idle"; joinDate: string; tier: string; stats: { followers: number; following: number; tracks: number; plays: number; }; lastLogin: string; }' to type 'User' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
Type '{ id: string; username: string; fullName: string; email: string; avatar: string; roles: string[]; status: "idle"; joinDate: string; tier: string; stats: { followers: number; following: number; tracks: number; plays: number; }; lastLogin: string; }' is missing the following properties from type 'User': role, is_active, is_verified, is_admin, and 3 more.
src/types/index.ts(214,1): error TS2308: Module './marketplace' has already exported a member named 'Product'. Consider explicitly re-exporting to resolve the ambiguity.
src/utils/storeSelectors.ts(22,45): error TS18046: 'state' is of type 'unknown'.
src/utils/storeSelectors.ts(27,22): error TS18046: 'state' is of type 'unknown'.
src/utils/storeSelectors.ts(28,16): error TS18046: 'state' is of type 'unknown'.
src/utils/storeSelectors.ts(29,12): error TS18046: 'state' is of type 'unknown'.
src/utils/storeSelectors.ts(35,12): error TS18046: 'state' is of type 'unknown'.
src/utils/storeSelectors.ts(36,15): error TS18046: 'state' is of type 'unknown'.
src/utils/storeSelectors.ts(37,13): error TS18046: 'state' is of type 'unknown'.
src/utils/storeSelectors.ts(38,18): error TS18046: 'state' is of type 'unknown'.
src/utils/storeSelectors.ts(39,22): error TS18046: 'state' is of type 'unknown'.
src/utils/storeSelectors.ts(40,17): error TS18046: 'state' is of type 'unknown'.
src/utils/storeSelectors.ts(41,17): error TS18046: 'state' is of type 'unknown'.