[PR #4359] [MERGED] chore: export single User/Team Collection #4768

Closed
opened 2026-03-17 02:16:29 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/4359
Author: @balub
Created: 9/18/2024
Status: Merged
Merged: 9/27/2024
Merged by: @balub

Base: nextHead: chore/collection-export-addition


📝 Commits (4)

  • 2cc218b chore: added query to export single TeamCollection data
  • f635cf5 chore: added query to export single UserCollection data
  • d3fb1dc chore: fixed typo
  • 4a0f63a chore: completed requested changes in PR review

📊 Changes

5 files changed (+68 additions, -3 deletions)

View changed files

📝 packages/hoppscotch-backend/src/team-collection/team-collection.resolver.ts (+30 -0)
📝 packages/hoppscotch-backend/src/team-collection/team-collection.service.ts (+2 -2)
📝 packages/hoppscotch-backend/src/user-collection/user-collection.resolver.ts (+24 -0)
📝 packages/hoppscotch-backend/src/user-collection/user-collection.service.ts (+1 -1)
📝 packages/hoppscotch-backend/src/utils.ts (+11 -0)

📄 Description

Closes HSB-470

What's changed

In this PR we add 2 new queries that can be used to export a single UserCollection and a TeamCollection.
The queries are :

  • exportUserCollectionToJSON
  • exportCollectionToJSON

Notes to reviewers

nil


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hoppscotch/hoppscotch/pull/4359 **Author:** [@balub](https://github.com/balub) **Created:** 9/18/2024 **Status:** ✅ Merged **Merged:** 9/27/2024 **Merged by:** [@balub](https://github.com/balub) **Base:** `next` ← **Head:** `chore/collection-export-addition` --- ### 📝 Commits (4) - [`2cc218b`](https://github.com/hoppscotch/hoppscotch/commit/2cc218bbdaefffc06d9983cd3ca08144ef9e8332) chore: added query to export single TeamCollection data - [`f635cf5`](https://github.com/hoppscotch/hoppscotch/commit/f635cf55148360a52c2ce76dd0612b38edac6ded) chore: added query to export single UserCollection data - [`d3fb1dc`](https://github.com/hoppscotch/hoppscotch/commit/d3fb1dc932abee1fa10cdbb1faacc7410b0d825e) chore: fixed typo - [`4a0f63a`](https://github.com/hoppscotch/hoppscotch/commit/4a0f63aba51e17e299935efb6bf0866cd70f376a) chore: completed requested changes in PR review ### 📊 Changes **5 files changed** (+68 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-backend/src/team-collection/team-collection.resolver.ts` (+30 -0) 📝 `packages/hoppscotch-backend/src/team-collection/team-collection.service.ts` (+2 -2) 📝 `packages/hoppscotch-backend/src/user-collection/user-collection.resolver.ts` (+24 -0) 📝 `packages/hoppscotch-backend/src/user-collection/user-collection.service.ts` (+1 -1) 📝 `packages/hoppscotch-backend/src/utils.ts` (+11 -0) </details> ### 📄 Description <!-- Thanks for creating this pull request 🤗 Please make sure that the pull request is limited to one type (docs, feature, etc.) and keep it as small as possible. You can open multiple prs instead of opening a huge one. --> <!-- If this pull request closes an issue, please mention the issue number below --> Closes HSB-470 <!-- Add an introduction into what this PR tries to solve in a couple of sentences --> ### What's changed <!-- Describe point by point the different things you have changed in this PR --> In this PR we add 2 new queries that can be used to export a single `UserCollection` and a `TeamCollection`. The queries are : - `exportUserCollectionToJSON` - `exportCollectionToJSON` <!-- You can also choose to add a list of changes and if they have been completed or not by using the markdown to-do list syntax - [ ] Not Completed - [x] Completed --> ### Notes to reviewers <!-- Any information you feel the reviewer should know about when reviewing your PR --> nil --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 02:16:29 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#4768
No description provided.