Home Reference Source
import Platform from './ui/platform.js'
public class | source

Platform

Extends:

cables-shared-client~Events → Platform

super class for platform implementations

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public
public

paths: {}

Private Members
private

_cfg: *

private

_log: *

Method Summary

Public Methods
public
public

exportPatch(projectId: *)

public
public
public

getCablesVersion(): string

public

getIssueTrackerUrl(): string

public
public
public
public
public
public
public

getUrlProjectOpsCode(projectId: *): *

public

initRouting(cb: *)

public
public

isDevEnv(): *

public

isOffline(): *

public
public

isStandalone(): boolean

public
public
public

noCacheUrl(url: *): *

public
public
public

savePatch(options: *, cb: *)

public
public
public

showFileSelect(inputId: *, filterType: *, opid: *, previewId: *)

public
public
public
public

warnOpEdit(opName: *): *

Public Constructors

public constructor() source

Public Members

public frontendOptions: {} source

public paths: {} source

Private Members

private _cfg: * source

private _log: * source

Public Methods

public createBackup() source

public exportPatch(projectId: *) source

Params:

NameTypeAttributeDescription
projectId *

public getCablesStaticUrl(): * source

Return:

*

public getCablesUrl(): * source

Return:

*

public getCablesVersion(): string source

Return:

string

public getIssueTrackerUrl(): string source

Return:

string

public getPatchVersion(): * source

Return:

*

public getPrefixAssetPath(): * source

Return:

*

public getSandboxUrl(): * source

Return:

*

public getSocketclusterConfig(): * source

Return:

*

public getUrlApiPrefix(): * source

Return:

*

public getUrlOpsCode(): * source

Return:

*

public getUrlProjectOpsCode(projectId: *): * source

Params:

NameTypeAttributeDescription
projectId *

Return:

*

public initRouting(cb: *) source

Params:

NameTypeAttributeDescription
cb *

public initializeProject(cb: *) source

Params:

NameTypeAttributeDescription
cb *

public isDevEnv(): * source

Return:

*

public isOffline(): * source

Return:

*

public isPatchSameHost(): * source

Return:

*

public isStandalone(): boolean source

Return:

boolean

public isTrustedPatch(): * source

Return:

*

public manualScreenshot(): * source

Return:

*

public noCacheUrl(url: *): * source

Params:

NameTypeAttributeDescription
url *

Return:

*

public openOpDirsTab() source

public reloadLastSavedVersion(cb: *) source

Params:

NameTypeAttributeDescription
cb *

public savePatch(options: *, cb: *) source

Params:

NameTypeAttributeDescription
options *
cb *

public setManualScreenshot(b: *) source

Params:

NameTypeAttributeDescription
b *

public showBrowserWarning(id: *) source

Params:

NameTypeAttributeDescription
id *

public showFileSelect(inputId: *, filterType: *, opid: *, previewId: *) source

Params:

NameTypeAttributeDescription
inputId *
filterType *
opid *
previewId *

public showGitBranchWarning() source

public showStartupChangelog() source

public updateOnlineIndicator() source

public warnOpEdit(opName: *): * source

Params:

NameTypeAttributeDescription
opName *

Return:

*