import { pipe } from "fp-ts/lib/pipeable" ; import { InputParameters , Data } from "./interfaces" ; import defaultParameters from "./defaultParameters" ; import setParameters from "./lib/setParameters" ; import generateOuterPaths from "./lib/generateOuterPaths" ; import calcProgressions from "./lib/calcProgressions" ; import generateGroupsParameters from "./lib/generateGroupsParameters" ; import generateDescription from "./lib/generateDescription" ; const phasesLayer = ( parameters = defaultParameters ) : Data => pipe ( setParameters ( parameters ) , generateOuterPaths , calcProgressions , generateGroupsParameters , generateDescription ) ; export default phasesLayer ;