feat(storage): made put method return Task. added snapshot API.

* feat(storage): snapshot prop on Task. put is Task

* removed this._task from StorageReference

* Apply suggestions from code review

not awaiting promise

Co-Authored-By: Mike Diarmid <mike.diarmid@gmail.com>

Co-authored-by: Mike Diarmid <mike.diarmid@gmail.com>
This commit is contained in:
Russell Wheatley
2020-03-27 16:51:47 +00:00
committed by GitHub
parent d66a6118f8
commit ea1962270b
5 changed files with 141 additions and 46 deletions

View File

@@ -15,7 +15,7 @@
"generate-changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -t -v -l",
"tests:packager:chrome": "cd tests && node_modules/.bin/react-native start --platforms ios,android --reset-cache",
"tests:packager:jet": "cd tests && cross-env REACT_DEBUGGER=\"echo nope\" node_modules/.bin/react-native start",
"tests:packager:jet-reset-cache": "cd tests & cross-env REACT_DEBUGGER=\"echo nope\" node_modules/.bin/react-native start --reset-cache",
"tests:packager:jet-reset-cache": "cd tests && cross-env REACT_DEBUGGER=\"echo nope\" node_modules/.bin/react-native start --reset-cache",
"tests:android:build": "cd tests && ./node_modules/.bin/detox build --configuration android.emu.debug",
"tests:android:build-release": "cd tests && ./node_modules/.bin/detox build --configuration android.emu.release",
"tests:android:test": "cd tests && ./node_modules/.bin/detox test --configuration android.emu.debug",