Skip to content

refactor(server): guards, decorators, and utils - #3060

Merged
alextran1502 merged 1 commit into
mainfrom
refactor/guards-decorators-and-utils
Jul 1, 2023
Merged

alextran1502 merged 1 commit into
mainfrom
refactor/guards-decorators-and-utils

Conversation

@jrasm91

@jrasm91 jrasm91 commented Jul 1, 2023

Copy link
Copy Markdown
Member

Some utils/validation code belongs in the domain, other files have been consolidated. All the auth related stuff (decorators, interface definitions, etc.) have been moved to app.guard.ts. All api specific stuff lives in immich/ anything that is used in the domain should be moved to domain/.

Before:
image

After:
image

@vercel

vercel Bot commented Jul 1, 2023

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated (UTC)
immich ⬜️ Ignored (Inspect) Jul 1, 2023 2:28am

@jrasm91
jrasm91 requested a review from alextran1502 July 1, 2023 13:59
@alextran1502
alextran1502 merged commit d69fa3c into main Jul 1, 2023
@alextran1502
alextran1502 deleted the refactor/guards-decorators-and-utils branch July 1, 2023 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants