const{writeFile:writeFile,formatContents:formatContents}=require("./wm-utils"),{getHandlebarTemplate:getHandlebarTemplate}=require("./handlebar-helpers"),generateAppRoutes=async(e,t,a,r,o,n,p)=>{const s=getHandlebarTemplate("app-routes")({wmProjectProperties:t,layoutsConfig:a,pagesConfig:r,securityConfig:o,enableSpa:p});await writeFile(`${n}/src/app/app.routes.ts`,formatContents(s))};module.exports={generateAppRoutes:generateAppRoutes};