blob: 0077a44b243e9570235767a9317c392296a50861 (
plain)
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
|
export declare interface JavaReference {
class: string
member: string | null
}
export declare interface ClassReference extends JavaReference {
member: null
}
export declare interface MemberReference extends JavaReference {
member: string
}
export declare interface NEUFileLocation {
filename: string
line: number | null
}
export declare interface ConfigOption {
name: string
description: string
reference: MemberReference
location: NEUFileLocation
}
export declare interface ConfigCategory {
name: string
description: string
useReference: MemberReference
useLocation: NEUFileLocation
structReference: ClassReference
structLocation: NEUFileLocation
options: [ConfigOption]
}
export declare interface ConfigMeta {
categories: [ConfigCategory]
}
// TODO: multi version / introduced semantics
export const latestData = require('./config-meta.json') as ConfigMeta;
|