-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathjson-schema-faker.d.ts
42 lines (26 loc) · 1.01 KB
/
json-schema-faker.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/** Declaration file generated by dts-gen */
declare module 'json-schema-faker' {
export = json_schema_faker;
function json_schema_faker(schema: any, refs: any, cwd: any): any;
namespace json_schema_faker {
const version: string;
function define(name: any, cb: any): any;
function extend(name: any, cb: any): any;
function format(nameOrFormatMap: any, callback: any): any;
function generate(schema: any, refs: any): any;
function locate(name: any): any;
function option(nameOrOptionMap: any, optionalValue?: any): any;
function reset(name: any): any;
function resolve(schema: any, refs?: any, cwd?: any): Promise<any>;
namespace option {
function getDefaults(): any;
}
namespace random {
function date(step: any): any;
function number(min: any, max: any, defMin: any, defMax: any, hasPrecision: any): any;
function pick(collection: any): any;
function randexp(value: any): any;
function shuffle(collection: any): any;
}
}
}