Skip to content

Commit

Permalink
Remove unused structs.
Browse files Browse the repository at this point in the history
Also as part of the old bad implementation.
  • Loading branch information
emmiegit committed Sep 29, 2024
1 parent 809228a commit 093c3f4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 19 deletions.
1 change: 0 additions & 1 deletion deepwell/src/services/file/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ use crate::services::blob::{FinalizeBlobUploadOutput, EMPTY_BLOB_HASH, EMPTY_BLO
use crate::services::file_revision::{
CreateFileRevision, CreateFileRevisionBody, CreateFirstFileRevision,
CreateResurrectionFileRevision, CreateTombstoneFileRevision, FileBlob,
FinishFileRevisionUpload,
};
use crate::services::filter::{FilterClass, FilterType};
use crate::services::{BlobService, FileRevisionService, FilterService};
Expand Down
18 changes: 0 additions & 18 deletions deepwell/src/services/file_revision/structs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116,24 +116,6 @@ pub struct UpdateFileRevision {
pub hidden: Vec<String>,
}

#[derive(Deserialize, Debug, Clone)]
pub struct FinishFileRevisionUpload {
pub site_id: i64,
pub page_id: i64,
pub file_id: i64,
pub pending_blob_id: i64,
}

#[derive(Serialize, Debug, Clone)]
pub struct FinishFileRevisionUploadOutput {
pub file_id: i64,
pub file_revision_id: i64,
pub s3_hash: Bytes<'static>,
pub mime_hint: String,
pub size_hint: i64,
pub created: bool,
}

#[derive(Deserialize, Debug, Clone)]
pub struct GetFileRevisionRange {
pub page_id: i64,
Expand Down

0 comments on commit 093c3f4

Please sign in to comment.