bity_ic_storage_canister_api/updates/
remove_file.rs1use candid::CandidType;
2use serde::{Deserialize, Serialize};
3
4#[derive(Serialize, Deserialize, CandidType, Clone, Debug)]
5pub struct Args {
6 pub file_path: String,
7}
8
9#[derive(Serialize, Deserialize, CandidType, Debug)]
10pub struct RemoveFileResp {}
11
12pub type Response = Result<RemoveFileResp, RemoveFileError>;
13
14#[derive(Serialize, Deserialize, CandidType, Debug)]
15pub enum RemoveFileError {
16 UploadNotInitialized,
17 InvalidFilePath,
18}