-
Notifications
You must be signed in to change notification settings - Fork 61
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
feat(user): add user api keys schema + api #787
Conversation
f6ddedc
to
8f51048
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #787 +/- ##
===========================================
+ Coverage 11.30% 22.39% +11.08%
===========================================
Files 438 640 +202
Lines 11576 16060 +4484
Branches 2449 3092 +643
===========================================
+ Hits 1309 3596 +2287
- Misses 10093 12115 +2022
- Partials 174 349 +175
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there is auth
module present in the api already. Api keys falls down under it's domain. user
domain can be related but it's generally a different one that can have a bunch of own specifics to separate from.
apps/api/src/user/model-schemas/user-api-key/user-api-key.schema.ts
Outdated
Show resolved
Hide resolved
apps/api/src/user/model-schemas/user-api-key/user-api-key.schema.ts
Outdated
Show resolved
Hide resolved
apps/api/src/user/model-schemas/user-api-key/user-api-key.schema.ts
Outdated
Show resolved
Hide resolved
apps/api/src/user/services/user-api-key/user-api-key.service.ts
Outdated
Show resolved
Hide resolved
d5b2939
to
3c1d293
Compare
apps/api/src/user/services/user-api-key/user-api-key.service.ts
Outdated
Show resolved
Hide resolved
apps/api/src/user/repositories/user-api-key/user-api-key.repository.ts
Outdated
Show resolved
Hide resolved
1070b9a
to
df34ac8
Compare
apps/api/src/auth/services/api-key/api-key-auth.service.spec.ts
Outdated
Show resolved
Hide resolved
apps/api/src/auth/services/api-key/api-key-auth.service.spec.ts
Outdated
Show resolved
Hide resolved
apps/api/src/auth/services/api-key/api-key-auth.service.spec.ts
Outdated
Show resolved
Hide resolved
apps/api/src/auth/services/api-key/api-key-auth.service.spec.ts
Outdated
Show resolved
Hide resolved
apps/api/src/auth/services/api-key/api-key-generator.service.spec.ts
Outdated
Show resolved
Hide resolved
apps/api/src/auth/services/api-key/api-key-generator.service.ts
Outdated
Show resolved
Hide resolved
a873f44
to
cb01c5f
Compare
apps/api/src/auth/services/api-key/api-key-auth.service.spec.ts
Outdated
Show resolved
Hide resolved
Co-authored-by: Iaroslav Gryshaiev <[email protected]> Signed-off-by: Maxime Beauchamp <[email protected]>
7dfa331
to
5959b1d
Compare
#768