Kenneth Geisshirt
9435490ea3
Upgrading to Realm Sync 3.0.0-rc.2 ( #1706 )
...
* Adding role to __User.
* Update to Realm Sync 3.0.0
* Renamed defaultSyncConfiguration to automaticSyncConfiguration
2018-03-13 14:27:31 +01:00
Kenneth Geisshirt
edfdd933b0
Updating API docs and TS definitions ( closes #1770 ). ( #1707 )
2018-03-13 12:45:23 +01:00
Kenneth Geisshirt
2f20006e47
Kneth/allow partial in urls ( #1704 )
...
* Adding _disablePartialSyncUrlChecks.
2018-03-13 08:27:47 +01:00
Kenneth Geisshirt
abb04e399b
Default sync realm ( #1693 )
...
* Configuration for default Realm.
* Use url-parse to make RN happy.
2018-03-09 10:40:45 +01:00
Kenneth Geisshirt
dfc6aea6a6
Deprecated setFeatureToken(). ( #1694 )
2018-03-08 17:27:13 +01:00
Kenneth Geisshirt
1066722a09
Revert "Deprecated setFeatureToken()."
...
This reverts commit d846794cd5
.
2018-03-08 15:47:50 +01:00
Kenneth Geisshirt
d846794cd5
Deprecated setFeatureToken().
2018-03-08 15:44:11 +01:00
Thomas Goyne
d1a4e899d8
Fix the Permissions typescript definitions
2018-03-02 15:36:45 -08:00
Thomas Goyne
fadd35bb26
Add a typescript declaration for Sync.SubscriptionState
2018-03-02 15:36:10 -08:00
Thomas Goyne
ac7f7d9c4e
Add schema definitions for the permissions types
2018-03-01 16:16:43 -08:00
Kenneth Geisshirt
615d6ff35e
Merge branch '2.3.x' of github.com:realm/realm-js into 2.3.x
2018-02-27 10:58:58 +01:00
Kenneth Geisshirt
462856a24d
Partial sync ( #1583 )
...
The new Partial Sync API
2018-02-20 13:40:54 +01:00
Kræn Hansen
fdf9497bdd
Fixing objectForPrimaryKey return type ( #1664 )
...
According to https://github.com/realm/realm-js/blob/master/docs/realm.js#L171 and runtime behaviour it returns `undefined` not `null` if the object doesn't exist.
2018-02-16 10:27:30 +01:00
Thomas Goyne
e6591a7c9c
Wait for pending notifications to complete when removing a sync listener ( #1648 )
...
With async callbacks, in-process listeners need to be able to wait for anything
currently in progress to complete just like out-of-process listeners. In
addition, removeListener() needs to be declared as returning a Promise so that
typescript code can actually use it.
2018-02-01 14:38:02 +01:00
Kenneth Geisshirt
f9e8161017
Clarifying PermissionCondition. ( #1637 )
2018-01-25 15:44:47 +01:00
Thomas Goyne
0c6e254494
Support async sync change listeners ( #1626 )
2018-01-18 12:20:17 +01:00
Thomas Goyne
ce67446976
Perform a pseudo-refresh for admin token users ( #1599 )
...
* Perform a pseudo-refresh for admin token users
Although we don't need to actually refresh the token, when multiplexing is
enabled we do still need to hit ROS to let it know we're accessing a Realm and
get the sync label.
* Adding brief JSdoc and TS definition for isAdminToken.
* Perform a pseudo-refresh for admin token users
Although we don't need to actually refresh the token, when multiplexing is
enabled we do still need to hit ROS to let it know we're accessing a Realm and
get the sync label.
* Adding brief JSdoc and TS definition for isAdminToken.
* Make the timeout consistent
* Add basic docs for multiprocess notifications (#1594 )
* Add basic docs for multiprocess notifications
* Adopt core's query parser and update to core v5.1.2 (#1563 )
* Adopt core's query parser.
* Realm Core 5.1.2
* Realm Sync 2.2.9
* Remove tar.xz (#1585 )
* remove tar.xz decompression and lzma deps
* Fixing merge
* Updating object store
2018-01-11 14:47:54 +01:00
Kenneth Geisshirt
16a218ad49
Adding JWT auth ( #1564 )
...
* Adding method Realm.Sync.User.authenticate()
* Adding JWT provider support to Realm.Sync.User.authenticate()
* Adding password provider support to Realm.Sync.User.authenticate()
2018-01-05 09:38:53 +01:00
Yavor Georgiev
4e6cb299b3
Add disableFormatUpgrade to Realm configuration ( #1566 )
2017-12-14 07:53:03 +01:00
Kenneth Geisshirt
aed1ea104b
Adding property Realm.isClosed. ( #1560 )
...
* Adding property Realm.isClosed.
2017-12-13 10:09:26 +01:00
Kenneth Geisshirt
e81d8589ae
Post-release feedback on client reset ( #1372 ) ( #1459 )
...
* Post-release feedback on client reset (#1372 )
* Using error.name instead
2017-11-06 13:51:33 +01:00
Kræn Hansen
1de8fbbf39
Update index.d.ts ( #1458 )
2017-11-03 16:02:34 +01:00
Kenneth Geisshirt
d858c4e87a
Updating documentation of realmAtPath
2017-11-01 14:44:40 +01:00
blagoev
f534d64382
fix partial in ts definitions
2017-10-16 12:48:07 +03:00
Thomas Goyne
643c19ea75
Add support for aggregates on arrays of primitives ( #1401 )
...
* Fix an unused variable warning in js_sync.hpp
* Add support for aggregates on arrays of primitives
* Update documentation and typescript declarations
* Update collection.js
2017-10-11 14:54:52 +02:00
Ashwin Phatak
4bcef8baff
Add support for bulk updates ( #808 )
2017-10-10 16:25:47 +05:30
blagoev
5c9b254b4a
fix sync error ( #1379 )
...
* fix sync error
2017-10-04 11:29:32 +02:00
Kenneth Geisshirt
19d05c2021
Merge `master` into `2.0.x` ( #1377 )
...
* Add 'deleteRealmIfMigrationNeeded' to configuration to delete a Realm if migration needed (#502 )
* Minor update due to changes in objec store
2017-10-03 13:37:21 +02:00
Kenneth Geisshirt
7c5572b451
Removing deprecated setAccessToken(). ( #1371 )
2017-10-02 21:03:29 +02:00
Kenneth Geisshirt
feb59ae859
Partial sync ( #1361 )
2017-10-02 20:29:36 +02:00
Kenneth Geisshirt
fe121ea27b
Client reset ( #1341 )
2017-10-02 19:44:24 +02:00
blagoev
4a73b242af
fix docs and TS definitions
2017-10-01 08:50:31 +03:00
Kenneth Geisshirt
e109e32ac4
Merge branch 'master' of github.com:realm/realm-js into kneth/master-to-2.0.x
2017-09-30 09:55:14 +02:00
Ashwin Phatak
199210eb68
Add support for aggregates on collections ( #807 ) ( #1350 )
2017-09-29 16:53:37 +05:30
Thomas Goyne
154d259326
Update typescript declarations for arrays of primitives ( #1359 )
2017-09-28 15:03:56 -07:00
Kenneth Geisshirt
2caa14abf2
Don't expose an initializer function.
2017-09-27 20:16:44 +02:00
Kenneth Geisshirt
f94f351bfb
Adding documentation, TS definition and change log.
2017-09-27 17:53:09 +02:00
Morten Krogh
508a547898
Typescript definition for ssl_verify_callback.
2017-09-22 13:52:49 +02:00
Kenneth Geisshirt
b3ff7ada62
Documenting sync.config properties ( #1312 )
...
* Documenting sync.config properties
* Updating TypeScript definitions
2017-09-15 15:22:44 +02:00
astigsen
208aa8ee46
Added support for in-memory realms ( #1304 )
...
* Added support for in-memory realms
2017-09-13 20:42:23 +02:00
blagoev
064b487c07
Merge branch 'master' into blagoev/promise3
2017-09-13 14:27:04 +03:00
blagoev
f7db865458
Fix typescript definitions
...
Fixes #1306
2017-09-13 12:37:44 +03:00
Kenneth Geisshirt
6444f3fa6f
Adding missing instructions to TypeScript definitions ( #1301 )
2017-09-13 09:21:26 +02:00
blagoev
115a2c9902
add deprecated warnings
2017-09-12 20:38:43 +03:00
Maximilian Alexander
78515e3b48
adding promisified apis
2017-09-12 20:10:52 +03:00
Kenneth Geisshirt
12a8cd5398
Adding missing TypeScript declaration of setFeatureToken ( #1295 )
...
* Adding missing TypeScript declaration of setFeatureToken
2017-09-12 14:28:16 +02:00
Ashwin Phatak
532f517ded
Add Realm.deleteModel API ( #573 )
2017-09-12 14:45:36 +05:30
blagoev
9d02165db1
update typescript definitions
2017-09-11 15:50:44 +03:00
blagoev
e5ebb75d22
add typescript definitions
2017-09-11 15:50:44 +03:00
Kenneth Geisshirt
38bceddfb1
Add missing TypeScript declaration ( #1285 )
...
* Adding missing TypeScript declaration
2017-09-08 10:19:13 +02:00