forked from solana-developers/solana-devnet-faucet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtypes.d.ts
45 lines (37 loc) · 826 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
/**
* Master global types for the website/app
*/
type Option<T> = T | null;
type SimpleComponentProps = {
children?: React.ReactNode;
className?: string;
};
type ImageSize = {
width: number;
height: number;
};
/**
* Define simple type definitions of the env variables
*/
declare namespace NodeJS {
export interface ProcessEnv {
/**
* General variables and settings
*/
RPC_URL: string;
FAUCET_KEYPAIR: string;
// NEXT_PUBLIC_RPC_URL: string;
POSTGRES_STRING: string;
CLOUDFLARE_SECRET: string;
IP_ALLOW_LIST: string;
/**
* Auth related variables
*/
// GITHUB_ID: string;
GITHUB_CLIENT_ID: string;
GITHUB_CLIENT_SECRET: string;
// GITHUB_ACCESS_TOKEN: string;
// TWITTER_CLIENT_ID: string;
// TWITTER_CLIENT_SECRET: string;
}
}