-
Notifications
You must be signed in to change notification settings - Fork 3
/
privateConfig-example.js
48 lines (40 loc) · 1.5 KB
/
privateConfig-example.js
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
// Enable/disable certain types of notifications
export const ENABLE_NOTIFICATION = Object.freeze({
desktop: true,
emailAndSMS: false,
})
export const SENDER = Object.freeze({
address: '[email protected]',
// Most free services have a limit to prevent you from spamming others
dailyLimit: 0, // Use 0 to remove any limitations
name: 'Your name here', // Use your full name if you want your recipient to recognize you
password: 'bestPasswordEverObviously',
// Supported services: https://github.com/nodemailer/nodemailer/blob/master/lib/well-known/services.json
service: 'Gmail', // If you want to use Gmail, you may need to change some Gmail Account settings: https://nodemailer.com/usage/using-gmail/
})
export const RECIPIENTS = Object.freeze([
Object.freeze({
address: '[email protected]',
name: 'Mom',
}),
Object.freeze({
// SMS notification is supported by using a phone number + carrier domain.
// See here for domains: https://github.com/jef/streetmerchant/blob/edb39f8f05451c3cc1994c0beb2338bae04ab585/src/config.ts#L270-L285
address: '[email protected]',
name: 'Mom',
}),
])
export const SEARCH = Object.freeze({
cities: [ // used for Vaccine Spotter and CVS (make sure each city has a CVS location)
'San Francisco, CA',
],
zipCodes: [ // used for Walgreens (they use 25-mile radius)
'94102',
],
})
export const LOOP_INTERVAL = 5 // minutes
export const HIDE_BROWSER = true
export const BROWSER_SIZE = Object.freeze({
height: 768,
width: 1024,
})