refactor driver module (wip)
This commit is contained in:
@@ -44,17 +44,11 @@ import type {
|
||||
UpdateMemberPaymentInput,
|
||||
UpdateMemberPaymentOutput,
|
||||
GetPrizesQuery,
|
||||
GetPrizesOutput,
|
||||
CreatePrizeInput,
|
||||
CreatePrizeOutput,
|
||||
AwardPrizeInput,
|
||||
AwardPrizeOutput,
|
||||
DeletePrizeInput,
|
||||
DeletePrizeOutput,
|
||||
GetWalletQuery,
|
||||
GetWalletOutput,
|
||||
ProcessWalletTransactionInput,
|
||||
ProcessWalletTransactionOutput,
|
||||
} from './dtos/PaymentsDto';
|
||||
|
||||
// Injection tokens
|
||||
|
||||
@@ -28,7 +28,7 @@ export class GetPaymentsPresenter implements UseCaseOutputPort<GetPaymentsResult
|
||||
};
|
||||
}
|
||||
|
||||
getResponseModel(): GetPaymentsOutput {
|
||||
get responseModel(): GetPaymentsOutput {
|
||||
if (!this.responseModel) throw new Error('Presenter not presented');
|
||||
return this.responseModel;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user