Don't abuse jsdoc

This commit is contained in:
Kenneth Geisshirt 2018-05-17 11:51:45 +02:00
parent faa0ed304b
commit 04bdd343d7
6 changed files with 1 additions and 23 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
*/

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 {