Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface DeployScriptOperationArguments

The arguments for a script of a deploy operation.

Hierarchy

Index

Properties

emitGlobal

emitGlobal: function

Emits a global event.

param

The event.

param

The arguments.

Type declaration

    • (event: string | symbol, ...args: any[]): boolean
    • Parameters

      • event: string | symbol
      • Rest ...args: any[]

      Returns boolean

files

files: string[]

The files that should be deployed.

Optional globalState

globalState: Object

A state value for the ALL scripts that exists while the current session.

globals

The global variables from the settings.

kind

The kind of operation.

openHtml

openHtml: function

Opens a HTML document in a new tab.

param

The HTML document (source code).

param

The custom title for the tab.

param

The custom ID for the document in the storage.

returns

The promise.

Type declaration

    • (html: string, title?: string, id?: any): Promise<any>
    • Parameters

      • html: string
      • Optional title: string
      • Optional id: any

      Returns Promise<any>

Optional options

options: any

The addtional options.

replaceWithValues

replaceWithValues: function

Handles a value as string and replaces placeholders.

param

The value to parse.

returns

The parsed value.

Type declaration

    • (val: any): string
    • Parameters

      • val: any

      Returns string

require

require: function

Loads a module from the script context.

param

The ID / path to the module.

returns

The loaded module.

Type declaration

    • (id: string): any
    • Parameters

      • id: string

      Returns any

Optional state

state: any

A state value for the current script that exists while the current session.

target

target: DeployTarget

The underlying target configuration.

Methods

deployFiles

Generated using TypeDoc