329d434c83
* Allow only images in modal image uploader. * Set file path and mime in file selector. * Refactor WebFile. * Update get-file-from-path to work with folders; fix file-list component. * Get rid of File | string for filePath property in components. * Show instant preview while updating channel thumbnail. * Fix publish. * Add jpeg and svg to image filter.
9 lines
192 B
JavaScript
9 lines
192 B
JavaScript
// @flow
|
|
|
|
declare type FileWithPath = {
|
|
file: File,
|
|
// The full path will only be available in
|
|
// the application. For browser, the name
|
|
// of the file will be used.
|
|
path: string,
|
|
}
|