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