-
-
Notifications
You must be signed in to change notification settings - Fork 114
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
chore(platoform): Swapped all legacy API calls with @keyshade/api-client
#584
chore(platoform): Swapped all legacy API calls with @keyshade/api-client
#584
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
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.
can you delete the existing controllers in /lib/api-functions
?
Sure, will do it. |
deleted two files inside the |
We also have auth functions in API Client. Could you please try to refactor that aswell? Do lmk if you run into any issues. |
Sure, will do it. |
@keyshade/api-client
@poswalsameer could you please wrap this up? it would be very helpful to us |
Hi, I am done with this. Removed all the legacy code I found in the codebase. |
I think the auth functions are still missing as per our previous convo |
Im talking about this |
User description
Description
This PR changes all the old API calls made in the platform to new by utilizing the
@keyshade/api-client
package.Dependencies
No dependencies.
Future Improvements
Mentions
@rajdip-b
Screenshots of relevant screens
Developer's checklist
If changes are made in the code:
Documentation Update
PR Type
enhancement
Description
SecretController
from@keyshade/api-client
, replacing legacy methods.ProjectController
from@keyshade/api-client
, enhancing the data fetching process.Changes walkthrough 📝
page.tsx
Refactor secret page to use new API client
apps/platform/src/app/(main)/project/[project]/@secret/page.tsx
SecretController
from@keyshade/api-client
.layout.tsx
Refactor project layout to use new API client
apps/platform/src/app/(main)/project/[project]/layout.tsx
ProjectController
from@keyshade/api-client
.