Fixes #278 filter files by extension

This commit is contained in:
Joseph Earl
2017-04-14 19:19:45 +01:00
parent 2047fda27c
commit 265146e2d1
9 changed files with 141 additions and 7 deletions

View File

@ -88,6 +88,7 @@ const selectors = {
};
export const selectFields = (collection, slug) => selectors[collection.get('type')].fields(collection, slug);
export const selectFolderEntryExtension = (collection) => selectors[FOLDER].entryExtension(collection);
export const selectEntryPath = (collection, slug) => selectors[collection.get('type')].entryPath(collection, slug);
export const selectEntrySlug = (collection, path) => selectors[collection.get('type')].entrySlug(collection, path);
export const selectListMethod = collection => selectors[collection.get('type')].listMethod();