| | import flatModule from 'flat' |
| |
|
| | import { DELIMITER } from './constants.js' |
| | import { selectParams } from './select-params.js' |
| | import { filterOutParams } from './filter-out-params.js' |
| | import { set } from './set.js' |
| | import { get } from './get.js' |
| | import { merge } from './merge.js' |
| | import { pathToParts } from './path-to-parts.js' |
| | import { removePath } from './remove-path.js' |
| |
|
| | export type FlatModuleType = { |
| | flatten: typeof flatModule.flatten; |
| | unflatten: typeof flatModule.unflatten; |
| | set: typeof set; |
| | get: typeof get; |
| | selectParams: typeof selectParams; |
| | filterOutParams: typeof filterOutParams; |
| | DELIMITER: typeof DELIMITER; |
| | pathToParts: typeof pathToParts; |
| | removePath: typeof removePath; |
| | merge: typeof merge; |
| | } |
| |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | export const flat: FlatModuleType = { |
| | |
| | |
| | |
| | |
| | flatten: flatModule.flatten, |
| | |
| | |
| | |
| | |
| | unflatten: flatModule.unflatten, |
| |
|
| | set, |
| | get, |
| | selectParams, |
| | filterOutParams, |
| | removePath, |
| | DELIMITER, |
| | pathToParts, |
| | merge, |
| | } |
| |
|