Home Reference Source
import PlatformStandalone from './ui/platform_standalone.js'
public class | source

PlatformStandalone

Extends:

cables-shared-client~EventsPlatform → PlatformStandalone

platform for standalone / electron version

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public

paths: *

Method Summary

Public Methods
public
public
public
public

exportPatch(projectId: *, exportType: undefined)

public
public

getCablesStaticUrl(): string

public
public

getIssueTrackerUrl(): string

public

isStandalone(): boolean

public

noCacheUrl(url: *): *

public

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

public

Inherited Summary

From class Platform
public
public

paths: {}

private

_cfg: *

private

_log: *

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

Override:

Platform#constructor

Public Members

public paths: * source

Override:

Platform#paths

Public Methods

public bindHrTimer() source

public createBackup() source

Override:

Platform#createBackup

public currentUserIsPatchOwner(): boolean source

Return:

boolean

public exportPatch(projectId: *, exportType: undefined) source

Override:

Platform#exportPatch

Params:

NameTypeAttributeDescription
projectId *
exportType undefined
  • optional
  • default: undefined

public getCablesDocsUrl(): * source

Return:

*

public getCablesStaticUrl(): string source

Override:

Platform#getCablesStaticUrl

Return:

string

public getCablesVersion(): * source

Override:

Platform#getCablesVersion

Return:

*

public getIssueTrackerUrl(): string source

Override:

Platform#getIssueTrackerUrl

Return:

string

public isStandalone(): boolean source

Override:

Platform#isStandalone

Return:

boolean

public noCacheUrl(url: *): * source

Override:

Platform#noCacheUrl

Params:

NameTypeAttributeDescription
url *

Return:

*

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

Override:

Platform#showFileSelect

Params:

NameTypeAttributeDescription
inputId *
filterType *
opId *
previewId *

public showGitBranchWarning() source

Override:

Platform#showGitBranchWarning