directus / gatsby-source-directus

Source plugin for pulling data into Gatsby from a Directus API.
11 stars 12 forks source link

fix: not all file types being imported #18

Closed renet closed 1 year ago

renet commented 1 year ago

This PR removes the MIME-type filter for files being stored and cached as remote file nodes in Gatsby that was used to store only image files. It also cleans up the ´getAllImages` method that is no longer used.

I also considered renaming the "imageFile" prop, but did not do that for backward compatibility reasons.

Fixes #8, fixes ENG-59