1.1.3 • Published 2 years ago

ampsalesfunnels v1.1.3

Weekly downloads
13
License
SEE LICENSE IN li...
Repository
-
Last release
2 years ago

ampsalesfunnels

Functions

Typedefs

getConfig(rootPath)

Kind: global function

ParamTypeDescription
rootPathstringthe root directory of the project

run(command)

Kind: global function

ParamTypeDescription
commandstringsupported AMPSalesfunnels commands: start, startproduction, build, clean, validate, netlifyDeploySandbox, netlifyDeployProduction

ampsalesfunnelsUiClean(done)

Kind: global function

ParamTypeDescription
done*done function to call at end of task

dotenvHandler(request, response, next)

Kind: global function

ParamType
request*
response*
next*

packageJsonHandler(request, response, next)

Kind: global function

ParamType
request*
response*
next*

emailSendHandler(request, response, next)

Kind: global function

ParamType
request*
response*
next*

validateHandler(request, response, next)

Kind: global function

ParamType
request*
response*
next*

ampsalesfunnelsUIAPI(corsOrigin)

Kind: global function

ParamTypeDescription
corsOriginstringdomain accessing the AMPSalesfunnels UI API

dotenvExistsAndValid(path) ⇒

Kind: global function Returns: ValidationResults[]

ParamType
pathstring

dotenvExistsAndValid~validationResults : Array.<ValidationResult>

Kind: inner constant of dotenvExistsAndValid

dotenvExistsAndValid~validationResult : ValidationResult

Kind: inner constant of dotenvExistsAndValid

validateSandboxProduction(dotenvConfig, variable) ⇒ ValidationResult

Kind: global function

ParamTypeDescription
dotenvConfig*.env configuration
variablestringvariable base name

logValidationResults(validationResults) ⇒ void

Kind: global function

ParamType
validationResultsArray.<ValidationResult>

packageJsonValidateAll(filepath) ⇒

Kind: global function Returns: ValidationResults[]

ParamType
filepathstring

packageJsonExistsAndValid(filepath) ⇒

Kind: global function Returns: ValidationResults[]

ParamType
filepathstring

validateAll(rootPath) ⇒ Array.<ValidationResult>

Kind: global function

ParamType
rootPathstring

validateAll~validationResults : Array.<ValidationResult>

Kind: inner property of validateAll

validateJsonWithSchema(filepath, schemafilepath) ⇒ Object

Kind: global function

ParamTypeDescription
filepathstringfile path to the JSON file
schemafilepathstringfile path to the JSON Schema file

validateJsonWithSchema~validationResults : Array.<ValidationResult>

Kind: inner constant of validateJsonWithSchema

loadDotenv(filepath) ⇒ Object.<string, string>

Kind: global function Returns: Object.<string, string> -

ParamTypeDescription
filepathstringpath to .env file

loadPackageJson(filepath) ⇒ Object.<string, string>

Kind: global function Returns: Object.<string, string> -

ParamTypeDescription
filepathstringpath to .env file

doneCallback : function

Kind: global typedef

Severity : 'WARNING' | 'ERROR'

Kind: global typedef

ValidationResult : object

Kind: global typedef Properties

NameTypeDescription
severitySeverityseverity of the validation result (WARNING, ERROR)
titlestringtitle of the validation result
descriptionstringdescription of the validation result
solutionstringkey indicating solution for validation result (used by AMPSalesfunnels UI)

ampsalesfunnelsfunctions()

Kind: global function Category: Gulp task

ampsalesfunnelsUiCreate(done)

Kind: global function Category: Gulp task

ParamTypeDescription
done*done function to call at end of task

ampValidate()

Kind: global function Category: Gulp task

clean()

Kind: global function Category: Gulp task

favicon()

Kind: global function Category: Gulp task

functions()

Kind: global function Category: Gulp task

html()

Kind: global function Category: Gulp task

iframe()

Kind: global function Category: Gulp task

images()

Kind: global function Category: Gulp task

rootConfig()

Kind: global function Category: Gulp task

tailwindcss()

Kind: global function Category: Gulp task

validate()

Kind: global function Category: Gulp task

validate~validationResults : Array.<ValidationResult>

Kind: inner constant of validate

watchmode()

Kind: global function Category: Gulp task


© 2021 Dellariva Solutions