DocumentsInValidationDocumentSource

The document source for documents in validation.

Constructor

new DocumentsInValidationDocumentSource(configServer)

Creates the document source.

Parameters:
NameTypeDescription
configServerobject

The configuration for the server.

Properties
NameTypeDescription
urlstring

The base URL of the server.

documentToValidatestring

The route to fetch documents to validate.

documentstring

The route to fetch documents.

filestring

The route for document files.

Classes

DocumentsInValidationDocumentSource

Methods

getDocumentUrl() → {string}

Returns the URL of the document to validate

Returns:

The URL of the document

Type: 
string

getImageUrl(doc) → {string}

Returns the URL of the image of the document

Parameters:
NameTypeDescription
docDocument

The document

Returns:

The URL of the image

Type: 
string