typescript-scaffolder
Version:
 ### Unit Test Coverage: 97.12%
11 lines • 540 B
TypeScript
/**
* Generates a mock data sample from a type-hinted json schema
* @param count
* @param schemaJson
* @param arrayLength
*/
export declare function generateMockData(count: number, schemaJson: string, arrayLength?: number): any[];
export declare function generatePrimitiveMock(type: string): string | number | boolean;
export declare function getFakerValueForKey(key: string): string | null;
export declare function handleDefaultCase(value: any, key: string, arrayLength: number): any;
//# sourceMappingURL=mock-data-generator.d.ts.map