Generate admin routes and type dec.