mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[PR #4611] Added versioned entities for Settings and History (REST/GraphQL) #4872
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#4872
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/hoppscotch/hoppscotch/pull/4611
Author: @evannpham
Created: 12/12/2024
Status: 🔄 Open
Base:
main← Head:issue4160📝 Commits (2)
0816281Implemented versioned entity directories for settings and historyeb77ef0Updated validation for settings and history to include versioned entities📊 Changes
8 files changed (+205 additions, -16 deletions)
View changed files
📝
packages/hoppscotch-common/src/services/persistence/index.ts(+15 -12)📝
packages/hoppscotch-common/src/services/persistence/validation-schemas/index.ts(+3 -4)➕
packages/hoppscotch-data/src/history/graphql/index.ts(+21 -0)➕
packages/hoppscotch-data/src/history/graphql/v/1.ts(+21 -0)➕
packages/hoppscotch-data/src/history/rest/index.ts(+21 -0)➕
packages/hoppscotch-data/src/history/rest/v/1.ts(+26 -0)➕
packages/hoppscotch-data/src/settings/index.ts(+25 -0)➕
packages/hoppscotch-data/src/settings/v/0.ts(+73 -0)📄 Description
Addresses #4160
This PR adds versioned entities for Settings and History (REST/GraphQL)
What's changed
Added directories and implemented schemas for the Settings and History versioned entities.
Updated the implementation to utilize the versioned entity, ensuring the necessary migration is performed to handle the latest version.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.