refactor(indexeddb): remove indexed media content type synonym

Signed-off-by: Michael Goldenberg <m@mgoldenberg.net>
This commit is contained in:
Michael Goldenberg
2025-10-13 15:10:26 -04:00
committed by Damir Jelić
parent 3c522f9505
commit 7238d3ca23

View File

@@ -76,9 +76,6 @@ pub type IndexedMediaCleanupTimeContent = MaybeEncrypted;
/// [1]: crate::media_store::types::MediaMetadata
pub type IndexedMediaMetadata = MaybeEncrypted;
/// A (possibly) encrypted representation of [`Media::content`]
pub type IndexedMediaContent = Vec<u8>;
/// A representation of the size in bytes of the [`IndexedMediaContent`] which
/// is suitable for use in an IndexedDB key
pub type IndexedMediaContentSize = usize;
@@ -260,7 +257,7 @@ pub struct IndexedMedia {
/// [1]: crate::media_store::types::MediaMetadata
pub metadata: IndexedMediaMetadata,
/// The (possibly) encrypted content - i.e., [`Media::content`]
pub content: IndexedMediaContent,
pub content: Vec<u8>,
}
#[derive(Debug, Error)]