-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtypes.d.ts
49 lines (46 loc) · 966 Bytes
/
types.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
43
44
45
46
47
48
49
export declare interface AmfServiceProcessingOptions {
/**
* When true it treats the source as a zip data. Files are unzipped to a temporary location before processing.
*/
zip?: boolean;
/**
* When true it validates the API when parsing.
*
* Validation is made in the `parse` phase and results (as string) are stored in the `validationResult` property of the service.
*/
validate?: boolean;
/**
* The main file to use, if known
*/
mainFile?: string;
}
export declare interface ApiSearchCandidate {
/**
* Absolute path to the file
*/
absolute: string;
/**
* Relative path to the file
*/
relative: string;
}
export declare interface ApiSearchTypeResult {
/**
* API type
*/
type: string;
/**
* File media type
*/
contentType: string;
}
export declare interface ApiParseResult {
/**
* The parsed API
*/
model: string;
/**
* Api type info
*/
type: ApiSearchTypeResult;
}