|
|
|
@ -14,6 +14,7 @@ export interface PimType {
|
|
|
|
|
itemUid?: string;
|
|
|
|
|
toIcal(): string;
|
|
|
|
|
clone(): PimType;
|
|
|
|
|
lastModified: ICAL.Time | undefined;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export function timezoneLoadFromName(timezone: string | null) {
|
|
|
|
@ -385,6 +386,10 @@ export class ContactType implements PimType {
|
|
|
|
|
return this.comp.getFirstPropertyValue("bday");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
get lastModified() {
|
|
|
|
|
return this.comp.getFirstPropertyValue("rev");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
get group() {
|
|
|
|
|
const kind = this.comp.getFirstPropertyValue("kind");
|
|
|
|
|
return ["group", "organization"].includes(kind);
|
|
|
|
|