@viewdo/dxp-story-cli
Version:
DXP Story Management CLI
16 lines (15 loc) • 867 B
TypeScript
import { AxiosError } from "axios";
declare const flattenArray: (list: any) => any;
declare const distinctArray: (list: any) => unknown[];
declare const reconcileLists: (current: any, previous: any, protected_items: any) => {
add: any;
remove: any;
};
declare const isValidDomain: (v: string) => boolean;
declare const requireValue: (name: string) => never;
declare const findFiles: (dir: any, file_list?: any[]) => any;
declare const replaceInText: (vars: any, text: any) => any;
declare const removeNullProperties: (node: object) => void;
declare const isEmpty: (value: any, omitZero?: boolean, omitArrays?: boolean) => boolean;
declare function handleAxiosError(err: AxiosError): Promise<never>;
export { isEmpty, distinctArray, findFiles, isValidDomain, flattenArray, requireValue, reconcileLists, replaceInText, removeNullProperties, handleAxiosError };