Added the blob storage file struct

This commit is contained in:
Tracker-Friendly 2024-10-16 17:59:52 +01:00
parent 5824e47c1f
commit 09db7d6c31
1 changed files with 6 additions and 0 deletions

View File

@ -12,3 +12,9 @@ type OAuthResponse struct {
AppID string `json:"appId"` AppID string `json:"appId"`
SecretKey string `json:"secretKey"` SecretKey string `json:"secretKey"`
} }
type File struct {
Name string `validate:"required"`
User uuid.UUID `validate:"required"`
Bytes []byte // Only used in write operations
}