-
Notifications
You must be signed in to change notification settings - Fork 1
/
environment.d.ts
24 lines (23 loc) · 1.41 KB
/
environment.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
declare global {
namespace NodeJS {
interface ProcessEnv {
GOOGLE_KEY: string // File with the json key for the user
GDRIVE_FOLDERID: string // Folder ID on Drive where the copy should take place
GIT_ROOT: string | undefined // Folder on the local drive where the git repository copy is to be found
GIT_SUBDIR: string | undefined // Sub-folder (relative) in the local drive to take the files from (e.g. samples/guides)
GIT_ORIGIN: string // Name of the origin branch to take the history from (e.g. origin/main)npm
GIT_GLOB: string | undefined // Glob patterns, separated by `|`, of files to include or exclude (when preceded by !)
MAIL_ACCOUNT: string | undefined // e-mail of the mail account to impersonate
MAIL_PREFIX: string | undefined // Text prefix for the subject; e.g. "DriveUpdater: "
MAIL_ERRORTO: string | undefined // Mail to send error logs to
MAIL_DEBUGTO: string | undefined // Mail to send debug logs to
SLACK_TOKEN: string | undefined // Slack OAuth token for the Slack API
SLACK_CHANNELS: string | undefined // List of Slack channel IDs (separated by |) to post updates to
DRY_RUN: string | undefined // If 'true', do not update Google Drive
NODE_ENV: 'development' | 'production'
}
}
}
// If this file has no import/export statements (i.e. is a script)
// convert it into a module by adding an empty export statement.
export {}