-
Notifications
You must be signed in to change notification settings - Fork 985
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9ee8a26
commit 8c55d67
Showing
6 changed files
with
23 additions
and
334 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,74 +1,11 @@ | ||
--- /tmp/tmp-status-mobile-8a12ad351/tmp.v1Aju1hKVG/NativeCameraRollModule.ts 2024-04-16 12:14:39.262541000 +0200 | ||
+++ ./node_modules/@react-native-camera-roll/camera-roll/src/NativeCameraRollModule.ts 2024-04-16 12:21:34.905876910 +0200 | ||
@@ -2,17 +2,17 @@ | ||
// we use Object type because methods on the native side use NSDictionary and ReadableMap | ||
// and we want to stay compatible with those | ||
import {TurboModuleRegistry, TurboModule} from 'react-native'; | ||
-import type { PhotoThumbnail } from './CameraRoll'; | ||
+import type {PhotoThumbnail} from './CameraRoll'; | ||
|
||
export type AlbumSubType = | ||
- | 'AlbumRegular' | ||
- | 'AlbumSyncedEvent' | ||
- | 'AlbumSyncedFaces' | ||
- | 'AlbumSyncedAlbum' | ||
- | 'AlbumImported' | ||
- | 'AlbumMyPhotoStream' | ||
- | 'AlbumCloudShared' | ||
- | 'Unknown'; | ||
+ | 'AlbumRegular' | ||
+ | 'AlbumSyncedEvent' | ||
+ | 'AlbumSyncedFaces' | ||
+ | 'AlbumSyncedAlbum' | ||
+ | 'AlbumImported' | ||
+ | 'AlbumMyPhotoStream' | ||
+ | 'AlbumCloudShared' | ||
+ | 'Unknown'; | ||
|
||
type Album = { | ||
title: string; | ||
@@ -21,14 +21,14 @@ | ||
}; | ||
|
||
type SubTypes = | ||
- | 'PhotoPanorama' | ||
- | 'PhotoHDR' | ||
- | 'PhotoScreenshot' | ||
- | 'PhotoLive' | ||
- | 'PhotoDepthEffect' | ||
- | 'VideoStreamed' | ||
- | 'VideoHighFrameRate' | ||
- | 'VideoTimelapse'; | ||
+ | 'PhotoPanorama' | ||
+ | 'PhotoHDR' | ||
+ | 'PhotoScreenshot' | ||
+ | 'PhotoLive' | ||
+ | 'PhotoDepthEffect' | ||
+ | 'VideoStreamed' | ||
+ | 'VideoHighFrameRate' | ||
+ | 'VideoTimelapse'; | ||
|
||
type PhotoIdentifier = { | ||
node: { | ||
@@ -73,14 +73,16 @@ | ||
--- /tmp/tmp-status-mobile-3907e6b2e/tmp.juxTO1BeCM/NativeCameraRollModule.ts 2024-04-16 15:21:28.379979000 +0200 | ||
+++ ./node_modules/@react-native-camera-roll/camera-roll/src/NativeCameraRollModule.ts 2024-04-16 15:21:40.490391291 +0200 | ||
@@ -81,6 +81,8 @@ | ||
getPhotos(params: Object): Promise<PhotoIdentifiersPage>; | ||
getAlbums(params: Object): Promise<Album[]>; | ||
deletePhotos(photoUris: Array<string>): Promise<void>; | ||
+ getPhotosCountiOS(arg: string): Promise<number>; | ||
+ getFavoritesiOS(arg: string): Promise<Album>; | ||
getPhotoByInternalID( | ||
- internalID: string, | ||
- options: Object, | ||
+ internalID: string, | ||
+ options: Object, | ||
): Promise<PhotoIdentifier>; | ||
getPhotoThumbnail( | ||
- internalID: string, | ||
- options: Object | ||
- ): Promise<PhotoThumbnail> | ||
+ internalID: string, | ||
+ options: Object, | ||
+ ): Promise<PhotoThumbnail>; | ||
} | ||
|
||
export default TurboModuleRegistry.getEnforcing<Spec>('RNCCameraRoll'); | ||
internalID: string, | ||
options: Object, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.