Home Reference Source Test

Function

Static Public Summary
public

Get a list of all FZB files

public

getFzp(src: String, url: String): Promise

Get a single FZP and response the xml as a string

public

Get a single part fzp from the core parts

public

Get a single part fzp from the obsolete parts, this is for old sketches only!

public

Get a list of all FZP files

public

Get a list of all Core-FZP files

public

Get a list of all Obsolete-FZP files.

public

getSvg(src: String, url: String): Promise

Get a single part svg and response the svg as a string

public

Get a single part svg from the core parts as svg-string

public

Get a single part svg from the obsolete svgs, this is for old-sketches only! the response is a svg-string

Static Public

public getFzbs(url: String): Promise source

Get a list of all FZB files

Params:

NameTypeAttributeDescription
url String

The base URL of the parts api

Return:

Promise

public getFzp(src: String, url: String): Promise source

Get a single FZP and response the xml as a string

Params:

NameTypeAttributeDescription
src String
url String

The base URL of the parts api

Return:

Promise

the fetch promise

public getFzpCore(src: String, url: String): Promise source

Get a single part fzp from the core parts

Params:

NameTypeAttributeDescription
src String
url String

The base URL of the parts api

Return:

Promise

the fetch promise returns xml

public getFzpObsolete(src: String, url: String): Promise source

Get a single part fzp from the obsolete parts, this is for old sketches only!

Params:

NameTypeAttributeDescription
src String
url String

The base URL of the parts api

Return:

Promise

the fetch promise returns xml

public getFzps(url: String): Promise source

Get a list of all FZP files

Params:

NameTypeAttributeDescription
url String

The base URL of the parts api

Return:

Promise

public getFzpsCore(url: String): Promise source

Get a list of all Core-FZP files

Params:

NameTypeAttributeDescription
url String

The base URL of the parts api

Return:

Promise

public getFzpsObsolete(url: String): Promise source

Get a list of all Obsolete-FZP files. for old sketches only!

Params:

NameTypeAttributeDescription
url String

The base URL of the parts api

Return:

Promise

public getSvg(src: String, url: String): Promise source

Get a single part svg and response the svg as a string

Params:

NameTypeAttributeDescription
src String
url String

The base URL of the parts api

Return:

Promise

the fetch promise

public getSvgCore(src: String, url: String): Promise source

Get a single part svg from the core parts as svg-string

Params:

NameTypeAttributeDescription
src String
url String

The base URL of the parts api

Return:

Promise

the fetch promise returns xml

public getSvgObsolete(src: String, url: String): Promise source

Get a single part svg from the obsolete svgs, this is for old-sketches only! the response is a svg-string

Params:

NameTypeAttributeDescription
src String
url String

The base URL of the parts api

Return:

Promise

the fetch promise