Add more things for file handling

This commit is contained in:
Melody Becker 2025-06-18 15:36:33 +02:00
parent c813c4784a
commit 1fcf47bffc
Signed by: mstar
SSH key fingerprint: SHA256:9VAo09aaVNTWKzPW7Hq2LW+ox9OdwmTSHRoD4mlz1yI
14 changed files with 284 additions and 59 deletions

View file

@ -22,7 +22,7 @@ type MediaMetadata struct {
// OwnedBy User
OwnedById sql.NullString // Account id this media belongs to
Remote bool // whether the attachment is a remote one
// Where the media is stored. Url
// Where the media is stored. Url for remote files, the object name for local files
Location string
Type string // What media type this is following mime types, eg image/png
// Name of the file