feat(insights): add file suffix counting

This commit is contained in:
Deluan
2026-01-18 17:00:35 -05:00
parent 2de2484bca
commit 0473c50b49
5 changed files with 63 additions and 0 deletions
+1
View File
@@ -353,6 +353,7 @@ type MediaFileCursor iter.Seq2[MediaFile, error]
type MediaFileRepository interface {
CountAll(options ...QueryOptions) (int64, error)
CountBySuffix(options ...QueryOptions) (map[string]int64, error)
Exists(id string) (bool, error)
Put(m *MediaFile) error
Get(id string) (*MediaFile, error)