Skip to main content

File

A file to either choose from vault or upload.

Parameters

ParameterValue TypeDescription
extSTRING | ARRAY<STRING>Allowed file extensions
type"image"|"video"|"audio"|"document"Allowed file kinds
search (default true)BOOLEANEnables or disables search for existing files
upload (default true)BOOLEANEnables or disables new file upload

Examples

type A {
fields {
photo: File[type="image"]
docs: List[File[ext=["pdf", "epub"]]]
}
}

Picker

TODO