Skip to content
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

SCHEMA: Add "Get All Workspace Invitations" request and response types #552

Open
Tracked by #549
rajdip-b opened this issue Nov 22, 2024 · 5 comments
Open
Tracked by #549
Labels
difficulty: 2 good first issue Good for newcomers pending-dependency Stuck due to a required dependency priority: urgent scope: schema type: enhancement New feature or request

Comments

@rajdip-b
Copy link
Member

rajdip-b commented Nov 22, 2024

Description

In the schema package, add the schemas for the following types:

  • GetWorkspaceInvitationsRequest
  • GetWorkspaceInvitationsResponse

Solution

  • Add the schemas in here
  • Add the inferred types in here
  • Add relevant tests in here

Additional context

Depends on #550

@yetanotheraryan
Copy link
Contributor

yetanotheraryan commented Nov 25, 2024

hi @rajdip-b looking forward to working on this, where can i find the request and response object for the API for which we are adding the schema? also its mentioned in #550 that workspace details and the invitation date are to be passed in response, so what all parameters are to be passed for workspace details?

@rajdip-b
Copy link
Member Author

You would need to set up the API locally and manually make calls to it. You can use our collections in Bruno to get started with. You can find this request in "Workspace Membership Controller". Detailed documentation about setting up our source could be found in https://docs.keyshade.xyz

@omarNaifer12
Copy link

Hi @rajdip-b ,i would like to contribute to the project, but I’m using WSL2, and Docker consumes a lot of memory on my system. Is there a way to run this project locally without Docker? I already have Redis and PostgreSQL installed in WSL2.
Thanks!

@rajdip-b
Copy link
Member Author

You can certainly run it without docker, but there are too many manual steps that you would need to take care of.

  1. Set up a db with the password and username mentioned in docker
  2. Set up cache
  3. Make sure keyshade_db exists

Also, when running the integration tests for the api, you would again need to set up another db with the name ingetration_tests and separate password and username.

I don't think it's that difficult to set up docker in wsl.

@muntaxir4
Copy link
Contributor

Hi @rajdip-b ,i would like to contribute to the project, but I’m using WSL2, and Docker consumes a lot of memory on my system. Is there a way to run this project locally without Docker? I already have Redis and PostgreSQL installed in WSL2. Thanks!

The schemas do not need any running docker containers. You can get a reference of the request and response types from apps/api

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty: 2 good first issue Good for newcomers pending-dependency Stuck due to a required dependency priority: urgent scope: schema type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants