mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[PR #4191] [MERGED] HSB-462 feat: infra token module and sh apis #4698
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#4698
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/4191
Author: @mirarifhasan
Created: 7/16/2024
Status: ✅ Merged
Merged: 7/29/2024
Merged by: @balub
Base:
next← Head:feat/infra-token-user-apis📝 Commits (10+)
b73a381feat: infra token module added0f66bf2feat: infra token guard addedd0911b5feat: token prefix removeddc285a0feat: get pending invites api addedc3a1011docs: swagger doc added for get user invites apicb48555feat: delete user invitation api added3c09434feat: get users api added2056063feat: update user api added000360dfeat: update admin status api addeddea041efeat: create invitation api added📊 Changes
21 files changed (+1075 additions, -126 deletions)
View changed files
📝
packages/hoppscotch-backend/package.json(+3 -0)➕
packages/hoppscotch-backend/prisma/migrations/20240726121956_infra_token/migration.sql(+15 -0)📝
packages/hoppscotch-backend/prisma/schema.prisma(+10 -0)📝
packages/hoppscotch-backend/src/access-token/access-token.service.ts(+2 -15)📝
packages/hoppscotch-backend/src/admin/admin.service.ts(+7 -0)📝
packages/hoppscotch-backend/src/app.module.ts(+2 -0)➕
packages/hoppscotch-backend/src/decorators/bearer-token.decorator.ts(+15 -0)📝
packages/hoppscotch-backend/src/errors.ts(+43 -0)📝
packages/hoppscotch-backend/src/gql-schema.ts(+2 -0)➕
packages/hoppscotch-backend/src/guards/infra-token.guard.ts(+47 -0)➕
packages/hoppscotch-backend/src/infra-token/infra-token.controller.ts(+248 -0)➕
packages/hoppscotch-backend/src/infra-token/infra-token.model.ts(+43 -0)➕
packages/hoppscotch-backend/src/infra-token/infra-token.module.ts(+14 -0)➕
packages/hoppscotch-backend/src/infra-token/infra-token.resolver.ts(+68 -0)➕
packages/hoppscotch-backend/src/infra-token/infra-token.service.ts(+160 -0)➕
packages/hoppscotch-backend/src/infra-token/request-response.dto.ts(+115 -0)➕
packages/hoppscotch-backend/src/interceptors/infra-token.interceptor.ts(+30 -0)📝
packages/hoppscotch-backend/src/main.ts(+38 -1)📝
packages/hoppscotch-backend/src/types/input-types.args.ts(+11 -0)📝
packages/hoppscotch-backend/src/utils.ts(+11 -0)...and 1 more files
📄 Description
Closes HSB-462
What's changed
In this PR, we introduced
infra-tokenmodule in the Backend project.By this PR, Admin can create/delete/fetch
infra-tokens.Also, this PR will introduce User Management REST APIs for external usages.
Notes to reviewers
Nil
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.