refactor: Remove player-specific dependencies, setup script, keyboard shortcuts, and project documentation.

This commit is contained in:
kuekhaoyang
2025-11-22 10:56:11 +08:00
parent 8465b306f2
commit 5c67f69b5e
17 changed files with 27 additions and 1452 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
* Handles parallel requests and data normalization
*/
export { searchVideos, searchVideosBySource } from './search-api';
export { searchVideos } from './search-api';
export { getVideoDetail } from './detail-api';
+2 -2
View File
@@ -4,11 +4,10 @@ import type {
ApiSearchResponse,
} from '@/lib/types';
import { fetchWithTimeout, withRetry } from './http-utils';
/**
* Search videos from a single source
*/
export async function searchVideosBySource(
async function searchVideosBySource(
query: string,
source: VideoSource,
page: number = 1
@@ -64,6 +63,7 @@ export async function searchVideosBySource(
}
}
/**
* Search videos from multiple sources in parallel
*/
+1 -2
View File
@@ -13,5 +13,4 @@ export function getSourceById(id: string): VideoSource | undefined {
return DEFAULT_SOURCES.find(source => source.id === id);
}
// Re-export DEFAULT_SOURCES for backward compatibility
export { DEFAULT_SOURCES };