-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy pathBotSecrets.ts
34 lines (34 loc) · 1.46 KB
/
BotSecrets.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
export interface BotSecrets {
/** The secret key that must be sent with the request to use the [API](../README.md#cli-api) */
API_KEY: string
/** Self-explanatory */
LINE_CHANNEL_SECRET: string
/** Self-explanatory */
LINE_CHANNEL_ACCESS_TOKEN: string
/** My user ID, so that the bot receives commands from me only */
LINE_USER_ID: string
/** Self-explanatory */
AIRTABLE_API_KEY: string
/** The ID of the Airtable base used for tracking expenses (should start with ‘app’) */
AIRTABLE_EXPENSE_BASE: string
/** The web URL to the Airtable base, used for deep linking */
AIRTABLE_EXPENSE_URI: string
/** The ID of the Airtable base used for cron jobs (should start with ‘app’) */
AIRTABLE_CRON_BASE: string
/** Two numbers in form of A/B, where A is usage budget per day (rolls over to the next day) and B is starting budget */
EXPENSE_PACEMAKER: string
/** Slack webhook URL */
SLACK_WEBHOOK_URL: string
/** My user ID, so that the bot receives commands from me only */
SLACK_USER_ID: string
/** Google Cloud IoT Core device path to send */
CLOUD_IOT_CORE_DEVICE_PATH: string
/** GitHub OAuth App credentials for making unauthenticated API calls with elevated rate limits. In form of "<client_id>:<client_secret>" */
GITHUB_OAUTH_APP_CREDENTIALS: string
/** Encryption secret for decrypting */
ENCRYPTION_SECRET: string
/** Database storage */
MONGODB_URL: string
/** Subject ID for Google Auth */
GOOGLE_AUTH_SUB: string
}