keyshade icon indicating copy to clipboard operation
keyshade copied to clipboard

committed

Open surya-moorthy opened this issue 6 months ago • 5 comments

User description

Description

Give a summary of the change that you have made

Fixes #[ISSUENO]

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

  • [ ] My PR follows the style guidelines of this project
  • [ ] I have performed a self-check on my work

If changes are made in the code:

  • [ ] I have followed the coding guidelines
  • [ ] My changes in code generate no new warnings
  • [ ] My changes are breaking another fix/feature of the project
  • [ ] I have added test cases to show that my feature works
  • [ ] I have added relevant screenshots in my PR
  • [ ] There are no UI/UX issues

Documentation Update

  • [ ] This PR requires an update to the documentation at docs.keyshade.xyz
  • [ ] I have made the necessary updates to the documentation, or no documentation changes are required.

PR Type

Enhancement, Documentation


Description

  • Added EnvironmentController class with methods for creating, updating, retrieving, and deleting environments.
  • Defined TypeScript interfaces for user-related requests and responses, including getting, updating, and deleting user information.
  • Defined TypeScript interfaces for workspace role-related requests and responses, including creating, updating, retrieving, and deleting workspace roles.

Changes walkthrough 📝

Relevant files
Enhancement
worspacerole.ts
Add EnvironmentController with CRUD operations for environments

packages/api-client/src/controllers/worspacerole.ts

  • Added EnvironmentController class with methods for CRUD operations on
    environments.
  • Implemented methods for creating, updating, retrieving, and deleting
    environments.
  • Utilized apiClient for making HTTP requests.
  • +76/-0   
    Documentation
    user.types.d.ts
    Define user-related request and response types                     

    packages/api-client/src/types/user.types.d.ts

  • Added interfaces for user-related requests and responses.
  • Defined types for getting, updating, and deleting user information.
  • +42/-0   
    workspace.types.d.ts
    Define workspace role-related request and response types 

    packages/api-client/src/types/workspace.types.d.ts

  • Added interfaces for workspace role-related requests and responses.
  • Defined types for creating, updating, retrieving, and deleting
    workspace roles.
  • +77/-0   

    💡 PR-Agent usage: Comment /help on the PR to get a list of all available PR-Agent tools and their descriptions

    surya-moorthy avatar Jul 29 '24 11:07 surya-moorthy