[PR #326] [MERGED] Refactor web to use OpenAPI SDK #8566

Closed
opened 2026-02-05 13:49:29 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/immich-app/immich/pull/326
Author: @alextran1502
Created: 7/9/2022
Status: Merged
Merged: 7/11/2022
Merged by: @alextran1502

Base: mainHead: chores/refactor-open-api-web


📝 Commits (10+)

📊 Changes

55 files changed (+521 additions, -696 deletions)

View changed files

📝 server/apps/immich/src/api-v1/asset/asset.controller.ts (+39 -41)
📝 server/apps/immich/src/api-v1/asset/asset.service.ts (+41 -17)
server/apps/immich/src/api-v1/asset/dto/asset-file-upload.dto.ts (+10 -0)
📝 server/apps/immich/src/api-v1/asset/dto/serve-file.dto.ts (+24 -5)
server/apps/immich/src/api-v1/asset/response-dto/asset-file-upload-response.dto.ts (+7 -0)
server/apps/immich/src/api-v1/asset/response-dto/check-duplicate-asset-response.dto.ts (+6 -0)
📝 server/apps/immich/src/api-v1/user/user.controller.ts (+8 -8)
📝 server/apps/immich/src/api-v1/user/user.service.ts (+4 -12)
📝 server/apps/immich/src/app.module.ts (+1 -0)
📝 server/apps/immich/test/user.e2e-spec.ts (+1 -1)
📝 server/immich-openapi-specs.json (+1 -1)
📝 server/package-lock.json (+1 -1)
📝 server/package.json (+1 -1)
📝 web/src/api/api.ts (+4 -3)
web/src/api/index.ts (+2 -0)
📝 web/src/api/open-api/.gitignore (+0 -0)
📝 web/src/api/open-api/.npmignore (+0 -0)
📝 web/src/api/open-api/.openapi-generator-ignore (+0 -0)
📝 web/src/api/open-api/.openapi-generator/FILES (+0 -0)
📝 web/src/api/open-api/.openapi-generator/VERSION (+0 -0)

...and 35 more files

📄 Description

No description provided


🔄 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/326 **Author:** [@alextran1502](https://github.com/alextran1502) **Created:** 7/9/2022 **Status:** ✅ Merged **Merged:** 7/11/2022 **Merged by:** [@alextran1502](https://github.com/alextran1502) **Base:** `main` ← **Head:** `chores/refactor-open-api-web` --- ### 📝 Commits (10+) - [`8910062`](https://github.com/immich-app/immich/commit/891006294c5f3ba19a2aa02ff9f650a369618f72) Refactor main index page - [`743202f`](https://github.com/immich-app/immich/commit/743202f975dbb9fc446a70bc39a8fb55c147ed18) Refactor admin page - [`2b968d7`](https://github.com/immich-app/immich/commit/2b968d75a137472ee6b8026c69a7692e113f90b8) Refactor Auth endpoint - [`b3a7962`](https://github.com/immich-app/immich/commit/b3a796217ce25ee1591103f892b62b1b2cd6fc0c) Refactor directory to prep for monorepo - [`e644121`](https://github.com/immich-app/immich/commit/e644121d92341b4a7f63c7b9dbd43f89826bc559) Fixed refactoring path - [`691d7be`](https://github.com/immich-app/immich/commit/691d7be4d9ccbc5420c4c0aa5567ac306e787853) Resolved file path in vite - [`56ba270`](https://github.com/immich-app/immich/commit/56ba2707f446d9e936a0dc567ffb143ef0a8246e) Refactor photo index page - [`c512b5e`](https://github.com/immich-app/immich/commit/c512b5e345d2b225cb37458a77a36cd280d6a5f3) Refactor thumbnail - [`ecf4635`](https://github.com/immich-app/immich/commit/ecf4635eecec9b37c4ab77ab4c00caba3627a8d1) Refactor Thumbnail - [`301a68e`](https://github.com/immich-app/immich/commit/301a68ea1cafc01c1d572ebec70f4634ca9c4e7b) Refactor Thumbnail ### 📊 Changes **55 files changed** (+521 additions, -696 deletions) <details> <summary>View changed files</summary> 📝 `server/apps/immich/src/api-v1/asset/asset.controller.ts` (+39 -41) 📝 `server/apps/immich/src/api-v1/asset/asset.service.ts` (+41 -17) ➕ `server/apps/immich/src/api-v1/asset/dto/asset-file-upload.dto.ts` (+10 -0) 📝 `server/apps/immich/src/api-v1/asset/dto/serve-file.dto.ts` (+24 -5) ➕ `server/apps/immich/src/api-v1/asset/response-dto/asset-file-upload-response.dto.ts` (+7 -0) ➕ `server/apps/immich/src/api-v1/asset/response-dto/check-duplicate-asset-response.dto.ts` (+6 -0) 📝 `server/apps/immich/src/api-v1/user/user.controller.ts` (+8 -8) 📝 `server/apps/immich/src/api-v1/user/user.service.ts` (+4 -12) 📝 `server/apps/immich/src/app.module.ts` (+1 -0) 📝 `server/apps/immich/test/user.e2e-spec.ts` (+1 -1) 📝 `server/immich-openapi-specs.json` (+1 -1) 📝 `server/package-lock.json` (+1 -1) 📝 `server/package.json` (+1 -1) 📝 `web/src/api/api.ts` (+4 -3) ➕ `web/src/api/index.ts` (+2 -0) 📝 `web/src/api/open-api/.gitignore` (+0 -0) 📝 `web/src/api/open-api/.npmignore` (+0 -0) 📝 `web/src/api/open-api/.openapi-generator-ignore` (+0 -0) 📝 `web/src/api/open-api/.openapi-generator/FILES` (+0 -0) 📝 `web/src/api/open-api/.openapi-generator/VERSION` (+0 -0) _...and 35 more files_ </details> ### 📄 Description _No description provided_ --- <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 13:49:29 +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#8566