refact: extract duplicated File/Folder types

This commit is contained in:
Jean-Philippe Sirois
2019-09-17 01:58:44 -04:00
parent 5bd0787112
commit fee748c67d
6 changed files with 39 additions and 71 deletions
@@ -1,14 +1,14 @@
import chain from "ramda/es/chain"
import partition from "ramda/es/partition"
import { traversePathsToFiles } from "../../utils"
import {
IAllResourcesQuery,
IFile,
IFileOrFolder,
IFileQuery,
IFolder,
} from "./index"
} from "../../types"
import { traversePathsToFiles } from "../../utils"
function generateFolder({
title,