-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor api response and error code
- Loading branch information
1 parent
501399b
commit c1c4a13
Showing
17 changed files
with
218 additions
and
175 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
import { MonitorModule as MonitorModelModule } from '@app/shared_modules/monitor/monitor.module'; | ||
import { ProjectModule as ProjectModelModule } from '@app/shared_modules/project/project.module'; | ||
import { Module } from '@nestjs/common'; | ||
import { MonitorModule } from '../monitor/monitor.module'; | ||
import { MonitorAddressController } from './address.controller'; | ||
import { MonitorAddressService } from './address.service'; | ||
|
||
@Module({ | ||
controllers: [MonitorAddressController], | ||
providers: [MonitorAddressService], | ||
exports: [MonitorAddressService], | ||
imports: [MonitorModelModule, ProjectModelModule], | ||
imports: [MonitorModelModule, ProjectModelModule, MonitorModule], | ||
}) | ||
export class MonitorAddressModule {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,19 @@ | ||
import { MonitorModule as MonitorModelModule } from '@app/shared_modules/monitor/monitor.module'; | ||
import { ProjectModule as ProjectModelModule } from '@app/shared_modules/project/project.module'; | ||
import { WebhookModule } from '@app/shared_modules/webhook/webhook.module'; | ||
import { Module } from '@nestjs/common'; | ||
import { ProjectModule } from '../project/project.module'; | ||
import { MonitorController } from './monitor.controller'; | ||
import { MonitorService } from './monitor.service'; | ||
import { WebhookModule } from '@app/shared_modules/webhook/webhook.module'; | ||
@Module({ | ||
controllers: [MonitorController], | ||
providers: [MonitorService], | ||
exports: [MonitorService], | ||
imports: [MonitorModelModule, ProjectModelModule, WebhookModule], | ||
imports: [ | ||
MonitorModelModule, | ||
ProjectModelModule, | ||
WebhookModule, | ||
ProjectModule, | ||
], | ||
}) | ||
export class MonitorModule {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.