-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.ts
More file actions
36 lines (35 loc) · 1.03 KB
/
config.example.ts
File metadata and controls
36 lines (35 loc) · 1.03 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
export const config: ConfigType = {
BlockCalendars: [
{
Enabled: true,
FromCalId: 'person.email@gmail.com',
ToCalId: 'work.email@my-company.com',
Days: 14, // default
TitlePlaceholder: 'Busy', // XOR CopyEventTitle: true
WorkDayStartHour: 8, // 8am
WorkDayEndHour: 24, // midnight
SkipWeekends: true,
}
// ... add more calendars to mirror
],
EndingSoonEvents: {
Enabled: false,
PrimaryCalID: '', // id of the primary calendar to pull events from
EndNotifCalID: 'aaabbbccc@group.calendar.google.com', // id of the secondary calendar to push to
LookAheadDays: 1 // days to look ahead and create events for
},
SunsetWalkEvents: {
Enabled: false,
DaysToCreate: 14,
Latitude: 0.0, // your latitude
Longitude: 0.0 // your longitude
},
Cleanup: [
{
Enabled: true,
CalID: 'aaabbbcccc@group.calendar.google.com', // id of the secondary calendar to push to
Regex: /^Busy$/,
Days: 14 // days to look ahead and clean up
}
]
};