Skip to content

@serenity-is/corelib / FileUploadEditorOptions

Interface: FileUploadEditorOptions

Defined in: src/ui/editors/uploadeditors.tsx:11

Options for the FileUploadEditor.

Extends

Extended by

Properties

allowNonImage?

optional allowNonImage: boolean

Defined in: src/ui/helpers/uploadhelper.tsx:413

Whether non-image files are allowed.

Inherited from

FileUploadConstraints.allowNonImage


displayFileName?

optional displayFileName: boolean

Defined in: src/ui/editors/uploadeditors.tsx:13

Whether to display the original file name.


maxHeight?

optional maxHeight: number

Defined in: src/ui/helpers/uploadhelper.tsx:401

The maximum image height.

Inherited from

FileUploadConstraints.maxHeight


maxSize?

optional maxSize: number

Defined in: src/ui/helpers/uploadhelper.tsx:409

The maximum file size in bytes.

Inherited from

FileUploadConstraints.maxSize


maxWidth?

optional maxWidth: number

Defined in: src/ui/helpers/uploadhelper.tsx:393

The maximum image width.

Inherited from

FileUploadConstraints.maxWidth


minHeight?

optional minHeight: number

Defined in: src/ui/helpers/uploadhelper.tsx:397

The minimum image height.

Inherited from

FileUploadConstraints.minHeight


minSize?

optional minSize: number

Defined in: src/ui/helpers/uploadhelper.tsx:405

The minimum file size in bytes.

Inherited from

FileUploadConstraints.minSize


minWidth?

optional minWidth: number

Defined in: src/ui/helpers/uploadhelper.tsx:389

The minimum image width.

Inherited from

FileUploadConstraints.minWidth


originalNameProperty?

optional originalNameProperty: string

Defined in: src/ui/helpers/uploadhelper.tsx:417

The name of the property holding the original file name.

Inherited from

FileUploadConstraints.originalNameProperty


uploadIntent?

optional uploadIntent: string

Defined in: src/ui/editors/uploadeditors.tsx:15

Upload intent for the upload service.


uploadUrl?

optional uploadUrl: string

Defined in: src/ui/editors/uploadeditors.tsx:17

Upload URL.


urlPrefix?

optional urlPrefix: string

Defined in: src/ui/editors/uploadeditors.tsx:19

URL prefix for file links.