chore: clean root directory, move design system files, update .gitignore
This commit is contained in:
parent
1b25013c6f
commit
35511ce9ca
23 changed files with 5 additions and 24932 deletions
5
.gitignore
vendored
5
.gitignore
vendored
|
|
@ -54,6 +54,11 @@ temp/
|
|||
.turbo/
|
||||
coverage/
|
||||
coverage-final.json
|
||||
typecheck*.txt
|
||||
output*.txt
|
||||
design_system*.html
|
||||
*_design_system*.html
|
||||
MODULE.bazel.lock
|
||||
|
||||
### Test artifacts
|
||||
*.test
|
||||
|
|
|
|||
1604
MODULE.bazel.lock
1604
MODULE.bazel.lock
File diff suppressed because it is too large
Load diff
|
|
@ -1,4 +0,0 @@
|
|||
|
||||
> veza-frontend@1.0.0 typecheck
|
||||
> tsc --noEmit
|
||||
|
||||
|
|
@ -1,328 +0,0 @@
|
|||
|
||||
> veza-frontend@1.0.0 typecheck
|
||||
> tsc --noEmit
|
||||
|
||||
src/components/forms/FormBuilder.tsx(256,33): error TS2345: Argument of type 'string | false' is not assignable to parameter of type 'boolean'.
|
||||
Type 'string' is not assignable to type 'boolean'.
|
||||
src/components/player/AudioPlayer.tsx(1,8): error TS6133: 'React' is declared but its value is never read.
|
||||
src/components/player/AudioPlayer.tsx(2,32): error TS2307: Cannot find module '@/stores/player' or its corresponding type declarations.
|
||||
src/components/player/AudioPlayer.tsx(6,26): error TS2307: Cannot find module '@/hooks/use-toast' or its corresponding type declarations.
|
||||
src/components/player/QueuePanel.tsx(1,1): error TS6133: 'React' is declared but its value is never read.
|
||||
src/components/player/QueuePanel.tsx(2,32): error TS2307: Cannot find module '@/stores/player' or its corresponding type declarations.
|
||||
src/components/player/QueuePanel.tsx(4,28): error TS2307: Cannot find module '@/components/ui/scroll-area' or its corresponding type declarations.
|
||||
src/components/player/QueuePanel.tsx(30,25): error TS7006: Parameter 'track' implicitly has an 'any' type.
|
||||
src/components/player/QueuePanel.tsx(30,32): error TS7006: Parameter 'index' implicitly has an 'any' type.
|
||||
src/components/search/Search.tsx(2,23): error TS2305: Module '"@/hooks/useDebounce"' has no exported member 'useLocalStorage'.
|
||||
src/components/search/Search.tsx(170,23): error TS7006: Parameter 'prev' implicitly has an 'any' type.
|
||||
src/components/search/Search.tsx(171,43): error TS7006: Parameter 'item' implicitly has an 'any' type.
|
||||
src/components/search/Search.tsx(225,37): error TS7006: Parameter 'item' implicitly has an 'any' type.
|
||||
src/components/search/Search.tsx(307,47): error TS7006: Parameter 'item' implicitly has an 'any' type.
|
||||
src/components/search/Search.tsx(307,53): error TS7006: Parameter 'index' implicitly has an 'any' type.
|
||||
src/components/ui/LazyComponent.tsx(19,10): error TS2322: Type 'ComponentProps<T> & LazyComponentProps' is not assignable to type 'IntrinsicAttributes & (T extends MemoExoticComponent<infer U extends ComponentType<any>> | LazyExoticComponent<infer U extends ComponentType<...>> ? ReactManagedAttributes<...> : ReactManagedAttributes<...>)'.
|
||||
Type 'ComponentProps<T> & LazyComponentProps' is not assignable to type 'T extends MemoExoticComponent<infer U extends ComponentType<any>> | LazyExoticComponent<infer U extends ComponentType<any>> ? ReactManagedAttributes<...> : ReactManagedAttributes<...>'.
|
||||
src/components/ui/LazyComponent.tsx(30,9): error TS2322: Type 'Promise<typeof import("/home/senke/git/talas/veza/apps/web/src/features/chat/pages/ChatPage")>' is not assignable to type 'Promise<{ default: ComponentType<any>; }>'.
|
||||
Property 'default' is missing in type 'typeof import("/home/senke/git/talas/veza/apps/web/src/features/chat/pages/ChatPage")' but required in type '{ default: ComponentType<any>; }'.
|
||||
src/components/ui/LazyComponent.tsx(39,16): error TS2307: Cannot find module '@/features/settings/pages/SettingsPage' or its corresponding type declarations.
|
||||
src/components/ui/LazyComponent.tsx(66,16): error TS2307: Cannot find module '@/features/profile/pages/UserProfilePage' or its corresponding type declarations.
|
||||
src/components/ui/LazyComponent.tsx(69,16): error TS2307: Cannot find module '@/features/roles/pages/RolesPage' or its corresponding type declarations.
|
||||
src/components/ui/LazyComponent.tsx(72,16): error TS2307: Cannot find module '@/features/tracks/pages/TrackDetailPage' or its corresponding type declarations.
|
||||
src/components/ui/LazyComponent.tsx(75,16): error TS2307: Cannot find module '@/features/playlists/routes' or its corresponding type declarations.
|
||||
src/components/ui/LazyComponent.tsx(78,16): error TS2307: Cannot find module '@/pages/marketplace/MarketplaceHome' or its corresponding type declarations.
|
||||
src/components/ui/date-picker.tsx(37,10): error TS6133: 'open' is declared but its value is never read.
|
||||
src/components/ui/dialog.tsx(131,3): error TS6133: 'variant' is declared but its value is never read.
|
||||
src/components/ui/file-upload.tsx(5,21): error TS6133: 'File' is declared but its value is never read.
|
||||
src/components/ui/optimized-image.tsx(2,41): error TS2307: Cannot find module '@/hooks/useIntersectionObserver' or its corresponding type declarations.
|
||||
src/components/ui/optimized-image.tsx(299,6): error TS2322: Type '{ children: Element; src: string; alt: string; className: string; sizes: string; onLoad: () => void; width?: number | undefined; height?: number | undefined; placeholder?: string | undefined; ... 4 more ...; fallback?: ReactNode; }' is not assignable to type 'IntrinsicAttributes & OptimizedImageProps'.
|
||||
Property 'children' does not exist on type 'IntrinsicAttributes & OptimizedImageProps'.
|
||||
src/components/ui/virtualized-list.tsx(27,10): error TS6133: 'isScrolling' is declared but its value is never read.
|
||||
src/components/ui/virtualized-list.tsx(130,6): error TS6133: 'startIndex' is declared but its value is never read.
|
||||
src/features/auth/components/AuthErrorMessage.tsx(1,1): error TS6133: 'React' is declared but its value is never read.
|
||||
src/features/auth/components/OAuthButton.tsx(1,1): error TS6133: 'React' is declared but its value is never read.
|
||||
src/features/auth/components/OAuthButtons.tsx(1,1): error TS6133: 'React' is declared but its value is never read.
|
||||
src/features/auth/components/PasswordStrengthIndicator.tsx(1,1): error TS6133: 'React' is declared but its value is never read.
|
||||
src/features/auth/components/TwoFactorVerify.tsx(1,8): error TS6133: 'React' is declared but its value is never read.
|
||||
src/features/auth/components/TwoFactorVerify.tsx(9,26): error TS2307: Cannot find module '@/hooks/use-toast' or its corresponding type declarations.
|
||||
src/features/auth/hooks/useLogout.ts(4,10): error TS2459: Module '"./useAuth"' declares 'useAuthStore' locally, but it is not exported.
|
||||
src/features/auth/hooks/useLogout.ts(10,35): error TS7006: Parameter 'state' implicitly has an 'any' type.
|
||||
src/features/auth/hooks/useOAuthCallback.ts(3,10): error TS2459: Module '"./useAuth"' declares 'useAuthStore' locally, but it is not exported.
|
||||
src/features/auth/hooks/useOAuthCallback.ts(12,33): error TS7006: Parameter 'state' implicitly has an 'any' type.
|
||||
src/features/auth/index.ts(21,19): error TS2459: Module '"./hooks/useAuth"' declares 'useAuthStore' locally, but it is not exported.
|
||||
src/features/auth/pages/ResetPasswordPage.tsx(2,40): error TS6133: 'Link' is declared but its value is never read.
|
||||
src/features/auth/pages/VerifyEmailPage.tsx(1,8): error TS6133: 'React' is declared but its value is never read.
|
||||
src/features/auth/pages/VerifyEmailPage.tsx(2,40): error TS6133: 'Link' is declared but its value is never read.
|
||||
src/features/auth/services/authService.ts(92,30): error TS2339: Property 'confirmPassword' does not exist on type 'RegisterFormData'.
|
||||
src/features/chat/components/ChatInterface.tsx(7,28): error TS2307: Cannot find module '@/components/ui/scroll-area' or its corresponding type declarations.
|
||||
src/features/chat/components/ChatInterface.tsx(9,1): error TS6133: 'Separator' is declared but its value is never read.
|
||||
src/features/chat/components/ChatInterface.tsx(9,27): error TS2307: Cannot find module '@/components/ui/separator' or its corresponding type declarations.
|
||||
src/features/chat/components/ChatInterface.tsx(15,1): error TS6192: All imports in import declaration are unused.
|
||||
src/features/chat/components/ChatInterface.tsx(17,23): error TS2307: Cannot find module '@/hooks/use-toast' or its corresponding type declarations.
|
||||
src/features/chat/components/ChatInterface.tsx(44,10): error TS6133: 'onlineUsers' is declared but its value is never read.
|
||||
src/features/chat/components/ChatInterface.tsx(44,23): error TS6133: 'setOnlineUsers' is declared but its value is never read.
|
||||
src/features/chat/components/ChatInterface.tsx(116,41): error TS2551: Property 'getChatMessages' does not exist on type 'ApiService'. Did you mean 'getMessages'?
|
||||
src/features/chat/components/ChatInterface.tsx(129,41): error TS2339: Property 'getChatStats' does not exist on type 'ApiService'.
|
||||
src/features/chat/components/ChatInterface.tsx(155,24): error TS2551: Property 'sendChatMessage' does not exist on type 'ApiService'. Did you mean 'sendMessage'?
|
||||
src/features/chat/components/ChatInterface.tsx(246,61): error TS2339: Property 'author' does not exist on type 'ChatMessage'.
|
||||
src/features/chat/components/ChatInterface.tsx(248,34): error TS2339: Property 'author' does not exist on type 'ChatMessage'.
|
||||
src/features/chat/components/ChatInterface.tsx(253,72): error TS2339: Property 'author' does not exist on type 'ChatMessage'.
|
||||
src/features/chat/components/ChatInterface.tsx(255,52): error TS2339: Property 'timestamp' does not exist on type 'ChatMessage'.
|
||||
src/features/chat/components/ChatInterface.tsx(257,34): error TS2339: Property 'is_direct' does not exist on type 'ChatMessage'.
|
||||
src/features/chat/components/ChatRoom.tsx(2,24): error TS6133: 'ChatMessage' is declared but its value is never read.
|
||||
src/features/chat/components/ChatRoom.tsx(11,21): error TS6133: 'userId' is declared but its value is never read.
|
||||
src/features/chat/components/ChatRoom.tsx(11,29): error TS6133: 'currentConversationId' is declared but its value is never read.
|
||||
src/features/chat/components/ChatSidebar.tsx(1,17): error TS6133: 'useEffect' is declared but its value is never read.
|
||||
src/features/chat/components/ChatSidebar.tsx(31,11): error TS2339: Property 'userId' does not exist on type 'AuthState'.
|
||||
src/features/chat/components/ChatSidebar.tsx(35,11): error TS6133: 'data' is declared but its value is never read.
|
||||
src/features/chat/components/ChatSidebar.tsx(43,5): error TS2769: No overload matches this call.
|
||||
Overload 1 of 3, '(options: DefinedInitialDataOptions<unknown, Error, unknown, any[]>, queryClient?: QueryClient | undefined): DefinedUseQueryResult<unknown, Error>', gave the following error.
|
||||
Object literal may only specify known properties, and 'onSuccess' does not exist in type 'DefinedInitialDataOptions<unknown, Error, unknown, any[]>'.
|
||||
Overload 2 of 3, '(options: UndefinedInitialDataOptions<any, Error, any, any[]>, queryClient?: QueryClient | undefined): UseQueryResult<any, Error>', gave the following error.
|
||||
Object literal may only specify known properties, and 'onSuccess' does not exist in type 'UndefinedInitialDataOptions<any, Error, any, any[]>'.
|
||||
Overload 3 of 3, '(options: UseQueryOptions<any, Error, any, any[]>, queryClient?: QueryClient | undefined): UseQueryResult<any, Error>', gave the following error.
|
||||
Object literal may only specify known properties, and 'onSuccess' does not exist in type 'UseQueryOptions<any, Error, any, any[]>'.
|
||||
src/features/chat/components/ChatSidebar.tsx(43,17): error TS7006: Parameter 'data' implicitly has an 'any' type.
|
||||
src/features/chat/components/VirtualizedChatMessages.tsx(2,46): error TS6133: 'useScrollPosition' is declared but its value is never read.
|
||||
src/features/chat/components/VirtualizedChatMessages.tsx(42,24): error TS6133: 'index' is declared but its value is never read.
|
||||
src/features/chat/components/VirtualizedChatMessages.tsx(54,24): error TS2339: Property 'user' does not exist on type 'Message'.
|
||||
src/features/chat/components/VirtualizedChatMessages.tsx(62,26): error TS2339: Property 'user' does not exist on type 'Message'.
|
||||
src/features/chat/components/VirtualizedChatMessages.tsx(81,22): error TS2339: Property 'metadata' does not exist on type 'Message'.
|
||||
src/features/chat/components/VirtualizedChatMessages.tsx(83,26): error TS2339: Property 'metadata' does not exist on type 'Message'.
|
||||
src/features/chat/components/VirtualizedChatMessages.tsx(85,30): error TS2339: Property 'metadata' does not exist on type 'Message'.
|
||||
src/features/chat/components/VirtualizedChatMessages.tsx(88,26): error TS2339: Property 'metadata' does not exist on type 'Message'.
|
||||
src/features/chat/components/VirtualizedChatMessages.tsx(88,58): error TS2339: Property 'metadata' does not exist on type 'Message'.
|
||||
src/features/chat/components/VirtualizedChatMessages.tsx(90,33): error TS2339: Property 'metadata' does not exist on type 'Message'.
|
||||
src/features/chat/components/VirtualizedChatMessages.tsx(98,24): error TS2339: Property 'is_edited' does not exist on type 'Message'.
|
||||
src/features/chat/components/VirtualizedChatMessages.tsx(101,24): error TS2339: Property 'is_deleted' does not exist on type 'Message'.
|
||||
src/features/chat/components/VirtualizedChatMessages.tsx(169,9): error TS2322: Type '{ ref: RefObject<HTMLDivElement>; items: Message[]; itemHeight: number; containerHeight: number; renderItem: (message: Message, index: number) => Element; onItemsRendered: (startIndex: number, endIndex: number) => void; className: string; overscan: number; }' is not assignable to type 'IntrinsicAttributes & VirtualizedListProps<Message>'.
|
||||
Property 'ref' does not exist on type 'IntrinsicAttributes & VirtualizedListProps<Message>'.
|
||||
src/features/chat/hooks/useChat.ts(9,11): error TS2339: Property 'userId' does not exist on type 'AuthState'.
|
||||
src/features/chat/hooks/useChat.ts(9,19): error TS2339: Property 'username' does not exist on type 'AuthState'.
|
||||
src/features/chat/hooks/useChat.ts(9,19): error TS6133: 'username' is declared but its value is never read.
|
||||
src/features/chat/hooks/useChat.ts(21,10): error TS6133: 'messagesToSend' is declared but its value is never read.
|
||||
src/features/chat/pages/ChatPage.tsx(15,11): error TS2339: Property 'userId' does not exist on type 'AuthState'.
|
||||
src/features/chat/pages/ChatPage.tsx(17,20): error TS6133: 'disconnect' is declared but its value is never read.
|
||||
src/features/chat/pages/ChatPage.tsx(20,17): error TS6133: 'wsTokenResponse' is declared but its value is never read.
|
||||
src/features/chat/pages/ChatPage.tsx(28,5): error TS2769: No overload matches this call.
|
||||
Overload 1 of 3, '(options: DefinedInitialDataOptions<unknown, Error, unknown, any[]>, queryClient?: QueryClient | undefined): DefinedUseQueryResult<unknown, Error>', gave the following error.
|
||||
Object literal may only specify known properties, and 'onSuccess' does not exist in type 'DefinedInitialDataOptions<unknown, Error, unknown, any[]>'.
|
||||
Overload 2 of 3, '(options: UndefinedInitialDataOptions<any, Error, any, any[]>, queryClient?: QueryClient | undefined): UseQueryResult<any, Error>', gave the following error.
|
||||
Object literal may only specify known properties, and 'onSuccess' does not exist in type 'UndefinedInitialDataOptions<any, Error, any, any[]>'.
|
||||
Overload 3 of 3, '(options: UseQueryOptions<any, Error, any, any[]>, queryClient?: QueryClient | undefined): UseQueryResult<any, Error>', gave the following error.
|
||||
Object literal may only specify known properties, and 'onSuccess' does not exist in type 'UseQueryOptions<any, Error, any, any[]>'.
|
||||
src/features/chat/pages/ChatPage.tsx(28,17): error TS7006: Parameter 'data' implicitly has an 'any' type.
|
||||
src/features/chat/store/chatStore.ts(4,1): error TS6133: 'uuidv4' is declared but its value is never read.
|
||||
src/features/library/components/LibraryManager.tsx(1,8): error TS6133: 'React' is declared but its value is never read.
|
||||
src/features/library/components/LibraryManager.tsx(5,1): error TS6133: 'Badge' is declared but its value is never read.
|
||||
src/features/library/components/LibraryManager.tsx(7,33): error TS2307: Cannot find module '@/features/tracks/components/TrackEditDialog' or its corresponding type declarations.
|
||||
src/features/library/components/LibraryManager.tsx(8,1): error TS6133: 'WaveformDisplay' is declared but its value is never read.
|
||||
src/features/library/components/LibraryManager.tsx(8,33): error TS2307: Cannot find module '@/features/tracks/components/WaveformDisplay' or its corresponding type declarations.
|
||||
src/features/library/components/LibraryManager.tsx(9,36): error TS2307: Cannot find module './VirtualLibraryGrid' or its corresponding type declarations.
|
||||
src/features/library/components/LibraryManager.tsx(10,27): error TS2459: Module '"@/services/api"' declares 'Track' locally, but it is not exported.
|
||||
src/features/library/components/LibraryManager.tsx(11,26): error TS2307: Cannot find module '@/hooks/use-toast' or its corresponding type declarations.
|
||||
src/features/library/components/LibraryManager.tsx(14,3): error TS6133: 'Plus' is declared but its value is never read.
|
||||
src/features/library/components/LibraryManager.tsx(16,3): error TS6133: 'Play' is declared but its value is never read.
|
||||
src/features/library/components/LibraryManager.tsx(17,3): error TS6133: 'Pause' is declared but its value is never read.
|
||||
src/features/library/components/LibraryManager.tsx(18,3): error TS6133: 'Trash2' is declared but its value is never read.
|
||||
src/features/library/components/LibraryManager.tsx(24,3): error TS6133: 'MoreVertical' is declared but its value is never read.
|
||||
src/features/library/components/LibraryManager.tsx(25,3): error TS6133: 'Clock' is declared but its value is never read.
|
||||
src/features/library/components/LibraryManager.tsx(27,3): error TS6133: 'Volume2' is declared but its value is never read.
|
||||
src/features/library/components/LibraryManager.tsx(28,3): error TS6133: 'Download' is declared but its value is never read.
|
||||
src/features/library/components/LibraryManager.tsx(29,3): error TS6133: 'Edit' is declared but its value is never read.
|
||||
src/features/library/components/LibraryManager.tsx(30,3): error TS6133: 'Activity' is declared but its value is never read.
|
||||
src/features/library/components/LibraryManager.tsx(41,10): error TS6133: 'isDeletingTrack' is declared but its value is never read.
|
||||
src/features/library/components/LibraryManager.tsx(53,10): error TS6133: 'expandedWaveform' is declared but its value is never read.
|
||||
src/features/library/components/LibraryManager.tsx(66,9): error TS2353: Object literal may only specify known properties, and 'artist' does not exist in type '{ page?: number | undefined; limit?: number | undefined; search?: string | undefined; }'.
|
||||
src/features/library/components/LibraryManager.tsx(68,26): error TS2339: Property 'tracks' does not exist on type 'PaginatedResponse<Track>'.
|
||||
src/features/library/components/LibraryManager.tsx(94,24): error TS2339: Property 'deleteTrack' does not exist on type 'ApiService'.
|
||||
src/features/library/components/LibraryManager.tsx(120,9): error TS6133: 'toggleWaveform' is declared but its value is never read.
|
||||
src/features/library/components/LibraryManager.tsx(134,9): error TS6133: 'formatDuration' is declared but its value is never read.
|
||||
src/features/library/components/LibraryManager.tsx(141,9): error TS6133: 'formatFileSize' is declared but its value is never read.
|
||||
src/features/library/components/LibraryManager.tsx(263,25): error TS7006: Parameter 'trackId' implicitly has an 'any' type.
|
||||
src/features/library/components/UploadModal.tsx(5,1): error TS6133: 'Textarea' is declared but its value is never read.
|
||||
src/features/library/components/UploadModal.tsx(6,26): error TS2307: Cannot find module '@/components/ui/progress' or its corresponding type declarations.
|
||||
src/features/library/components/UploadModal.tsx(9,3): error TS2305: Module '"@/components/ui/dialog"' has no exported member 'DialogContent'.
|
||||
src/features/library/components/UploadModal.tsx(10,3): error TS2305: Module '"@/components/ui/dialog"' has no exported member 'DialogDescription'.
|
||||
src/features/library/components/UploadModal.tsx(13,3): error TS2305: Module '"@/components/ui/dialog"' has no exported member 'DialogTitle'.
|
||||
src/features/library/components/UploadModal.tsx(14,3): error TS2305: Module '"@/components/ui/dialog"' has no exported member 'DialogTrigger'.
|
||||
src/features/library/components/UploadModal.tsx(17,27): error TS2305: Module '"@/services/api"' has no exported member 'AddTrackRequest'.
|
||||
src/features/library/components/UploadModal.tsx(18,26): error TS2307: Cannot find module '@/hooks/use-toast' or its corresponding type declarations.
|
||||
src/features/library/components/UploadModal.tsx(125,39): error TS2554: Expected 2 arguments, but got 1.
|
||||
src/features/library/components/UploadModal.tsx(132,29): error TS2339: Property 'message' does not exist on type 'Track'.
|
||||
src/features/library/components/UploadModal.tsx(316,27): error TS2322: Type '{ children: Element[]; open: boolean; onOpenChange: (newOpen: boolean) => void; }' is not assignable to type 'IntrinsicAttributes & DialogProps'.
|
||||
Property 'onOpenChange' does not exist on type 'IntrinsicAttributes & DialogProps'.
|
||||
src/features/library/components/UploadModal.tsx(327,25): error TS2322: Type '{ children: Element; open: boolean; onOpenChange: (newOpen: boolean) => void; }' is not assignable to type 'IntrinsicAttributes & DialogProps'.
|
||||
Property 'onOpenChange' does not exist on type 'IntrinsicAttributes & DialogProps'.
|
||||
src/features/library/hooks/useMyTracks.ts(17,5): error TS2769: No overload matches this call.
|
||||
Overload 1 of 3, '(options: DefinedInitialDataOptions<unknown, Error, unknown, ("library" | "tracks" | { readonly userId: number | undefined; } | { page: number; limit: number; })[]>, queryClient?: QueryClient | undefined): DefinedUseQueryResult<...>', gave the following error.
|
||||
Object literal may only specify known properties, and 'keepPreviousData' does not exist in type 'DefinedInitialDataOptions<unknown, Error, unknown, ("library" | "tracks" | { readonly userId: number | undefined; } | { page: number; limit: number; })[]>'.
|
||||
Overload 2 of 3, '(options: UndefinedInitialDataOptions<TrackListResponse, Error, TrackListResponse, ("library" | "tracks" | { readonly userId: number | undefined; } | { page: number; limit: number; })[]>, queryClient?: QueryClient | undefined): UseQueryResult<...>', gave the following error.
|
||||
Object literal may only specify known properties, and 'keepPreviousData' does not exist in type 'UndefinedInitialDataOptions<TrackListResponse, Error, TrackListResponse, ("library" | "tracks" | { readonly userId: number | undefined; } | { page: number; limit: number; })[]>'.
|
||||
Overload 3 of 3, '(options: UseQueryOptions<TrackListResponse, Error, TrackListResponse, ("library" | "tracks" | { readonly userId: number | undefined; } | { page: number; limit: number; })[]>, queryClient?: QueryClient | undefined): UseQueryResult<...>', gave the following error.
|
||||
Object literal may only specify known properties, and 'keepPreviousData' does not exist in type 'UseQueryOptions<TrackListResponse, Error, TrackListResponse, ("library" | "tracks" | { readonly userId: number | undefined; } | { page: number; limit: number; })[]>'.
|
||||
src/features/library/pages/LibraryPage.tsx(3,53): error TS2307: Cannot find module '@/features/playlists/hooks/usePlaylists' or its corresponding type declarations.
|
||||
src/features/library/pages/LibraryPage.tsx(44,38): error TS2339: Property 'tracks' does not exist on type '{}'.
|
||||
src/features/library/pages/LibraryPage.tsx(44,52): error TS7006: Parameter 'track' implicitly has an 'any' type.
|
||||
src/features/library/pages/LibraryPage.tsx(94,38): error TS7006: Parameter 'track' implicitly has an 'any' type.
|
||||
src/features/library/pages/LibraryPage.tsx(94,45): error TS7006: Parameter 'index' implicitly has an 'any' type.
|
||||
src/features/library/pages/LibraryPage.tsx(122,63): error TS7006: Parameter 'playlist' implicitly has an 'any' type.
|
||||
src/features/marketplace/components/ProductCard.tsx(1,1): error TS6133: 'React' is declared but its value is never read.
|
||||
src/features/marketplace/components/ProductCard.tsx(34,18): error TS2322: Type '"default" | "secondary"' is not assignable to type '"success" | "warning" | "error" | "default" | "primary" | undefined'.
|
||||
Type '"secondary"' is not assignable to type '"success" | "warning" | "error" | "default" | "primary" | undefined'.
|
||||
src/features/player/components/MiniPlayer.tsx(6,1): error TS6133: 'React' is declared but its value is never read.
|
||||
src/features/player/components/NextPreviousButtons.tsx(6,1): error TS6133: 'React' is declared but its value is never read.
|
||||
src/features/player/components/PlaybackSpeedControl.tsx(6,8): error TS6133: 'React' is declared but its value is never read.
|
||||
src/features/player/components/PlayerError.tsx(6,1): error TS6133: 'React' is declared but its value is never read.
|
||||
src/features/player/components/PlayerError.tsx(74,9): error TS6133: 'type' is declared but its value is never read.
|
||||
src/features/player/components/PlayerLoading.tsx(6,1): error TS6133: 'React' is declared but its value is never read.
|
||||
src/features/player/components/QualitySelector.tsx(6,8): error TS6133: 'React' is declared but its value is never read.
|
||||
src/features/player/components/RepeatShuffleButtons.tsx(6,1): error TS6133: 'React' is declared but its value is never read.
|
||||
src/features/player/components/TimeDisplay.tsx(6,1): error TS6133: 'React' is declared but its value is never read.
|
||||
src/features/player/components/TrackInfo.tsx(6,1): error TS6133: 'React' is declared but its value is never read.
|
||||
src/features/player/components/VolumeControl.tsx(32,10): error TS6133: 'isHovered' is declared but its value is never read.
|
||||
src/features/player/services/playerService.ts(44,37): error TS2367: This comparison appears to be unintentional because the types 'string' and 'number' have no overlap.
|
||||
src/features/player/services/syncClient.ts(191,30): error TS6133: 'message' is declared but its value is never read.
|
||||
src/features/playlists/components/AddTrackToPlaylistModal.tsx(11,1): error TS6133: 'useDebounce' is declared but its value is never read.
|
||||
src/features/playlists/components/AddTrackToPlaylistModal.tsx(13,39): error TS2307: Cannot find module '../hooks/usePlaylist' or its corresponding type declarations.
|
||||
src/features/playlists/components/AddTrackToPlaylistModal.tsx(111,25): error TS2345: Argument of type 'Set<string>' is not assignable to parameter of type 'SetStateAction<Set<number>>'.
|
||||
Type 'Set<string>' is not assignable to type 'Set<number>'.
|
||||
Type 'string' is not assignable to type 'number'.
|
||||
src/features/playlists/components/AddTrackToPlaylistModal.tsx(118,9): error TS2353: Object literal may only specify known properties, and 'title' does not exist in type 'Omit<Toast, "id">'.
|
||||
src/features/playlists/components/AddTrackToPlaylistModal.tsx(147,11): error TS2353: Object literal may only specify known properties, and 'title' does not exist in type 'Omit<Toast, "id">'.
|
||||
src/features/playlists/components/AddTrackToPlaylistModal.tsx(157,11): error TS2353: Object literal may only specify known properties, and 'title' does not exist in type 'Omit<Toast, "id">'.
|
||||
src/features/playlists/components/AddTrackToPlaylistModal.tsx(236,57): error TS2345: Argument of type 'string' is not assignable to parameter of type 'number'.
|
||||
src/features/playlists/components/AddTrackToPlaylistModal.tsx(247,66): error TS2345: Argument of type 'string' is not assignable to parameter of type 'number'.
|
||||
src/features/playlists/components/CollaboratorList.tsx(6,1): error TS6133: 'useState' is declared but its value is never read.
|
||||
src/features/playlists/components/CollaboratorList.tsx(10,72): error TS2307: Cannot find module '../hooks/usePlaylist' or its corresponding type declarations.
|
||||
src/features/playlists/components/CollaboratorList.tsx(11,43): error TS2307: Cannot find module '../services/playlistService' or its corresponding type declarations.
|
||||
src/features/playlists/components/CollaboratorList.tsx(41,9): error TS2353: Object literal may only specify known properties, and 'title' does not exist in type 'Omit<Toast, "id">'.
|
||||
src/features/playlists/components/CollaboratorList.tsx(46,9): error TS2353: Object literal may only specify known properties, and 'title' does not exist in type 'Omit<Toast, "id">'.
|
||||
src/features/playlists/components/CollaboratorList.tsx(65,9): error TS2353: Object literal may only specify known properties, and 'title' does not exist in type 'Omit<Toast, "id">'.
|
||||
src/features/playlists/components/CollaboratorList.tsx(70,9): error TS2353: Object literal may only specify known properties, and 'title' does not exist in type 'Omit<Toast, "id">'.
|
||||
src/features/playlists/components/CreatePlaylistDialog.tsx(5,47): error TS2307: Cannot find module '../services/playlistService' or its corresponding type declarations.
|
||||
src/features/playlists/components/CreatePlaylistDialog.tsx(59,9): error TS2353: Object literal may only specify known properties, and 'title' does not exist in type 'Omit<Toast, "id">'.
|
||||
src/features/playlists/components/CreatePlaylistDialog.tsx(69,24): error TS18046: 'error' is of type 'unknown'.
|
||||
src/features/playlists/components/CreatePlaylistDialog.tsx(72,9): error TS2353: Object literal may only specify known properties, and 'title' does not exist in type 'Omit<Toast, "id">'.
|
||||
src/features/playlists/components/DuplicatePlaylistButton.tsx(1,1): error TS6133: 'React' is declared but its value is never read.
|
||||
src/features/playlists/components/ExportPlaylistButton.tsx(10,1): error TS6133: 'playlistService' is declared but its value is never read.
|
||||
src/features/playlists/components/ExportPlaylistButton.tsx(10,33): error TS2307: Cannot find module '../services/playlistService' or its corresponding type declarations.
|
||||
src/features/playlists/components/ExportPlaylistButton.tsx(38,11): error TS2353: Object literal may only specify known properties, and 'title' does not exist in type 'Omit<Toast, "id">'.
|
||||
src/features/playlists/components/ExportPlaylistButton.tsx(88,9): error TS2353: Object literal may only specify known properties, and 'title' does not exist in type 'Omit<Toast, "id">'.
|
||||
src/features/playlists/components/ExportPlaylistButton.tsx(94,9): error TS2353: Object literal may only specify known properties, and 'title' does not exist in type 'Omit<Toast, "id">'.
|
||||
src/features/playlists/components/ImportPlaylistButton.tsx(6,3): error TS2305: Module '"@/components/ui/dialog"' has no exported member 'DialogContent'.
|
||||
src/features/playlists/components/ImportPlaylistButton.tsx(7,3): error TS2305: Module '"@/components/ui/dialog"' has no exported member 'DialogDescription'.
|
||||
src/features/playlists/components/ImportPlaylistButton.tsx(10,3): error TS2305: Module '"@/components/ui/dialog"' has no exported member 'DialogTitle'.
|
||||
src/features/playlists/components/ImportPlaylistButton.tsx(11,3): error TS2305: Module '"@/components/ui/dialog"' has no exported member 'DialogTrigger'.
|
||||
src/features/playlists/components/ImportPlaylistButton.tsx(15,1): error TS6133: 'Textarea' is declared but its value is never read.
|
||||
src/features/playlists/components/ImportPlaylistButton.tsx(16,1): error TS6133: 'Switch' is declared but its value is never read.
|
||||
src/features/playlists/components/ImportPlaylistButton.tsx(18,1): error TS6133: 'useCreatePlaylist' is declared but its value is never read.
|
||||
src/features/playlists/components/ImportPlaylistButton.tsx(18,35): error TS2307: Cannot find module '../hooks/usePlaylist' or its corresponding type declarations.
|
||||
src/features/playlists/components/ImportPlaylistButton.tsx(51,11): error TS2353: Object literal may only specify known properties, and 'title' does not exist in type 'Omit<Toast, "id">'.
|
||||
src/features/playlists/components/ImportPlaylistButton.tsx(88,9): error TS2353: Object literal may only specify known properties, and 'title' does not exist in type 'Omit<Toast, "id">'.
|
||||
src/features/playlists/components/ImportPlaylistButton.tsx(97,9): error TS2353: Object literal may only specify known properties, and 'title' does not exist in type 'Omit<Toast, "id">'.
|
||||
src/features/playlists/components/ImportPlaylistButton.tsx(110,11): error TS2353: Object literal may only specify known properties, and 'title' does not exist in type 'Omit<Toast, "id">'.
|
||||
src/features/playlists/components/ImportPlaylistButton.tsx(148,9): error TS2353: Object literal may only specify known properties, and 'title' does not exist in type 'Omit<Toast, "id">'.
|
||||
src/features/playlists/components/ImportPlaylistButton.tsx(173,9): error TS2353: Object literal may only specify known properties, and 'title' does not exist in type 'Omit<Toast, "id">'.
|
||||
src/features/playlists/components/ImportPlaylistButton.tsx(196,27): error TS2322: Type '{ children: Element[]; open: boolean; onOpenChange: () => void; }' is not assignable to type 'IntrinsicAttributes & DialogProps'.
|
||||
Property 'onOpenChange' does not exist on type 'IntrinsicAttributes & DialogProps'.
|
||||
src/features/playlists/components/PlaylistActions.tsx(11,54): error TS2307: Cannot find module '../hooks/usePlaylist' or its corresponding type declarations.
|
||||
src/features/playlists/components/PlaylistActions.tsx(13,40): error TS2307: Cannot find module '../hooks/usePlaylistPermissions' or its corresponding type declarations.
|
||||
src/features/playlists/components/PlaylistActions.tsx(71,9): error TS2353: Object literal may only specify known properties, and 'title' does not exist in type 'Omit<Toast, "id">'.
|
||||
src/features/playlists/components/PlaylistActions.tsx(78,9): error TS2353: Object literal may only specify known properties, and 'title' does not exist in type 'Omit<Toast, "id">'.
|
||||
src/features/playlists/components/PlaylistActions.tsx(89,9): error TS2353: Object literal may only specify known properties, and 'title' does not exist in type 'Omit<Toast, "id">'.
|
||||
src/features/playlists/components/PlaylistActions.tsx(95,9): error TS2353: Object literal may only specify known properties, and 'title' does not exist in type 'Omit<Toast, "id">'.
|
||||
src/features/playlists/components/PlaylistBatchActions.tsx(10,55): error TS2307: Cannot find module '../hooks/usePlaylist' or its corresponding type declarations.
|
||||
src/features/playlists/components/PlaylistBatchActions.tsx(105,11): error TS2353: Object literal may only specify known properties, and 'title' does not exist in type 'Omit<Toast, "id">'.
|
||||
src/features/playlists/components/PlaylistBatchActions.tsx(114,11): error TS2353: Object literal may only specify known properties, and 'title' does not exist in type 'Omit<Toast, "id">'.
|
||||
src/features/playlists/components/PlaylistBatchActions.tsx(148,11): error TS2353: Object literal may only specify known properties, and 'title' does not exist in type 'Omit<Toast, "id">'.
|
||||
src/features/playlists/components/PlaylistBatchActions.tsx(154,11): error TS2353: Object literal may only specify known properties, and 'title' does not exist in type 'Omit<Toast, "id">'.
|
||||
src/features/playlists/components/PlaylistBatchActions.tsx(168,9): error TS2353: Object literal may only specify known properties, and 'title' does not exist in type 'Omit<Toast, "id">'.
|
||||
src/features/playlists/components/PlaylistBatchActions.tsx(174,9): error TS2353: Object literal may only specify known properties, and 'title' does not exist in type 'Omit<Toast, "id">'.
|
||||
src/features/playlists/components/PlaylistBatchActions.tsx(185,9): error TS2353: Object literal may only specify known properties, and 'title' does not exist in type 'Omit<Toast, "id">'.
|
||||
src/features/playlists/components/PlaylistBatchActions.tsx(191,9): error TS2353: Object literal may only specify known properties, and 'title' does not exist in type 'Omit<Toast, "id">'.
|
||||
src/features/playlists/components/PlaylistEditor.tsx(9,26): error TS2307: Cannot find module '@/hooks/use-toast' or its corresponding type declarations.
|
||||
src/features/playlists/components/PlaylistErrorBoundary.tsx(6,8): error TS6133: 'React' is declared but its value is never read.
|
||||
src/features/playlists/components/PlaylistForm.tsx(15,54): error TS2307: Cannot find module '../hooks/usePlaylist' or its corresponding type declarations.
|
||||
src/features/playlists/components/PlaylistForm.tsx(115,11): error TS2353: Object literal may only specify known properties, and 'title' does not exist in type 'Omit<Toast, "id">'.
|
||||
src/features/playlists/components/PlaylistForm.tsx(121,11): error TS2353: Object literal may only specify known properties, and 'title' does not exist in type 'Omit<Toast, "id">'.
|
||||
src/features/playlists/components/PlaylistForm.tsx(127,9): error TS2353: Object literal may only specify known properties, and 'title' does not exist in type 'Omit<Toast, "id">'.
|
||||
src/features/playlists/components/PlaylistList.test.responsive.tsx(16,9): error TS2352: Conversion of type '{ id: number; title: string; description: string; track_count: number; is_public: true; created_at: string; user: { id: number; username: string; }; }' to type 'Playlist' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
|
||||
Type '{ id: number; title: string; description: string; track_count: number; is_public: true; created_at: string; user: { id: number; username: string; }; }' is missing the following properties from type 'Playlist': user_id, updated_at
|
||||
src/features/playlists/components/PlaylistList.test.responsive.tsx(53,27): error TS2339: Property 'toHaveClass' does not exist on type 'Assertion<Element | null>'.
|
||||
src/features/playlists/components/PlaylistList.test.responsive.tsx(54,27): error TS2339: Property 'toHaveClass' does not exist on type 'Assertion<Element | null>'.
|
||||
src/features/playlists/components/PlaylistList.test.responsive.tsx(75,39): error TS2339: Property 'toHaveClass' does not exist on type 'Assertion<HTMLElement | null | undefined>'.
|
||||
src/features/playlists/components/PlaylistList.test.responsive.tsx(103,24): error TS2339: Property 'toHaveClass' does not exist on type 'Assertion<HTMLElement>'.
|
||||
src/features/playlists/components/PlaylistList.test.responsive.tsx(110,24): error TS2339: Property 'toHaveClass' does not exist on type 'Assertion<HTMLElement>'.
|
||||
src/features/playlists/components/PlaylistList.tsx(7,30): error TS2307: Cannot find module '../hooks/usePlaylist' or its corresponding type declarations.
|
||||
src/features/playlists/components/PlaylistList.tsx(55,20): error TS2345: Argument of type 'string' is not assignable to parameter of type 'number'.
|
||||
src/features/playlists/components/PlaylistList.tsx(57,23): error TS2345: Argument of type 'string' is not assignable to parameter of type 'number'.
|
||||
src/features/playlists/components/PlaylistList.tsx(65,47): error TS7006: Parameter 'p' implicitly has an 'any' type.
|
||||
src/features/playlists/components/PlaylistList.tsx(69,56): error TS7006: Parameter 'p' implicitly has an 'any' type.
|
||||
src/features/playlists/components/PlaylistList.tsx(77,58): error TS7006: Parameter 'p' implicitly has an 'any' type.
|
||||
src/features/playlists/components/PlaylistList.tsx(78,84): error TS7006: Parameter 'p' implicitly has an 'any' type.
|
||||
src/features/playlists/components/PlaylistList.tsx(202,45): error TS2345: Argument of type 'string' is not assignable to parameter of type 'number'.
|
||||
src/features/playlists/components/PlaylistManager.tsx(1,8): error TS6133: 'React' is declared but its value is never read.
|
||||
src/features/playlists/components/PlaylistManager.tsx(4,23): error TS6133: 'Clock' is declared but its value is never read.
|
||||
src/features/playlists/components/PlaylistManager.tsx(19,10): error TS6133: 'isLoading' is declared but its value is never read.
|
||||
src/features/playlists/components/PlaylistManager.tsx(19,21): error TS6133: 'setIsLoading' is declared but its value is never read.
|
||||
src/features/playlists/components/PlaylistManager.tsx(33,23): error TS6133: 'playlist' is declared but its value is never read.
|
||||
src/features/playlists/components/PlaylistManager.tsx(37,9): error TS6133: 'handleDelete' is declared but its value is never read.
|
||||
src/features/playlists/components/PlaylistManager.tsx(37,25): error TS6133: 'playlistId' is declared but its value is never read.
|
||||
src/features/playlists/components/PlaylistManager.tsx(42,28): error TS2719: Type '(playlist: Playlist) => void' is not assignable to type '(playlist: Playlist) => void'. Two different types with this name exist, but they are unrelated.
|
||||
Types of parameters 'playlist' and 'playlist' are incompatible.
|
||||
Type 'Playlist' is missing the following properties from type 'Playlist': tracks_count, followers_count
|
||||
src/features/playlists/components/PlaylistRecommendations.tsx(5,104): error TS2307: Cannot find module '../services/playlistService' or its corresponding type declarations.
|
||||
src/features/playlists/components/PlaylistRecommendations.tsx(50,11): error TS2353: Object literal may only specify known properties, and 'title' does not exist in type 'Omit<Toast, "id">'.
|
||||
src/features/playlists/components/PlaylistSearch.tsx(1,38): error TS6133: 'useMemo' is declared but its value is never read.
|
||||
src/features/playlists/components/PlaylistSearch.tsx(7,61): error TS2307: Cannot find module '../services/playlistService' or its corresponding type declarations.
|
||||
src/features/playlists/components/PlaylistSearch.tsx(68,11): error TS2353: Object literal may only specify known properties, and 'title' does not exist in type 'Omit<Toast, "id">'.
|
||||
src/features/playlists/components/PlaylistSearch.tsx(88,34): error TS2367: This comparison appears to be unintentional because the types 'number | boolean' and 'string' have no overlap.
|
||||
src/features/playlists/components/PlaylistTrackItem.tsx(9,35): error TS2307: Cannot find module './RemoveTrackButton' or its corresponding type declarations.
|
||||
src/features/playlists/components/PlaylistTrackItem.tsx(40,3): error TS6133: 'playlistTrack' is declared but its value is never read.
|
||||
src/features/playlists/components/PlaylistTrackList.tsx(32,42): error TS2307: Cannot find module '../hooks/usePlaylist' or its corresponding type declarations.
|
||||
src/features/playlists/components/PlaylistTrackList.tsx(63,3): error TS2322: Type 'Map<string, Track>' is not assignable to type 'Map<number, Track>'.
|
||||
Type 'string' is not assignable to type 'number'.
|
||||
src/features/playlists/components/PlaylistTrackList.tsx(197,22): error TS7015: Element implicitly has an 'any' type because index expression is not of type 'number'.
|
||||
src/features/playlists/components/PlaylistTrackList.tsx(208,9): error TS2353: Object literal may only specify known properties, and 'title' does not exist in type 'Omit<Toast, "id">'.
|
||||
src/features/playlists/components/PlaylistTrackList.tsx(218,9): error TS2353: Object literal may only specify known properties, and 'title' does not exist in type 'Omit<Toast, "id">'.
|
||||
src/features/playlists/components/PlaylistTrackList.tsx(249,38): error TS2345: Argument of type 'string' is not assignable to parameter of type 'number'.
|
||||
src/features/playlists/components/PlaylistTrackList.tsx(265,41): error TS2345: Argument of type 'string' is not assignable to parameter of type 'number'.
|
||||
src/features/playlists/components/PlaylistTrackList.tsx(287,40): error TS2345: Argument of type 'string' is not assignable to parameter of type 'number'.
|
||||
src/features/playlists/components/PlaylistTrackList.tsx(303,43): error TS2345: Argument of type 'string' is not assignable to parameter of type 'number'.
|
||||
src/features/playlists/hooks/useTouchGestures.ts(60,40): error TS6133: 'e' is declared but its value is never read.
|
||||
src/features/profile/components/FollowButton.tsx(1,8): error TS6133: 'React' is declared but its value is never read.
|
||||
src/features/profile/components/FollowButton.tsx(13,3): error TS6133: 'userId' is declared but its value is never read.
|
||||
src/features/profile/components/FollowButton.tsx(19,10): error TS6133: 'followerCount' is declared but its value is never read.
|
||||
src/features/roles/services/roleService.ts(2,16): error TS6133: 'UserRole' is declared but its value is never read.
|
||||
src/features/streaming/components/PlaybackDashboard.tsx(6,1): error TS6133: 'Badge' is declared but its value is never read.
|
||||
src/features/streaming/hooks/usePlaybackRealtime.ts(145,11): error TS6133: 'token' is declared but its value is never read.
|
||||
src/features/streaming/services/playbackAnalyticsService.ts(251,10): error TS6133: 'removeFromLocalStorage' is declared but its value is never read.
|
||||
src/features/tracks/components/TrackCard.tsx(29,3): error TS6133: 'size' is declared but its value is never read.
|
||||
src/features/tracks/components/TrackCard.tsx(49,9): error TS6133: 'sizeClasses' is declared but its value is never read.
|
||||
src/features/tracks/components/TrackGrid.tsx(1,8): error TS6133: 'React' is declared but its value is never read.
|
||||
src/features/tracks/components/TrackGrid.tsx(41,3): error TS6133: 'showCover' is declared but its value is never read.
|
||||
src/features/tracks/components/TrackHistory.tsx(213,35): error TS6133: 'index' is declared but its value is never read.
|
||||
src/features/tracks/components/TrackList.tsx(1,1): error TS6133: 'React' is declared but its value is never read.
|
||||
src/features/tracks/components/TrackListContainer.tsx(1,1): error TS6133: 'React' is declared but its value is never read.
|
||||
src/features/tracks/components/TrackListPagination.tsx(6,1): error TS6133: 'React' is declared but its value is never read.
|
||||
src/features/tracks/components/TrackListSelectionActions.tsx(6,1): error TS6133: 'React' is declared but its value is never read.
|
||||
src/features/tracks/components/TrackListSelectionActions.tsx(9,1): error TS6133: 'Track' is declared but its value is never read.
|
||||
src/features/tracks/components/TrackListSkeleton.tsx(6,1): error TS6133: 'React' is declared but its value is never read.
|
||||
src/features/tracks/components/TrackSort.tsx(9,50): error TS6196: 'SortOrder' is declared but never used.
|
||||
src/features/tracks/components/ViewToggle.tsx(6,8): error TS6133: 'React' is declared but its value is never read.
|
||||
src/pages/ProfilePage.tsx(1,29): error TS2307: Cannot find module '@/features/user/components/ProfileForm' or its corresponding type declarations.
|
||||
src/schemas/validation.ts(216,46): error TS2769: No overload matches this call.
|
||||
Overload 1 of 2, '(values: ["en", "fr", "es", "de"], params?: RawCreateParams): ZodEnum<["en", "fr", "es", "de"]>', gave the following error.
|
||||
Type '"Langue non supportée"' has no properties in common with type 'RawCreateParams'.
|
||||
Overload 2 of 2, '(values: ["en", "fr", "es", "de"], params?: RawCreateParams): ZodEnum<["en", "fr", "es", "de"]>', gave the following error.
|
||||
Type '"Langue non supportée"' has no properties in common with type 'RawCreateParams'.
|
||||
src/schemas/validation.ts(235,61): error TS2769: No overload matches this call.
|
||||
Overload 1 of 2, '(values: ["all", "users", "tracks", "conversations"], params?: RawCreateParams): ZodEnum<["all", "users", "tracks", "conversations"]>', gave the following error.
|
||||
Type '"Type de recherche invalide"' has no properties in common with type 'RawCreateParams'.
|
||||
Overload 2 of 2, '(values: ["all", "users", "tracks", "conversations"], params?: RawCreateParams): ZodEnum<["all", "users", "tracks", "conversations"]>', gave the following error.
|
||||
Type '"Type de recherche invalide"' has no properties in common with type 'RawCreateParams'.
|
||||
src/services/offline-storage.ts(6,11): error TS6196: 'StoreConfig' is declared but never used.
|
||||
src/services/websocket.ts(72,28): error TS6133: 'event' is declared but its value is never read.
|
||||
src/stores/auth.ts(44,23): error TS2339: Property 'remember_me' does not exist on type 'LoginRequest'.
|
||||
src/stores/chat.ts(177,50): error TS2345: Argument of type 'string' is not assignable to parameter of type 'number'.
|
||||
src/stores/chat.ts(180,55): error TS2345: Argument of type 'string' is not assignable to parameter of type 'number'.
|
||||
src/utils/csp.ts(186,11): error TS6133: 'req' is declared but its value is never read.
|
||||
src/utils/sanitize.ts(151,39): error TS6133: 'match' is declared but its value is never read.
|
||||
|
|
@ -1,261 +0,0 @@
|
|||
|
||||
> 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/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/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(6,1): error TS6133: 'Playlist' is declared but its value is never read.
|
||||
src/components/library/playlists/EditPlaylistModal.tsx(5,26): error TS6133: 'Users' is declared but its value is never read.
|
||||
src/components/library/playlists/PlaylistDetailView.tsx(52,21): error TS7006: Parameter 'prev' implicitly has an 'any' type.
|
||||
src/components/library/playlists/PlaylistDetailView.tsx(154,49): error TS2551: Property 'cover_url' does not exist on type 'Track'. Did you mean 'coverUrl'?
|
||||
src/components/library/playlists/PlaylistsView.tsx(36,59): error TS2353: Object literal may only specify known properties, and 'creator' does not exist in type 'Playlist'.
|
||||
src/components/library/playlists/PlaylistsView.tsx(37,56): error TS2353: Object literal may only specify known properties, and 'creator' does not exist in type 'Playlist'.
|
||||
src/components/library/playlists/PlaylistsView.tsx(100,128): error TS2339: Property 'creator' does not exist on type 'Playlist'.
|
||||
src/components/library/playlists/QueueView.tsx(117,53): error TS2551: Property 'cover_url' does not exist on type 'Track'. Did you mean 'coverUrl'?
|
||||
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/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/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(48,21): error TS2322: Type '{ id: string; type: "audio"; thumbnail: string | undefined; likes: any; comments: number; title: string; author: string; }[]' is not assignable to type 'ExploreItem[]'.
|
||||
Type '{ id: string; type: "audio"; thumbnail: string | undefined; likes: any; comments: number; title: string; author: string; }' is not assignable to type 'ExploreItem'.
|
||||
Types of property 'thumbnail' are incompatible.
|
||||
Type 'string | undefined' is not assignable to type 'string'.
|
||||
Type 'undefined' is not assignable to type 'string'.
|
||||
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(132,91): error TS18048: 'track.plays' is possibly 'undefined'.
|
||||
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(34,118): error TS18048: 'track.plays' is possibly 'undefined'.
|
||||
src/components/views/ProfileView.tsx(34,143): error TS18048: 'track.plays' is possibly 'undefined'.
|
||||
src/components/views/ProfileView.tsx(38,22): error TS2339: Property 'isPremium' 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/SearchPageView.tsx(62,49): error TS2304: Cannot find name 'Disc'.
|
||||
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(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': creator_id, year, file_path, file_size, and 9 more.
|
||||
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(10,3): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
|
||||
Type 'undefined' is not assignable to type 'string'.
|
||||
src/services/trackService.ts(11,3): error TS2322: Type 'string' is not assignable to type 'number'.
|
||||
src/services/trackService.ts(16,3): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
|
||||
Type 'undefined' is not assignable to type 'string'.
|
||||
src/services/trackService.ts(17,3): error TS2322: Type 'string' is not assignable to type 'TrackStatus'.
|
||||
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(203,1): error TS2308: Module './api' has already exported a member named 'Track'. Consider explicitly re-exporting to resolve the ambiguity.
|
||||
src/types/index.ts(203,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'.
|
||||
npm error Lifecycle script `typecheck` failed with error:
|
||||
npm error code 2
|
||||
npm error path /home/senke/git/talas/veza/apps/web
|
||||
npm error workspace veza-frontend@1.0.0
|
||||
npm error location /home/senke/git/talas/veza/apps/web
|
||||
npm error command failed
|
||||
npm error command sh -c tsc --noEmit
|
||||
|
|
@ -1,190 +0,0 @@
|
|||
|
||||
> 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/CartItem.tsx(14,74): error TS2339: Property 'price' does not exist on type 'CartItem'.
|
||||
src/components/commerce/CartItem.tsx(21,28): error TS2339: Property 'coverUrl' does not exist on type 'CartItem'.
|
||||
src/components/commerce/CartItem.tsx(21,143): error TS2339: Property 'title' does not exist on type 'CartItem'.
|
||||
src/components/commerce/CartItem.tsx(26,64): error TS2339: Property 'title' does not exist on type 'CartItem'.
|
||||
src/components/commerce/CartItem.tsx(27,61): error TS2339: Property 'author' does not exist on type 'CartItem'.
|
||||
src/components/commerce/CartItem.tsx(33,27): error TS2339: Property 'type' does not exist on type 'CartItem'.
|
||||
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/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/Navbar.tsx(17,14): error TS2322: Type '"system"' is not assignable to type '"error" | "success" | "security" | "info" | "warning" | "like" | "follow" | "mention" | "sale"'.
|
||||
src/components/layout/Navbar.tsx(18,28): error TS2353: Object literal may only specify known properties, and 'text' does not exist in type 'Notification'.
|
||||
src/components/layout/Navbar.tsx(19,30): error TS2353: Object literal may only specify known properties, and 'text' does not exist in type 'Notification'.
|
||||
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(6,1): error TS6133: 'Playlist' is declared but its value is never read.
|
||||
src/components/library/playlists/EditPlaylistModal.tsx(5,26): error TS6133: 'Users' is declared but its value is never read.
|
||||
src/components/library/playlists/PlaylistDetailView.tsx(52,21): error TS7006: Parameter 'prev' implicitly has an 'any' type.
|
||||
src/components/library/playlists/PlaylistsView.tsx(36,59): error TS2353: Object literal may only specify known properties, and 'creator' does not exist in type 'Playlist'.
|
||||
src/components/library/playlists/PlaylistsView.tsx(37,56): error TS2353: Object literal may only specify known properties, and 'creator' does not exist in type 'Playlist'.
|
||||
src/components/library/playlists/PlaylistsView.tsx(100,128): error TS2339: Property 'creator' does not exist on type 'Playlist'.
|
||||
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/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(48,21): error TS2322: Type '{ id: string; type: "audio"; thumbnail: string | undefined; likes: any; comments: number; title: string; author: string; }[]' is not assignable to type 'ExploreItem[]'.
|
||||
Type '{ id: string; type: "audio"; thumbnail: string | undefined; likes: any; comments: number; title: string; author: string; }' is not assignable to type 'ExploreItem'.
|
||||
Types of property 'thumbnail' are incompatible.
|
||||
Type 'string | undefined' is not assignable to type 'string'.
|
||||
Type 'undefined' is not assignable to type 'string'.
|
||||
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 TS2304: Cannot find name 'Clock'.
|
||||
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/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/CheckoutView.tsx(49,67): error TS2339: Property 'id' does not exist on type 'CartItem'.
|
||||
src/components/views/CheckoutView.tsx(198,95): error TS2339: Property 'title' does not exist on type 'CartItem'.
|
||||
src/components/views/CheckoutView.tsx(202,76): error TS2339: Property 'price' does not exist on type 'CartItem'.
|
||||
src/components/views/DiscoverView.tsx(46,170): error TS2353: Object literal may only specify known properties, and 'likes' does not exist in type 'Track'.
|
||||
src/components/views/DiscoverView.tsx(47,171): error TS2353: Object literal may only specify known properties, and 'likes' does not exist in type 'Track'.
|
||||
src/components/views/DiscoverView.tsx(132,91): error TS18048: 'track.plays' is possibly 'undefined'.
|
||||
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/ProfileView.tsx(34,120): error TS18048: 'track.plays' is possibly 'undefined'.
|
||||
src/components/views/ProfileView.tsx(34,145): error TS18048: 'track.plays' is possibly 'undefined'.
|
||||
src/components/views/ProfileView.tsx(209,121): 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(292,29): 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/SearchPageView.tsx(62,49): error TS2304: Cannot find name 'Disc'.
|
||||
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(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,143): error TS2353: Object literal may only specify known properties, and 'likes' does not exist in type 'Track'.
|
||||
src/context/AudioContext.tsx(60,143): error TS2353: Object literal may only specify known properties, and 'likes' does not exist in type 'Track'.
|
||||
src/context/AudioContext.tsx(61,147): error TS2353: Object literal may only specify known properties, and 'likes' does not exist in type 'Track'.
|
||||
src/context/AudioContext.tsx(62,126): error TS2353: Object literal may only specify known properties, and 'likes' does not exist in type 'Track'.
|
||||
src/context/AudioContext.tsx(63,137): error TS2353: Object literal may only specify known properties, and 'likes' does not exist in type 'Track'.
|
||||
src/context/CartContext.tsx(33,49): error TS2339: Property 'id' does not exist on type 'CartItem'.
|
||||
src/context/CartContext.tsx(59,78): error TS2339: Property 'price' does not exist on 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(6,18): error TS6133: 'AvatarFallback' is declared but its value is never read.
|
||||
src/features/chat/components/ChatInterface.tsx(6,34): error TS6133: 'AvatarImage' is declared but its value is never read.
|
||||
src/features/library/pages/LibraryPage.tsx(98,17): error TS2339: Property 'search' does not exist on type 'GetTracksParams'.
|
||||
src/features/profile/pages/UserProfilePage.tsx(9,18): error TS6133: 'AvatarFallback' is declared but its value is never read.
|
||||
src/features/profile/pages/UserProfilePage.tsx(9,34): error TS6133: 'AvatarImage' is declared but its value is never read.
|
||||
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(7,18): error TS6133: 'AvatarFallback' is declared but its value is never read.
|
||||
src/features/tracks/components/CommentThread.tsx(7,34): error TS6133: 'AvatarImage' is declared but its value is never read.
|
||||
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(14,18): error TS6133: 'AvatarFallback' is declared but its value is never read.
|
||||
src/pages/SearchPage.tsx(14,34): error TS6133: 'AvatarImage' is declared but its value is never read.
|
||||
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': creator_id, year, file_path, file_size, and 9 more.
|
||||
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" | "security" | "info" | "warning" | "like" | "follow" | "mention" | "sale"'.
|
||||
src/services/socialService.ts(16,30): error TS2353: Object literal may only specify known properties, and 'text' does not exist in type 'Notification'.
|
||||
src/services/trackService.ts(10,3): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
|
||||
Type 'undefined' is not assignable to type 'string'.
|
||||
src/services/trackService.ts(18,3): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
|
||||
Type 'undefined' is not assignable to type 'string'.
|
||||
src/services/userService.ts(4,7): error TS2740: Type '{ id: string; username: string; email: string; first_name: string; last_name: string; avatar: string; banner: string; roles: string[]; status: "online"; joinDate: string; tier: string; stats: { followers: number; following: number; tracks: number; plays: number; }; bio: string; location: string; socials: { ...; }; w...' 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; first_name: string; last_name: 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; first_name: string; last_name: 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/types/v2-v3-types.ts(89,12): error TS2304: Cannot find name 'Product'.
|
||||
src/types/v2-v3-types.ts(128,16): error TS2304: Cannot find name 'Track'.
|
||||
src/types/v2-v3-types.ts(203,35): error TS2304: Cannot find name 'Product'.
|
||||
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'.
|
||||
npm error Lifecycle script `typecheck` failed with error:
|
||||
npm error code 2
|
||||
npm error path /home/senke/git/talas/veza/apps/web
|
||||
npm error workspace veza-frontend@1.0.0
|
||||
npm error location /home/senke/git/talas/veza/apps/web
|
||||
npm error command failed
|
||||
npm error command sh -c tsc --noEmit
|
||||
1029
design_system.html
1029
design_system.html
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -1,358 +0,0 @@
|
|||
|
||||
> 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/pages/RegisterPage.tsx(152,57): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
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(109,63): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
src/features/chat/components/ChatInterface.tsx(126,67): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
src/features/chat/components/ChatInterface.tsx(147,58): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
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/chat/components/VirtualizedChatMessages.tsx(239,65): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
src/features/library/pages/LibraryPage.tsx(98,17): error TS2339: Property 'search' does not exist on type 'GetTracksParams'.
|
||||
src/features/library/pages/LibraryPage.tsx(154,56): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
src/features/library/pages/LibraryPage.tsx(208,53): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
src/features/player/hooks/usePlayer.ts(50,47): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
src/features/player/hooks/usePlayer.ts(69,50): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
src/features/player/hooks/usePlayer.ts(105,45): error TS2345: Argument of type 'Error' is not assignable to parameter of type 'LogContext'.
|
||||
Index signature for type 'string' is missing in type 'Error'.
|
||||
src/features/player/hooks/usePlayer.ts(143,49): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
src/features/player/hooks/usePlayer.ts(166,52): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
src/features/player/hooks/useStreamSync.ts(80,48): error TS2345: Argument of type 'Error' is not assignable to parameter of type 'LogContext'.
|
||||
Index signature for type 'string' is missing in type 'Error'.
|
||||
src/features/playlists/components/AddTrackToPlaylistModal.tsx(140,59): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
src/features/playlists/components/CreatePlaylistDialog.tsx(75,50): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
src/features/playlists/components/ExportPlaylistButton.tsx(92,37): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
src/features/playlists/components/ImportPlaylistButton.tsx(140,37): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
src/features/playlists/components/PlaylistBatchActions.tsx(111,69): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
src/features/playlists/components/PlaylistBatchActions.tsx(150,13): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
src/features/playlists/hooks/usePlaylistNotifications.ts(156,62): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
src/features/playlists/hooks/usePlaylistNotifications.ts(168,65): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
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/streaming/hooks/useBitrateAdaptation.ts(66,54): error TS2345: Argument of type 'Error' is not assignable to parameter of type 'LogContext'.
|
||||
Index signature for type 'string' is missing in type 'Error'.
|
||||
src/features/streaming/hooks/usePlaybackAnalytics.ts(111,17): error TS2345: Argument of type 'Error' is not assignable to parameter of type 'LogContext'.
|
||||
Index signature for type 'string' is missing in type 'Error'.
|
||||
src/features/streaming/hooks/usePlaybackAnalytics.ts(118,15): error TS2345: Argument of type 'string' is not assignable to parameter of type 'LogContext'.
|
||||
src/features/streaming/hooks/usePlaybackAnalytics.ts(135,13): error TS2345: Argument of type 'Error' is not assignable to parameter of type 'LogContext'.
|
||||
Index signature for type 'string' is missing in type 'Error'.
|
||||
src/features/streaming/hooks/usePlaybackRealtime.ts(180,61): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
src/features/streaming/hooks/usePlaybackRealtime.ts(353,62): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
src/features/streaming/hooks/usePlaybackRealtime.ts(368,42): error TS2345: Argument of type 'Event' is not assignable to parameter of type 'LogContext'.
|
||||
Index signature for type 'string' is missing in type 'Event'.
|
||||
src/features/streaming/hooks/usePlaybackRealtime.ts(402,62): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
src/features/streaming/services/playbackAnalyticsService.ts(233,73): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
src/features/streaming/services/playbackAnalyticsService.ts(251,7): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
src/features/streaming/services/playbackAnalyticsService.ts(328,9): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
src/features/streaming/services/playbackAnalyticsService.ts(341,9): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
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/features/tracks/components/TrackSearchResults.tsx(130,51): error TS2345: Argument of type 'string' is not assignable to parameter of type 'LogContext'.
|
||||
src/features/tracks/components/TrackSort.tsx(80,62): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
src/features/tracks/hooks/useInfiniteScroll.ts(88,51): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
src/features/upload/components/UploadModal.tsx(256,11): error TS2304: Cannot find name 'logger'.
|
||||
src/pages/AdminDashboardPage.tsx(150,52): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
src/pages/AdminDashboardPage.tsx(159,51): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
src/pages/AdminDashboardPage.tsx(168,61): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
src/pages/AdminDashboardPage.tsx(177,51): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
src/pages/AdminDashboardPage.tsx(193,45): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
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/WebhooksPage.tsx(83,53): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
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/api/clientWithValidation.ts(56,47): error TS2345: Argument of type 'ZodError<any> | undefined' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
Type 'ZodError<any>' is not assignable to type 'LogContext'.
|
||||
Index signature for type 'string' is missing in type 'ZodError<any>'.
|
||||
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/authService.ts(46,46): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
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/csrf.ts(29,53): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
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/pwa.ts(80,67): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
src/services/pwa.ts(127,60): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
src/services/pwa.ts(154,52): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
src/services/pwa.ts(218,54): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
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/services/websocket.ts(76,64): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
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'.
|
||||
|
|
@ -1,336 +0,0 @@
|
|||
|
||||
> 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/pages/RegisterPage.tsx(152,57): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
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(109,63): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
src/features/chat/components/ChatInterface.tsx(126,67): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
src/features/chat/components/ChatInterface.tsx(147,58): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
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/chat/components/VirtualizedChatMessages.tsx(239,65): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
src/features/library/pages/LibraryPage.tsx(98,17): error TS2339: Property 'search' does not exist on type 'GetTracksParams'.
|
||||
src/features/library/pages/LibraryPage.tsx(154,56): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
src/features/library/pages/LibraryPage.tsx(208,53): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
src/features/playlists/components/AddTrackToPlaylistModal.tsx(140,59): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
src/features/playlists/components/CreatePlaylistDialog.tsx(75,50): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
src/features/playlists/components/ExportPlaylistButton.tsx(92,37): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
src/features/playlists/components/ImportPlaylistButton.tsx(140,37): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
src/features/playlists/components/PlaylistBatchActions.tsx(111,69): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
src/features/playlists/components/PlaylistBatchActions.tsx(150,13): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
src/features/playlists/hooks/usePlaylistNotifications.ts(156,62): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
src/features/playlists/hooks/usePlaylistNotifications.ts(168,65): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
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/streaming/hooks/useBitrateAdaptation.ts(66,54): error TS2345: Argument of type 'Error' is not assignable to parameter of type 'LogContext'.
|
||||
Index signature for type 'string' is missing in type 'Error'.
|
||||
src/features/streaming/hooks/usePlaybackAnalytics.ts(111,17): error TS2345: Argument of type 'Error' is not assignable to parameter of type 'LogContext'.
|
||||
Index signature for type 'string' is missing in type 'Error'.
|
||||
src/features/streaming/hooks/usePlaybackAnalytics.ts(118,15): error TS2345: Argument of type 'string' is not assignable to parameter of type 'LogContext'.
|
||||
src/features/streaming/hooks/usePlaybackAnalytics.ts(135,13): error TS2345: Argument of type 'Error' is not assignable to parameter of type 'LogContext'.
|
||||
Index signature for type 'string' is missing in type 'Error'.
|
||||
src/features/streaming/hooks/usePlaybackRealtime.ts(180,61): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
src/features/streaming/hooks/usePlaybackRealtime.ts(353,62): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
src/features/streaming/hooks/usePlaybackRealtime.ts(368,42): error TS2345: Argument of type 'Event' is not assignable to parameter of type 'LogContext'.
|
||||
Index signature for type 'string' is missing in type 'Event'.
|
||||
src/features/streaming/hooks/usePlaybackRealtime.ts(402,62): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
src/features/streaming/services/playbackAnalyticsService.ts(233,73): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
src/features/streaming/services/playbackAnalyticsService.ts(251,7): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
src/features/streaming/services/playbackAnalyticsService.ts(328,9): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
src/features/streaming/services/playbackAnalyticsService.ts(341,9): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
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/features/tracks/components/TrackSearchResults.tsx(130,51): error TS2345: Argument of type 'string' is not assignable to parameter of type 'LogContext'.
|
||||
src/features/tracks/components/TrackSort.tsx(80,62): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
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/authService.ts(46,46): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
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/csrf.ts(29,53): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
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/pwa.ts(127,60): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
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/services/websocket.ts(76,64): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
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'.
|
||||
|
|
@ -1,315 +0,0 @@
|
|||
|
||||
> 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/chat/components/VirtualizedChatMessages.tsx(239,65): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
src/features/library/pages/LibraryPage.tsx(98,17): error TS2339: Property 'search' does not exist on type 'GetTracksParams'.
|
||||
src/features/playlists/components/ExportPlaylistButton.tsx(92,37): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
src/features/playlists/components/ImportPlaylistButton.tsx(140,37): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
src/features/playlists/hooks/usePlaylistNotifications.ts(156,62): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
src/features/playlists/hooks/usePlaylistNotifications.ts(168,65): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
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/streaming/hooks/useBitrateAdaptation.ts(66,54): error TS2345: Argument of type 'Error' is not assignable to parameter of type 'LogContext'.
|
||||
Index signature for type 'string' is missing in type 'Error'.
|
||||
src/features/streaming/hooks/usePlaybackRealtime.ts(180,61): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
src/features/streaming/hooks/usePlaybackRealtime.ts(353,62): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
src/features/streaming/hooks/usePlaybackRealtime.ts(368,42): error TS2345: Argument of type 'Event' is not assignable to parameter of type 'LogContext'.
|
||||
Index signature for type 'string' is missing in type 'Event'.
|
||||
src/features/streaming/hooks/usePlaybackRealtime.ts(402,62): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
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/features/tracks/components/TrackSearchResults.tsx(130,51): error TS2345: Argument of type 'string' is not assignable to parameter of type 'LogContext'.
|
||||
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/csrf.ts(29,53): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
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/pwa.ts(127,60): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
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/services/websocket.ts(76,64): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'LogContext | undefined'.
|
||||
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'.
|
||||
|
|
@ -1,299 +0,0 @@
|
|||
|
||||
> 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'.
|
||||
|
|
@ -1,198 +0,0 @@
|
|||
=== RUN TestDuplicatePlaylist_Success
|
||||
2025/12/07 11:23:24 github.com/testcontainers/testcontainers-go - Connected to docker:
|
||||
Server Version: 28.1.1
|
||||
API Version: 1.46
|
||||
Operating System: Fedora Linux 40 (Workstation Edition)
|
||||
Total Memory: 15703 MB
|
||||
Testcontainers for Go Version: v0.33.0
|
||||
Resolved Docker Host: unix:///var/run/docker.sock
|
||||
Resolved Docker Socket Path: /var/run/docker.sock
|
||||
Test SessionID: 2b0e6583d78b45c8d90f78a6cbdc9a3c90ee50500a3c76145760dabeffa25f9f
|
||||
Test ProcessID: 01a186b2-6902-4d82-921b-b87ef18d90ef
|
||||
2025/12/07 11:23:24 🐳 Creating container for image testcontainers/ryuk:0.8.1
|
||||
2025/12/07 11:23:31 ✅ Container created: 36247c2b4dbf
|
||||
2025/12/07 11:23:31 🐳 Starting container: 36247c2b4dbf
|
||||
2025/12/07 11:23:31 ✅ Container started: 36247c2b4dbf
|
||||
2025/12/07 11:23:31 ⏳ Waiting for container id 36247c2b4dbf image: testcontainers/ryuk:0.8.1. Waiting for: &{Port:8080/tcp timeout:<nil> PollInterval:100ms skipInternalCheck:false}
|
||||
2025/12/07 11:23:31 🔔 Container is ready: 36247c2b4dbf
|
||||
2025/12/07 11:23:31 🐳 Creating container for image postgres:15-alpine
|
||||
2025/12/07 11:23:41 ✅ Container created: 67a43ba9a0e9
|
||||
2025/12/07 11:24:37 🐳 Starting container: 67a43ba9a0e9
|
||||
2025/12/07 11:24:38 ✅ Container started: 67a43ba9a0e9
|
||||
2025/12/07 11:24:38 ⏳ Waiting for container id 67a43ba9a0e9 image: postgres:15-alpine. Waiting for: &{timeout:<nil> deadline:0xc000474548 Strategies:[0xc0002a2720]}
|
||||
2025/12/07 11:24:40 🔔 Container is ready: 67a43ba9a0e9
|
||||
|
||||
2025/12/07 11:24:42 [31;1m/home/senke/Documents/veza/veza-backend-api/tests/transactions/playlist_duplicate_transaction_test.go:77 [35;1mERROR: null value in column "creator_id" of relation "tracks" violates not-null constraint (SQLSTATE 23502)
|
||||
[0m[33m[2.079ms] [34;1m[rows:0][0m INSERT INTO "tracks" ("id","user_id","title","artist","album","duration","genre","year","file_path","file_size","format","bitrate","sample_rate","waveform_path","cover_art_path","is_public","status","status_message","stream_status","stream_manifest_url","play_count","like_count","created_at","updated_at","deleted_at") VALUES ('0267f30f-8c44-4740-92cc-6a398156486f','243c6a99-0ada-4cd4-b452-00bcc5c5ab8a','Test Track 579c33ac','Test Artist','',180,'',0,'/test/track.mp3',5242880,'mp3',0,0,'','',true,'completed','','pending','',0,0,'2025-12-07 11:24:42.201','2025-12-07 11:24:42.201',NULL)
|
||||
playlist_duplicate_transaction_test.go:78:
|
||||
Error Trace: /home/senke/Documents/veza/veza-backend-api/tests/transactions/playlist_duplicate_transaction_test.go:78
|
||||
/home/senke/Documents/veza/veza-backend-api/tests/transactions/playlist_duplicate_transaction_test.go:96
|
||||
/home/senke/Documents/veza/veza-backend-api/tests/transactions/playlist_duplicate_transaction_test.go:133
|
||||
Error: Received unexpected error:
|
||||
ERROR: null value in column "creator_id" of relation "tracks" violates not-null constraint (SQLSTATE 23502)
|
||||
Test: TestDuplicatePlaylist_Success
|
||||
--- FAIL: TestDuplicatePlaylist_Success (78.29s)
|
||||
=== RUN TestDuplicatePlaylist_RollbackOnPlaylistNotFound
|
||||
|
||||
2025/12/07 11:24:42 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/services/playlist_duplicate_service.go:56 [35;1mrecord not found
|
||||
[0m[33m[2.597ms] [34;1m[rows:0][0m SELECT * FROM "playlists" WHERE id = '3c709430-4b7c-41e7-acae-c54469d6b719' AND "playlists"."deleted_at" IS NULL ORDER BY "playlists"."id" LIMIT 1
|
||||
--- PASS: TestDuplicatePlaylist_RollbackOnPlaylistNotFound (0.81s)
|
||||
=== RUN TestDuplicatePlaylist_RollbackOnTrackError
|
||||
|
||||
2025/12/07 11:24:43 [31;1m/home/senke/Documents/veza/veza-backend-api/tests/transactions/playlist_duplicate_transaction_test.go:77 [35;1mERROR: null value in column "creator_id" of relation "tracks" violates not-null constraint (SQLSTATE 23502)
|
||||
[0m[33m[1.728ms] [34;1m[rows:0][0m INSERT INTO "tracks" ("id","user_id","title","artist","album","duration","genre","year","file_path","file_size","format","bitrate","sample_rate","waveform_path","cover_art_path","is_public","status","status_message","stream_status","stream_manifest_url","play_count","like_count","created_at","updated_at","deleted_at") VALUES ('ff00921f-c219-4ee9-9709-38839d709e7d','298f0470-78eb-4750-85d3-a5300fe677b2','Test Track 8ffde33d','Test Artist','',180,'',0,'/test/track.mp3',5242880,'mp3',0,0,'','',true,'completed','','pending','',0,0,'2025-12-07 11:24:43.737','2025-12-07 11:24:43.737',NULL)
|
||||
playlist_duplicate_transaction_test.go:78:
|
||||
Error Trace: /home/senke/Documents/veza/veza-backend-api/tests/transactions/playlist_duplicate_transaction_test.go:78
|
||||
/home/senke/Documents/veza/veza-backend-api/tests/transactions/playlist_duplicate_transaction_test.go:96
|
||||
/home/senke/Documents/veza/veza-backend-api/tests/transactions/playlist_duplicate_transaction_test.go:216
|
||||
Error: Received unexpected error:
|
||||
ERROR: null value in column "creator_id" of relation "tracks" violates not-null constraint (SQLSTATE 23502)
|
||||
Test: TestDuplicatePlaylist_RollbackOnTrackError
|
||||
--- FAIL: TestDuplicatePlaylist_RollbackOnTrackError (0.86s)
|
||||
=== RUN TestDuplicatePlaylist_Coherence
|
||||
|
||||
2025/12/07 11:24:44 [31;1m/home/senke/Documents/veza/veza-backend-api/tests/transactions/playlist_duplicate_transaction_test.go:77 [35;1mERROR: null value in column "creator_id" of relation "tracks" violates not-null constraint (SQLSTATE 23502)
|
||||
[0m[33m[1.733ms] [34;1m[rows:0][0m INSERT INTO "tracks" ("id","user_id","title","artist","album","duration","genre","year","file_path","file_size","format","bitrate","sample_rate","waveform_path","cover_art_path","is_public","status","status_message","stream_status","stream_manifest_url","play_count","like_count","created_at","updated_at","deleted_at") VALUES ('b6e91dd5-9480-4b0c-9d96-9688db99a827','09fb130c-b3c9-4e91-8f8e-2fc60b28b84e','Test Track cf64d0de','Test Artist','',180,'',0,'/test/track.mp3',5242880,'mp3',0,0,'','',true,'completed','','pending','',0,0,'2025-12-07 11:24:44.812','2025-12-07 11:24:44.812',NULL)
|
||||
playlist_duplicate_transaction_test.go:78:
|
||||
Error Trace: /home/senke/Documents/veza/veza-backend-api/tests/transactions/playlist_duplicate_transaction_test.go:78
|
||||
/home/senke/Documents/veza/veza-backend-api/tests/transactions/playlist_duplicate_transaction_test.go:96
|
||||
/home/senke/Documents/veza/veza-backend-api/tests/transactions/playlist_duplicate_transaction_test.go:274
|
||||
Error: Received unexpected error:
|
||||
ERROR: null value in column "creator_id" of relation "tracks" violates not-null constraint (SQLSTATE 23502)
|
||||
Test: TestDuplicatePlaylist_Coherence
|
||||
--- FAIL: TestDuplicatePlaylist_Coherence (0.93s)
|
||||
=== RUN TestDuplicatePlaylist_EmptyPlaylist
|
||||
logger.go:146: 2025-12-07T11:24:45.590+0100 INFO Playlist duplicated {"original_playlist_id": "90687653-a53b-4ad4-ae42-0bcdd45cd753", "new_playlist_id": "6506ff1f-3424-4fc2-9a5d-d1d18875ceed", "user_id": "5065a477-e86f-4f83-8405-35972c836550", "tracks_count": 0}
|
||||
--- PASS: TestDuplicatePlaylist_EmptyPlaylist (0.77s)
|
||||
=== RUN TestAssignRoleToUser_Success
|
||||
|
||||
2025/12/07 11:24:46 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/services/rbac_service.go:175 [35;1msql: Scan error on column index 0, name "id": converting driver.Value type string ("11c43f22-4005-4733-a813-ffac46548325") to a uint8: invalid syntax
|
||||
[0m[33m[0.786ms] [34;1m[rows:1][0m SELECT id FROM users WHERE id = '11c43f22-4005-4733-a813-ffac46548325' FOR UPDATE
|
||||
|
||||
2025/12/07 11:24:46 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/services/rbac_service.go:206 [35;1mrecord not found
|
||||
[0m[33m[2.092ms] [34;1m[rows:0][0m SELECT * FROM "user_roles" WHERE user_id = '11c43f22-4005-4733-a813-ffac46548325' AND role_id = 'e5a3352f-eee8-43e8-8215-491deaf27ce4' ORDER BY "user_roles"."id" LIMIT 1 FOR UPDATE
|
||||
logger.go:146: 2025-12-07T11:24:46.255+0100 INFO Role assigned to user successfully {"user_id": "11c43f22-4005-4733-a813-ffac46548325", "role_id": "e5a3352f-eee8-43e8-8215-491deaf27ce4"}
|
||||
--- PASS: TestAssignRoleToUser_Success (0.68s)
|
||||
=== RUN TestAssignRoleToUser_RollbackOnUserNotFound
|
||||
|
||||
2025/12/07 11:24:46 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/services/rbac_service.go:186 [35;1mrecord not found
|
||||
[0m[33m[2.512ms] [34;1m[rows:0][0m SELECT * FROM "users" WHERE "users"."id" = 'de704f52-1582-4570-820d-e0b1cedc79a1' AND "users"."deleted_at" IS NULL ORDER BY "users"."id" LIMIT 1 FOR UPDATE
|
||||
--- PASS: TestAssignRoleToUser_RollbackOnUserNotFound (0.57s)
|
||||
=== RUN TestAssignRoleToUser_RollbackOnRoleNotFound
|
||||
|
||||
2025/12/07 11:24:47 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/services/rbac_service.go:175 [35;1msql: Scan error on column index 0, name "id": converting driver.Value type string ("e468e35d-44f9-437c-bbf8-552e5d5c661e") to a uint8: invalid syntax
|
||||
[0m[33m[0.947ms] [34;1m[rows:1][0m SELECT id FROM users WHERE id = 'e468e35d-44f9-437c-bbf8-552e5d5c661e' FOR UPDATE
|
||||
|
||||
2025/12/07 11:24:47 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/services/rbac_service.go:195 [35;1mrecord not found
|
||||
[0m[33m[0.905ms] [34;1m[rows:0][0m SELECT * FROM "roles" WHERE "roles"."id" = '2572083a-1f04-4e93-be0e-a8826179cf4f' ORDER BY "roles"."id" LIMIT 1 FOR UPDATE
|
||||
--- PASS: TestAssignRoleToUser_RollbackOnRoleNotFound (0.49s)
|
||||
=== RUN TestAssignRoleToUser_RollbackOnDuplicate
|
||||
|
||||
2025/12/07 11:24:47 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/services/rbac_service.go:175 [35;1msql: Scan error on column index 0, name "id": converting driver.Value type string ("ace322b8-8940-4b6e-8aba-ff57b157a4b1") to a uint8: invalid syntax
|
||||
[0m[33m[1.383ms] [34;1m[rows:1][0m SELECT id FROM users WHERE id = 'ace322b8-8940-4b6e-8aba-ff57b157a4b1' FOR UPDATE
|
||||
|
||||
2025/12/07 11:24:47 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/services/rbac_service.go:206 [35;1mrecord not found
|
||||
[0m[33m[1.257ms] [34;1m[rows:0][0m SELECT * FROM "user_roles" WHERE user_id = 'ace322b8-8940-4b6e-8aba-ff57b157a4b1' AND role_id = '7f6bc073-2e73-4d37-aa45-bea24c55981e' ORDER BY "user_roles"."id" LIMIT 1 FOR UPDATE
|
||||
logger.go:146: 2025-12-07T11:24:47.899+0100 INFO Role assigned to user successfully {"user_id": "ace322b8-8940-4b6e-8aba-ff57b157a4b1", "role_id": "7f6bc073-2e73-4d37-aa45-bea24c55981e"}
|
||||
|
||||
2025/12/07 11:24:47 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/services/rbac_service.go:175 [35;1msql: Scan error on column index 0, name "id": converting driver.Value type string ("ace322b8-8940-4b6e-8aba-ff57b157a4b1") to a uint8: invalid syntax
|
||||
[0m[33m[0.443ms] [34;1m[rows:1][0m SELECT id FROM users WHERE id = 'ace322b8-8940-4b6e-8aba-ff57b157a4b1' FOR UPDATE
|
||||
--- PASS: TestAssignRoleToUser_RollbackOnDuplicate (0.55s)
|
||||
=== RUN TestAssignRoleToUser_Concurrency
|
||||
|
||||
2025/12/07 11:24:48 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/services/rbac_service.go:175 [35;1msql: Scan error on column index 0, name "id": converting driver.Value type string ("5aefa230-0589-4040-9b83-c120025843db") to a uint8: invalid syntax
|
||||
[0m[33m[1.428ms] [34;1m[rows:1][0m SELECT id FROM users WHERE id = '5aefa230-0589-4040-9b83-c120025843db' FOR UPDATE
|
||||
|
||||
2025/12/07 11:24:48 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/services/rbac_service.go:206 [35;1mrecord not found
|
||||
[0m[33m[2.932ms] [34;1m[rows:0][0m SELECT * FROM "user_roles" WHERE user_id = '5aefa230-0589-4040-9b83-c120025843db' AND role_id = '9db728ed-7024-4f0a-98ab-d92897930a7e' ORDER BY "user_roles"."id" LIMIT 1 FOR UPDATE
|
||||
logger.go:146: 2025-12-07T11:24:48.456+0100 INFO Role assigned to user successfully {"user_id": "5aefa230-0589-4040-9b83-c120025843db", "role_id": "9db728ed-7024-4f0a-98ab-d92897930a7e"}
|
||||
|
||||
2025/12/07 11:24:48 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/services/rbac_service.go:175 [35;1msql: Scan error on column index 0, name "id": converting driver.Value type string ("5aefa230-0589-4040-9b83-c120025843db") to a uint8: invalid syntax
|
||||
[0m[33m[10.655ms] [34;1m[rows:1][0m SELECT id FROM users WHERE id = '5aefa230-0589-4040-9b83-c120025843db' FOR UPDATE
|
||||
|
||||
2025/12/07 11:24:48 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/services/rbac_service.go:175 [35;1msql: Scan error on column index 0, name "id": converting driver.Value type string ("5aefa230-0589-4040-9b83-c120025843db") to a uint8: invalid syntax
|
||||
[0m[33m[17.798ms] [34;1m[rows:1][0m SELECT id FROM users WHERE id = '5aefa230-0589-4040-9b83-c120025843db' FOR UPDATE
|
||||
|
||||
2025/12/07 11:24:48 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/services/rbac_service.go:175 [35;1msql: Scan error on column index 0, name "id": converting driver.Value type string ("5aefa230-0589-4040-9b83-c120025843db") to a uint8: invalid syntax
|
||||
[0m[33m[21.313ms] [34;1m[rows:1][0m SELECT id FROM users WHERE id = '5aefa230-0589-4040-9b83-c120025843db' FOR UPDATE
|
||||
|
||||
2025/12/07 11:24:48 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/services/rbac_service.go:175 [35;1msql: Scan error on column index 0, name "id": converting driver.Value type string ("5aefa230-0589-4040-9b83-c120025843db") to a uint8: invalid syntax
|
||||
[0m[33m[34.158ms] [34;1m[rows:1][0m SELECT id FROM users WHERE id = '5aefa230-0589-4040-9b83-c120025843db' FOR UPDATE
|
||||
|
||||
2025/12/07 11:24:48 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/services/rbac_service.go:175 [35;1msql: Scan error on column index 0, name "id": converting driver.Value type string ("5aefa230-0589-4040-9b83-c120025843db") to a uint8: invalid syntax
|
||||
[0m[33m[38.100ms] [34;1m[rows:1][0m SELECT id FROM users WHERE id = '5aefa230-0589-4040-9b83-c120025843db' FOR UPDATE
|
||||
|
||||
2025/12/07 11:24:48 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/services/rbac_service.go:175 [35;1msql: Scan error on column index 0, name "id": converting driver.Value type string ("5aefa230-0589-4040-9b83-c120025843db") to a uint8: invalid syntax
|
||||
[0m[33m[48.667ms] [34;1m[rows:1][0m SELECT id FROM users WHERE id = '5aefa230-0589-4040-9b83-c120025843db' FOR UPDATE
|
||||
|
||||
2025/12/07 11:24:48 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/services/rbac_service.go:175 [35;1msql: Scan error on column index 0, name "id": converting driver.Value type string ("5aefa230-0589-4040-9b83-c120025843db") to a uint8: invalid syntax
|
||||
[0m[33m[57.975ms] [34;1m[rows:1][0m SELECT id FROM users WHERE id = '5aefa230-0589-4040-9b83-c120025843db' FOR UPDATE
|
||||
|
||||
2025/12/07 11:24:48 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/services/rbac_service.go:175 [35;1msql: Scan error on column index 0, name "id": converting driver.Value type string ("5aefa230-0589-4040-9b83-c120025843db") to a uint8: invalid syntax
|
||||
[0m[33m[66.207ms] [34;1m[rows:1][0m SELECT id FROM users WHERE id = '5aefa230-0589-4040-9b83-c120025843db' FOR UPDATE
|
||||
|
||||
2025/12/07 11:24:48 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/services/rbac_service.go:175 [35;1msql: Scan error on column index 0, name "id": converting driver.Value type string ("5aefa230-0589-4040-9b83-c120025843db") to a uint8: invalid syntax
|
||||
[0m[33m[74.205ms] [34;1m[rows:1][0m SELECT id FROM users WHERE id = '5aefa230-0589-4040-9b83-c120025843db' FOR UPDATE
|
||||
--- PASS: TestAssignRoleToUser_Concurrency (0.62s)
|
||||
=== RUN TestAssignRoleToUser_Atomicity
|
||||
|
||||
2025/12/07 11:24:49 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/services/rbac_service.go:175 [35;1msql: Scan error on column index 0, name "id": converting driver.Value type string ("7831daac-b1b6-4f94-b075-945ad3e6168d") to a uint8: value out of range
|
||||
[0m[33m[1.083ms] [34;1m[rows:1][0m SELECT id FROM users WHERE id = '7831daac-b1b6-4f94-b075-945ad3e6168d' FOR UPDATE
|
||||
|
||||
2025/12/07 11:24:49 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/services/rbac_service.go:206 [35;1mrecord not found
|
||||
[0m[33m[1.191ms] [34;1m[rows:0][0m SELECT * FROM "user_roles" WHERE user_id = '7831daac-b1b6-4f94-b075-945ad3e6168d' AND role_id = 'ec81012f-bc9f-4146-a1ce-494a0fb8700a' ORDER BY "user_roles"."id" LIMIT 1 FOR UPDATE
|
||||
logger.go:146: 2025-12-07T11:24:49.083+0100 INFO Role assigned to user successfully {"user_id": "7831daac-b1b6-4f94-b075-945ad3e6168d", "role_id": "ec81012f-bc9f-4146-a1ce-494a0fb8700a"}
|
||||
|
||||
2025/12/07 11:24:49 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/services/rbac_service.go:175 [35;1msql: Scan error on column index 0, name "id": converting driver.Value type string ("502ddb31-4564-4a7a-8597-23173d6d2bbd") to a uint8: value out of range
|
||||
[0m[33m[0.603ms] [34;1m[rows:1][0m SELECT id FROM users WHERE id = '502ddb31-4564-4a7a-8597-23173d6d2bbd' FOR UPDATE
|
||||
|
||||
2025/12/07 11:24:49 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/services/rbac_service.go:195 [35;1mrecord not found
|
||||
[0m[33m[0.618ms] [34;1m[rows:0][0m SELECT * FROM "roles" WHERE "roles"."id" = 'ec81012f-bc9f-4146-a1ce-494a0fb8700a' ORDER BY "roles"."id" LIMIT 1 FOR UPDATE
|
||||
rbac_transaction_test.go:253:
|
||||
Error Trace: /home/senke/Documents/veza/veza-backend-api/tests/transactions/rbac_transaction_test.go:253
|
||||
Error: Not equal:
|
||||
expected: 1
|
||||
actual : 0
|
||||
Test: TestAssignRoleToUser_Atomicity
|
||||
Messages: First assignment should still exist
|
||||
--- FAIL: TestAssignRoleToUser_Atomicity (0.56s)
|
||||
=== RUN TestToggleLike_Success
|
||||
|
||||
2025/12/07 11:24:49 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/core/social/service.go:138 [35;1mrecord not found
|
||||
[0m[33m[3.379ms] [34;1m[rows:0][0m SELECT * FROM "likes" WHERE user_id = '2fb8ecb9-d592-4aba-a222-55e83e8b731d' AND target_id = '97ee790e-aa4c-4d89-b7c7-516133e1597e' AND target_type = 'post' ORDER BY "likes"."id" LIMIT 1
|
||||
--- PASS: TestToggleLike_Success (0.55s)
|
||||
=== RUN TestToggleLike_Unlike
|
||||
|
||||
2025/12/07 11:24:50 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/core/social/service.go:138 [35;1mrecord not found
|
||||
[0m[33m[4.081ms] [34;1m[rows:0][0m SELECT * FROM "likes" WHERE user_id = '76ee046c-be40-47df-8c0b-a57872fcdbae' AND target_id = 'f9a607e2-fd5d-4dbf-a36d-70b1aef98991' AND target_type = 'post' ORDER BY "likes"."id" LIMIT 1
|
||||
--- PASS: TestToggleLike_Unlike (0.45s)
|
||||
=== RUN TestToggleLike_RollbackOnError
|
||||
|
||||
2025/12/07 11:24:50 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/core/social/service.go:138 [35;1mrecord not found
|
||||
[0m[33m[3.890ms] [34;1m[rows:0][0m SELECT * FROM "likes" WHERE user_id = '38df6295-fd47-444c-9fd4-3ab4791d6da9' AND target_id = 'ecfc6256-afee-4009-ad4e-7c31833fa883' AND target_type = 'post' ORDER BY "likes"."id" LIMIT 1
|
||||
social_transaction_test.go:190:
|
||||
Error Trace: /home/senke/Documents/veza/veza-backend-api/tests/transactions/social_transaction_test.go:190
|
||||
Error: An error is expected but got nil.
|
||||
Test: TestToggleLike_RollbackOnError
|
||||
Messages: ToggleLike should fail
|
||||
--- FAIL: TestToggleLike_RollbackOnError (0.45s)
|
||||
=== RUN TestToggleLike_Coherence
|
||||
|
||||
2025/12/07 11:24:50 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/core/social/service.go:138 [35;1mrecord not found
|
||||
[0m[33m[3.181ms] [34;1m[rows:0][0m SELECT * FROM "likes" WHERE user_id = '1c6256fe-1db0-41f4-a919-039e0703bcb8' AND target_id = '3715ab28-0038-42d9-9b65-4ccbc57f9cf5' AND target_type = 'post' ORDER BY "likes"."id" LIMIT 1
|
||||
|
||||
2025/12/07 11:24:50 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/core/social/service.go:138 [35;1mrecord not found
|
||||
[0m[33m[0.380ms] [34;1m[rows:0][0m SELECT * FROM "likes" WHERE user_id = '77d31b5c-5c85-491e-954d-b8f417613126' AND target_id = '3715ab28-0038-42d9-9b65-4ccbc57f9cf5' AND target_type = 'post' ORDER BY "likes"."id" LIMIT 1
|
||||
--- PASS: TestToggleLike_Coherence (0.44s)
|
||||
=== RUN TestAddComment_Success
|
||||
--- PASS: TestAddComment_Success (0.36s)
|
||||
=== RUN TestAddComment_RollbackOnError
|
||||
|
||||
2025/12/07 11:24:51 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/core/social/service.go:196 [35;1mrecord not found
|
||||
[0m[33m[2.500ms] [34;1m[rows:0][0m SELECT * FROM "posts" WHERE id = 'c80e89a9-a3ba-4f4b-89a5-b26a2cfcb01d' AND "posts"."deleted_at" IS NULL ORDER BY "posts"."id" LIMIT 1
|
||||
--- PASS: TestAddComment_RollbackOnError (0.38s)
|
||||
=== RUN TestAddComment_Coherence
|
||||
--- PASS: TestAddComment_Coherence (0.36s)
|
||||
FAIL
|
||||
FAIL veza-backend-api/tests/transactions 88.221s
|
||||
FAIL
|
||||
|
|
@ -1,41 +0,0 @@
|
|||
=== RUN TestAssignRoleToUser_Atomicity
|
||||
2025/12/07 11:26:50 github.com/testcontainers/testcontainers-go - Connected to docker:
|
||||
Server Version: 28.1.1
|
||||
API Version: 1.46
|
||||
Operating System: Fedora Linux 40 (Workstation Edition)
|
||||
Total Memory: 15703 MB
|
||||
Testcontainers for Go Version: v0.33.0
|
||||
Resolved Docker Host: unix:///var/run/docker.sock
|
||||
Resolved Docker Socket Path: /var/run/docker.sock
|
||||
Test SessionID: 701c380b086e3b30622aa518f5ceef599b4fc5a3f67810394a7ecb28a89feb37
|
||||
Test ProcessID: a68f6429-75fc-411e-854b-1a6274d25353
|
||||
2025/12/07 11:26:50 🐳 Creating container for image testcontainers/ryuk:0.8.1
|
||||
2025/12/07 11:26:50 ✅ Container created: 24600ac325de
|
||||
2025/12/07 11:26:50 🐳 Starting container: 24600ac325de
|
||||
2025/12/07 11:26:51 ✅ Container started: 24600ac325de
|
||||
2025/12/07 11:26:51 ⏳ Waiting for container id 24600ac325de image: testcontainers/ryuk:0.8.1. Waiting for: &{Port:8080/tcp timeout:<nil> PollInterval:100ms skipInternalCheck:false}
|
||||
2025/12/07 11:26:51 🔔 Container is ready: 24600ac325de
|
||||
2025/12/07 11:26:51 🐳 Creating container for image postgres:15-alpine
|
||||
2025/12/07 11:26:56 ✅ Container created: e56d460c8df9
|
||||
2025/12/07 11:27:47 🐳 Starting container: e56d460c8df9
|
||||
2025/12/07 11:27:47 ✅ Container started: e56d460c8df9
|
||||
2025/12/07 11:27:47 ⏳ Waiting for container id e56d460c8df9 image: postgres:15-alpine. Waiting for: &{timeout:<nil> deadline:0xc000132118 Strategies:[0xc0001a96e0]}
|
||||
2025/12/07 11:27:50 🔔 Container is ready: e56d460c8df9
|
||||
|
||||
2025/12/07 11:27:51 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/services/rbac_service.go:195 [35;1mrecord not found
|
||||
[0m[33m[1.618ms] [34;1m[rows:0][0m SELECT * FROM "user_roles" WHERE user_id = '999ef685-8c51-4bf8-80e6-3af79b3679e8' AND role_id = 'dd5df099-a65e-4aac-930f-dd58e6f62d38' ORDER BY "user_roles"."id" LIMIT 1 FOR UPDATE
|
||||
logger.go:146: 2025-12-07T11:27:51.349+0100 INFO Role assigned to user successfully {"user_id": "999ef685-8c51-4bf8-80e6-3af79b3679e8", "role_id": "dd5df099-a65e-4aac-930f-dd58e6f62d38"}
|
||||
|
||||
2025/12/07 11:27:51 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/services/rbac_service.go:184 [35;1mrecord not found
|
||||
[0m[33m[0.726ms] [34;1m[rows:0][0m SELECT * FROM "roles" WHERE "roles"."id" = 'dd5df099-a65e-4aac-930f-dd58e6f62d38' ORDER BY "roles"."id" LIMIT 1 FOR UPDATE
|
||||
rbac_transaction_test.go:253:
|
||||
Error Trace: /home/senke/Documents/veza/veza-backend-api/tests/transactions/rbac_transaction_test.go:253
|
||||
Error: Not equal:
|
||||
expected: 1
|
||||
actual : 0
|
||||
Test: TestAssignRoleToUser_Atomicity
|
||||
Messages: First assignment should still exist
|
||||
--- FAIL: TestAssignRoleToUser_Atomicity (60.74s)
|
||||
FAIL
|
||||
FAIL veza-backend-api/tests/transactions 60.869s
|
||||
FAIL
|
||||
|
|
@ -1,140 +0,0 @@
|
|||
=== RUN TestDuplicatePlaylist_Success
|
||||
2025/12/07 11:34:53 github.com/testcontainers/testcontainers-go - Connected to docker:
|
||||
Server Version: 28.1.1
|
||||
API Version: 1.46
|
||||
Operating System: Fedora Linux 40 (Workstation Edition)
|
||||
Total Memory: 15703 MB
|
||||
Testcontainers for Go Version: v0.33.0
|
||||
Resolved Docker Host: unix:///var/run/docker.sock
|
||||
Resolved Docker Socket Path: /var/run/docker.sock
|
||||
Test SessionID: 440455632d156d5c5609fefcdcaa3a78afcb9784d6e1c787217dc097ea00a9d7
|
||||
Test ProcessID: 06385116-2960-43ac-8823-797560026a86
|
||||
2025/12/07 11:34:53 🐳 Creating container for image testcontainers/ryuk:0.8.1
|
||||
2025/12/07 11:34:57 ✅ Container created: 0ade6b707bb2
|
||||
2025/12/07 11:34:57 🐳 Starting container: 0ade6b707bb2
|
||||
2025/12/07 11:34:57 ✅ Container started: 0ade6b707bb2
|
||||
2025/12/07 11:34:57 ⏳ Waiting for container id 0ade6b707bb2 image: testcontainers/ryuk:0.8.1. Waiting for: &{Port:8080/tcp timeout:<nil> PollInterval:100ms skipInternalCheck:false}
|
||||
2025/12/07 11:34:57 🔔 Container is ready: 0ade6b707bb2
|
||||
2025/12/07 11:34:57 🐳 Creating container for image postgres:15-alpine
|
||||
2025/12/07 11:35:07 ✅ Container created: 869055a3a8ce
|
||||
2025/12/07 11:36:04 🐳 Starting container: 869055a3a8ce
|
||||
2025/12/07 11:36:04 ✅ Container started: 869055a3a8ce
|
||||
2025/12/07 11:36:04 ⏳ Waiting for container id 869055a3a8ce image: postgres:15-alpine. Waiting for: &{timeout:<nil> deadline:0xc000298ef8 Strategies:[0xc0000d8660]}
|
||||
2025/12/07 11:36:07 🔔 Container is ready: 869055a3a8ce
|
||||
|
||||
2025/12/07 11:36:08 [31;1m/home/senke/Documents/veza/veza-backend-api/tests/transactions/playlist_duplicate_transaction_test.go:118 [35;1mERROR: null value in column "added_by" of relation "playlist_tracks" violates not-null constraint (SQLSTATE 23502)
|
||||
[0m[33m[1.836ms] [34;1m[rows:0][0m INSERT INTO "playlist_tracks" ("id","playlist_id","track_id","position","added_at") VALUES ('2cff9932-44c5-4900-aab5-a4ea87c6fd61','e6d84276-2f15-41f9-8614-1d334d2aec94','b424fbfa-32c2-4f1e-b3a6-497a94250b10',1,'2025-12-07 11:36:08.484')
|
||||
playlist_duplicate_transaction_test.go:119:
|
||||
Error Trace: /home/senke/Documents/veza/veza-backend-api/tests/transactions/playlist_duplicate_transaction_test.go:119
|
||||
/home/senke/Documents/veza/veza-backend-api/tests/transactions/playlist_duplicate_transaction_test.go:145
|
||||
Error: Received unexpected error:
|
||||
ERROR: null value in column "added_by" of relation "playlist_tracks" violates not-null constraint (SQLSTATE 23502)
|
||||
Test: TestDuplicatePlaylist_Success
|
||||
--- FAIL: TestDuplicatePlaylist_Success (75.15s)
|
||||
=== RUN TestDuplicatePlaylist_RollbackOnPlaylistNotFound
|
||||
|
||||
2025/12/07 11:36:09 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/services/playlist_duplicate_service.go:56 [35;1mrecord not found
|
||||
[0m[33m[2.535ms] [34;1m[rows:0][0m SELECT * FROM "playlists" WHERE id = 'afd1be0a-d339-4db9-9fae-d81a49865aed' AND "playlists"."deleted_at" IS NULL ORDER BY "playlists"."id" LIMIT 1
|
||||
--- PASS: TestDuplicatePlaylist_RollbackOnPlaylistNotFound (0.70s)
|
||||
=== RUN TestDuplicatePlaylist_RollbackOnTrackError
|
||||
|
||||
2025/12/07 11:36:09 [31;1m/home/senke/Documents/veza/veza-backend-api/tests/transactions/playlist_duplicate_transaction_test.go:118 [35;1mERROR: null value in column "added_by" of relation "playlist_tracks" violates not-null constraint (SQLSTATE 23502)
|
||||
[0m[33m[1.553ms] [34;1m[rows:0][0m INSERT INTO "playlist_tracks" ("id","playlist_id","track_id","position","added_at") VALUES ('b5eb9580-ba0d-4212-917d-8f582a25c712','bd91519a-8673-4aff-acc4-291fb923a99c','8642b93b-0c50-4e8e-b9bd-523ac8fa211b',1,'2025-12-07 11:36:09.896')
|
||||
playlist_duplicate_transaction_test.go:119:
|
||||
Error Trace: /home/senke/Documents/veza/veza-backend-api/tests/transactions/playlist_duplicate_transaction_test.go:119
|
||||
/home/senke/Documents/veza/veza-backend-api/tests/transactions/playlist_duplicate_transaction_test.go:228
|
||||
Error: Received unexpected error:
|
||||
ERROR: null value in column "added_by" of relation "playlist_tracks" violates not-null constraint (SQLSTATE 23502)
|
||||
Test: TestDuplicatePlaylist_RollbackOnTrackError
|
||||
--- FAIL: TestDuplicatePlaylist_RollbackOnTrackError (0.69s)
|
||||
=== RUN TestDuplicatePlaylist_Coherence
|
||||
|
||||
2025/12/07 11:36:10 [31;1m/home/senke/Documents/veza/veza-backend-api/tests/transactions/playlist_duplicate_transaction_test.go:118 [35;1mERROR: null value in column "added_by" of relation "playlist_tracks" violates not-null constraint (SQLSTATE 23502)
|
||||
[0m[33m[1.177ms] [34;1m[rows:0][0m INSERT INTO "playlist_tracks" ("id","playlist_id","track_id","position","added_at") VALUES ('4c871380-93a8-4a01-a99c-3f25bb299196','0f12c303-292a-4eab-ac01-4028b38a65f8','e09027d2-abc7-4404-be3d-702a63345e33',1,'2025-12-07 11:36:10.58')
|
||||
playlist_duplicate_transaction_test.go:119:
|
||||
Error Trace: /home/senke/Documents/veza/veza-backend-api/tests/transactions/playlist_duplicate_transaction_test.go:119
|
||||
/home/senke/Documents/veza/veza-backend-api/tests/transactions/playlist_duplicate_transaction_test.go:286
|
||||
Error: Received unexpected error:
|
||||
ERROR: null value in column "added_by" of relation "playlist_tracks" violates not-null constraint (SQLSTATE 23502)
|
||||
Test: TestDuplicatePlaylist_Coherence
|
||||
--- FAIL: TestDuplicatePlaylist_Coherence (0.69s)
|
||||
=== RUN TestDuplicatePlaylist_EmptyPlaylist
|
||||
logger.go:146: 2025-12-07T11:36:11.226+0100 INFO Playlist duplicated {"original_playlist_id": "7aa8d92e-302f-46e8-ab0b-27bf1b15ccfb", "new_playlist_id": "dd92e703-94ce-4d1e-bd4e-6a12e27b162e", "user_id": "f9bf075d-135a-4a63-9972-5e4f771f1a48", "tracks_count": 0}
|
||||
--- PASS: TestDuplicatePlaylist_EmptyPlaylist (0.64s)
|
||||
=== RUN TestAssignRoleToUser_Success
|
||||
|
||||
2025/12/07 11:36:11 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/services/rbac_service.go:195 [35;1mrecord not found
|
||||
[0m[33m[2.105ms] [34;1m[rows:0][0m SELECT * FROM "user_roles" WHERE user_id = 'a854f544-e78b-460f-b066-52c73065f1da' AND role_id = '2bb31f3e-40dd-4cd6-9322-a8b1fb2259dd' ORDER BY "user_roles"."id" LIMIT 1 FOR UPDATE
|
||||
logger.go:146: 2025-12-07T11:36:11.888+0100 INFO Role assigned to user successfully {"user_id": "a854f544-e78b-460f-b066-52c73065f1da", "role_id": "2bb31f3e-40dd-4cd6-9322-a8b1fb2259dd"}
|
||||
--- PASS: TestAssignRoleToUser_Success (0.67s)
|
||||
=== RUN TestAssignRoleToUser_RollbackOnUserNotFound
|
||||
|
||||
2025/12/07 11:36:12 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/services/rbac_service.go:175 [35;1mrecord not found
|
||||
[0m[33m[3.126ms] [34;1m[rows:0][0m SELECT * FROM "users" WHERE "users"."id" = '0a7c250c-f6dd-43cc-926b-506002381493' AND "users"."deleted_at" IS NULL ORDER BY "users"."id" LIMIT 1 FOR UPDATE
|
||||
--- PASS: TestAssignRoleToUser_RollbackOnUserNotFound (0.62s)
|
||||
=== RUN TestAssignRoleToUser_RollbackOnRoleNotFound
|
||||
|
||||
2025/12/07 11:36:13 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/services/rbac_service.go:184 [35;1mrecord not found
|
||||
[0m[33m[1.145ms] [34;1m[rows:0][0m SELECT * FROM "roles" WHERE "roles"."id" = '6085c22c-9c49-4014-8a61-179ef3a6efd3' ORDER BY "roles"."id" LIMIT 1 FOR UPDATE
|
||||
--- PASS: TestAssignRoleToUser_RollbackOnRoleNotFound (0.50s)
|
||||
=== RUN TestAssignRoleToUser_RollbackOnDuplicate
|
||||
|
||||
2025/12/07 11:36:13 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/services/rbac_service.go:195 [35;1mrecord not found
|
||||
[0m[33m[1.160ms] [34;1m[rows:0][0m SELECT * FROM "user_roles" WHERE user_id = '2635bffb-4865-46e0-9600-f41232b7e44b' AND role_id = 'a10d1733-8565-4ddf-aaeb-d1f0deeb7a2b' ORDER BY "user_roles"."id" LIMIT 1 FOR UPDATE
|
||||
logger.go:146: 2025-12-07T11:36:13.551+0100 INFO Role assigned to user successfully {"user_id": "2635bffb-4865-46e0-9600-f41232b7e44b", "role_id": "a10d1733-8565-4ddf-aaeb-d1f0deeb7a2b"}
|
||||
--- PASS: TestAssignRoleToUser_RollbackOnDuplicate (0.50s)
|
||||
=== RUN TestAssignRoleToUser_Concurrency
|
||||
|
||||
2025/12/07 11:36:14 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/services/rbac_service.go:195 [35;1mrecord not found
|
||||
[0m[33m[2.201ms] [34;1m[rows:0][0m SELECT * FROM "user_roles" WHERE user_id = 'a392cbe1-71f5-4090-8ffa-8fb3737bb4c3' AND role_id = 'c3f0a9cc-ee1e-413e-b1c0-0468ffe23a3f' ORDER BY "user_roles"."id" LIMIT 1 FOR UPDATE
|
||||
logger.go:146: 2025-12-07T11:36:14.034+0100 INFO Role assigned to user successfully {"user_id": "a392cbe1-71f5-4090-8ffa-8fb3737bb4c3", "role_id": "c3f0a9cc-ee1e-413e-b1c0-0468ffe23a3f"}
|
||||
--- PASS: TestAssignRoleToUser_Concurrency (0.54s)
|
||||
=== RUN TestAssignRoleToUser_Atomicity
|
||||
|
||||
2025/12/07 11:36:14 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/services/rbac_service.go:195 [35;1mrecord not found
|
||||
[0m[33m[0.923ms] [34;1m[rows:0][0m SELECT * FROM "user_roles" WHERE user_id = 'ba31ed52-568c-444b-b672-a6da2f0dc4f4' AND role_id = '0ea533dd-3855-45ba-aca7-5961785427b9' ORDER BY "user_roles"."id" LIMIT 1 FOR UPDATE
|
||||
logger.go:146: 2025-12-07T11:36:14.595+0100 INFO Role assigned to user successfully {"user_id": "ba31ed52-568c-444b-b672-a6da2f0dc4f4", "role_id": "0ea533dd-3855-45ba-aca7-5961785427b9"}
|
||||
|
||||
2025/12/07 11:36:14 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/services/rbac_service.go:184 [35;1mrecord not found
|
||||
[0m[33m[0.464ms] [34;1m[rows:0][0m SELECT * FROM "roles" WHERE "roles"."id" = '0ea533dd-3855-45ba-aca7-5961785427b9' ORDER BY "roles"."id" LIMIT 1 FOR UPDATE
|
||||
--- PASS: TestAssignRoleToUser_Atomicity (0.51s)
|
||||
=== RUN TestToggleLike_Success
|
||||
|
||||
2025/12/07 11:36:14 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/core/social/service.go:138 [35;1mrecord not found
|
||||
[0m[33m[3.074ms] [34;1m[rows:0][0m SELECT * FROM "likes" WHERE user_id = 'c32b6eaa-6436-44d2-878d-c8e7212201b4' AND target_id = 'd6a40c6a-c42a-452f-a836-048659c55d0f' AND target_type = 'post' ORDER BY "likes"."id" LIMIT 1
|
||||
--- PASS: TestToggleLike_Success (0.38s)
|
||||
=== RUN TestToggleLike_Unlike
|
||||
|
||||
2025/12/07 11:36:15 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/core/social/service.go:138 [35;1mrecord not found
|
||||
[0m[33m[2.317ms] [34;1m[rows:0][0m SELECT * FROM "likes" WHERE user_id = 'bbeef6e1-e98b-4271-939c-00de7975351e' AND target_id = '084595c7-e8e2-4a40-a8cd-12e8c4918347' AND target_type = 'post' ORDER BY "likes"."id" LIMIT 1
|
||||
--- PASS: TestToggleLike_Unlike (0.38s)
|
||||
=== RUN TestToggleLike_RollbackOnError
|
||||
|
||||
2025/12/07 11:36:15 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/core/social/service.go:138 [35;1mrecord not found
|
||||
[0m[33m[1.801ms] [34;1m[rows:0][0m SELECT * FROM "likes" WHERE user_id = 'd43390da-c008-4190-a7e6-3c554112f575' AND target_id = '86ae2b81-d401-431e-8fc0-47b7c34dd285' AND target_type = 'post' ORDER BY "likes"."id" LIMIT 1
|
||||
social_transaction_test.go:190:
|
||||
Error Trace: /home/senke/Documents/veza/veza-backend-api/tests/transactions/social_transaction_test.go:190
|
||||
Error: An error is expected but got nil.
|
||||
Test: TestToggleLike_RollbackOnError
|
||||
Messages: ToggleLike should fail
|
||||
--- FAIL: TestToggleLike_RollbackOnError (0.38s)
|
||||
=== RUN TestToggleLike_Coherence
|
||||
|
||||
2025/12/07 11:36:16 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/core/social/service.go:138 [35;1mrecord not found
|
||||
[0m[33m[2.121ms] [34;1m[rows:0][0m SELECT * FROM "likes" WHERE user_id = '38be238a-d1a6-42f3-936d-f025fbc78a4d' AND target_id = '33179c3f-9f3e-4917-8c9b-3564db8a3a48' AND target_type = 'post' ORDER BY "likes"."id" LIMIT 1
|
||||
|
||||
2025/12/07 11:36:16 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/core/social/service.go:138 [35;1mrecord not found
|
||||
[0m[33m[0.542ms] [34;1m[rows:0][0m SELECT * FROM "likes" WHERE user_id = '3b588716-a306-4ad8-bf4a-8c9ff3a63844' AND target_id = '33179c3f-9f3e-4917-8c9b-3564db8a3a48' AND target_type = 'post' ORDER BY "likes"."id" LIMIT 1
|
||||
--- PASS: TestToggleLike_Coherence (0.38s)
|
||||
=== RUN TestAddComment_Success
|
||||
--- PASS: TestAddComment_Success (0.48s)
|
||||
=== RUN TestAddComment_RollbackOnError
|
||||
|
||||
2025/12/07 11:36:17 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/core/social/service.go:196 [35;1mrecord not found
|
||||
[0m[33m[2.774ms] [34;1m[rows:0][0m SELECT * FROM "posts" WHERE id = 'd5a323c7-9fcc-493d-8bdd-392e1c10d7e3' AND "posts"."deleted_at" IS NULL ORDER BY "posts"."id" LIMIT 1
|
||||
--- PASS: TestAddComment_RollbackOnError (0.57s)
|
||||
=== RUN TestAddComment_Coherence
|
||||
--- PASS: TestAddComment_Coherence (0.50s)
|
||||
FAIL
|
||||
FAIL veza-backend-api/tests/transactions 84.372s
|
||||
FAIL
|
||||
|
|
@ -1,142 +0,0 @@
|
|||
=== RUN TestDuplicatePlaylist_Success
|
||||
2025/12/07 11:38:32 github.com/testcontainers/testcontainers-go - Connected to docker:
|
||||
Server Version: 28.1.1
|
||||
API Version: 1.46
|
||||
Operating System: Fedora Linux 40 (Workstation Edition)
|
||||
Total Memory: 15703 MB
|
||||
Testcontainers for Go Version: v0.33.0
|
||||
Resolved Docker Host: unix:///var/run/docker.sock
|
||||
Resolved Docker Socket Path: /var/run/docker.sock
|
||||
Test SessionID: ab58b9d3320075a141f918c98803ff9c8ae90abfec9a020064ae28bec5b82496
|
||||
Test ProcessID: c4f2ba27-0849-4034-9d19-40d1ca65fdbe
|
||||
2025/12/07 11:38:32 🐳 Creating container for image testcontainers/ryuk:0.8.1
|
||||
2025/12/07 11:38:42 ✅ Container created: 5ae9e99b5196
|
||||
2025/12/07 11:38:42 🐳 Starting container: 5ae9e99b5196
|
||||
2025/12/07 11:38:42 ✅ Container started: 5ae9e99b5196
|
||||
2025/12/07 11:38:42 ⏳ Waiting for container id 5ae9e99b5196 image: testcontainers/ryuk:0.8.1. Waiting for: &{Port:8080/tcp timeout:<nil> PollInterval:100ms skipInternalCheck:false}
|
||||
2025/12/07 11:38:43 🔔 Container is ready: 5ae9e99b5196
|
||||
2025/12/07 11:38:43 🐳 Creating container for image postgres:15-alpine
|
||||
2025/12/07 11:38:52 ✅ Container created: 8afa6e529142
|
||||
2025/12/07 11:39:49 🐳 Starting container: 8afa6e529142
|
||||
2025/12/07 11:39:49 ✅ Container started: 8afa6e529142
|
||||
2025/12/07 11:39:49 ⏳ Waiting for container id 8afa6e529142 image: postgres:15-alpine. Waiting for: &{timeout:<nil> deadline:0xc000294fb8 Strategies:[0xc00029e960]}
|
||||
2025/12/07 11:39:52 🔔 Container is ready: 8afa6e529142
|
||||
|
||||
2025/12/07 11:39:53 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/services/playlist_duplicate_service.go:115 [35;1mERROR: insert or update on table "playlist_tracks" violates foreign key constraint "playlist_tracks_added_by_fkey" (SQLSTATE 23503)
|
||||
[0m[33m[1.211ms] [34;1m[rows:0][0m INSERT INTO "playlist_tracks" ("id","playlist_id","track_id","position","added_by","added_at") VALUES ('7646d9aa-8d4b-4337-87e0-5aed63b43028','ffdd7508-6cf4-469f-a895-18b9b1dacaf5','f9180654-7acd-40d2-bf5c-fe03f4ce7c8a',1,'00000000-0000-0000-0000-000000000000','2025-12-07 11:39:53.92')
|
||||
playlist_duplicate_transaction_test.go:158:
|
||||
Error Trace: /home/senke/Documents/veza/veza-backend-api/tests/transactions/playlist_duplicate_transaction_test.go:158
|
||||
Error: Received unexpected error:
|
||||
DuplicatePlaylist: failed to add track f9180654-7acd-40d2-bf5c-fe03f4ce7c8a to duplicate: ERROR: insert or update on table "playlist_tracks" violates foreign key constraint "playlist_tracks_added_by_fkey" (SQLSTATE 23503)
|
||||
Test: TestDuplicatePlaylist_Success
|
||||
Messages: DuplicatePlaylist should succeed
|
||||
--- FAIL: TestDuplicatePlaylist_Success (81.19s)
|
||||
=== RUN TestDuplicatePlaylist_RollbackOnPlaylistNotFound
|
||||
|
||||
2025/12/07 11:39:54 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/services/playlist_duplicate_service.go:56 [35;1mrecord not found
|
||||
[0m[33m[2.777ms] [34;1m[rows:0][0m SELECT * FROM "playlists" WHERE id = 'a25682a4-2fb1-450a-b495-78f2be6a3ad6' AND "playlists"."deleted_at" IS NULL ORDER BY "playlists"."id" LIMIT 1
|
||||
--- PASS: TestDuplicatePlaylist_RollbackOnPlaylistNotFound (0.79s)
|
||||
=== RUN TestDuplicatePlaylist_RollbackOnTrackError
|
||||
|
||||
2025/12/07 11:39:55 [31;1m/home/senke/Documents/veza/veza-backend-api/tests/transactions/playlist_duplicate_transaction_test.go:239 [35;1mERROR: missing FROM-clause entry for table "tracks" (SQLSTATE 42P01)
|
||||
[0m[33m[0.565ms] [34;1m[rows:1][0m SELECT * FROM "playlist_tracks" WHERE playlist_id = '4b2dddb7-4013-43cf-9c88-d537f91bc49d' AND "tracks"."id" IN (NULL) AND "playlist_tracks"."deleted_at" IS NULL ORDER BY position ASC,"playlist_tracks"."id" LIMIT 1
|
||||
|
||||
2025/12/07 11:39:55 [31;1m/home/senke/Documents/veza/veza-backend-api/tests/transactions/playlist_duplicate_transaction_test.go:242 [35;1mWHERE conditions required
|
||||
[0m[33m[0.652ms] [34;1m[rows:0][0m UPDATE "tracks" SET "deleted_at"='2025-12-07 11:39:55.458' WHERE "tracks"."deleted_at" IS NULL
|
||||
|
||||
2025/12/07 11:39:55 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/services/playlist_duplicate_service.go:115 [35;1mERROR: insert or update on table "playlist_tracks" violates foreign key constraint "playlist_tracks_added_by_fkey" (SQLSTATE 23503)
|
||||
[0m[33m[1.045ms] [34;1m[rows:0][0m INSERT INTO "playlist_tracks" ("id","playlist_id","track_id","position","added_by","added_at") VALUES ('64d8c1e2-7ff1-4c28-89ad-a382f7a8b05f','e5f6d0e6-eb19-42c9-a1a9-8874462531d9','6440b55d-f440-4fb6-b313-5b41dea5e320',1,'00000000-0000-0000-0000-000000000000','2025-12-07 11:39:55.462')
|
||||
--- PASS: TestDuplicatePlaylist_RollbackOnTrackError (0.79s)
|
||||
=== RUN TestDuplicatePlaylist_Coherence
|
||||
|
||||
2025/12/07 11:39:56 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/services/playlist_duplicate_service.go:115 [35;1mERROR: insert or update on table "playlist_tracks" violates foreign key constraint "playlist_tracks_added_by_fkey" (SQLSTATE 23503)
|
||||
[0m[33m[0.749ms] [34;1m[rows:0][0m INSERT INTO "playlist_tracks" ("id","playlist_id","track_id","position","added_by","added_at") VALUES ('4278d64a-c7b4-412a-92c2-58afa6583eba','a1c67e05-3691-4840-9e6c-d5bdaa76a118','f1bbf3ae-49dc-4e86-863d-07208dc3225f',1,'00000000-0000-0000-0000-000000000000','2025-12-07 11:39:56.343')
|
||||
playlist_duplicate_transaction_test.go:299:
|
||||
Error Trace: /home/senke/Documents/veza/veza-backend-api/tests/transactions/playlist_duplicate_transaction_test.go:299
|
||||
Error: Received unexpected error:
|
||||
DuplicatePlaylist: failed to add track f1bbf3ae-49dc-4e86-863d-07208dc3225f to duplicate: ERROR: insert or update on table "playlist_tracks" violates foreign key constraint "playlist_tracks_added_by_fkey" (SQLSTATE 23503)
|
||||
Test: TestDuplicatePlaylist_Coherence
|
||||
--- FAIL: TestDuplicatePlaylist_Coherence (0.88s)
|
||||
=== RUN TestDuplicatePlaylist_EmptyPlaylist
|
||||
logger.go:146: 2025-12-07T11:39:57.018+0100 INFO Playlist duplicated {"original_playlist_id": "cc5bc09b-1401-4de0-98ed-03c273d40ca5", "new_playlist_id": "cf99e993-d133-4b46-b75a-82c6b34567d8", "user_id": "4944519c-0db7-4452-8e32-cabfb5ab85a3", "tracks_count": 0}
|
||||
--- PASS: TestDuplicatePlaylist_EmptyPlaylist (0.62s)
|
||||
=== RUN TestAssignRoleToUser_Success
|
||||
|
||||
2025/12/07 11:39:57 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/services/rbac_service.go:195 [35;1mrecord not found
|
||||
[0m[33m[2.161ms] [34;1m[rows:0][0m SELECT * FROM "user_roles" WHERE user_id = '9adf7145-8c3c-48a3-87b3-0e37761b7bca' AND role_id = '5c4bcb87-39eb-47a8-aab6-16f7980fb73a' ORDER BY "user_roles"."id" LIMIT 1 FOR UPDATE
|
||||
logger.go:146: 2025-12-07T11:39:57.598+0100 INFO Role assigned to user successfully {"user_id": "9adf7145-8c3c-48a3-87b3-0e37761b7bca", "role_id": "5c4bcb87-39eb-47a8-aab6-16f7980fb73a"}
|
||||
|
||||
2025/12/07 11:39:57 [32m/home/senke/Documents/veza/veza-backend-api/tests/transactions/rbac_transaction_test.go:43 [33mSLOW SQL >= 200ms
|
||||
[0m[31;1m[218.234ms] [33m[rows:0][35m TRUNCATE TABLE users CASCADE[0m
|
||||
--- PASS: TestAssignRoleToUser_Success (0.68s)
|
||||
=== RUN TestAssignRoleToUser_RollbackOnUserNotFound
|
||||
|
||||
2025/12/07 11:39:58 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/services/rbac_service.go:175 [35;1mrecord not found
|
||||
[0m[33m[4.333ms] [34;1m[rows:0][0m SELECT * FROM "users" WHERE "users"."id" = 'ae279b9b-c37e-4110-8e6e-3ddc97907584' AND "users"."deleted_at" IS NULL ORDER BY "users"."id" LIMIT 1 FOR UPDATE
|
||||
--- PASS: TestAssignRoleToUser_RollbackOnUserNotFound (0.73s)
|
||||
=== RUN TestAssignRoleToUser_RollbackOnRoleNotFound
|
||||
|
||||
2025/12/07 11:39:59 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/services/rbac_service.go:184 [35;1mrecord not found
|
||||
[0m[33m[1.199ms] [34;1m[rows:0][0m SELECT * FROM "roles" WHERE "roles"."id" = '594634ef-f9e0-4886-b452-cd1d3cd0f2c2' ORDER BY "roles"."id" LIMIT 1 FOR UPDATE
|
||||
--- PASS: TestAssignRoleToUser_RollbackOnRoleNotFound (0.63s)
|
||||
=== RUN TestAssignRoleToUser_RollbackOnDuplicate
|
||||
|
||||
2025/12/07 11:39:59 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/services/rbac_service.go:195 [35;1mrecord not found
|
||||
[0m[33m[0.735ms] [34;1m[rows:0][0m SELECT * FROM "user_roles" WHERE user_id = '49d08b7e-94ac-4b02-87e6-1d251d7409d5' AND role_id = '2f85939c-4c22-470d-bf30-a7f6c03a7596' ORDER BY "user_roles"."id" LIMIT 1 FOR UPDATE
|
||||
logger.go:146: 2025-12-07T11:39:59.598+0100 INFO Role assigned to user successfully {"user_id": "49d08b7e-94ac-4b02-87e6-1d251d7409d5", "role_id": "2f85939c-4c22-470d-bf30-a7f6c03a7596"}
|
||||
--- PASS: TestAssignRoleToUser_RollbackOnDuplicate (0.51s)
|
||||
=== RUN TestAssignRoleToUser_Concurrency
|
||||
|
||||
2025/12/07 11:40:00 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/services/rbac_service.go:195 [35;1mrecord not found
|
||||
[0m[33m[1.268ms] [34;1m[rows:0][0m SELECT * FROM "user_roles" WHERE user_id = '0a0a9a72-7bee-4cad-bff7-0dffb156532f' AND role_id = '5de75e92-95c8-4dd0-8182-b7a7b82f780c' ORDER BY "user_roles"."id" LIMIT 1 FOR UPDATE
|
||||
logger.go:146: 2025-12-07T11:40:00.190+0100 INFO Role assigned to user successfully {"user_id": "0a0a9a72-7bee-4cad-bff7-0dffb156532f", "role_id": "5de75e92-95c8-4dd0-8182-b7a7b82f780c"}
|
||||
--- PASS: TestAssignRoleToUser_Concurrency (0.64s)
|
||||
=== RUN TestAssignRoleToUser_Atomicity
|
||||
|
||||
2025/12/07 11:40:00 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/services/rbac_service.go:195 [35;1mrecord not found
|
||||
[0m[33m[0.782ms] [34;1m[rows:0][0m SELECT * FROM "user_roles" WHERE user_id = '7576c90d-cf9f-4066-997a-93a80ff75383' AND role_id = '18f63163-ddc0-4739-92da-43b1376d5a00' ORDER BY "user_roles"."id" LIMIT 1 FOR UPDATE
|
||||
logger.go:146: 2025-12-07T11:40:00.701+0100 INFO Role assigned to user successfully {"user_id": "7576c90d-cf9f-4066-997a-93a80ff75383", "role_id": "18f63163-ddc0-4739-92da-43b1376d5a00"}
|
||||
|
||||
2025/12/07 11:40:00 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/services/rbac_service.go:184 [35;1mrecord not found
|
||||
[0m[33m[0.332ms] [34;1m[rows:0][0m SELECT * FROM "roles" WHERE "roles"."id" = '18f63163-ddc0-4739-92da-43b1376d5a00' ORDER BY "roles"."id" LIMIT 1 FOR UPDATE
|
||||
--- PASS: TestAssignRoleToUser_Atomicity (0.45s)
|
||||
=== RUN TestToggleLike_Success
|
||||
|
||||
2025/12/07 11:40:01 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/core/social/service.go:138 [35;1mrecord not found
|
||||
[0m[33m[1.899ms] [34;1m[rows:0][0m SELECT * FROM "likes" WHERE user_id = 'c70df77e-1f62-4985-b4b6-930b3404984b' AND target_id = '9d565670-99c0-4e32-9e1e-09084eaf9324' AND target_type = 'post' ORDER BY "likes"."id" LIMIT 1
|
||||
--- PASS: TestToggleLike_Success (0.37s)
|
||||
=== RUN TestToggleLike_Unlike
|
||||
|
||||
2025/12/07 11:40:01 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/core/social/service.go:138 [35;1mrecord not found
|
||||
[0m[33m[3.592ms] [34;1m[rows:0][0m SELECT * FROM "likes" WHERE user_id = 'a28bb41d-0ab3-4873-8143-d16e0c9c2d2c' AND target_id = '370425dd-622a-4a6d-9f0b-12bb8809e512' AND target_type = 'post' ORDER BY "likes"."id" LIMIT 1
|
||||
--- PASS: TestToggleLike_Unlike (0.39s)
|
||||
=== RUN TestToggleLike_RollbackOnError
|
||||
|
||||
2025/12/07 11:40:01 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/core/social/service.go:138 [35;1mrecord not found
|
||||
[0m[33m[2.031ms] [34;1m[rows:0][0m SELECT * FROM "likes" WHERE user_id = '4f29cfd8-8662-4c13-97d1-c642142f8971' AND target_id = 'cba090b5-65b4-41b5-b66f-ceb85d90a758' AND target_type = 'post' ORDER BY "likes"."id" LIMIT 1
|
||||
social_transaction_test.go:190:
|
||||
Error Trace: /home/senke/Documents/veza/veza-backend-api/tests/transactions/social_transaction_test.go:190
|
||||
Error: An error is expected but got nil.
|
||||
Test: TestToggleLike_RollbackOnError
|
||||
Messages: ToggleLike should fail
|
||||
--- FAIL: TestToggleLike_RollbackOnError (0.34s)
|
||||
=== RUN TestToggleLike_Coherence
|
||||
|
||||
2025/12/07 11:40:02 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/core/social/service.go:138 [35;1mrecord not found
|
||||
[0m[33m[2.297ms] [34;1m[rows:0][0m SELECT * FROM "likes" WHERE user_id = '49d0d7d4-b783-406f-b3e6-5d483e76dd35' AND target_id = '7ea9bccd-fd7b-471c-bb74-502c90eeedee' AND target_type = 'post' ORDER BY "likes"."id" LIMIT 1
|
||||
|
||||
2025/12/07 11:40:02 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/core/social/service.go:138 [35;1mrecord not found
|
||||
[0m[33m[0.354ms] [34;1m[rows:0][0m SELECT * FROM "likes" WHERE user_id = 'c43f4fee-f595-4542-9c81-692164c013ac' AND target_id = '7ea9bccd-fd7b-471c-bb74-502c90eeedee' AND target_type = 'post' ORDER BY "likes"."id" LIMIT 1
|
||||
--- PASS: TestToggleLike_Coherence (0.35s)
|
||||
=== RUN TestAddComment_Success
|
||||
--- PASS: TestAddComment_Success (0.39s)
|
||||
=== RUN TestAddComment_RollbackOnError
|
||||
|
||||
2025/12/07 11:40:02 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/core/social/service.go:196 [35;1mrecord not found
|
||||
[0m[33m[1.911ms] [34;1m[rows:0][0m SELECT * FROM "posts" WHERE id = 'f2e8af16-219e-4ad3-b82a-9336dc1700f7' AND "posts"."deleted_at" IS NULL ORDER BY "posts"."id" LIMIT 1
|
||||
--- PASS: TestAddComment_RollbackOnError (0.40s)
|
||||
=== RUN TestAddComment_Coherence
|
||||
--- PASS: TestAddComment_Coherence (0.38s)
|
||||
FAIL
|
||||
FAIL veza-backend-api/tests/transactions 90.673s
|
||||
FAIL
|
||||
|
|
@ -1,143 +0,0 @@
|
|||
=== RUN TestDuplicatePlaylist_Success
|
||||
2025/12/07 11:30:11 github.com/testcontainers/testcontainers-go - Connected to docker:
|
||||
Server Version: 28.1.1
|
||||
API Version: 1.46
|
||||
Operating System: Fedora Linux 40 (Workstation Edition)
|
||||
Total Memory: 15703 MB
|
||||
Testcontainers for Go Version: v0.33.0
|
||||
Resolved Docker Host: unix:///var/run/docker.sock
|
||||
Resolved Docker Socket Path: /var/run/docker.sock
|
||||
Test SessionID: 8c68394057c1467fc2fb32af6452bead9cb6659b652d64c75919e78f3ad1a1f8
|
||||
Test ProcessID: f8df6288-075c-4cc6-be02-191a11af3894
|
||||
2025/12/07 11:30:11 🐳 Creating container for image testcontainers/ryuk:0.8.1
|
||||
2025/12/07 11:30:11 ✅ Container created: 8faf2d2b3127
|
||||
2025/12/07 11:30:11 🐳 Starting container: 8faf2d2b3127
|
||||
2025/12/07 11:30:11 ✅ Container started: 8faf2d2b3127
|
||||
2025/12/07 11:30:11 ⏳ Waiting for container id 8faf2d2b3127 image: testcontainers/ryuk:0.8.1. Waiting for: &{Port:8080/tcp timeout:<nil> PollInterval:100ms skipInternalCheck:false}
|
||||
2025/12/07 11:30:11 🔔 Container is ready: 8faf2d2b3127
|
||||
2025/12/07 11:30:12 🐳 Creating container for image postgres:15-alpine
|
||||
2025/12/07 11:30:20 ✅ Container created: 43cd6501f073
|
||||
2025/12/07 11:31:17 🐳 Starting container: 43cd6501f073
|
||||
2025/12/07 11:31:17 ✅ Container started: 43cd6501f073
|
||||
2025/12/07 11:31:17 ⏳ Waiting for container id 43cd6501f073 image: postgres:15-alpine. Waiting for: &{timeout:<nil> deadline:0xc000472ac8 Strategies:[0xc0004beae0]}
|
||||
2025/12/07 11:31:20 🔔 Container is ready: 43cd6501f073
|
||||
|
||||
2025/12/07 11:31:21 [31;1m/home/senke/Documents/veza/veza-backend-api/tests/transactions/playlist_duplicate_transaction_test.go:77 [35;1mERROR: null value in column "creator_id" of relation "tracks" violates not-null constraint (SQLSTATE 23502)
|
||||
[0m[33m[2.129ms] [34;1m[rows:0][0m INSERT INTO "tracks" ("id","user_id","title","artist","album","duration","genre","year","file_path","file_size","format","bitrate","sample_rate","waveform_path","cover_art_path","is_public","status","status_message","stream_status","stream_manifest_url","play_count","like_count","created_at","updated_at","deleted_at") VALUES ('4ecace3b-a6a4-47fb-b068-bc616e5e22d2','e177aec3-0929-4775-8d65-8b6ba8b326ab','Test Track 190c13e1','Test Artist','',180,'',0,'/test/track.mp3',5242880,'mp3',0,0,'','',true,'completed','','pending','',0,0,'2025-12-07 11:31:21.743','2025-12-07 11:31:21.743',NULL)
|
||||
playlist_duplicate_transaction_test.go:78:
|
||||
Error Trace: /home/senke/Documents/veza/veza-backend-api/tests/transactions/playlist_duplicate_transaction_test.go:78
|
||||
/home/senke/Documents/veza/veza-backend-api/tests/transactions/playlist_duplicate_transaction_test.go:96
|
||||
/home/senke/Documents/veza/veza-backend-api/tests/transactions/playlist_duplicate_transaction_test.go:133
|
||||
Error: Received unexpected error:
|
||||
ERROR: null value in column "creator_id" of relation "tracks" violates not-null constraint (SQLSTATE 23502)
|
||||
Test: TestDuplicatePlaylist_Success
|
||||
--- FAIL: TestDuplicatePlaylist_Success (70.70s)
|
||||
=== RUN TestDuplicatePlaylist_RollbackOnPlaylistNotFound
|
||||
|
||||
2025/12/07 11:31:22 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/services/playlist_duplicate_service.go:56 [35;1mrecord not found
|
||||
[0m[33m[3.269ms] [34;1m[rows:0][0m SELECT * FROM "playlists" WHERE id = '350267f3-1aaa-4d70-8d5a-4456617a4968' AND "playlists"."deleted_at" IS NULL ORDER BY "playlists"."id" LIMIT 1
|
||||
--- PASS: TestDuplicatePlaylist_RollbackOnPlaylistNotFound (0.70s)
|
||||
=== RUN TestDuplicatePlaylist_RollbackOnTrackError
|
||||
|
||||
2025/12/07 11:31:23 [31;1m/home/senke/Documents/veza/veza-backend-api/tests/transactions/playlist_duplicate_transaction_test.go:77 [35;1mERROR: null value in column "creator_id" of relation "tracks" violates not-null constraint (SQLSTATE 23502)
|
||||
[0m[33m[1.959ms] [34;1m[rows:0][0m INSERT INTO "tracks" ("id","user_id","title","artist","album","duration","genre","year","file_path","file_size","format","bitrate","sample_rate","waveform_path","cover_art_path","is_public","status","status_message","stream_status","stream_manifest_url","play_count","like_count","created_at","updated_at","deleted_at") VALUES ('be5be0d0-a5bb-4487-8032-2537c2d79652','687802c7-e4da-47d6-89e8-2540a9ac2f30','Test Track d1e1a15a','Test Artist','',180,'',0,'/test/track.mp3',5242880,'mp3',0,0,'','',true,'completed','','pending','',0,0,'2025-12-07 11:31:23.183','2025-12-07 11:31:23.183',NULL)
|
||||
playlist_duplicate_transaction_test.go:78:
|
||||
Error Trace: /home/senke/Documents/veza/veza-backend-api/tests/transactions/playlist_duplicate_transaction_test.go:78
|
||||
/home/senke/Documents/veza/veza-backend-api/tests/transactions/playlist_duplicate_transaction_test.go:96
|
||||
/home/senke/Documents/veza/veza-backend-api/tests/transactions/playlist_duplicate_transaction_test.go:216
|
||||
Error: Received unexpected error:
|
||||
ERROR: null value in column "creator_id" of relation "tracks" violates not-null constraint (SQLSTATE 23502)
|
||||
Test: TestDuplicatePlaylist_RollbackOnTrackError
|
||||
--- FAIL: TestDuplicatePlaylist_RollbackOnTrackError (0.78s)
|
||||
=== RUN TestDuplicatePlaylist_Coherence
|
||||
|
||||
2025/12/07 11:31:23 [31;1m/home/senke/Documents/veza/veza-backend-api/tests/transactions/playlist_duplicate_transaction_test.go:77 [35;1mERROR: null value in column "creator_id" of relation "tracks" violates not-null constraint (SQLSTATE 23502)
|
||||
[0m[33m[2.075ms] [34;1m[rows:0][0m INSERT INTO "tracks" ("id","user_id","title","artist","album","duration","genre","year","file_path","file_size","format","bitrate","sample_rate","waveform_path","cover_art_path","is_public","status","status_message","stream_status","stream_manifest_url","play_count","like_count","created_at","updated_at","deleted_at") VALUES ('a96d65f5-26ff-4ed7-baf0-d5b384ab6a8f','d6b772c3-8a79-4925-99a7-87e8c893c615','Test Track c5386da3','Test Artist','',180,'',0,'/test/track.mp3',5242880,'mp3',0,0,'','',true,'completed','','pending','',0,0,'2025-12-07 11:31:23.945','2025-12-07 11:31:23.945',NULL)
|
||||
playlist_duplicate_transaction_test.go:78:
|
||||
Error Trace: /home/senke/Documents/veza/veza-backend-api/tests/transactions/playlist_duplicate_transaction_test.go:78
|
||||
/home/senke/Documents/veza/veza-backend-api/tests/transactions/playlist_duplicate_transaction_test.go:96
|
||||
/home/senke/Documents/veza/veza-backend-api/tests/transactions/playlist_duplicate_transaction_test.go:274
|
||||
Error: Received unexpected error:
|
||||
ERROR: null value in column "creator_id" of relation "tracks" violates not-null constraint (SQLSTATE 23502)
|
||||
Test: TestDuplicatePlaylist_Coherence
|
||||
--- FAIL: TestDuplicatePlaylist_Coherence (0.73s)
|
||||
=== RUN TestDuplicatePlaylist_EmptyPlaylist
|
||||
logger.go:146: 2025-12-07T11:31:24.587+0100 INFO Playlist duplicated {"original_playlist_id": "007f7d20-9b5a-40dd-8877-317274fc91d0", "new_playlist_id": "de55d86a-8085-4339-916b-dd57b06c39a0", "user_id": "9ea3b416-dcd2-43bf-a1e3-7be69f2fe3ba", "tracks_count": 0}
|
||||
--- PASS: TestDuplicatePlaylist_EmptyPlaylist (0.67s)
|
||||
=== RUN TestAssignRoleToUser_Success
|
||||
|
||||
2025/12/07 11:31:25 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/services/rbac_service.go:195 [35;1mrecord not found
|
||||
[0m[33m[1.099ms] [34;1m[rows:0][0m SELECT * FROM "user_roles" WHERE user_id = '286329b6-cea1-4e6c-ad13-3d5c86d2887e' AND role_id = 'daed17d2-9310-441f-b311-ab76825dc788' ORDER BY "user_roles"."id" LIMIT 1 FOR UPDATE
|
||||
logger.go:146: 2025-12-07T11:31:25.142+0100 INFO Role assigned to user successfully {"user_id": "286329b6-cea1-4e6c-ad13-3d5c86d2887e", "role_id": "daed17d2-9310-441f-b311-ab76825dc788"}
|
||||
--- PASS: TestAssignRoleToUser_Success (0.48s)
|
||||
=== RUN TestAssignRoleToUser_RollbackOnUserNotFound
|
||||
|
||||
2025/12/07 11:31:25 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/services/rbac_service.go:175 [35;1mrecord not found
|
||||
[0m[33m[2.587ms] [34;1m[rows:0][0m SELECT * FROM "users" WHERE "users"."id" = 'e49ca2fd-d271-4072-83d9-8e870d009b68' AND "users"."deleted_at" IS NULL ORDER BY "users"."id" LIMIT 1 FOR UPDATE
|
||||
--- PASS: TestAssignRoleToUser_RollbackOnUserNotFound (0.57s)
|
||||
=== RUN TestAssignRoleToUser_RollbackOnRoleNotFound
|
||||
|
||||
2025/12/07 11:31:26 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/services/rbac_service.go:184 [35;1mrecord not found
|
||||
[0m[33m[0.848ms] [34;1m[rows:0][0m SELECT * FROM "roles" WHERE "roles"."id" = '17b8e393-c08a-4052-aa41-7b521f45c976' ORDER BY "roles"."id" LIMIT 1 FOR UPDATE
|
||||
--- PASS: TestAssignRoleToUser_RollbackOnRoleNotFound (0.55s)
|
||||
=== RUN TestAssignRoleToUser_RollbackOnDuplicate
|
||||
|
||||
2025/12/07 11:31:26 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/services/rbac_service.go:195 [35;1mrecord not found
|
||||
[0m[33m[1.115ms] [34;1m[rows:0][0m SELECT * FROM "user_roles" WHERE user_id = '56795c69-c419-4bce-9aef-931d12831837' AND role_id = 'eb01e9f7-2dda-413b-8ffd-d13e39698b82' ORDER BY "user_roles"."id" LIMIT 1 FOR UPDATE
|
||||
logger.go:146: 2025-12-07T11:31:26.786+0100 INFO Role assigned to user successfully {"user_id": "56795c69-c419-4bce-9aef-931d12831837", "role_id": "eb01e9f7-2dda-413b-8ffd-d13e39698b82"}
|
||||
--- PASS: TestAssignRoleToUser_RollbackOnDuplicate (0.54s)
|
||||
=== RUN TestAssignRoleToUser_Concurrency
|
||||
|
||||
2025/12/07 11:31:27 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/services/rbac_service.go:195 [35;1mrecord not found
|
||||
[0m[33m[1.494ms] [34;1m[rows:0][0m SELECT * FROM "user_roles" WHERE user_id = '20eb82f8-8bb3-41e2-8f57-828416582f89' AND role_id = '6c5b47e4-5eb9-4488-b038-d30314db56d5' ORDER BY "user_roles"."id" LIMIT 1 FOR UPDATE
|
||||
logger.go:146: 2025-12-07T11:31:27.251+0100 INFO Role assigned to user successfully {"user_id": "20eb82f8-8bb3-41e2-8f57-828416582f89", "role_id": "6c5b47e4-5eb9-4488-b038-d30314db56d5"}
|
||||
--- PASS: TestAssignRoleToUser_Concurrency (0.55s)
|
||||
=== RUN TestAssignRoleToUser_Atomicity
|
||||
|
||||
2025/12/07 11:31:27 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/services/rbac_service.go:195 [35;1mrecord not found
|
||||
[0m[33m[1.042ms] [34;1m[rows:0][0m SELECT * FROM "user_roles" WHERE user_id = '91cd7219-8f53-42da-abc4-776c7a18efc1' AND role_id = '55099116-23d2-4ec5-b8eb-1613427e5afb' ORDER BY "user_roles"."id" LIMIT 1 FOR UPDATE
|
||||
logger.go:146: 2025-12-07T11:31:27.807+0100 INFO Role assigned to user successfully {"user_id": "91cd7219-8f53-42da-abc4-776c7a18efc1", "role_id": "55099116-23d2-4ec5-b8eb-1613427e5afb"}
|
||||
|
||||
2025/12/07 11:31:27 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/services/rbac_service.go:184 [35;1mrecord not found
|
||||
[0m[33m[0.507ms] [34;1m[rows:0][0m SELECT * FROM "roles" WHERE "roles"."id" = '55099116-23d2-4ec5-b8eb-1613427e5afb' ORDER BY "roles"."id" LIMIT 1 FOR UPDATE
|
||||
--- PASS: TestAssignRoleToUser_Atomicity (0.46s)
|
||||
=== RUN TestToggleLike_Success
|
||||
|
||||
2025/12/07 11:31:28 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/core/social/service.go:138 [35;1mrecord not found
|
||||
[0m[33m[2.536ms] [34;1m[rows:0][0m SELECT * FROM "likes" WHERE user_id = '1e9dba3c-f81d-4040-9065-41bef67f936e' AND target_id = '7e1fb130-e691-40e6-8e20-ed8befc520d1' AND target_type = 'post' ORDER BY "likes"."id" LIMIT 1
|
||||
--- PASS: TestToggleLike_Success (0.43s)
|
||||
=== RUN TestToggleLike_Unlike
|
||||
|
||||
2025/12/07 11:31:28 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/core/social/service.go:138 [35;1mrecord not found
|
||||
[0m[33m[3.499ms] [34;1m[rows:0][0m SELECT * FROM "likes" WHERE user_id = '52758765-6e8e-42f4-af91-bc18ecdb0512' AND target_id = 'e0268d9e-1778-43d7-9907-92ebe1be1988' AND target_type = 'post' ORDER BY "likes"."id" LIMIT 1
|
||||
--- PASS: TestToggleLike_Unlike (0.44s)
|
||||
=== RUN TestToggleLike_RollbackOnError
|
||||
|
||||
2025/12/07 11:31:29 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/core/social/service.go:138 [35;1mrecord not found
|
||||
[0m[33m[2.152ms] [34;1m[rows:0][0m SELECT * FROM "likes" WHERE user_id = 'e26a6fbc-0b63-4ace-b6ed-5d1504e3a646' AND target_id = '7280d602-652b-4598-94b9-41fd4e6e30e6' AND target_type = 'post' ORDER BY "likes"."id" LIMIT 1
|
||||
social_transaction_test.go:190:
|
||||
Error Trace: /home/senke/Documents/veza/veza-backend-api/tests/transactions/social_transaction_test.go:190
|
||||
Error: An error is expected but got nil.
|
||||
Test: TestToggleLike_RollbackOnError
|
||||
Messages: ToggleLike should fail
|
||||
--- FAIL: TestToggleLike_RollbackOnError (0.35s)
|
||||
=== RUN TestToggleLike_Coherence
|
||||
|
||||
2025/12/07 11:31:29 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/core/social/service.go:138 [35;1mrecord not found
|
||||
[0m[33m[2.407ms] [34;1m[rows:0][0m SELECT * FROM "likes" WHERE user_id = 'fb39b1dc-c374-4485-9c97-31fa6a1bb6de' AND target_id = '97be76e5-2fd9-4994-83fc-7aba9799706b' AND target_type = 'post' ORDER BY "likes"."id" LIMIT 1
|
||||
|
||||
2025/12/07 11:31:29 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/core/social/service.go:138 [35;1mrecord not found
|
||||
[0m[33m[0.383ms] [34;1m[rows:0][0m SELECT * FROM "likes" WHERE user_id = '0237794d-b639-47a3-8b26-aa86db8246f0' AND target_id = '97be76e5-2fd9-4994-83fc-7aba9799706b' AND target_type = 'post' ORDER BY "likes"."id" LIMIT 1
|
||||
--- PASS: TestToggleLike_Coherence (0.35s)
|
||||
=== RUN TestAddComment_Success
|
||||
--- PASS: TestAddComment_Success (0.34s)
|
||||
=== RUN TestAddComment_RollbackOnError
|
||||
|
||||
2025/12/07 11:31:30 [31;1m/home/senke/Documents/veza/veza-backend-api/internal/core/social/service.go:196 [35;1mrecord not found
|
||||
[0m[33m[3.097ms] [34;1m[rows:0][0m SELECT * FROM "posts" WHERE id = '0f02231a-f072-4dc1-8bbe-967cbe7be24e' AND "posts"."deleted_at" IS NULL ORDER BY "posts"."id" LIMIT 1
|
||||
--- PASS: TestAddComment_RollbackOnError (0.34s)
|
||||
=== RUN TestAddComment_Coherence
|
||||
--- PASS: TestAddComment_Coherence (0.36s)
|
||||
FAIL
|
||||
FAIL veza-backend-api/tests/transactions 79.491s
|
||||
FAIL
|
||||
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue