-
Notifications
You must be signed in to change notification settings - Fork 228
Expand file tree
/
Copy pathinterface.d.ts
More file actions
75 lines (70 loc) · 1.69 KB
/
interface.d.ts
File metadata and controls
75 lines (70 loc) · 1.69 KB
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
import { Stream } from 'stream';
export interface IMetaJSON {
vendors: Array<string>;
vendorsNotWrapped: Array<string>;
exportPageVendors: Array<string>;
stylesheets: Array<string>;
domain: string;
copyNodeModules: Array<string>;
debugInjections: Array<string>;
electronScripts: Array<string>;
analyticsIframe: string;
langList: object,
tradingView: {
domain: string;
files: Array<string>;
};
electron: {
createPackageJSONFields: Array<string>;
defaults: object;
server: string;
}
}
export interface IPackageJSON {
name: string;
version: string;
description: string;
author: {
name: string;
email: string;
url: string;
};
repository: {
type: string;
url: string;
};
server: string;
license: string;
devDependencies: IHash<string>;
scripts: IHash<string>;
dependencies: IHash<string>;
}
export interface IHash<T> {
[key: string]: T;
}
export interface IConfItem {
tradingPairs: Array<Array<string, string>>;
oracles: object;
apiVersion: string;
code: string;
bankRecipient: string;
node: string;
matcher: string;
api: string;
explorer: string;
coinomat: string;
support: string;
nodeList: string;
scamListUrl: string;
tokensNameListUrl: string;
featuresConfigUrl: string;
featuresConfig?: unknown;
origin: string;
assets: IHash<string>;
feeConfigUrl: string;
feeConfig?: unknown;
analyticsIframe: string;
}
export type TConnection = 'mainnet' | 'testnet';
export type TBuild = 'development' | 'production';
export type TPlatform = 'web' | 'desktop';