feat: initialize k-tv-frontend with Next.js and Tailwind CSS
- Added package.json with dependencies and scripts for development, build, and linting. - Created postcss.config.mjs for Tailwind CSS integration. - Added SVG assets for UI components including file, globe, next, vercel, and window icons. - Configured TypeScript with tsconfig.json for strict type checking and module resolution.
This commit is contained in:
35
k-tv-backend/infra/src/lib.rs
Normal file
35
k-tv-backend/infra/src/lib.rs
Normal file
@@ -0,0 +1,35 @@
|
||||
//! K-TV Infrastructure Layer
|
||||
//!
|
||||
//! Concrete adapters for the repository and provider ports defined in the domain.
|
||||
//!
|
||||
//! ## Repository adapters
|
||||
//! - `SqliteUserRepository` / `PostgresUserRepository`
|
||||
//! - `SqliteChannelRepository` / `PostgresChannelRepository`
|
||||
//! - `SqliteScheduleRepository` / `PostgresScheduleRepository`
|
||||
//!
|
||||
//! ## Media provider adapters
|
||||
//! - `JellyfinMediaProvider` (feature = `"jellyfin"`)
|
||||
//!
|
||||
//! ## Database
|
||||
//! - [`db::run_migrations`] — run all pending SQLite/Postgres migrations
|
||||
|
||||
pub mod auth;
|
||||
pub mod db;
|
||||
pub mod factory;
|
||||
pub mod jellyfin;
|
||||
mod channel_repository;
|
||||
mod schedule_repository;
|
||||
mod user_repository;
|
||||
|
||||
// Re-export for convenience
|
||||
pub use db::run_migrations;
|
||||
|
||||
#[cfg(feature = "sqlite")]
|
||||
pub use user_repository::SqliteUserRepository;
|
||||
#[cfg(feature = "sqlite")]
|
||||
pub use channel_repository::SqliteChannelRepository;
|
||||
#[cfg(feature = "sqlite")]
|
||||
pub use schedule_repository::SqliteScheduleRepository;
|
||||
|
||||
#[cfg(feature = "jellyfin")]
|
||||
pub use jellyfin::{JellyfinConfig, JellyfinMediaProvider};
|
||||
Reference in New Issue
Block a user