| 1 | export function calendarHref(calendarName: string): string { |
| 2 | return `/calendars/${encodeURIComponent(calendarName)}/`; |
| 3 | } |
| 4 | |
| 5 | export function calendarObjectHref(calendarName: string, objectName: string): string { |
| 6 | return `${calendarHref(calendarName)}${encodeURIComponent(objectName)}`; |
| 7 | } |