API Docs for: 0.9.0
Show:

StorageAdapter Class

Abstract storage adapter

Methods

archiveApprovedScreen

(
  • name
  • image
)
Promise

Archives a specific approved screen

Parameters:

  • name String

    Name of approved screen

  • image PNGImage

    Screen to archive

Returns:

Promise:

archiveBuildScreen

(
  • name
  • image
)
Promise

Archives a specific build screen

Parameters:

  • name String

    Name of build screen

  • image PNGImage

    Screen to archive

Returns:

Promise:

archiveCurrentApprovedScreen

(
  • name
  • image
)
Promise

Archives a specific currently approved screen

Parameters:

  • name String

    Name of approved screen

  • image PNGImage

    Screen to archive

Returns:

Promise:

archiveHighlightScreen

(
  • name
  • image
)

Archives a specific highlight screen

Parameters:

  • name String

    Name of highlight screen

  • image PNGImage

    Screen to archive

getApprovedScreen

(
  • name
)
Promise

Gets a specific approved screen

Parameters:

  • name String

    Name of approved screen

Returns:

Promise:

With {PNGImage} Approved screen

getApprovedScreenNames

() Promise

Gets a list of approve screen names

Returns:

Promise:

With {string[]} List of approved screen names

getBuildScreen

(
  • name
)
Promise

Gets a specific build screen

Parameters:

  • name String

    Name of build screen

Returns:

Promise:

With {PNGImage}

getBuildScreenNames

() Promise

Gets a list of build screen names

Returns:

Promise:

With {string[]} List of build screen names

getCurrentApprovedScreen

(
  • name
)
Promise

Gets a specific currently approved screen

Parameters:

  • name String

    Name of approved screen

Returns:

Promise:

With {PNGImage} Approved screen

getCurrentApprovedScreenNames

() Promise

Gets a list of currently approve screen names

Returns:

Promise:

With {string[]} List of approved screen names

getHighlightScreen

(
  • name
)
Promise

Gets a specific highlight screen

Parameters:

  • name String

    Name of build screen

Returns:

Promise:

With {PNGImage} Build screen

getHighlightScreenNames

() Promise

Gets a list of build highlight names

Returns:

Promise:

With {string[]} List of build screen names

getPromise

() Promise

Gets the source-adapter promise

Returns:

Promise:

initialize

()

Initializes the source-adapter

setBuild

(
  • build
)

Sets the build information

Parameters:

setPromise

(
  • promise
)

Sets the promise

Parameters:

  • promise Promise

Properties

TYPE

String

Type of class