Class StaticFolderGenerator

Stores a static template folder that will be used to call the wrapped TemplatedResourcesGenerator.

Hierarchy

  • StaticFolderGenerator

Implements

Constructors

Properties

Methods

Constructors

Properties

resourcesGenerator: TemplatedResourcesGenerator
templateFolder: string

Methods

  • Generates resources with the given options. The output Iterable should be sorted so that containers always appear before their contents.

    Parameters

    • location: ResourceIdentifier

      Base identifier.

    • options: Dict<string>

      Options that can be used when generating resources.

    Returns AsyncIterable<Resource>

    A map where the keys are the identifiers and the values the corresponding representations to store.