Global

Members

Number

# constant CREDITS_LENGTH

Amount of stars to display as credits

# constant DEV_QUALITY

Quality in local environment

# constant ENVIRONMENT

App environment

String

# constant ITEM_TYPE_SEASON_EPISODE

Item's size. It's used to get the image's template Url with the correct size

# constant MAX_VIEWPORT_SIZE

Maximum Viewport Size of the application to ensure no image is returned with a bigger Width

# constant SESSION_KEY

Constant key to store the session values

Methods

# async createOptsObject(opts) → {Promise.<object>}

creates the opts object to pass to the OVP API, extending with the default params

Parameters:
Name Type Description
opts object

params object

the opts param to pass to the OVP API

Promise.<object>

# async getConfiguration() → {Configuration}

Fetch the Configuration CMS content

The Configuration

Configuration