File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change 1
1
/**
2
- * @module :@admin-bro/nestjs
2
+ * @module @admin -bro/nestjs
3
+ * @subcategory Plugins
4
+ * @section modules
3
5
*
4
- * @description
6
+ * @classdesc
5
7
* This is an official plugin which allows you to render AdminBro in [NestJS
6
8
* framework](https://nestjs.com/)
7
9
*
36
38
* import { Module } from '@nestjs/common';
37
39
* import { AdminModule } from '@admin-bro/nestjs';
38
40
*
39
- * @Module ({
41
+ * \ @Module({
40
42
* imports: [
41
43
* AdminModule.createAdmin({
42
44
* rootPath: '/admin',
67
69
*
68
70
* AdminBro.registerAdapter({ Database, Resource })
69
71
*
70
- * @Module ({
72
+ * \ @Module({
71
73
* imports: [
72
74
* // you will have to change connection data of course :)
73
75
* TypeOrmModule.forRoot({
124
126
*
125
127
* For example:
126
128
* - we have MongooseSchemasModule which defines Admin model and exports it:
129
+ *
127
130
* ```
128
- * @Module ({
131
+ * \ @Module({
129
132
* imports: [
130
133
* MongooseModule.forFeature([{ name: 'Admin', schema: AdminSchema }]),
131
134
* ],
135
138
* ```
136
139
* - we want to use Admin model in admin-bro panel, to be displayed as the resource
137
140
* ```
138
- * @Module ({
141
+ * \ @Module({
139
142
* imports: [
140
143
* MongooseModule.forRoot('mongodb://localhost:27017/test'),
141
144
* AdminModule.createAdminAsync({
You can’t perform that action at this time.
0 commit comments