mirror of
https://github.com/status-im/react-native-cameraroll.git
synced 2025-01-27 18:04:51 +00:00
4da8310892
BREAKING CHANGE: meta data is no longer added as default. This applies to `fileName`, `fileSize` and `location`. If you need this metadata use the new `include` parameter. Adding this metadata will slow down the `getPhotos` function, so consider only retrieving this meta data for smaller sets of images as needed, instead of for all images. * Created getPhotosFast function, fixed inconsistent getPhotos toDate logic * Fixed wrong param name, added better typechecking * Added example, renamed allowEmptyFilenames to skipGettingFilenames * Removed `after` from getPhotosFast docs * Redid implementation based on a new `include` param * Updated API to use include parameter * Fixed flow checking by converting index.ts to Typescript * Unformatted README.md * Unformatted README.md * Unformatted README.md * Added .prettierignore and ignored README.md for now * Made example/index.js not checked by Flow * Updated README.md to include notes in the outputs too * Made inclusion of fields consistent, addressed other feedback * Renamed GetPhotosFastParams back to GetPhotosParams * Updated documentation to reflect nullable types * Updated typings and documentation for fromTime, toTime * Updated to fix `hasNextPage` being incorrectly false in some cases Co-authored-by: Harry Yu <hy.harry.yu@gmail.com>
26 lines
717 B
JSON
26 lines
717 B
JSON
{
|
|
"include": ["typings/**/*.d.ts", "example/**/*.ts", "example/**/*.tsx"],
|
|
"compilerOptions": {
|
|
"target": "es5",
|
|
"module": "commonjs",
|
|
"declaration": true,
|
|
"importHelpers": true,
|
|
"jsx": "react",
|
|
"sourceMap": true,
|
|
"strict": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"noImplicitReturns": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"moduleResolution": "node",
|
|
"skipLibCheck": true,
|
|
"experimentalDecorators": true,
|
|
"emitDecoratorMetadata": true,
|
|
"lib": ["es2015", "es2016", "esnext", "dom"],
|
|
"allowSyntheticDefaultImports": true,
|
|
"noEmit": true,
|
|
"resolveJsonModule": true
|
|
},
|
|
"exclude": ["node_modules", "**/*.spec.ts"]
|
|
}
|