Home Reference Source
import PatchSaveServer from './ui/api/patchserverapi.js'
public class | source

PatchSaveServer

Extends:

cables-shared-client~Events → PatchSaveServer

Constructor Summary

Public Constructor
public

Member Summary

Private Members
private
private

_log: *

private
private

_serverDate: number

Method Summary

Public Methods
public

checkUpdated(cb: *, fromSave: boolean)

public

checkUpdatedSaveForce(updated: *)

public
public

saveAs()

public

saveCurrentProject(cb: *, _id: *, _name: *, _force: *, _afterClone: *)

public

saveScreenshot(hires: *, cb: *)

public

setProject(proj: *)

public
public

showModalTitleDialog(cb: undefined)

Private Methods
private

_saveCurrentProject(cb: *, _id: *, _name: *, _afterClone: *)

Public Constructors

public constructor() source

Private Members

private _currentProject: * source

private _log: * source

private _savedPatchCallback: * source

private _serverDate: number source

Public Methods

public checkUpdated(cb: *, fromSave: boolean) source

Params:

NameTypeAttributeDescription
cb *
fromSave boolean
  • optional
  • default: false

public checkUpdatedSaveForce(updated: *) source

Params:

NameTypeAttributeDescription
updated *

public finishAnimations() source

public saveAs() source

public saveCurrentProject(cb: *, _id: *, _name: *, _force: *, _afterClone: *) source

Params:

NameTypeAttributeDescription
cb *
_id *
_name *
_force *
_afterClone *

public saveScreenshot(hires: *, cb: *) source

Params:

NameTypeAttributeDescription
hires *
cb *

public setProject(proj: *) source

Params:

NameTypeAttributeDescription
proj *

public setServerDate(d: *) source

Params:

NameTypeAttributeDescription
d *

public showModalTitleDialog(cb: undefined) source

Params:

NameTypeAttributeDescription
cb undefined
  • optional
  • default: undefined

Private Methods

private _saveCurrentProject(cb: *, _id: *, _name: *, _afterClone: *) source

Params:

NameTypeAttributeDescription
cb *
_id *
_name *
_afterClone *