-
Notifications
You must be signed in to change notification settings - Fork 739
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Gašper Grom <[email protected]>
- Loading branch information
1 parent
9f8d9b0
commit 9c48d09
Showing
246 changed files
with
5,773 additions
and
7,006 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
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 was deleted.
Oops, something went wrong.
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,17 +1,11 @@ | ||
import { safeWrap } from '../../middlewares/errorMiddleware' | ||
|
||
export default (app) => { | ||
app.post(`/tenant/:tenantId/activity`, safeWrap(require('./activityCreate').default)) | ||
app.post(`/tenant/:tenantId/activity/query`, safeWrap(require('./activityQuery').default)) | ||
app.put(`/tenant/:tenantId/activity/:id`, safeWrap(require('./activityUpdate').default)) | ||
app.post(`/tenant/:tenantId/activity/import`, safeWrap(require('./activityImport').default)) | ||
app.delete(`/tenant/:tenantId/activity`, safeWrap(require('./activityDestroy').default)) | ||
app.get(`/tenant/:tenantId/activity/type`, safeWrap(require('./activityTypes').default)) | ||
app.get(`/tenant/:tenantId/activity/channel`, safeWrap(require('./activityChannels').default)) | ||
// app.get(`/tenant/:tenantId/activity/:id`, safeWrap(require('./activityFind').default)) | ||
app.post( | ||
'/tenant/:tenantId/activity/with-member', | ||
// Call the addActivityWithMember file in this dir | ||
safeWrap(require('./activityAddWithMember').default), | ||
) | ||
app.post(`/activity`, safeWrap(require('./activityCreate').default)) | ||
app.post(`/activity/query`, safeWrap(require('./activityQuery').default)) | ||
app.put(`/activity/:id`, safeWrap(require('./activityUpdate').default)) | ||
app.delete(`/activity`, safeWrap(require('./activityDestroy').default)) | ||
app.get(`/activity/type`, safeWrap(require('./activityTypes').default)) | ||
app.get(`/activity/channel`, safeWrap(require('./activityChannels').default)) | ||
app.post('/activity/with-member', safeWrap(require('./activityAddWithMember').default)) | ||
} |
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,7 +1,7 @@ | ||
import { safeWrap } from '../../middlewares/errorMiddleware' | ||
|
||
export default (app) => { | ||
app.get(`/tenant/:tenantId/audit-log`, safeWrap(require('./auditLogList').default)) | ||
app.get(`/audit-log`, safeWrap(require('./auditLogList').default)) | ||
|
||
app.post(`/tenant/:tenantId/audit-logs/query`, safeWrap(require('./auditLogsQuery').default)) | ||
app.post(`/audit-logs/query`, safeWrap(require('./auditLogsQuery').default)) | ||
} |
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
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
26 changes: 0 additions & 26 deletions
26
backend/src/api/conversation/conversationSettingsUpdate.ts
This file was deleted.
Oops, something went wrong.
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,14 +1,10 @@ | ||
import { safeWrap } from '../../middlewares/errorMiddleware' | ||
|
||
export default (app) => { | ||
app.post(`/tenant/:tenantId/conversation`, safeWrap(require('./conversationCreate').default)) | ||
app.put(`/tenant/:tenantId/conversation/:id`, safeWrap(require('./conversationUpdate').default)) | ||
app.delete(`/tenant/:tenantId/conversation`, safeWrap(require('./conversationDestroy').default)) | ||
app.post(`/tenant/:tenantId/conversation/query`, safeWrap(require('./conversationQuery').default)) | ||
app.get(`/tenant/:tenantId/conversation`, safeWrap(require('./conversationList').default)) | ||
app.get(`/tenant/:tenantId/conversation/:id`, safeWrap(require('./conversationFind').default)) | ||
app.post( | ||
`/tenant/:tenantId/conversation/settings`, | ||
safeWrap(require('./conversationSettingsUpdate').default), | ||
) | ||
app.post(`/conversation`, safeWrap(require('./conversationCreate').default)) | ||
app.put(`/conversation/:id`, safeWrap(require('./conversationUpdate').default)) | ||
app.delete(`/conversation`, safeWrap(require('./conversationDestroy').default)) | ||
app.post(`/conversation/query`, safeWrap(require('./conversationQuery').default)) | ||
app.get(`/conversation`, safeWrap(require('./conversationList').default)) | ||
app.get(`/conversation/:id`, safeWrap(require('./conversationFind').default)) | ||
} |
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.