diff options
| author | Mar0xy <marie@kaifa.ch> | 2023-09-22 21:05:42 +0200 |
|---|---|---|
| committer | Mar0xy <marie@kaifa.ch> | 2023-09-22 21:05:42 +0200 |
| commit | feec3c302b893e28c4862fb44a7ad4455d30cf85 (patch) | |
| tree | 860d2a153171b8a65aa1d00cd856370e1aee1451 /packages/backend/src/server/api/EndpointsModule.ts | |
| parent | merge: develop branch (diff) | |
| download | sharkey-feec3c302b893e28c4862fb44a7ad4455d30cf85.tar.gz sharkey-feec3c302b893e28c4862fb44a7ad4455d30cf85.tar.bz2 sharkey-feec3c302b893e28c4862fb44a7ad4455d30cf85.zip | |
upd: add backend for post editing
Diffstat (limited to 'packages/backend/src/server/api/EndpointsModule.ts')
| -rw-r--r-- | packages/backend/src/server/api/EndpointsModule.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/backend/src/server/api/EndpointsModule.ts b/packages/backend/src/server/api/EndpointsModule.ts index 41a11bfb19..fef8214bc1 100644 --- a/packages/backend/src/server/api/EndpointsModule.ts +++ b/packages/backend/src/server/api/EndpointsModule.ts @@ -272,6 +272,7 @@ import * as ep___notes_reactions_create from './endpoints/notes/reactions/create import * as ep___notes_reactions_delete from './endpoints/notes/reactions/delete.js'; import * as ep___notes_renotes from './endpoints/notes/renotes.js'; import * as ep___notes_replies from './endpoints/notes/replies.js'; +import * as ep___notes_edit from './endpoints/notes/edit.js'; import * as ep___notes_searchByTag from './endpoints/notes/search-by-tag.js'; import * as ep___notes_search from './endpoints/notes/search.js'; import * as ep___notes_show from './endpoints/notes/show.js'; @@ -630,6 +631,7 @@ const $notes_timeline: Provider = { provide: 'ep:notes/timeline', useClass: ep__ const $notes_translate: Provider = { provide: 'ep:notes/translate', useClass: ep___notes_translate.default }; const $notes_unrenote: Provider = { provide: 'ep:notes/unrenote', useClass: ep___notes_unrenote.default }; const $notes_userListTimeline: Provider = { provide: 'ep:notes/user-list-timeline', useClass: ep___notes_userListTimeline.default }; +const $notes_edit: Provider = { provide: 'ep:notes/edit', useClass: ep___notes_edit.default }; const $notifications_create: Provider = { provide: 'ep:notifications/create', useClass: ep___notifications_create.default }; const $notifications_markAllAsRead: Provider = { provide: 'ep:notifications/mark-all-as-read', useClass: ep___notifications_markAllAsRead.default }; const $notifications_testNotification: Provider = { provide: 'ep:notifications/test-notification', useClass: ep___notifications_testNotification.default }; @@ -982,6 +984,7 @@ const $retention: Provider = { provide: 'ep:retention', useClass: ep___retention $notes_translate, $notes_unrenote, $notes_userListTimeline, + $notes_edit, $notifications_create, $notifications_markAllAsRead, $notifications_testNotification, @@ -1328,6 +1331,7 @@ const $retention: Provider = { provide: 'ep:retention', useClass: ep___retention $notes_translate, $notes_unrenote, $notes_userListTimeline, + $notes_edit, $notifications_create, $notifications_markAllAsRead, $pagePush, |