Home Reference Source
import StandaloneExport from './export/export_patch_standalone.js'
public class | source

StandaloneExport

Extends:

cables-shared-api~SharedExportServiceStandaloneZipExport → StandaloneExport

Static Method Summary

Static Public Methods
public static

getExportOptions(user: *, teams: *, project: *, exportQuota: *): {"type": *, "allowed": boolean, "possible": boolean, "fields": *}

public static

getName(): string

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public

finalAssetPath: string

public

finalJsPath: string

Method Summary

Private Methods
private

_addProjectHtmlCode(proj: *, options: *, libs: *, coreLibs: *, template: string)

private

_addProjectJsCode(proj: *, opsCode: *, libs: *, coreLibs: *, replacedOpIds: *, jsCode: *, options: *)

private

_getOpExportSubdir(opName: *): *

private

_replaceInString(replacements: *, theString: *): *

Inherited Summary

From class StandaloneZipExport
public static

getExportOptions(user: *, teams: *, project: *, exportQuota: *): {"type": *, "allowed": boolean, "possible": boolean, "fields": *}

public static

getName(): string

public

archive: *

public

finalAssetPath: string

public

collectFiles(_projectId: *, callbackFilesCollected: *, callbackError: *, options: *, next: *)

public

createZip(project: *, files: *, callbackFinished: *)

public

doExport(projectId: *, cb: *)

private

_doAfterCombine(jsCode: *, options: *): *

private

_doAfterExport(originalProject: *): *

private

_getFilesForProjects(theProjects: *, options: *, cb: *)

private

_getNameForZipEntry(fn: *, allFiles: *): *

private

_getPortValueReplacement(filePathAndName: *, fn: *, lzipFileName: *): *

private

_resolveFileName(filePathAndName: *, pathStr: *, project: *): *

Static Public Methods

public static getExportOptions(user: *, teams: *, project: *, exportQuota: *): {"type": *, "allowed": boolean, "possible": boolean, "fields": *} source

Override:

StandaloneZipExport#getExportOptions

Params:

NameTypeAttributeDescription
user *
teams *
project *
exportQuota *

Return:

{"type": *, "allowed": boolean, "possible": boolean, "fields": *}

public static getName(): string source

Override:

StandaloneZipExport#getName

Return:

string

Public Constructors

public constructor() source

Override:

StandaloneZipExport#constructor

Public Members

public finalAssetPath: string source

Override:

StandaloneZipExport#finalAssetPath

public finalJsPath: string source

Private Methods

private _addProjectHtmlCode(proj: *, options: *, libs: *, coreLibs: *, template: string) source

Params:

NameTypeAttributeDescription
proj *
options *
libs *
coreLibs *
template string
  • optional
  • default: /patchview/patchview_export.html

private _addProjectJsCode(proj: *, opsCode: *, libs: *, coreLibs: *, replacedOpIds: *, jsCode: *, options: *) source

Params:

NameTypeAttributeDescription
proj *
opsCode *
libs *
coreLibs *
replacedOpIds *
jsCode *
options *

private _getOpExportSubdir(opName: *): * source

Params:

NameTypeAttributeDescription
opName *

Return:

*

private _replaceInString(replacements: *, theString: *): * source

Params:

NameTypeAttributeDescription
replacements *
theString *

Return:

*