-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenvironment.ts
More file actions
47 lines (45 loc) · 1.64 KB
/
environment.ts
File metadata and controls
47 lines (45 loc) · 1.64 KB
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
interface BuilderConfig {
clientId: string
clientSecret: string
userId: string
sampleTemplateUrl: string
blankTemplateUrl: string
}
interface Environment {
production: boolean
emailBuilder: BuilderConfig
pageBuilder: BuilderConfig
popupBuilder: BuilderConfig
fileManager: BuilderConfig
}
export const environment: Environment = {
production: false,
emailBuilder: {
clientId: process.env.EMAIL_BUILDER_CLIENT_ID ?? '',
clientSecret: process.env.EMAIL_BUILDER_CLIENT_SECRET ?? '',
userId: process.env.EMAIL_BUILDER_USER_ID || 'your-user-id',
sampleTemplateUrl: 'https://rsrc.getbee.io/api/templates/m-bee',
blankTemplateUrl: '/templates/blank-template.json',
},
pageBuilder: {
clientId: process.env.PAGE_BUILDER_CLIENT_ID ?? '',
clientSecret: process.env.PAGE_BUILDER_CLIENT_SECRET ?? '',
userId: process.env.PAGE_BUILDER_USER_ID || 'your-user-id',
sampleTemplateUrl: 'https://rsrc.getbee.io/api/templates/m-bee-page',
blankTemplateUrl: '/templates/blank-template.json',
},
popupBuilder: {
clientId: process.env.POPUP_BUILDER_CLIENT_ID ?? '',
clientSecret: process.env.POPUP_BUILDER_CLIENT_SECRET ?? '',
userId: process.env.POPUP_BUILDER_USER_ID || 'your-user-id',
sampleTemplateUrl: 'https://rsrc.getbee.io/api/templates/m-bee-popup',
blankTemplateUrl: '/templates/blank-template.json',
},
fileManager: {
clientId: process.env.FILE_MANAGER_CLIENT_ID ?? '',
clientSecret: process.env.FILE_MANAGER_CLIENT_SECRET ?? '',
userId: process.env.FILE_MANAGER_USER_ID || 'your-user-id',
sampleTemplateUrl: '',
blankTemplateUrl: '/templates/blank-template.json',
},
}