-
Notifications
You must be signed in to change notification settings - Fork 4
/
global.d.ts
53 lines (50 loc) · 1.37 KB
/
global.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
import { SetupServerApi } from 'msw/node';
declare module 'vitest' {
export interface TestContext {
server?: SetupServerApi;
}
}
declare module 'iron-session' {
interface IronSessionData {
token?: {
access_token: string;
anonymous: boolean;
expire_in: string;
username: string;
};
isAuthenticated?: boolean;
apiCookieHash?: string;
bot?: boolean;
}
}
declare global {
namespace NodeJS {
interface ProcessEnv {
[key: string]: string | undefined;
BASE_CANONICAL_URL: string;
API_HOST_CLIENT: string;
API_HOST_SERVER: string;
NEXT_PUBLIC_API_HOST_CLIENT: string;
COOKIE_SECRET: string;
ADS_SESSION_COOKIE_NAME: string;
SCIX_SESSION_COOKIE_NAME: string;
NEXT_PUBLIC_ORCID_CLIENT_ID: string;
NEXT_PUBLIC_ORCID_API_URL: string;
NEXT_PUBLIC_ORCID_REDIRECT_URI: string;
REDIS_HOST: string;
REDIS_PORT: string;
REDIS_PASSWORD: string;
VERIFIED_BOTS_ACCESS_TOKEN: string;
UNVERIFIABLE_BOTS_ACCESS_TOKEN: string;
MALICIOUS_BOTS_ACCESS_TOKEN: string;
NEXT_PUBLIC_GTM_ID: string;
NEXT_PUBLIC_RECAPTCHA_SITE_KEY: string;
NEXT_PUBLIC_API_MOCKING: string;
NEXT_PUBLIC_SENTRY_DSN: string;
NEXT_PUBLIC_SENTRY_PROJECT_ID: string;
GIT_SHA: string;
CSP_REPORT_URI: string;
CSP_REPORT_ONLY: string;
}
}
}