Patch Changes
- 8ac1654: - Make
file.data
nullable - Because for ghosts it will beundefined
and we don't have any type to distinguish ghosts from other (local) files. This caused a crash, because we didn't check forundefined
everywhere (when trying to store a blob that wasundefined
). This means we have to add null checks in some packages- Split UppyFile into two interfaces distinguished by the
isRemote
boolean:- LocalUppyFile
- RemoteUppyFile
- Split UppyFile into two interfaces distinguished by the