Commit Graph

58 Commits

Author SHA1 Message Date
Russell Wheatley
57ff9003b6 feat(firestore): support clearPersistence() & terminate() APIs (#3591)
Co-authored-by: Mike Diarmid <mike.diarmid@gmail.com>

[publish]
2020-06-22 14:46:46 +01:00
Russell Wheatley
dc7f9213c0 feat(firestore): support limitToLast query filter (#3702)
Co-authored-by: Mike Diarmid <mike.diarmid@gmail.com>
2020-06-22 12:14:19 +01:00
Marc Rousavy
88f8dc0ddf docs: fix missing back tick (#3750) 2020-06-10 14:47:30 +01:00
Russell Wheatley
405e04009c fix(firestore): update isEqual API to check collection path equality (#3738)
* fix(firestore): update isEqual check

* test(firestore): test isEqual condition

Co-authored-by: Mike Diarmid <mike.diarmid@gmail.com>
[publish]
2020-06-03 13:57:07 +01:00
Russell Wheatley
7a5a1ced6f docs(firestore): emulator documentation (#3690)
* format(*): ran formatting script

* docs(firestore): added emulator docs

* chore(firestore): typedoc generate

* docs(firestore): with sidebar

* chore(firestore): generate docs

* docs(firestore): spelling/grammar

* chore(app): reversed test index

* chore(firestore): emulator update

* chore(firestore): emulator docs and code

* fix(firestore): emulator configuration

* chore(firestore): code review update

Co-authored-by: Mike Diarmid <mike.diarmid@gmail.com>

* chore(firestore): rm http protocol

Co-authored-by: Mike Diarmid <mike.diarmid@gmail.com>
[publish]
2020-06-03 13:53:04 +01:00
Mike Diarmid
e427fcfd9b chore: github actions (#3472) 2020-04-17 14:54:16 +01:00
Russell Wheatley
b90a736fc8 fix(firestore): improve query validation (#3320)
* fix(firestore): improve validation
* chore(firestore):use toPath() method
* test(firestore):where & orderBy validation

Co-authored-by: Mike Diarmid <mike.diarmid@gmail.com>
2020-03-27 17:36:45 +00:00
Pablo Kebees
df0a4589d0 Merge branch 'master' into @phaen/fiestore-type-parameters 2020-03-12 15:42:14 +01:00
Pablo Kebees
0f7bf3cafa Removed Typescript from example 2020-03-12 13:10:46 +01:00
ehesp
bf5271ef46 chore(firestore) remove "HTML" tags from comment blocks 2020-03-04 15:41:35 +00:00
Russell Wheatley
6311dc8f68 bug(firestore): match fb firestore behaviour (#3205)
* bug(firestore): match fb firestore behaviour

* tests(firestore): removed duplicate test

* Update packages/firestore/e2e/Query/query.e2e.js

* Update packages/firestore/e2e/Query/query.e2e.js

* tests(firestore): update error tests

Co-authored-by: Mike Diarmid <mike.diarmid@gmail.com>
2020-02-18 12:15:54 +00:00
Russell Wheatley
5ff49b1b42 @russell/fix fieldpath (#3192)
* bug(firestore): use queryWhereFieldPath method

* remove whitespace

* fix(firestore): fix filters

* bug(firestore): send string fieldpath over bridge

* tests(ml-vision): remove from test suite as flaky

* bug(auth): sendEmail option setting default 'null'

* bug(firestore): validateWhere failing

* test(firestore): _toPath() in error

* format(firestore): formatting errors
2020-02-13 12:31:53 +00:00
Elliot Hesp
2cb6d44b77 fix(firestore): handle fieldpath as array value (#3179)
Co-authored-by: Mike Diarmid <mike.diarmid@gmail.com>
Co-authored-by: Russell Wheatley <russellwheatley85@gmail.com>
2020-02-11 09:36:08 +00:00
Russell Wheatley
13e9c86c24 bug(firestore): fix multiple cursor query
* fixed, fieldPath:'__name__' should be added once for queries with multiple cursors

* fixed es-lint errors

* test(firestore): test for multiple query

Co-authored-by: Mohammed Maaz <maazproductions25@gmail.com>
Co-authored-by: Mike Diarmid <mike.diarmid@gmail.com>
2020-02-11 08:40:46 +00:00
Elliot Hesp
5de37708da feat(firestore): add QueryDocumentSnapshot interface 2020-02-03 15:23:16 +00:00
ehesp
a3aaff353f fix(firestore): use document path when querying by collection group #3063 2020-02-03 15:17:22 +00:00
ehesp
13a6560a40 feat(firestore): fix Android Long/Double conversion #3004 2020-02-03 14:27:27 +00:00
Joel Nordström
f1cf24cd8c Merge branch 'master' into query-document-snapshot 2020-01-30 13:59:04 +01:00
Pablo Kebees
da42009489 Merge branch '@phaen/fiestore-type-parameters' of https://github.com/invertase/react-native-firebase into @phaen/fiestore-type-parameters 2020-01-13 13:10:51 +01:00
Pablo Kebees
7d7902d775 Added references, removed unnecessary namespace 2020-01-13 13:09:32 +01:00
Pablo Kebees
7246260023 Type parameter on wrong method in example 2020-01-13 12:24:11 +01:00
Pablo Kebees
30942ba1f6 Created DocumentFieldType to constrict fieldType 2020-01-12 13:51:18 +01:00
Pablo Kebees
8fabb22365 Type parameter for getting documentSnapshot fields 2020-01-12 12:59:31 +01:00
Salakar
b7374add76 refactor(*): remove unused code & fix linting issues 2019-11-25 21:46:06 +00:00
Mike Diarmid
42e034c480 feat(firestore): array-contains, array-contains-any & in filters (#2868)
* feat(firestore) Add IN query support (JS/Android)
* feat(firestore) in query validation
* feat(firestore) in query ios support / tests
* docs(firestore): update reference docs to include in query support
2019-11-24 18:21:38 +00:00
Mike Diarmid
a5da0107ff fix(firestore): correctly apply internal __name__ query modif… (#2866)
* fix(firestore): correctly apply internal `__name__` query modifier (fixes #2854)

* chore(tests): cleanup unnecessary code
2019-11-13 17:24:51 +00:00
Elliot Hesp
35e9388884 Update forEach types 2019-10-25 14:59:59 +01:00
Elliot Hesp
b90c550396 ][ 2019-10-24 10:53:40 +01:00
ehesp
f520406520 [firestore] Apply ID cursor when no orders 2019-10-16 09:35:43 +01:00
Joel Nordström
ca8ebace34 Add QueryDocumentSnapshot interface 2019-10-07 16:35:27 +02:00
Joel Nordström
c72a648cd5 Narrower callback types 2019-10-07 15:54:52 +02:00
Salakar
a33fd146a0 [types] rework default export types for each module (should fix #2648) 2019-10-07 06:32:26 +01:00
Salakar
8dc6e830c0 [firestore] Fix FirestoreQuery/FirestoreQueryModifiers incorrectly mutating previous query instances when chaining (fixes #2691) 2019-10-07 05:14:36 +01:00
ehesp
0810cfc9ef Fix #2532 2019-10-03 11:54:28 +01:00
Elliot Hesp
4db5a9ceff [firestore] Fix SetOption types 2019-09-24 20:17:45 +01:00
ehesp
579ac7d6f8 [ts] update named exports 2019-09-16 12:25:48 +01:00
ehesp
9bb1a477d6 [ts] firestore + links 2019-09-16 11:37:47 +01:00
ehesp
cf4a3d3653 [ts] firestore 2019-09-16 10:29:28 +01:00
Mike Diarmid
81dfafb9fd [docs] fix collectionGroup example 2019-09-15 03:56:20 +01:00
Pablo Kebees
57c4b793fd [docs] Various documentation fixes (#2575)
* Sidebar cleanup, Firestore changes
* Not sure what happened there :>
* Various changes
2019-09-13 19:13:21 +01:00
ehesp
4dcee5ac85 Add missing where type 2019-08-27 16:05:30 +01:00
ehesp
92fc46b21f Add missing where type 2019-08-27 16:03:01 +01:00
Elliot Hesp
b43374aba1 Merge pull request #2507 from originerd/fix-types-for-statics
Modify Firestore.Statics interface to include static methods on TypeScript
2019-08-20 16:21:29 +01:00
Jitae Kim
8169076d5e Modify Statics interface to include static methods 2019-08-20 23:21:57 +09:00
Jitae Kim
8e00dbbb4a Add missing types on Firestore.Query interface
- startAfter
- startAt
2019-08-19 23:45:08 +09:00
Ilja Daderko
b40d44c57e Move commons into /app (#2486)
* stash

* move commons into the app
2019-08-14 13:42:08 +03:00
ehesp
f7eab31fc4 Fix #2449 2019-08-07 08:39:15 +01:00
ehesp
f799471167 Remove Firestore circular reference warnings 2019-07-30 09:17:09 +01:00
Salakar
ae4057ea34 [firestore][ios] implement transactions + general cleanup of v6 code 2019-07-30 07:13:25 +01:00
Salakar
f429699990 - [dependencies][android] remove all Firebase SDKs in favour of Firebase BoM
- [android] upgrade to Android X
- [android] upgrade gradle wrapper to v5.4.1
- [android][ios][tests] remove manual packages & enable auto-linking
- [tests][internal] upgrade tests project to RN 60
- [ios] temporarily remove framework support in pods - broken in RN 60 - see https://github.com/facebook/react-native/issues/25349
- [linting] switch to use rn community linting rules
2019-07-30 03:59:04 +01:00