10 lines
249 B
JavaScript
10 lines
249 B
JavaScript
|
import { DEFAULTS } from "./defaults";
|
||
|
import { merge } from "./merge";
|
||
|
import { parse } from "./parse";
|
||
|
function endpointWithDefaults(defaults, route, options) {
|
||
|
return parse(merge(defaults, route, options));
|
||
|
}
|
||
|
export {
|
||
|
endpointWithDefaults
|
||
|
};
|