This repository has been archived by the owner on Sep 16, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 76
/
config.ts
70 lines (63 loc) · 3.4 KB
/
config.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
import dotenv from 'dotenv';
import { Svix } from 'svix';
dotenv.config();
const config = {
PORT: process.env.SERVER_PORT || 4001,
REDIS_URL: process.env.REDIS_SERVER_URL!,
HUBSPOT_CLIENT_ID: process.env.HUBSPOT_CLIENT_ID,
HUBSPOT_CLIENT_SECRET: process.env.HUBSPOT_CLIENT_SECRET,
ZOHOCRM_CLIENT_ID: process.env.ZOHOCRM_CLIENT_ID,
ZOHOCRM_CLIENT_SECRET: process.env.ZOHOCRM_CLIENT_SECRET,
SFDC_CLIENT_ID: process.env.SFDC_CLIENT_ID,
SFDC_CLIENT_SECRET: process.env.SFDC_CLIENT_SECRET,
PIPEDRIVE_CLIENT_ID: process.env.PIPEDRIVE_CLIENT_ID,
PIPEDRIVE_CLIENT_SECRET: process.env.PIPEDRIVE_CLIENT_SECRET,
PGSQL_URL: process.env.PGSQL_URL,
OAUTH_REDIRECT_BASE: process.env.OAUTH_REDIRECT_BASE,
SLACK_URL: process.env.SLACK_HOOK_URL,
SENTRY_DSN: process.env.SENTRY_DSN,
SVIX_AUTH_TOKEN: process.env.SVIX_AUTH_TOKEN,
SHORTLOOP_AUTH_KEY: process.env.SHORTLOOP_AUTH_KEY!,
SVIX_ENDPOINT_SECRET: process.env.SVIX_ENDPOINT_SECRET!,
svix: process.env.SVIX_AUTH_TOKEN ? new Svix(process.env.SVIX_AUTH_TOKEN!) : undefined,
WHITE_LISTED_DOMAINS: process.env.WHITE_LISTED_DOMAINS?.split(','),
AES_ENCRYPTION_SECRET: process.env.AES_ENCRYPTION_SECRET!,
MOESIF_APPLICATION_ID: process.env.MOESIF_APPLICATION_ID,
SLACK_CLIENT_ID: process.env.SLACK_CLIENT_ID!,
SLACK_CLIENT_SECRET: process.env.SLACK_CLIENT_SECRET!,
SLACK_BOT_TOKEN: process.env.SLACK_BOT_TOKEN!,
LOOPS_ONBOARDING_TXN_ID: process.env.LOOPS_ONBOARDING_TXN_ID,
LOOPS_API_KEY: process.env.LOOPS_API_KEY,
CLOSECRM_CLIENT_ID: process.env.CLOSECRM_CLIENT_ID!,
CLOSECRM_CLIENT_SECRET: process.env.CLOSECRM_CLIENT_SECRET!,
DISCORD_CLIENT_ID: process.env.DISCORD_CLIENT_ID!,
DISCORD_CLIENT_SECRET: process.env.DISCORD_CLIENT_SECRET!,
DISCORD_BOT_TOKEN: process.env.DISCORD_BOT_TOKEN!,
DISABLE_REVERT_TELEMETRY: process.env.DISABLE_REVERT_TELEMETRY === 'true',
LINEAR_CLIENT_ID: process.env.LINEAR_CLIENT_ID!,
LINEAR_CLIENT_SECRET: process.env.LINEAR_CLIENT_SECRET!,
CLICKUP_CLIENT_ID: process.env.CLICKUP_CLIENT_ID!,
CLICKUP_CLIENT_SECRET: process.env.CLICKUP_CLIENT_SECRET!,
TRELLO_CLIENT_ID: process.env.TRELLO_CLIENT_ID!,
TRELLO_CLIENT_SECRET: process.env.TRELLO_CLIENT_SECRET!,
JIRA_CLIENT_ID: process.env.JIRA_CLIENT_ID!,
JIRA_CLIENT_SECRET: process.env.JIRA_CLIENT_SECRET!,
MS_DYNAMICS_SALES_CLIENT_ID: process.env.MS_DYNAMICS_SALES_CLIENT_ID!,
MS_DYNAMICS_SALES_CLIENT_SECRET: process.env.MS_DYNAMICS_SALES_CLIENT_SECRET!,
MS_DYNAMICS_SALES_ORG_URL: process.env.MS_DYNAMICS_SALES_ORG_URL!,
BITBUCKET_CLIENT_ID: process.env.BITBUCKET_CLIENT_ID!,
BITBUCKET_CLIENT_SECRET: process.env.BITBUCKET_CLIENT_SECRET!,
OPEN_INT_API_KEY: process.env.OPEN_INT_API_KEY,
OPEN_INT_BASE_API_URL: process.env.OPEN_INT_BASE_API_URL,
TWENTY_ACCOUNT_ID: process.env.TWENTY_ACCOUNT_ID,
GITHUB_CLIENT_ID: process.env.GITHUB_CLIENT_ID!,
GITHUB_CLIENT_SECRET: process.env.GITHUB_CLIENT_SECRET!,
DEFAULT_RATE_LIMIT_DEVELOPER_PLAN: process.env.DEFAULT_RATE_LIMIT_DEVELOPER_PLAN,
QUICKBOOKS_CLIENT_ID: process.env.QUICKBOOKS_CLIENT_ID!,
QUICKBOOKS_CLIENT_SECRET: process.env.QUICKBOOKS_CLIENT_SECRET!,
XERO_CLIENT_ID: process.env.XERO_CLIENT_ID!,
XERO_CLIENT_SECRET: process.env.XERO_CLIENT_SECRET!,
LEVER_CLIENT_ID: process.env.LEVER_CLIENT_ID!,
LEVER_CLIENT_SECRET: process.env.LEVER_CLIENT_SECRET!,
};
export default config;