import { pipe } from "fp-ts/lib/pipeable" ; import { Parameters , Spacing } from "./interfaces" ; import prepareParameters from "./lib/prepareParameters" ; import calcKeySplines from "./lib/calcKeySplines" ; import transformSplines from "./lib/transformSplines" ; const spacingLayer = ( parameters ) : Spacing => pipe ( prepareParameters ( parameters ) , calcKeySplines , transformSplines ) ; export default spacingLayer ;