type
UploadConfig
type UploadConfig = core.UploadConfigValidation, privacy, and image-variant policy for an upload collection.
MaxFileSizeint64- Accepted byte limit; zero uses the framework default and values above 256 MiB are rejected.
MimeTypes[]string- Allowed media types; empty accepts any supported type.
Privatebool- Requires authorized delivery instead of public object URLs.
ImageSizes[]ImageSize- Derived variants generated for supported image uploads.
Upload collections also require Config.Storage, a stable StorageNamespace, and a store implementing UploadObjectLocker. Image variants are generated only for supported images.