remove sqlite extensions to fix docker issue
UUIDs are now generated in the backend before insertion
This commit is contained in:
@@ -9,6 +9,7 @@ use crate::domain::{
|
||||
models::{
|
||||
auth_session::requests::FetchAuthSessionResponse,
|
||||
file::{AbsoluteFilePath, AbsoluteFilePathList, LsResponse},
|
||||
option::{DeleteOptionResponse, GetOptionResponse, OptionType, SetOptionResponse},
|
||||
share::{
|
||||
CreateShareResponse, DeleteShareResponse, GetShareResponse, ListSharesResponse,
|
||||
ShareCatResponse, ShareLsResponse, VerifySharePasswordResponse,
|
||||
@@ -22,7 +23,7 @@ use crate::domain::{
|
||||
WarrenRmResponse, WarrenSaveResponse, WarrenTouchResponse,
|
||||
},
|
||||
},
|
||||
ports::{AuthNotifier, FileSystemNotifier, WarrenNotifier},
|
||||
ports::{AuthNotifier, FileSystemNotifier, OptionNotifier, WarrenNotifier},
|
||||
},
|
||||
};
|
||||
|
||||
@@ -515,3 +516,25 @@ impl OidcNotifier for NotifierDebugLogger {
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
impl OptionNotifier for NotifierDebugLogger {
|
||||
async fn got_option<T: OptionType>(&self, response: &GetOptionResponse<T>) {
|
||||
tracing::debug!(
|
||||
"[Notifier] Got option {}: {}",
|
||||
response.key().to_string(),
|
||||
response.value().to_string(),
|
||||
);
|
||||
}
|
||||
|
||||
async fn set_option<T: OptionType>(&self, response: &SetOptionResponse<T>) {
|
||||
tracing::debug!(
|
||||
"[Notifier] Set option {} to {}",
|
||||
response.key().to_string(),
|
||||
response.value().to_string(),
|
||||
);
|
||||
}
|
||||
|
||||
async fn deleted_option(&self, response: &DeleteOptionResponse) {
|
||||
tracing::debug!("[Notifier] Deleted option {}", response.key().to_string());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user