Home Reference Source
import StandaloneZipExport from './export/export_zip_standalone.js'
public class | source

StandaloneZipExport

Extends:

cables-shared-api~SharedExportService → StandaloneZipExport

Direct Subclass:

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

archive: *

public

finalAssetPath: string

Method Summary

Public Methods
public

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

public

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

public

doExport(projectId: *, cb: *)

Private Methods
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

Params:

NameTypeAttributeDescription
user *
teams *
project *
exportQuota *

Return:

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

public static getName(): string source

Return:

string

Public Constructors

public constructor() source

Public Members

public archive: * source

public finalAssetPath: string source

Public Methods

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

Params:

NameTypeAttributeDescription
_projectId *
callbackFilesCollected *
callbackError *
options *
next *

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

Params:

NameTypeAttributeDescription
project *
files *
callbackFinished *

public doExport(projectId: *, cb: *) source

Params:

NameTypeAttributeDescription
projectId *
cb *

Private Methods

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

Params:

NameTypeAttributeDescription
jsCode *
options *

Return:

*

private _doAfterExport(originalProject: *): * source

Params:

NameTypeAttributeDescription
originalProject *

Return:

*

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

Params:

NameTypeAttributeDescription
theProjects *
options *
cb *

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

Params:

NameTypeAttributeDescription
fn *
allFiles *

Return:

*

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

Params:

NameTypeAttributeDescription
filePathAndName *
fn *
lzipFileName *

Return:

*

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

Params:

NameTypeAttributeDescription
filePathAndName *
pathStr *
project *

Return:

*