Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ConfigTemplate

Hierarchy

  • ConfigTemplate

Index

Constructors

constructor

  • Returns ConfigTemplate

Properties

description

description: string

destinationDir

destinationDir: string

files

files: string[]

Optional inputs

inputs: {}

Type declaration

  • [name: string]: { copyDefaultFrom?: string; default?: string | number | boolean; description: string; formatter?: (param: string) => any; required: boolean }
    • Optional copyDefaultFrom?: string
    • Optional default?: string | number | boolean
    • description: string
    • Optional formatter?: (param: string) => any
        • (param: string): any
        • Parameters

          • param: string

          Returns any

    • required: boolean

name

name: string

params

Optional parentId

parentId: string

Methods

extendId

  • extendId(extension: string): string
  • Parameters

    • extension: string

    Returns string

formatForFilesystem

  • formatForFilesystem(s: string): string
  • Parameters

    • s: string

    Returns string

formatId

  • formatId(s: string): string
  • Parameters

    • s: string

    Returns string

mustacheAllFiles

  • The nominal case where all provided mustache files are computed and copied into the client project

    Parameters

    Returns Promise<ConfigTemplateRunResponse>

prepareParams

resolveFiles

  • resolveFiles(filesList: string[]): Promise<string[]>
  • Parameters

    • filesList: string[]

    Returns Promise<string[]>

Abstract run

unquotedId

  • unquotedId(): string
  • Returns string

Generated using TypeDoc