[PR #2502] [MERGED] chore(server): auth request type #9577

Closed
opened 2026-02-05 14:07:11 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/immich-app/immich/pull/2502
Author: @jrasm91
Created: 5/21/2023
Status: Merged
Merged: 5/21/2023
Merged by: @alextran1502

Base: mainHead: chore/auth-request-type


📝 Commits (1)

  • 15bd7aa chore(server): auth request type

📊 Changes

7 files changed (+19 additions, -25 deletions)

View changed files

📝 server/apps/immich/src/config/asset-upload.config.spec.ts (+2 -1)
📝 server/apps/immich/src/config/asset-upload.config.ts (+4 -5)
📝 server/apps/immich/src/config/profile-image-upload.config.spec.ts (+2 -1)
📝 server/apps/immich/src/config/profile-image-upload.config.ts (+4 -5)
📝 server/apps/immich/src/decorators/auth-user.decorator.ts (+5 -0)
server/apps/immich/src/global.d.ts (+0 -11)
📝 server/apps/immich/src/middlewares/auth.guard.ts (+2 -2)

📄 Description

Prefer a custom type AuthRequest over a global.d.ts file overwriting a namespace.


🔄 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/immich-app/immich/pull/2502 **Author:** [@jrasm91](https://github.com/jrasm91) **Created:** 5/21/2023 **Status:** ✅ Merged **Merged:** 5/21/2023 **Merged by:** [@alextran1502](https://github.com/alextran1502) **Base:** `main` ← **Head:** `chore/auth-request-type` --- ### 📝 Commits (1) - [`15bd7aa`](https://github.com/immich-app/immich/commit/15bd7aa29601a3de1d171e7305d8509afd13fdb5) chore(server): auth request type ### 📊 Changes **7 files changed** (+19 additions, -25 deletions) <details> <summary>View changed files</summary> 📝 `server/apps/immich/src/config/asset-upload.config.spec.ts` (+2 -1) 📝 `server/apps/immich/src/config/asset-upload.config.ts` (+4 -5) 📝 `server/apps/immich/src/config/profile-image-upload.config.spec.ts` (+2 -1) 📝 `server/apps/immich/src/config/profile-image-upload.config.ts` (+4 -5) 📝 `server/apps/immich/src/decorators/auth-user.decorator.ts` (+5 -0) ➖ `server/apps/immich/src/global.d.ts` (+0 -11) 📝 `server/apps/immich/src/middlewares/auth.guard.ts` (+2 -2) </details> ### 📄 Description Prefer a custom type `AuthRequest` over a `global.d.ts` file overwriting a namespace. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-05 14:07:11 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#9577