diff --git a/backend/src/common/types/repository.type.ts b/backend/src/common/types/repository.type.ts index 4008a9251..d69be849b 100644 --- a/backend/src/common/types/repository.type.ts +++ b/backend/src/common/types/repository.type.ts @@ -1,7 +1,6 @@ type Repository = { find(): Promise; findAll(): Promise; - findByEmail(email: string): Promise; create(payload: unknown): Promise; update(): Promise; delete(): Promise; diff --git a/backend/src/common/types/service.type.ts b/backend/src/common/types/service.type.ts index 245943234..47673e6d3 100644 --- a/backend/src/common/types/service.type.ts +++ b/backend/src/common/types/service.type.ts @@ -1,8 +1,5 @@ type Service = { find(): Promise; - findAll(): Promise<{ - items: T[]; - }>; findByEmail(email: string): Promise; create(payload: unknown): Promise; update(): Promise;