Module: hubspot/upload

Members

(inner) cmsMode :"draft"|"publish"

Type:
  • "draft" | "publish"
Source:

Methods

(async, inner) cleanUploadTheme(config, themeName)

clean theme and reupload it

Parameters:
Name Type Description
config HUBSPOT_AUTH_CONFIG

hubspot authentication config

themeName string

theme name

Source:
Returns:

undefined

(async, inner) cleanUploadThemeTemplates(config, themeName)

delete all templates in theme and reupload them

Parameters:
Name Type Description
config HUBSPOT_AUTH_CONFIG

hubspot authentication config

themeName string

theme name

Source:
Returns:

undefined

(async, inner) uploadTheme(config, themeName)

upload all HubSpot theme files

Parameters:
Name Type Description
config HUBSPOT_AUTH_CONFIG

hubspot authentication config

themeName string

theme name

Source:
Returns:

undefined

Table of contents