@capacitor-community/contacts
Advanced tools
Comparing version 0.0.3 to 0.1.0
@@ -9,7 +9,16 @@ declare module "@capacitor/core" { | ||
} | ||
export interface PhoneNumber { | ||
label?: string; | ||
number?: string; | ||
} | ||
export interface EmailAddress { | ||
label?: string; | ||
address?: string; | ||
} | ||
export interface Contact { | ||
contactId: string; | ||
displayName?: string; | ||
phoneNumbers: string[]; | ||
emails: string[]; | ||
phoneNumbers: PhoneNumber[]; | ||
emails: EmailAddress[]; | ||
photoThumbnail?: string; | ||
organizationName?: string; | ||
@@ -16,0 +25,0 @@ organizationRole?: string; |
{ | ||
"name": "@capacitor-community/contacts", | ||
"version": "0.0.3", | ||
"version": "0.1.0", | ||
"description": "Contacts Plugin for Capacitor", | ||
@@ -21,2 +21,3 @@ "main": "dist/esm/index.js", | ||
"@capacitor/ios": "latest", | ||
"all-contributors-cli": "^6.17.0", | ||
"husky": "^4.2.5", | ||
@@ -23,0 +24,0 @@ "np": "^6.2.4", |
@@ -1,19 +0,20 @@ | ||
# Capacitor Contacts Plugin | ||
<p align="center"><br><img src="https://user-images.githubusercontent.com/236501/85893648-1c92e880-b7a8-11ea-926d-95355b8175c7.png" width="128" height="128" /></p> | ||
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section --> | ||
<h3 align="center">Contacts</h3> | ||
<p align="center"><strong><code>@capacitor-community/contacts</code></strong></p> | ||
<p align="center"> | ||
Capacitor community plugin for fetching contacts. | ||
</p> | ||
[![All Contributors](https://img.shields.io/badge/all_contributors-2-orange.svg?style=flat-square)](#contributors-) | ||
<p align="center"> | ||
<img src="https://img.shields.io/maintenance/yes/2020?style=flat-square" /> | ||
<a href="https://github.com/capacitor-community/contacts/actions?query=workflow%3A%22Test+and+Build+Plugin%22"><img src="https://img.shields.io/github/workflow/status/capacitor-community/contacts/Test%20and%20Build%20Plugin?style=flat-square" /></a> | ||
<a href="https://www.npmjs.com/package/@capacitor-community/contacts"><img src="https://img.shields.io/npm/l/@capacitor-community/contacts?style=flat-square" /></a> | ||
<br> | ||
<a href="https://www.npmjs.com/package/@capacitor-community/contacts"><img src="https://img.shields.io/npm/dw/@capacitor-community/contacts?style=flat-square" /></a> | ||
<a href="https://www.npmjs.com/package/@capacitor-community/contacts"><img src="https://img.shields.io/npm/v/@capacitor-community/contacts?style=flat-square" /></a> | ||
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section --> | ||
[![All Contributors](https://img.shields.io/badge/all_contributors-5-orange.svg?style=flat-square)](#contributors-) | ||
<!-- ALL-CONTRIBUTORS-BADGE:END --> | ||
Capacitor community plugin for native Contact fetching. | ||
<!-- Badges --> | ||
<a href="https://npmjs.com/package/@capacitor-community/contacts"> | ||
<img src="https://img.shields.io/npm/v/@capacitor-community/contacts.svg"> | ||
</a> | ||
<a href="https://npmjs.com/package/@capacitor-community/contacts"> | ||
<img src="https://img.shields.io/npm/l/@capacitor-community/contacts.svg"> | ||
</a> | ||
## Maintainers | ||
@@ -160,4 +161,5 @@ | ||
displayName?: string; | ||
phoneNumbers: string[]; | ||
emails: string[]; | ||
phoneNumbers: PhoneNumber[]; | ||
emails: EmailAddress[]; | ||
photoThumbnail?: string; | ||
organizationName?: string; | ||
@@ -167,2 +169,12 @@ organizationRole?: string; | ||
} | ||
export interface PhoneNumber { | ||
label?: string; | ||
number?: string; | ||
} | ||
export interface EmailAddress { | ||
label?: string; | ||
address?: string; | ||
} | ||
``` | ||
@@ -184,1 +196,23 @@ | ||
MIT | ||
## Contributors | ||
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --> | ||
<!-- prettier-ignore-start --> | ||
<!-- markdownlint-disable --> | ||
<table> | ||
<tr> | ||
<td align="center"><a href="https://github.com/Idrimi"><img src="https://avatars0.githubusercontent.com/u/24573405?v=4?s=100" width="100px;" alt=""/><br /><sub><b>idrimi</b></sub></a><br /><a href="https://github.com/idrimi (Jonathan Gerber)/contacts/commits?author=Idrimi" title="Code">💻</a></td> | ||
<td align="center"><a href="https://github.com/tafelnl"><img src="https://avatars2.githubusercontent.com/u/35837839?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Tafel</b></sub></a><br /><a href="https://github.com/idrimi (Jonathan Gerber)/contacts/commits?author=tafelnl" title="Code">💻</a></td> | ||
<td align="center"><a href="http://ionicframework.com/"><img src="https://avatars3.githubusercontent.com/u/11214?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Max Lynch</b></sub></a><br /><a href="https://github.com/idrimi (Jonathan Gerber)/contacts/commits?author=mlynch" title="Documentation">📖</a> <a href="#eventOrganizing-mlynch" title="Event Organizing">📋</a></td> | ||
<td align="center"><a href="https://github.com/david-garzon-adl"><img src="https://avatars0.githubusercontent.com/u/45822796?v=4?s=100" width="100px;" alt=""/><br /><sub><b>David Javier Garzon Carrillo</b></sub></a><br /><a href="https://github.com/idrimi (Jonathan Gerber)/contacts/commits?author=david-garzon-adl" title="Code">💻</a></td> | ||
<td align="center"><a href="https://github.com/vhinic"><img src="https://avatars.githubusercontent.com/u/244439?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Vladimir Hinić</b></sub></a><br /><a href="https://github.com/idrimi (Jonathan Gerber)/contacts/commits?author=vhinic" title="Code">💻</a></td> | ||
</tr> | ||
</table> | ||
<!-- markdownlint-enable --> | ||
<!-- prettier-ignore-end --> | ||
<!-- ALL-CONTRIBUTORS-LIST:END --> | ||
<!-- prettier-ignore --> | ||
<!-- ALL-CONTRIBUTORS-LIST:END --> |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
257239
129
216
10
79