mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-01-16 16:18:09 +00:00
Improves TypeScript export organization by explicitly distinguishing between value exports and type exports. Separates the module export into two distinct export statements to follow TypeScript best practices, making it clearer which exports are runtime values versus compile-time types.
32 lines
674 B
TypeScript
32 lines
674 B
TypeScript
import type {
|
|
ChapterInfo,
|
|
PlaybackStatePayload,
|
|
ProgressUpdatePayload,
|
|
TrackInfo,
|
|
VideoLoadStartPayload,
|
|
VideoProgressPayload,
|
|
VideoStateChangePayload,
|
|
VlcPlayerSource,
|
|
VlcPlayerViewProps,
|
|
VlcPlayerViewRef,
|
|
} from "./VlcPlayer.types";
|
|
import VlcPlayerView from "./VlcPlayerView";
|
|
|
|
// Component
|
|
export { VlcPlayerView };
|
|
|
|
// Component Types
|
|
export type { VlcPlayerViewProps, VlcPlayerViewRef };
|
|
|
|
// Media Types
|
|
export type { ChapterInfo, TrackInfo, VlcPlayerSource };
|
|
|
|
// Playback Events (alphabetically sorted)
|
|
export type {
|
|
PlaybackStatePayload,
|
|
ProgressUpdatePayload,
|
|
VideoLoadStartPayload,
|
|
VideoProgressPayload,
|
|
VideoStateChangePayload,
|
|
};
|