Documentation Index
Fetch the complete documentation index at: https://docs.amplication.com/llms.txt
Use this file to discover all available pages before exploring further.
Event Name
createModules
Event Parameters
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;
}