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

API: Add endpoint to fetch all workspace invitations for a user #404

Closed
rajdip-b opened this issue Jul 30, 2024 · 13 comments
Closed

API: Add endpoint to fetch all workspace invitations for a user #404

rajdip-b opened this issue Jul 30, 2024 · 13 comments
Assignees
Labels
difficulty: 2 good first issue Good for newcomers hacktoberfest Hacktoberfest is on! priority: high scope: api Everything related to the API type: feature Release drafter tag for tagging PRs related to adding new features

Comments

@rajdip-b
Copy link
Member

Description

We would like to add an endpoint to fetch all the active workspace invitations that the user has.

Solution

  • Add an endpoint /api/workspace/invitations under workspace.controller.ts
  • Add a function named getAllWorkspaceInvitations in workspace.service.ts that implements the logic. The response should be paginated
  • Add proper tests in workspace.e2e.spec.ts
@rajdip-b rajdip-b added good first issue Good for newcomers scope: api Everything related to the API type: feature Release drafter tag for tagging PRs related to adding new features priority: high difficulty: 2 labels Jul 30, 2024
@rajdip-b rajdip-b moved this to Todo in keyshade-api Jul 30, 2024
@sankettank66
Copy link

Hello @rajdip-b
Could you assign me this task?

@rajdip-b
Copy link
Member Author

Sure!

@rajdip-b rajdip-b moved this from Todo to In progress in keyshade-api Aug 12, 2024
@rajdip-b
Copy link
Member Author

rajdip-b commented Sep 4, 2024

@sankettank66 any progress?

@rashmod
Copy link

rashmod commented Sep 4, 2024

@sankettank66 Are you still working on this, or should I take it on?

@rajdip-b
Copy link
Member Author

@rashmod Feel free to take this up.

@bansal-harsh-2504
Copy link
Contributor

/attempt

Copy link

github-actions bot commented Oct 2, 2024

Assigned the issue to @bansal-harsh-2504!

@rajdip-b rajdip-b added the hacktoberfest Hacktoberfest is on! label Oct 2, 2024
@bansal-harsh-2504
Copy link
Contributor

@rajdip-b Do I need to create a prisma model for workspaceInvitation ?

@rajdip-b
Copy link
Member Author

rajdip-b commented Oct 4, 2024

No, you will be just using the existing tables.

@bansal-harsh-2504 bansal-harsh-2504 removed their assignment Oct 9, 2024
@nilaygit-10721
Copy link

/attempt

Copy link

Assigned the issue to @nilaygit-10721!

@rajdip-b
Copy link
Member Author

rajdip-b commented Nov 5, 2024

Unassigning due to inactivity

@rajdip-b rajdip-b moved this from In progress to Todo in keyshade-api Nov 5, 2024
@rajdip-b rajdip-b moved this from Backlog to Todo in keyshade-api Dec 4, 2024
@rajdip-b
Copy link
Member Author

@muntaxir4 i think we can safely close this one since we are tracking it in #550

@github-project-automation github-project-automation bot moved this from Under review to Done in keyshade-api Dec 10, 2024
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 hacktoberfest Hacktoberfest is on! priority: high scope: api Everything related to the API type: feature Release drafter tag for tagging PRs related to adding new features
Projects
Status: Done
Development

No branches or pull requests

6 participants