package upload type uploadPolicy struct { allowedExtensions map[string]struct{} kind string maxBytes int64 requireImage bool } type uploadResult struct { URL string `json:"url"` ObjectKey string `json:"object_key"` ContentType string `json:"content_type"` SizeBytes int64 `json:"size_bytes"` }