//Read all the content of 'static' folder, replace placeholders, and add the files to the context
  async beforeCreateModules(
    context: blueprintTypes.DsgContext,
    eventParams: blueprint.CreateModulesParams,
  ): Promise<blueprint.CreateBlueprintParams> {
    context.logger.info("Generating Files for all modules...");

    // do something here

    return eventParams;

}

Event Name

createModules

Event Parameters

moduleActionsAndDtoMap
ModuleActionsAndDtosMap

A map of all the Modules, with the list of Actions and DTOs for each module

  //Read all the content of 'static' folder, replace placeholders, and add the files to the context
  async beforeCreateModules(
    context: blueprintTypes.DsgContext,
    eventParams: blueprint.CreateModulesParams,
  ): Promise<blueprint.CreateBlueprintParams> {
    context.logger.info("Generating Files for all modules...");

    // do something here

    return eventParams;

}