|
@@ -374,6 +374,10 @@ uppy.addFile({
|
|
|
name: 'my-file.jpg', // file name
|
|
|
type: 'image/jpeg', // file type
|
|
|
data: blob, // file blob
|
|
|
+ meta: {
|
|
|
+ // optional, store the directory path of a file so Uppy can tell identical files in different directories apart
|
|
|
+ relativePath: webkitFileSystemEntry.relativePath,
|
|
|
+ },
|
|
|
source: 'Local', // optional, determines the source of the file, for example, Instagram
|
|
|
isRemote: false // optional, set to true if actual file is not in the browser, but on some remote server, for example, when using companion in combination with Instagram
|
|
|
})
|