DefaultDocumentSource

The default document source, built from the application configuration.

Constructor

new DefaultDocumentSource(configServer)

Parameters:
NameTypeDescription
configServerobject

The server configuration.

Properties
NameTypeDescription
urlstring

The server url.

documentstring

The base route for documents.

filestring

The route for document files.

Members

documentUrl :string

The URL to fetch the documents.

Type:
  • string

fileRoute :string

The route to fetch the document images.

Type:
  • string

Methods

getImageUrl(doc)

Parameters:
NameTypeDescription
docDocument

The document.