- Added centralized exports for video streaming components and hooks. - Implemented `useVideoInfo` hook for fetching and managing video metadata and streaming information. - Developed `useVideoList` hook for managing video list state, fetching, filtering, and pagination. - Created `useVideoPlayer` hook for managing video player state and controls. - Established `videoApiService` for handling API interactions related to video streaming. - Defined TypeScript types for video streaming feature, including video metadata, API responses, and component props. - Added utility functions for video operations, formatting, and data processing. - Created main entry point for the video streaming feature, exporting all public APIs.
25 lines
529 B
TypeScript
25 lines
529 B
TypeScript
/**
|
|
* Video Streaming Feature - Main Export
|
|
*
|
|
* This is the main entry point for the video streaming feature.
|
|
* It exports all the public APIs that other parts of the application can use.
|
|
*/
|
|
|
|
// Components
|
|
export * from './components';
|
|
|
|
// Hooks
|
|
export * from './hooks';
|
|
|
|
// Services
|
|
export { videoApiService, VideoApiService } from './services/videoApi';
|
|
|
|
// Types
|
|
export * from './types';
|
|
|
|
// Utils
|
|
export * from './utils/videoUtils';
|
|
|
|
// Main feature component
|
|
export { VideoStreamingPage } from './VideoStreamingPage';
|