-
-
Notifications
You must be signed in to change notification settings - Fork 125
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
feat(api): Added total count of env, vars and secrets of a project #311
Conversation
Failed to generate code suggestions for PR |
@yogesh1801 I don't see you calling this from the service layers. Are you still working on this? If so, you can convert it to draft. |
PR Reviewer Guide 🔍
|
PR 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.
Okay one thing that we need to change is, we would need to optionally paginate the environments, secrets and variables. So you can send in an optional skipPagination
to those 3 methods you created.
Also, could you provide a screenshot or the response?
@yogesh1801 any progress on this yet? |
Closing due to inactivity. Feel free to pick this up if you are up again. |
User description
Description
Give a summary of the change that you have made
Fixes #308
Dependencies
Mention any dependencies/packages used
Future Improvements
Mention any improvements to be done in future related to any file/feature
Mentions
Mention and tag the people
Screenshots of relevant screens
Add screenshots of relevant screens
Developer's checklist
If changes are made in the code:
Documentation Update
PR Type
Enhancement, Other
Description
getAllSecretsOfProject
function.Changes walkthrough 📝
get-environmets-of-project.ts
Add function to fetch project environments with authority check
apps/api/src/common/get-environmets-of-project.ts
getEnvironmentsOfProject
to fetch environments ofa project.
get-secrets-of-project.ts
Add function to fetch project secrets with decryption check
apps/api/src/common/get-secrets-of-project.ts
getAllSecretsOfProject
to fetch secrets of aproject.
get-variables-of-project.ts
Add function to fetch project variables with authority check
apps/api/src/common/get-variables-of-project.ts
getAllVariablesOfProject
to fetch variables of aproject.
project.service.ts
Integrate environment, variable, and secret counts in project service
apps/api/src/project/service/project.service.ts
in
getProjectsOfUser
.object.