Type Alias HTMLGeneratorValuesService

HTMLGeneratorValuesService: {
    getValues: ((options: HTMLGeneratorOptions) => Promise<Record<string, unknown>>);
}

An external service that can be used to provide the values the generator will replace in the template.

Type declaration

  • getValues: ((options: HTMLGeneratorOptions) => Promise<Record<string, unknown>>)

    A function that will be called to get the values to replace in the template.

      • (options): Promise<Record<string, unknown>>
      • Parameters

        Returns Promise<Record<string, unknown>>