fix: real AP id tests, exact poster key check, exists port, list_movies fake

This commit is contained in:
2026-10-26 01:33:29 +01:00
parent 4cb2972f63
commit 818ab893a1
13 changed files with 395 additions and 80 deletions

View File

@@ -11,6 +11,8 @@ pub trait ObjectStorage: Send + Sync {
key: &str,
) -> Result<futures::stream::BoxStream<'static, Result<bytes::Bytes, DomainError>>, DomainError>;
async fn delete(&self, key: &str) -> Result<(), DomainError>;
/// Whether exactly `key` exists. Unlike `get`, no extension fallback.
async fn exists(&self, key: &str) -> Result<bool, DomainError>;
}
#[async_trait]