type

UploadInput

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

Properties

PropertyTypeDescription
FilenamestringOriginal client-supplied file name.
Readerio.ReaderStream providing the uploaded bytes.
Image*UploadImageEditImage stages a crop and focal point with the document mutation.
Draft*boolDraft selects working (true) or published (false) content on creation.
Datastore.ValuesApplication-owned fields for the upload document.
Actor*store.DocumentAuthenticated actor evaluated by access rules.
ActorCollectionschema.CollectionSlugExact auth collection that owns Actor.
LocaleLocaleOptionsContent locale for application-owned upload metadata.

How it works

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

Full signature