parent
e64b9dbf91
commit
4a7feae98a
3 changed files with 44 additions and 0 deletions
@ -0,0 +1,20 @@ |
|||||||
|
import express from 'express'; |
||||||
|
|
||||||
|
import { |
||||||
|
createAlertOverride, |
||||||
|
deleteAlertOverride, |
||||||
|
getAlertOverride, |
||||||
|
getAlertOverrideDetail, |
||||||
|
updateAlertOverride, |
||||||
|
} from '../lib/request_handlers/alert-override'; |
||||||
|
|
||||||
|
const router = express.Router(); |
||||||
|
|
||||||
|
router |
||||||
|
.delete('/:uuid', deleteAlertOverride) |
||||||
|
.get('/', getAlertOverride) |
||||||
|
.get('/:uuid', getAlertOverrideDetail) |
||||||
|
.post('/', createAlertOverride) |
||||||
|
.put('/:uuid', updateAlertOverride); |
||||||
|
|
||||||
|
export default router; |
@ -0,0 +1,20 @@ |
|||||||
|
import express from 'express'; |
||||||
|
|
||||||
|
import { |
||||||
|
createMailRecipient, |
||||||
|
deleteMailRecipient, |
||||||
|
getMailRecipient, |
||||||
|
getMailRecipientDetail, |
||||||
|
updateMailRecipient, |
||||||
|
} from '../lib/request_handlers/mail-recipient'; |
||||||
|
|
||||||
|
const router = express.Router(); |
||||||
|
|
||||||
|
router |
||||||
|
.delete('/:uuid', deleteMailRecipient) |
||||||
|
.get('/', getMailRecipient) |
||||||
|
.get('/:uuid', getMailRecipientDetail) |
||||||
|
.post('/', createMailRecipient) |
||||||
|
.put('/:uuid', updateMailRecipient); |
||||||
|
|
||||||
|
export default router; |
Loading…
Reference in new issue