Class: DeletedItem

DeletedItem(data)

Class representing a deleted item, so when mobile and desktop sync the right thing will happen.

Constructor

new DeletedItem(data)

Creates a DeletedItem object
Parameters:
Name Type Description
data DeletedItem | Object
Source:

Members

_id :string

ID of the deleted item
Type:
  • string
Default Value:
  • ''
Source:

date :string

Date the item was deleted
Type:
  • string
Default Value:
  • ''
Source:

table :string

Name of the table the item was deleted from
Type:
  • string
Default Value:
  • ''
Source:

Methods

set(data) → {DeletedItem}

Creates an updated DeletedItem object
Parameters:
Name Type Description
data DeletedItem | Object
Source:
Returns:
Type
DeletedItem