feat(auth): Migrate auth module to DML (#10387)

* feat(auth): Migrate auth module to DML

* Create lazy-eagles-bow.md
This commit is contained in:
Adrien de Peretti
2024-12-02 11:58:04 +01:00
committed by GitHub
parent 913cf15e2b
commit 4ef353a7b9
7 changed files with 128 additions and 136 deletions

View File

@@ -5,6 +5,7 @@ import {
AuthTypes,
Context,
DAL,
InferEntityType,
InternalModuleDeclaration,
Logger,
ModuleJoinerConfig,
@@ -35,8 +36,12 @@ export default class AuthModuleService
implements AuthTypes.IAuthModuleService
{
protected baseRepository_: DAL.RepositoryService
protected authIdentityService_: ModulesSdkTypes.IMedusaInternalService<AuthIdentity>
protected providerIdentityService_: ModulesSdkTypes.IMedusaInternalService<ProviderIdentity>
protected authIdentityService_: ModulesSdkTypes.IMedusaInternalService<
InferEntityType<typeof AuthIdentity>
>
protected providerIdentityService_: ModulesSdkTypes.IMedusaInternalService<
InferEntityType<typeof ProviderIdentity>
>
protected readonly authProviderService_: AuthProviderService
constructor(