-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathenv.d.ts
74 lines (63 loc) · 1.74 KB
/
env.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
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
/// <reference types="node" />
/// <reference types="react" />
/// <reference types="react-dom" />
declare namespace NodeJS {
interface ProcessEnv {
readonly NODE_ENV: "development" | "production" | "test";
readonly RELEASE_ENV: "true" | "false";
readonly TARGET_BROWSER: "chrome" | "firefox" | "opera" | "edge" | "safari";
readonly VERSION: string;
readonly BUILD_ID: string;
// Wigwam specific
readonly WIGWAM_WEBSITE_ORIGIN?: string;
readonly WIGWAM_STATIC_CDN?: string;
readonly WIGWAM_INDEXER_API?: string;
readonly WIGWAM_INDEXER_API_KEY?: string;
readonly WIGWAM_INFURA_API_KEY?: string;
readonly WIGWAM_ANALYTICS_API_KEY?: string;
readonly WIGWAM_OPEN_LOGIN_CLIENT_ID?: string;
// Dev
readonly WIGWAM_DEV_UNLOCK_PASSWORD?: string;
readonly WIGWAM_DEV_ACTIVE_TAB_RELOAD?: string;
readonly WIGWAM_DEV_ELEMENTS_SPACING?: string;
readonly WIGWAM_DEV_BLOCK_TX_SEND?: string;
}
}
declare module "*.bmp" {
const src: string;
export default src;
}
declare module "*.gif" {
const src: string;
export default src;
}
declare module "*.jpg" {
const src: string;
export default src;
}
declare module "*.jpeg" {
const src: string;
export default src;
}
declare module "*.png" {
const src: string;
export default src;
}
declare module "*.webp" {
const src: string;
export default src;
}
declare module "*.svg" {
import * as React from "react";
export const ReactComponent: React.FunctionComponent<
React.SVGProps<SVGSVGElement> & { title?: string } & {
style?: React.CSSProperties & Record<string, string>;
}
>;
const src: string;
export default src;
}
declare module "*.module.css" {
const classes: { [key: string]: string };
export = classes;
}