Class ParseMobx

Parse Mobx Class

Constructors

Properties

loading: boolean = false

Will set to true if the object is being saved.

Methods

  • Clear pending operations on the Parse object

    Returns void

  • Get the internal Parse object ID

    Returns string

  • Get the internal state identifier

    Returns any

  • Atomically add an object to the end of the array associated with a given key.

    Parameters

    • attr: string
    • item: any

    Returns this

  • Atomically add the objects to the end of the array associated with a given key.

    Parameters

    • attr: string
    • items: any[]

    Returns this

  • Atomically add the objects to the array associated with a given key, only if it is not already present in the array. The position of the insert is not guaranteed.

    Parameters

    • attr: string
    • items: any[]

    Returns this

  • Atomically add an object to the array associated with a given key, only if it is not already present in the array. The position of the insert is not guaranteed.

    Parameters

    • key: string
    • value: any

    Returns ParseMobx

  • Clear Parse Object

    Parameters

    • options: any

    Returns any

  • Parameters

    • attr: string
    • Optionalamount: number

    Returns false | ParseMobx

  • Destroy Object on the server.

    Parameters

    • Optionaloptions: DestroyOptions

    Returns Promise<Object<Attributes>>

  • Eventually Destroy an object on the server

    Parameters

    • Optionaloptions: DestroyOptions

    Returns Promise<Object<Attributes>>

  • Parameters

    • Optionalattr: string

    Returns boolean

  • Returns string[]

  • Type Parameters

    • T extends Object<Attributes>

    Parameters

    • other: T

    Returns boolean

  • Parameters

    • attr: string

    Returns string

  • Parameters

    • Optionaloptions: RequestOptions

    Returns Promise<boolean>

  • Returns Promise<Object<Attributes>>

  • Type Parameters

    • K extends string

    Parameters

    • keys: K | (K | K[])[]
    • Optionaloptions: RequestOptions

    Returns Promise<ParseMobx>

  • Parameters

    • key: string

    Returns any

  • Returns undefined | ACL

  • Return the id of the parse object.

    Returns string

  • Returns Object

  • Parameters

    • attr: string

    Returns boolean

  • Parameters

    • attr: string
    • Optionalamount: number

    Returns false | ParseMobx

  • Returns boolean

  • Returns Promise<boolean>

  • Parameters

    • attr: string

    Returns any

  • Returns Promise<void>

  • Parameters

    • name: string

    Returns Promise<void>

  • Type Parameters

    • R extends Object<Attributes>
    • K extends string = string

    Parameters

    • attr: K

    Returns Relation<any, R>

  • Parameters

    • ...keys: string[]

    Returns void

  • Parameters

    • key: string
    • value: any
    • Optionaloptions: SetOptions

    Returns this

  • Parameters

    • acl: ACL
    • Optionaloptions: SuccessFailureOptions

    Returns false | ParseMobx

  • Returns ToJSON<Attributes> & JSONBaseAttributes

  • Creates an offline pointer to this object

    Returns Pointer

  • Returns Promise<void>

  • Parameters

    • name: string

    Returns Promise<void>

  • Parameters

    • attr: string
    • Optionaloptions: any

    Returns this

  • Parameters

    • attrs: Attributes
    • Optionaloptions: SuccessFailureOptions

    Returns false | Error

  • Convert a ParseObject or array of ParseObjects to ParseMobx object or array of ParseMobx objects.

    Parameters

    • param: any

    Returns null | ParseMobx | ParseMobx[] | (obj: Object) => any