type

UploadInput

Streamed file bytes, application metadata, identity, and locale.

Source ridu.go:135

Filenamestring
Original client-supplied file name.
Readerio.Reader
Stream providing the uploaded bytes.
Datastore.Values
Application-owned fields for the upload document.
Actor*store.Document
Authenticated actor evaluated by access rules.
ActorCollectionschema.CollectionSlug
Exact auth collection that owns Actor.
LocaleLocaleOptions
Content locale for application-owned upload metadata.

Bytes, metadata, access, validation, hooks, storage, and document persistence run through one upload operation. The caller retains ownership of Reader.