- Introduced AccessMode enum to define channel access levels: Public, PasswordProtected, AccountRequired, and OwnerOnly. - Updated Channel and ProgrammingBlock entities to include access_mode and access_password_hash fields. - Enhanced create and update channel functionality to handle access mode and password. - Implemented access checks in channel routes based on the defined access modes. - Modified frontend components to support channel creation and editing with access control options. - Added ChannelPasswordModal for handling password input when accessing restricted channels. - Updated API calls to include channel and block passwords as needed. - Created database migrations to add access_mode and access_password_hash columns to channels table.
21 lines
741 B
TypeScript
21 lines
741 B
TypeScript
export { VideoPlayer } from "./video-player";
|
|
export type { VideoPlayerProps } from "./video-player";
|
|
|
|
|
|
export { ChannelInfo } from "./channel-info";
|
|
export type { ChannelInfoProps } from "./channel-info";
|
|
|
|
export { ChannelControls } from "./channel-controls";
|
|
export type { ChannelControlsProps } from "./channel-controls";
|
|
|
|
export { ScheduleOverlay } from "./schedule-overlay";
|
|
export type { ScheduleOverlayProps, ScheduleSlot } from "./schedule-overlay";
|
|
|
|
export { UpNextBanner } from "./up-next-banner";
|
|
export type { UpNextBannerProps } from "./up-next-banner";
|
|
|
|
export { NoSignal } from "./no-signal";
|
|
export type { NoSignalProps, NoSignalVariant } from "./no-signal";
|
|
|
|
export { ChannelPasswordModal } from "./channel-password-modal";
|