vcard4
Version:
An RFC 6350 compliant JavaScript library for generating and parsing version 4.0 vCards. Can also generate RFC 6351 compliant XML vCards and RFC 7095 compliant jCards. TypeScript type declarations are provided.
105 lines (103 loc) • 2.19 kB
TypeScript
import {
SourceProperty,
KindProperty,
XMLProperty,
FNProperty,
NProperty,
NicknameProperty,
PhotoProperty,
BdayProperty,
AnniversaryProperty,
GenderProperty,
BirthPlaceProperty,
DeathPlaceProperty,
DeathDateProperty,
ExpertiseProperty,
HobbyProperty,
InterestProperty,
AdrProperty,
TelProperty,
EmailProperty,
IMPPProperty,
LangProperty,
ContactURIProperty,
TzProperty,
GeoProperty,
TitleProperty,
RoleProperty,
LogoProperty,
OrgProperty,
MemberProperty,
RelatedProperty,
OrgDirectoryProperty,
CategoriesProperty,
NoteProperty,
ProdidProperty,
RevProperty,
SoundProperty,
UIDProperty,
ClientpidmapProperty,
URLProperty,
KeyProperty,
FburlProperty,
CaladruriProperty,
CaluriProperty,
ExtendedProperty,
} from "./properties/index";
export class Group {
repr(): string;
reprXML(): string;
reprJSON(): {}[];
hasMemberProperty: boolean;
kindPropertyIsGroup: boolean;
get propertyInstanceCount(): Map<string, number>;
constructor(
props: (
| SourceProperty
| KindProperty
| XMLProperty
| FNProperty
| NProperty
| NicknameProperty
| PhotoProperty
| BdayProperty
| AnniversaryProperty
| GenderProperty
| BirthPlaceProperty
| DeathPlaceProperty
| DeathDateProperty
| ExpertiseProperty
| HobbyProperty
| InterestProperty
| AdrProperty
| TelProperty
| EmailProperty
| IMPPProperty
| LangProperty
| ContactURIProperty
| TzProperty
| GeoProperty
| TitleProperty
| RoleProperty
| LogoProperty
| OrgProperty
| MemberProperty
| RelatedProperty
| OrgDirectoryProperty
| CategoriesProperty
| NoteProperty
| ProdidProperty
| RevProperty
| SoundProperty
| UIDProperty
| ClientpidmapProperty
| URLProperty
| KeyProperty
| FburlProperty
| CaladruriProperty
| CaluriProperty
| ExtendedProperty
)[],
groupName: string
);
}