Merge pull request #1802 from realm/kneth/jsdoc

Updating our JSdoc template
This commit is contained in:
Kenneth Geisshirt 2018-05-17 14:35:18 +02:00 committed by GitHub
commit 285b17e246
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 2 additions and 24 deletions

View File

@ -29,8 +29,6 @@
* objects which matched the query when the enumeration is begun, even if some of them are
* deleted or modified to be excluded by the filter during the enumeration.
*
* @class
* @name Realm.Collection
* @memberof Realm
* @since 0.11.0
*/

@ -1 +1 @@
Subproject commit 441d8a45eb39d454ea612251bf2adb60473ede70
Subproject commit 682e21fe456b39169ff2d4f3f7ffc24d04cb84fd

View File

@ -26,8 +26,6 @@
* Realm#write write} transaction.
*
* @extends Realm.Collection
* @class
* @name Realm.List
* @memberof Realm
*/
class List extends Collection {

View File

@ -21,11 +21,9 @@
* was specified that does **not** inherit from this class.
* @memberof Realm
* @since 0.12.0
* @class
* @name Realm.Object
* @memberof Realm
*/
class Object {
/**
* Checks if this object has not been deleted and is part of a valid Realm.
* @returns {boolean} indicating if the object can be safely accessed.

View File

@ -330,8 +330,6 @@ class Permission {
* a Realm, and can also be created manually if you wish to grant permissions to a user
* which has not yet connected to this Realm.
* @since 2.3.0
* @class
* @name Realm.Sync.Permission.User
* @memberof Realm.Sync.Permission
*/
class User {

View File

@ -24,8 +24,6 @@
* (and listener callbacks added through {@link Realm.Results#addListener addListener()}
* will thus never be called).
*
* @class
* @name Realm.Results
* @extends Realm.Collection
* @memberof Realm
*/

View File

@ -87,7 +87,6 @@
* is a {Realm~Configuration} which refers to it. You can open it as a local, read-only Realm, and
* copy objects to a new synced Realm.
*
* @name Realm.Sync
* @memberof Realm
*/
class Sync {
@ -192,8 +191,6 @@ class Sync {
* resolved). The Realms supplied by the change event do not need to be
* explicitly closed.
*
* @class
* @name Realm.Sync.ChangeEvent
* @memberof Realm.Sync
*/
class ChangeEvent {
@ -252,8 +249,6 @@ class ChangeEvent {
/**
* Class that describes authentication errors in the Realm Object Server
* @class
* @name Realm.Sync.AuthError
* @memberof Realm.Sync
*/
class AuthError extends Error {
@ -272,8 +267,6 @@ class AuthError extends Error {
/**
* Describes an error when an incompatible synced Realm is opened. The old version of the Realm can be accessed in readonly mode using the configuration() member
* @class
* @name Realm.Sync.IncompatibleSyncedRealmError
* @memberof Realm.Sync
*/
class IncompatibleSyncedRealmError {
@ -291,8 +284,6 @@ class IncompatibleSyncedRealmError {
/**
* Class for logging in and managing Sync users.
* @class
* @name Realm.Sync.User
* @memberof Realm.Sync
*/
class User {
@ -596,8 +587,6 @@ class Session {
/**
* An object encapsulating partial sync subscriptions.
* @class
* @name Realm.Sync.Subscription
* @memberof Realm.Sync
*/
class Subscription {
@ -722,7 +711,6 @@ class Worker {
/**
* Custom Data Connectors.
* @name Realm.Sync.Adapter
* @memberof Realm.Sync
*/
class Adapter {