sb-mig
Version:
CLI to rule the world. (and handle stuff related to Storyblok CMS)
19 lines (18 loc) • 861 B
TypeScript
export declare const prop: (k: any) => (o: any) => any;
export declare const pipe: (...fns: any[]) => (x: any) => any;
export declare const unpackElements: (input: string[]) => string[];
export declare const unpackOne: (input: string[]) => string | undefined;
export declare const getFileContent: (data: {
file: string;
}) => any;
export declare const getFileContentWithRequire: (data: {
file: string;
}) => any;
export declare const getFilesContentWithRequire: (data: {
files: string[];
}) => any[];
export declare const isObjectEmpty: (obj: any) => boolean;
export declare const delay: (time: number) => Promise<unknown>;
export declare const isItFactory: <T>(flags: any, rules: any, whitelist: string[]) => (type: T) => boolean;
export declare const getPackageJson: () => any;
export declare const extractFields: (data: any, filter: any) => any;