|
| 1 | +diff --git a/node_modules/react-native-contacts/src/NativeContacts.ts b/node_modules/react-native-contacts/src/NativeContacts.ts |
| 2 | +index fc5f61a..9fa1903 100644 |
| 3 | +--- a/node_modules/react-native-contacts/src/NativeContacts.ts |
| 4 | ++++ b/node_modules/react-native-contacts/src/NativeContacts.ts |
| 5 | +@@ -22,20 +22,20 @@ export interface Spec extends TurboModule { |
| 6 | + requestPermission: () => Promise<PermissionType>; |
| 7 | + writePhotoToPath: (contactId: string, file: string) => Promise<boolean>; |
| 8 | + iosEnableNotesUsage: (enabled: boolean) => void; |
| 9 | +- getGroups(): Promise<Group[]>; |
| 10 | +- getGroup: (identifier: string) => Promise<Group | null>; |
| 11 | +- deleteGroup(identifier: string): Promise<boolean>; |
| 12 | +- updateGroup(identifier: string, groupData: Object): Promise<Group>; |
| 13 | +- addGroup(group: Object): Promise<Group>; |
| 14 | +- contactsInGroup(identifier: string): Promise<Contact[]>; |
| 15 | +- addContactsToGroup( |
| 16 | ++ getGroups?: () => Promise<Group[]>; |
| 17 | ++ getGroup?: (identifier: string) => Promise<Group | null>; |
| 18 | ++ deleteGroup?: (identifier: string) => Promise<boolean>; |
| 19 | ++ updateGroup?: (identifier: string, groupData: Object) => Promise<Group>; |
| 20 | ++ addGroup?: (group: Object) => Promise<Group>; |
| 21 | ++ contactsInGroup?: (identifier: string) => Promise<Contact[]>; |
| 22 | ++ addContactsToGroup?: ( |
| 23 | + groupIdentifier: string, |
| 24 | + contactIdentifiers: string[] |
| 25 | +- ): Promise<boolean>; |
| 26 | +- removeContactsFromGroup( |
| 27 | ++ ) => Promise<boolean>; |
| 28 | ++ removeContactsFromGroup?: ( |
| 29 | + groupIdentifier: string, |
| 30 | + contactIdentifiers: string[] |
| 31 | +- ): Promise<boolean>; |
| 32 | ++ ) => Promise<boolean>; |
| 33 | + } |
| 34 | + |
| 35 | + export default TurboModuleRegistry.get<Spec>("RCTContacts"); |
0 commit comments