Skip to content

Commit

Permalink
Add environment variables to globals.d.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Rian8337 committed Oct 26, 2024
1 parent 6c2ad1a commit fd4bed5
Showing 1 changed file with 105 additions and 0 deletions.
105 changes: 105 additions & 0 deletions src/globals.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
/* eslint-disable @typescript-eslint/no-unused-vars */

namespace NodeJS {
interface ProcessEnv {
/**
* The debug bot token.
*/
readonly DEBUG_BOT_TOKEN?: string;

/**
* The bot token.
*/
readonly BOT_TOKEN?: string;

/**
* The API key for osu! API.
*/
readonly OSU_API_KEY?: string;

/**
* The API key for osu!droid API.
*/
readonly DROID_API_KEY?: string;

/**
* The API key for Tatsu API.
*/
readonly TATSU_API_KEY?: string;

/**
* The API key for YouTube API.
*/
readonly YOUTUBE_API_KEY?: string;

/**
* The database key for Elaina database.
*/
readonly ELAINA_DB_KEY?: string;

/**
* The database key for Alice database.
*/
readonly ALICE_DB_KEY?: string;

/**
* The debug bot's deploy command ID.
*/
readonly DEBUG_BOT_DEPLOY_ID?: string;

/**
* The debug bot's undeploy command ID.
*/
readonly DEBUG_BOT_UNDEPLOY_ID?: string;

/**
* The bot's deploy command ID.
*/
readonly BOT_DEPLOY_ID?: string;

/**
* The bot's undeploy command ID.
*/
readonly BOT_UNDEPLOY_ID?: string;

/**
* The API key for the osu!droid server.
*/
readonly DROID_SERVER_INTERNAL_KEY?: string;

/**
* The API key for the Discord OAuth2 backend.
*/
readonly DISCORD_OAUTH_BACKEND_INTERNAL_KEY?: string;

/**
* The hostname of the database for the official server.
*/
readonly OFFICIAL_DB_HOSTNAME?: string;

/**
* The port of the database for the official server.
*/
readonly OFFICIAL_DB_USERNAME?: string;

/**
* The username of the database for the official server.
*/
readonly OFFICIAL_DB_PASSWORD?: string;

/**
* The password of the database for the official server.
*/
readonly OFFICIAL_DB_NAME?: string;

/**
* The prefix of database names in the official server's database.
*/
readonly OFFICIAL_DB_PREFIX?: string;

/**
* The rework type that is being hosted.
*/
readonly CURRENT_REWORK_TYPE?: string;
}
}

0 comments on commit fd4bed5

Please sign in to comment.