-
Notifications
You must be signed in to change notification settings - Fork 1
/
types.d.ts
52 lines (45 loc) · 939 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
50
51
52
/**
* 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;
};
type LinkDetails = {
title: string;
href: string;
description: React.ReactNode;
icon?: string;
};
/**
* Define simple type definitions of the env variables
*/
declare namespace NodeJS {
export interface ProcessEnv {
/**
* General variables and settings
*/
SOLANA_RPC: string;
NEXT_PUBLIC_SOLANA_RPC: string;
/**
* Auth related variables
*/
TWITTER_CLIENT_ID: string;
TWITTER_CLIENT_SECRET: string;
GITHUB_ID: string;
GITHUB_APP_ID: string;
GITHUB_SECRET: string;
GITHUB_ACCESS_TOKEN: string;
/**
* Assorted service API keys
*/
UNDERDOG_API_KEY: string;
UNDERDOG_API_URL: string;
UNDERDOG_PROJECT_ID: string;
}
}