Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ members = [
"crates/ferrex-player-api",
"crates/ferrex-player-auth",
"crates/ferrex-player-foundation",
"crates/ferrex-player-intelligence",
"crates/ferrex-player-repository",
"crates/ferrex-player-library",
"crates/ferrex-player-media",
Expand Down Expand Up @@ -82,6 +83,10 @@ version = "0.1.2-alpha"
path = "crates/ferrex-player-foundation"
version = "0.1.2-alpha"

[workspace.dependencies.ferrex-player-intelligence]
path = "crates/ferrex-player-intelligence"
version = "0.1.2-alpha"

[workspace.dependencies.ferrex-player-repository]
path = "crates/ferrex-player-repository"
version = "0.1.2-alpha"
Expand Down
6 changes: 6 additions & 0 deletions crates/ferrex-core/src/api/routes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,12 @@ pub mod v1 {
v1_path!("/intelligence/drafts/{artifact_id}");
pub const PROVIDER_STATUS: &str =
v1_path!("/intelligence/provider/status");
pub const SMART_SHELF_START: &str =
v1_path!("/intelligence/smart-shelves/runs");
pub const SMART_SHELF_DRAFT_DETAIL: &str =
v1_path!("/intelligence/smart-shelves/drafts/{artifact_id}");
pub const SMART_SHELF_SAVE: &str =
v1_path!("/intelligence/smart-shelves/drafts/{artifact_id}/save");
}

pub mod watch {
Expand Down
3 changes: 3 additions & 0 deletions crates/ferrex-core/src/api/types/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ pub mod media_repo_sync;
pub mod responses;
pub mod scan;
pub mod setup;
pub mod smart_shelves;
pub mod system_collections;
pub mod users_admin;

Expand Down Expand Up @@ -64,6 +65,7 @@ pub use scan::{
ScanCommandRequest, ScanLifecycleStatus, ScanRunMode, ScanSnapshotDto,
ScanStartDisposition, StartScanRequest,
};
pub use smart_shelves::*;
pub use system_collections::*;
pub use users_admin::{AdminUserInfo, CreateUserRequest, UpdateUserRequest};

Expand Down Expand Up @@ -116,6 +118,7 @@ pub mod player {
ConfirmClaimRequest, ConfirmClaimResponse, StartClaimRequest,
StartClaimResponse,
};
pub use super::smart_shelves::*;
pub use super::system_collections::*;
pub use super::users_admin::{
AdminUserInfo, CreateUserRequest, UpdateUserRequest,
Expand Down
Loading
Loading