1pub mod auth;
2pub mod bug;
3pub mod build;
4pub mod common;
5pub mod migration;
6pub mod organization;
7pub mod question;
8pub mod repository;
9pub mod review;
10pub mod runner;
11pub mod slack;
12pub mod task;
13pub mod user;
14pub mod webhook;
15
16use serde::{Serialize, de::DeserializeOwned};
17
18pub use auth::*;
19pub use bug::*;
20pub use build::*;
21pub use common::*;
22pub use migration::*;
23pub use organization::*;
24pub use question::*;
25pub use repository::*;
26pub use review::*;
27pub use runner::*;
28pub use slack::*;
29pub use task::*;
30pub use user::*;
31pub use webhook::*;
32
33pub trait ApiResource: Serialize + PartialEq + DeserializeOwned {}
34
35impl<T: ApiResource> ApiResource for Vec<T> {}
36
37impl<T: ApiResource> ApiResource for Option<T> {}
38
39impl ApiResource for () {}