flix_model/
id.rs

1//! This module contains types relating to flix media IDs
2
3use seamantic::model::id::Id;
4
5/// Type alias for the raw ID representation
6pub use seamantic::model::id::SeaOrmRepr as RawId;
7
8#[doc(hidden)]
9pub enum Library {}
10/// Type alias for a library ID
11pub type LibraryId = Id<Library>;
12
13#[doc(hidden)]
14pub enum Collection {}
15/// Type alias for a collection ID
16pub type CollectionId = Id<Collection>;
17
18#[doc(hidden)]
19pub enum Movie {}
20/// Type alias for a movie ID
21pub type MovieId = Id<Movie>;
22
23#[doc(hidden)]
24pub enum Show {}
25/// Type alias for a show ID
26pub type ShowId = Id<Show>;