Commit Graph

71 Commits

Author SHA1 Message Date
Chris Bianca 9e549d60b1 [firestore][typings] Add better type for DocumentChange.type #1180 2018-06-17 16:35:02 +01:00
Chris Bianca 25506479d3 [firestore][android] Add support for firestore v16 2018-05-08 15:36:49 +01:00
Chris Bianca ff41a45fdd [firestore][types] Add Typescript types for Blob 2018-05-04 16:30:32 +01:00
Salakar 374c617672 [internals][js] move Base64 util to shared utils 2018-05-03 21:54:45 +01:00
Salakar d493e00a67 [firestore][js] additional Blob class input arg validations 2018-05-03 21:50:53 +01:00
Salakar 9c49d9ef57 [firestore][js] implement Blob support 2018-05-03 20:13:51 +01:00
Salakar d180b40d19 [firestore][js] blob uint8 coversion + blob comparator 2018-05-02 10:05:30 +01:00
Salakar ff3b0fd7ea [firestore][js] start of blob support 2018-05-01 22:20:55 +01:00
Salakar 0a828aae40 [firestore][js] fix issue with parent() incorrectly returning a 'parent' Path on a root level Path 2018-04-22 00:25:36 +01:00
Salakar f4832410bb [firestore] .settings() - use hasOwnProperty instead of truthy value existence checks 2018-04-16 18:20:08 +01:00
Salakar 88410b409a [firestore] fix incomplete transaction error stack 2018-04-16 17:39:29 +01:00
Salakar 317b02b901 [firestore] Path - remove unreachable code paths 2018-04-16 16:21:24 +01:00
Salakar b534e02016 [firestore] added missing conditional for firestore transaction errors - should now error on failed promise validations 2018-04-16 16:20:33 +01:00
Salakar c14e60017e [firestore][DocumentSnapshot] explicitly bind context on data/get methods to keep context during destructuring (includes tests) 2018-04-13 11:50:30 +01:00
Chris Bianca b0abf23c6d [firestore] Add support for settings 2018-04-13 09:58:53 +01:00
Chris Bianca 1922a25198 [firestore] Add setLogLevel support 2018-04-13 08:41:57 +01:00
Salakar b918eea630 [firestore] add support for `DocumentSnapshot.get('dot.notated.field.path')` 2018-04-12 12:38:28 +01:00
Salakar f1e9d28869 [firestore] add support for `DocumentSnapshot.get('dot.notated.field.path')` 2018-04-12 12:30:41 +01:00
Chris Bianca dd940b953b [firestore] Add support for enable / disable network 2018-03-27 17:31:25 +01:00
JinHao Chen cc8799b465 Implement multiple database shard support 2018-03-21 12:51:02 -07:00
Chris Bianca e791648c24 Tests for firestore and auth 2018-03-20 16:07:37 +00:00
Chris Bianca 7f8a486b40 [types] Fix transaction flow type errors 2018-03-08 11:13:21 +00:00
Michael Diarmid f1a7a13587
Merge branch 'master' into firestore-transactions 2018-03-05 00:05:37 +00:00
Chris Bianca f1b5626483 [firestore] Add unsupported network methods 2018-03-02 10:28:17 +00:00
Chris Bianca 49757eb56d A few more firestore tests 2018-03-01 19:04:13 +00:00
Salakar a21fc755a1 merge master 2018-03-01 16:32:44 +00:00
Salakar 3f4c59f81d [firestore][js] misc transactions internals changes 2018-02-23 03:02:17 +00:00
Salakar 5fb1ad6781 [firestore] fix issue with NaN serialization 2018-02-23 02:59:39 +00:00
Chris Bianca c57c6a74a8 [flow] Remove custom flow error tag 2018-02-17 12:55:19 +00:00
Chris Bianca 4e81527246 [types] Export app, auth, database and firestore types 2018-02-14 13:00:19 +00:00
Salakar a108d43e95 [firestore] remove transaction listener instance from class 2018-02-13 13:58:23 +00:00
Salakar 4c0b1639ab [firestore][js] initial draft of firestore transactions RNFB JS api 2018-02-11 23:37:21 +00:00
Chris Bianca fba6380729 [js] Run prettier for the first time 2018-01-25 18:25:39 +00:00
Chris Bianca 66a8ef6926 [firestore] Address issues with false query options 2018-01-24 14:22:54 +00:00
Chris Bianca 63859b311d [internals] Bump the library and tests app to the latest version of RN, React, etc 2018-01-16 17:08:52 +00:00
Chris Bianca 3dacb35291 [firestore] Add FieldPath support to DocumentReference and WriteBatch update methods 2018-01-12 11:49:45 +00:00
Chris Bianca 5e062868fc [firestore] Add FieldPath support to DocumentSnapshot and Query 2018-01-11 18:28:14 +00:00
Chris Bianca 301f2749c0 [internals] Migrate multi app flag to module configuration 2018-01-09 17:32:08 +00:00
Chris Bianca 80cb54ee6d [internals][types] Last part of internal refactor; Got rid of remaining flow errors 2018-01-05 17:20:10 +00:00
Chris Bianca 0fe2fec819 [internals] More tidy up and hiding of internal functions 2018-01-03 20:00:38 +00:00
Chris Bianca 1f29354145 [internals] Fix a couple of missing log references 2017-12-27 15:29:38 +00:00
Chris Bianca 61d7c3b2eb [internals] Move native events to individual modules to make it easier to see the relationship 2017-12-22 15:57:33 +00:00
Chris Bianca f2c2007fdc [internals] Start refactoring some of the internals to simplify, tidy up and also reduce flow type pollution 2017-12-22 15:24:31 +00:00
Chris Bianca 4c75e188f7 [firestore][typings] A few tweaks to match documentation 2017-12-15 11:46:37 +00:00
Chris Bianca e6a01aedb3 Merge branch 'master' of https://github.com/invertase/react-native-firebase
# Conflicts:
#	lib/utils/SyncTree.js
2017-11-28 09:25:15 +00:00
Chris Bianca 5aa8435aff [firestore] Fix incorrect references 2017-11-28 09:21:41 +00:00
Salakar 54e904e22f [js][firestore] added `enableLogging(boolean)` method 2017-11-28 07:42:16 +00:00
Chris Bianca ff95c21b9d [typings] Continue work on flow 2017-11-23 17:29:40 +00:00
Chris Bianca fbe73f5dcb [types] Get types properly exporting as part of the build 2017-11-17 16:17:27 +00:00
Chris Bianca 746faad043 [types] Start on auth flow typings 2017-11-17 14:22:46 +00:00