Commit Graph

30 Commits

Author SHA1 Message Date
Yavor Georgiev 5dd9264225
Add `Realm.empty` 2017-07-12 13:02:21 +02:00
Marius Rackwitz 9e0a9a3bd3 Add support for accessing linking objects / backlinks (#1101)
* Add support for linkingObjects

* Test linkingObjects

* Borrow names helper from list tests

* include computed properties when serializing the schema for the RN debugger

* add API docs

* review comments

* Expose admin users to JS (#1100)

The JS binding used to conflate `SyncUser::is_admin()` with the user being created by calling `Realm.Sync.User.adminToken()`, but now that we expose a user’s role on the server under `is_admin()` this supposition is no longer correct.

#1097 attempted to fix one such case, but fixing it only uncovered another: in `UserClass<T>::all_users()`.  I’ve gone through all the callsites of `SyncUser::is_admin()` to make sure they don’t assume an admin token user.

* [1.8.3] Bump version

* add linkingObjects method to Realm.Object

* changelog
2017-06-29 11:59:10 +02:00
blagoev 5b17e14378 Fix api reference for callbacks 2017-05-31 14:22:53 +03:00
Kristian Dupont 22d4b2e391 Fix doc mistake (#1028)
* Fix doc mistake

* Remove throw doc in Realm.open
2017-05-18 13:11:51 +02:00
Kristian Dupont 57414f641d Update docs for Realm.open and Realm.openAsync (#1027)
* Update docs for Realm.open and Realm.openAsync

* Update realm.js
2017-05-18 12:40:26 +02:00
Kristian Dupont 70437745f0 Add Session and some missing User docs (#828)
* Add Session and some missing User docs

* Remove accidentally pasted line

* Add permissions docs

* Respond to PR comments

* Remove docs for user.create
2017-02-01 21:45:55 +01:00
Ari Lazier 9d0df0de3d Sync and fine grained notifications 2016-10-04 15:07:14 -07:00
Scott Kyle ab05c5f732 Add introduced version to objectForPrimaryKey doc 2016-06-17 02:38:09 -07:00
Scott Kyle 3c657c3bbf Update docs and CHANGELOG with objectForPrimaryKey 2016-06-03 16:59:50 -07:00
Scott Kyle bd863f7590 Remove qualification about date precision in API docs 2016-05-19 13:33:00 -07:00
Scott Kyle 9fff367ce0 Reword close() API doc based on PR feedback 2016-05-04 11:47:11 -07:00
Scott Kyle 4cecb0a612 Add close() method API doc 2016-05-04 02:39:06 -07:00
Scott Kyle 77a55ee024 Add API docs for the schema property 2016-05-02 18:28:54 -07:00
Scott Kyle 02dfed99bd Add API docs for migration functions 2016-05-02 13:49:40 -07:00
Scott Kyle 15b69e381d Add API docs for readOnly 2016-05-02 13:21:02 -07:00
Scott Kyle f59e1d972c API doc update for Realm.Object class 2016-05-02 13:12:49 -07:00
Scott Kyle b50870b040 API doc updates for path and schemaVersion properties 2016-05-02 13:12:49 -07:00
Ari Lazier dc5d9e80f1 tweak docs 2016-03-21 13:34:34 -07:00
Ari Lazier 2d6360e1f2 update docs 2016-03-21 13:34:34 -07:00
Scott Kyle 95ac0594df Add Realm.schemaVersion API doc
This may need to be adjusted depending on the decisions surrounding this API.
2016-03-21 13:34:12 -07:00
Ari Lazier 1b0ec38339 Update realm.js 2016-03-21 13:26:33 -07:00
Ari Lazier 80c532cf3e docs 2016-03-21 11:49:16 -07:00
Scott Kyle 92461f2598 Update API docs with encryptionKey 2016-03-17 15:14:56 -07:00
Scott Kyle 91960152df Capitalize Realm in API docs 2016-03-07 12:23:04 -08:00
Scott Kyle 52f296c3ac Update API docs with info about constructors 2016-03-04 14:13:28 -08:00
Scott Kyle 89ce54799f Merge pull request #271 from realm/sk-docs-update
Update API docs with sorted/filtered changes
2016-02-21 19:03:49 -08:00
Scott Kyle c1e5cb03cf Update API docs with sorted/filtered changes 2016-02-21 17:51:58 -08:00
Karson Miller 5e9333b699 no message 2016-02-18 15:30:44 -08:00
Scott Kyle ea2c119f4d Remove some API doc qualifiers 2016-02-12 16:57:13 -08:00
Scott Kyle b63dfd1c04 API documentation
This includes the initial draft of API docs that are generated by JSDoc using a template that was greatly improved to best handle this content.
2016-02-12 16:57:13 -08:00