- Preparing search index...
- The search index is not available
Deepkit
Function createCrudRoutes
- createCrudRoutes(schemas: (ClassType<any> | ReflectionClass<any>)[], options?: AutoCrudOptions): CrudAppModule<{
controllers: ClassType<any>[];
}>
-
Parameters
-
schemas: (ClassType<any> | ReflectionClass<any>)[]
-
options: AutoCrudOptions = {}
Returns CrudAppModule<{
controllers: ClassType<any>[];
}>
Create a module that provides CRUD routes for given entities.