Options
All
  • Public
  • Public/Protected
  • All
Menu

Class which generates string content for router.js configuration file

export
class

Router

Hierarchy

  • Router

Index

Methods

Private generateImportControllersData

  • generateImportControllersData(schema: Schema): string

Private generateRouterUseData

  • generateRouterUseData(schema: Schema): string
  • Generate router.use data for every schema table

    Parameters

    Returns string

    • multiple lines data, each line having one router.use('/models', modelController);

getRouterConfig

  • getRouterConfig(schema: Schema): string

Generated using TypeDoc