feat: support captions for search results and sidebar for media

This commit is contained in:
2026-02-14 15:51:08 +01:00
parent 43ca543934
commit b28993e8b2
6 changed files with 109 additions and 9 deletions

View File

@@ -61,6 +61,7 @@ export interface MediaFilter {
export interface MediaSearchResult {
id: string;
originalName: string;
caption?: string;
mimeType: string;
createdAt: Date;
}
@@ -767,6 +768,7 @@ export class MediaEngine extends EventEmitter {
searchResults.push({
id: item.id,
originalName: item.originalName,
caption: item.caption || undefined,
mimeType: item.mimeType,
createdAt: item.createdAt,
});