UNPKG

mocker-data-generator

Version:

A simplified way to generate mock data, builds using a simple schema and with the FakerJs

11 lines (10 loc) 728 B
export declare const isArray: (arg: any) => boolean; export declare const isObject: (arg: any) => boolean; export declare const evalWithContextData: (key: string, object: {}, db: {}, generators: {}) => any; export declare const fieldArrayCalcLength: (config: any, fixedArrayLength: any, schema: any) => any; export declare const iamLastChild: (parent: any, k: any) => boolean; export declare const iamLastParent: (obj: any) => boolean; export declare const isConditional: (str: any) => boolean; export declare const cleanVirtuals: (paths: any, object: any, options: any) => any; export declare const stringToPathOrCall: (name: any, fn: any, cfg: any) => any; export declare const loopInside: (object: any, path: string) => any;