Files

6 lines
280 B
JavaScript
Raw Permalink Normal View History

2025-01-04 00:34:03 +01:00
import { getEndpointProperty } from "./getEndpointProperty";
export const getEndpointProperties = (properties, options) => Object.entries(properties).reduce((acc, [propertyKey, propertyVal]) => ({
...acc,
[propertyKey]: getEndpointProperty(propertyVal, options),
}), {});