Class SequelizeRepositoryGenerator
Hierarchy
-
SequelizeRepositoryGenerator
Methods
Protected getRelatedEntities
- getRelatedEntities(table: Table): object
-
Parameters
Returns object
-
includes: string[]
-
names: string[]
getRepositories
- getRepositories(schema: Schema): object[]
-
Parameters
Returns object[]
[]}
getRepositoryFactory
- getRepositoryFactory(schema: Schema): object
-
Parameters
Returns object
-
content: string
-
name: string
getRepositoryForTable
- getRepositoryForTable(table: Table): string
-
Parameters
Returns string
Class which implements the logic for generating valid sequelize repositories.
SequelizeRepositoryGenerator