Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Jul 1, 2023

Conversation

jrasm91
Copy link
Contributor

@jrasm91 jrasm91 commented Jul 1, 2023

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
Copy link

vercel bot commented Jul 1, 2023

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
19 checks passed
@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.

None yet

2 participants