import { getTagValue } from "./event-tags.js";
import { getAddressPointerFromATag } from "./pointers.js";
import { isATag } from "./tags.js";
/** Gets the title of a calendar */
export function getCalendarTitle(event) {
    return getTagValue(event, "title");
}
/** Gets the address pointers to all the events on the calendar */
export function getCalendarAddressPointers(event) {
    return event.tags.filter(isATag).map(getAddressPointerFromATag);
}
