refactor: move auth constants from utils to auth package#97
Merged
adelrodriguez merged 1 commit intomainfrom Feb 19, 2026
Merged
Conversation
This was referenced Feb 19, 2026
Collaborator
Author
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
8224d45 to
e488cf2
Compare
a4329c7 to
757d7bd
Compare
e488cf2 to
85e4f22
Compare
4006c13 to
872af02
Compare
0a35984 to
bebe06f
Compare
872af02 to
55b5f2a
Compare
bebe06f to
ef357e0
Compare
55b5f2a to
1f7ca99
Compare
ef357e0 to
fcc2d1a
Compare
25dfdb1 to
e4db01e
Compare
09e50e2 to
89c9dd4
Compare
e4db01e to
29f6db4
Compare
89c9dd4 to
5efceb8
Compare
29f6db4 to
aa7cd9c
Compare
6c150e3 to
66a4d5d
Compare
66a4d5d to
3c3989e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Greptile Summary
Moved auth-related constants (
APP_IDandAPP_NAME) from@init/utilspackage to@init/authpackage asAUTH_COOKIE_PREFIXandAUTH_APP_NAME, improving package cohesion and separation of concerns.packages/auth/src/constants.tswith auth-specific constantsexpoClientwrapper to automatically apply defaultschemeandstoragePrefixvaluesConfidence Score: 5/5
Important Files Changed
APP_IDandAPP_NAMEimports with newAUTH_COOKIE_PREFIXandAUTH_APP_NAMEfrom@init/auth/constantsschemeandstoragePrefixconfig since they're now defaults inexpoClientAUTH_COOKIE_PREFIXandAUTH_APP_NAMEexpoClientto apply defaultschemeandstoragePrefixfrom constantsAPP_IDandAPP_NAMEwith new auth constants from@init/auth/constantsFlowchart
%%{init: {'theme': 'neutral'}}%% flowchart TD A["`@init/utils/constants`"] -->|Deleted| B[APP_ID & APP_NAME] C["`@init/auth/constants`"] -->|Created| D[AUTH_COOKIE_PREFIX & AUTH_APP_NAME] D --> E["`apps/api/src/shared/auth.ts`"] D --> F["`apps/mobile/src/shared/auth.ts`"] D --> G["`packages/backend/src/functions/shared/auth.ts`"] D --> H["`packages/auth/src/expo/client.ts`"] H -->|Wraps with defaults| I[expoClient] I --> FLast reviewed commit: 3c3989e