Skip to content

Commit 1fadc26

Browse files
chore: typo (#41)
1 parent b65cc1f commit 1fadc26

File tree

4 files changed

+8
-20
lines changed

4 files changed

+8
-20
lines changed

projects/common/src/app/application-business-rules/use-cases/get-translations/get-translations.use-case.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
1-
import { Inject, Injectable } from '@angular/core';
1+
import { Injectable } from '@angular/core';
22
import { GetTranslationsDataSource } from '@common/application-business-rules/data-sources/get-translations/get-translations.data-source';
33
import { Observable } from 'rxjs';
44

55
@Injectable()
66
export class GetTranslationsUseCase {
7-
constructor(
8-
@Inject(GetTranslationsDataSource)
9-
private dataSource: GetTranslationsDataSource,
10-
) {}
7+
constructor(private dataSource: GetTranslationsDataSource) {}
118

129
execute(
1310
translations: () => Promise<object>,

projects/common/src/app/application-business-rules/use-cases/is-email-exists/is-email-exists.use-case.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
1-
import { Inject, Injectable } from '@angular/core';
1+
import { Injectable } from '@angular/core';
22
import { IsEmailExistsDataSource } from '@common/application-business-rules/data-sources/is-email-exists/is-email-exists.data-source';
33
import { IsEmailExistsResponse } from '@common/entities/is-email-exists/is-email-exists.entity';
44
import { Observable } from 'rxjs';
55

66
@Injectable()
77
export class IsEmailExistsUseCase {
8-
constructor(
9-
@Inject(IsEmailExistsDataSource)
10-
private dataSource: IsEmailExistsDataSource,
11-
) {}
8+
constructor(private dataSource: IsEmailExistsDataSource) {}
129

1310
execute(email: string): Observable<IsEmailExistsResponse> {
1411
return this.dataSource.execute(email);

projects/common/src/app/application-business-rules/use-cases/is-feature-enabled/is-feature-enabled.use-case.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
1-
import { Inject, Injectable } from '@angular/core';
1+
import { Injectable } from '@angular/core';
22
import { IsFeatureEnabledDataSource } from '@common/application-business-rules/data-sources/is-feature-enabled/is-feature-enabled.data-source';
33
import { IsFeatureEnabledResponse } from '@common/entities/is-feature-enabled/is-feature-enabled.entity';
44

55
@Injectable()
66
export class IsFeatureEnabledUseCase {
7-
constructor(
8-
@Inject(IsFeatureEnabledDataSource)
9-
private dataSource: IsFeatureEnabledDataSource,
10-
) {}
7+
constructor(private dataSource: IsFeatureEnabledDataSource) {}
118

129
execute(feature: string): Promise<IsFeatureEnabledResponse> {
1310
return this.dataSource.execute(feature);

projects/common/src/app/application-business-rules/use-cases/sign-in-with-email-and-password/sign-in-with-email-and-password.use-case.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
1-
import { Inject, Injectable } from '@angular/core';
1+
import { Injectable } from '@angular/core';
22
import { SignInWithEmailAndPasswordDataSource } from '@common/application-business-rules/data-sources/sign-in/sign-in.data-source';
33
import { SignInWithEmailAndPasswordResponse } from '@common/entities/sign-in-with-email-and-password/sign-in-with-email-and-password.entity';
44
import { Observable } from 'rxjs';
55

66
@Injectable()
77
export class SignInWithEmailAndPasswordUseCase {
8-
constructor(
9-
@Inject(SignInWithEmailAndPasswordDataSource)
10-
private dataSource: SignInWithEmailAndPasswordDataSource,
11-
) {}
8+
constructor(private dataSource: SignInWithEmailAndPasswordDataSource) {}
129

1310
execute(
1411
email: string,

0 commit comments

Comments
 (0)