parent
33c753b135
commit
957e618d84
@ -1 +1,2 @@
|
||||
pub mod file_response;
|
||||
pub mod requests;
|
||||
pub mod responses;
|
||||
|
@ -0,0 +1,6 @@
|
||||
use serde::Deserialize;
|
||||
|
||||
#[derive(Deserialize)]
|
||||
pub struct AddFileRequest {
|
||||
pub path: String,
|
||||
}
|
@ -1,9 +1,9 @@
|
||||
use chrono::NaiveDateTime;
|
||||
use mediarepo_model::file::File;
|
||||
use mediarepo_model::file_type::FileType;
|
||||
use serde::{Deserialize, Serialize};
|
||||
use serde::Serialize;
|
||||
|
||||
#[derive(Clone, Debug, Serialize, Deserialize)]
|
||||
#[derive(Clone, Debug, Serialize)]
|
||||
pub struct FileResponse {
|
||||
pub name: Option<String>,
|
||||
pub comment: Option<String>,
|
@ -0,0 +1 @@
|
||||
pub use mediarepo_socket::types::*;
|
Loading…
Reference in New Issue