-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor(preview-api): duplicate adminform presign endpoints for /api/v3 #1644
Conversation
…/v3i - duplicate and update adminform form related endpoints - duplicate integration tests for new endpoint - update v3 router to use new endpoints - update frontend api calls to use new endpoints
…i/v3 - duplicate and update adminform preview related endpoints - duplicate integration tests for new endpoint - update v3 router to use new endpoints - update frontend api calls to use new endpoints
…i/v3 - duplicate and update adminform presigned image/logo endpoints - duplicate integration tests for new endpoint - update v3 router to use new endpoints - update frontend api calls to use new endpoints
ac6abea
to
03c16f6
Compare
Rebased this onto ref/preview-api tracked by #1643 |
this makes it hard to review; you may want to change the target branch to the preview-api branch then. pls set to draft PR you are making rebase changes, was reviewing halfway and it got outdated haha |
sorry about that, talked about how to deal with the concurrent PR merge conflicts with anty irl |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
src/app/routes/api/v3/admin/forms/__tests__/admin-forms.presign.routes.spec.ts
Show resolved
Hide resolved
src/app/routes/api/v3/admin/forms/__tests__/admin-forms.presign.routes.spec.ts
Show resolved
Hide resolved
src/app/routes/api/v3/admin/forms/admin-forms.presign.routes.ts
Outdated
Show resolved
Hide resolved
861a3d6
to
8f1b19c
Compare
- shift validators into admin-form controller - update handler methods to include validators as request handler array - update controller integration tests - update old routes to use new handler - update new routes to use new handleri
Problem
Updates current adminform presigned image/logo url generation endpoints to their /api rooted endpoints to follow a RESTful hierarchy.
Closes #1512
Solution
Features:
Tests