2024-03-06 15:42:04 +00:00
|
|
|
|
2024-02-27 16:50:48 +00:00
|
|
|
|
|
|
|
use super::APL;
|
2024-03-06 15:42:04 +00:00
|
|
|
use anyhow::{Result};
|
|
|
|
use async_trait::async_trait;
|
|
|
|
|
2024-02-27 16:50:48 +00:00
|
|
|
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
/**
|
|
|
|
is not implemented yet!
|
|
|
|
*/
|
|
|
|
pub struct FileApl {
|
|
|
|
pub path: String,
|
|
|
|
}
|
|
|
|
|
2024-03-06 15:42:04 +00:00
|
|
|
#[async_trait]
|
2024-02-27 16:50:48 +00:00
|
|
|
impl APL for FileApl {
|
2024-03-06 15:42:04 +00:00
|
|
|
async fn set(&self, _auth_data: crate::AuthData) -> Result<()> {
|
2024-02-27 16:50:48 +00:00
|
|
|
todo!()
|
|
|
|
}
|
2024-03-06 15:42:04 +00:00
|
|
|
async fn get(&self, _saleor_api_url: &str) -> Result<crate::AuthData> {
|
2024-02-27 16:50:48 +00:00
|
|
|
todo!()
|
|
|
|
}
|
|
|
|
async fn get_all(&self) -> Result<Vec<crate::AuthData>> {
|
|
|
|
todo!()
|
|
|
|
}
|
2024-03-06 15:42:04 +00:00
|
|
|
async fn delete(&self, _saleor_api_url: &str) -> Result<()> {
|
2024-02-27 16:50:48 +00:00
|
|
|
todo!()
|
|
|
|
}
|
|
|
|
async fn is_ready(&self) -> Result<()> {
|
|
|
|
todo!()
|
|
|
|
}
|
|
|
|
async fn is_configured(&self) -> Result<()> {
|
|
|
|
todo!()
|
|
|
|
}
|
|
|
|
}
|