mirror of
https://github.com/Stone-Red-Code/website.git
synced 2026-09-04 23:44:11 +02:00
refact: extract duplicated File/Folder types
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
import chain from "ramda/es/chain"
|
||||
import partition from "ramda/es/partition"
|
||||
|
||||
import { traversePaths } from "../../utils"
|
||||
import {
|
||||
IAllResourcesQuery,
|
||||
IFile,
|
||||
IFileOrFolder,
|
||||
IFileQuery,
|
||||
IFolder,
|
||||
} from "./index"
|
||||
} from "../../types"
|
||||
import { traversePaths } from "../../utils"
|
||||
|
||||
function generateFolder({
|
||||
title,
|
||||
|
||||
Reference in New Issue
Block a user