This commit is contained in:
2025-12-16 11:52:26 +01:00
parent ce82b7822b
commit 9a891ac8b3
586 changed files with 1320 additions and 1563 deletions

View File

@@ -2,7 +2,7 @@
* Presenter Interface: IAwardPrizePresenter
*/
import type { Presenter } from '@gridpilot/shared/presentation/Presenter';
import type { Presenter } from '@core/shared/presentation/Presenter';
import type { PrizeDto } from './IGetPrizesPresenter';
export interface AwardPrizeResultDTO {

View File

@@ -2,7 +2,7 @@
* Presenter Interface: ICreatePaymentPresenter
*/
import type { Presenter } from '@gridpilot/shared/presentation/Presenter';
import type { Presenter } from '@core/shared/presentation/Presenter';
import type { PaymentDto } from './IGetPaymentsPresenter';
export interface CreatePaymentResultDTO {

View File

@@ -2,7 +2,7 @@
* Presenter Interface: ICreatePrizePresenter
*/
import type { Presenter } from '@gridpilot/shared/presentation/Presenter';
import type { Presenter } from '@core/shared/presentation/Presenter';
import type { PrizeDto } from './IGetPrizesPresenter';
export interface CreatePrizeResultDTO {

View File

@@ -2,7 +2,7 @@
* Presenter Interface: IDeletePrizePresenter
*/
import type { Presenter } from '@gridpilot/shared/presentation/Presenter';
import type { Presenter } from '@core/shared/presentation/Presenter';
export interface DeletePrizeResultDTO {
success: boolean;

View File

@@ -2,7 +2,7 @@
* Presenter Interface: IGetMembershipFeesPresenter
*/
import type { Presenter } from '@gridpilot/shared/presentation/Presenter';
import type { Presenter } from '@core/shared/presentation/Presenter';
import type { MembershipFeeType } from '../../domain/entities/MembershipFee';
import type { MemberPaymentStatus } from '../../domain/entities/MemberPayment';

View File

@@ -2,7 +2,7 @@
* Presenter Interface: IGetPaymentsPresenter
*/
import type { Presenter } from '@gridpilot/shared/presentation/Presenter';
import type { Presenter } from '@core/shared/presentation/Presenter';
import type { PaymentType, PayerType, PaymentStatus } from '../../domain/entities/Payment';
export interface PaymentDto {

View File

@@ -2,7 +2,7 @@
* Presenter Interface: IGetPrizesPresenter
*/
import type { Presenter } from '@gridpilot/shared/presentation/Presenter';
import type { Presenter } from '@core/shared/presentation/Presenter';
import type { PrizeType } from '../../domain/entities/Prize';
export interface PrizeDto {

View File

@@ -2,7 +2,7 @@
* Presenter Interface: IGetWalletPresenter
*/
import type { Presenter } from '@gridpilot/shared/presentation/Presenter';
import type { Presenter } from '@core/shared/presentation/Presenter';
import type { TransactionType, ReferenceType } from '../../domain/entities/Wallet';
export interface WalletDto {

View File

@@ -2,7 +2,7 @@
* Presenter Interface: IProcessWalletTransactionPresenter
*/
import type { Presenter } from '@gridpilot/shared/presentation/Presenter';
import type { Presenter } from '@core/shared/presentation/Presenter';
import type { WalletDto, TransactionDto } from './IGetWalletPresenter';
export interface ProcessWalletTransactionResultDTO {

View File

@@ -2,7 +2,7 @@
* Presenter Interface: IUpdateMemberPaymentPresenter
*/
import type { Presenter } from '@gridpilot/shared/presentation/Presenter';
import type { Presenter } from '@core/shared/presentation/Presenter';
import type { MemberPaymentDto } from './IGetMembershipFeesPresenter';
export interface UpdateMemberPaymentResultDTO {

View File

@@ -2,7 +2,7 @@
* Presenter Interface: IUpdatePaymentStatusPresenter
*/
import type { Presenter } from '@gridpilot/shared/presentation/Presenter';
import type { Presenter } from '@core/shared/presentation/Presenter';
import type { PaymentDto } from './IGetPaymentsPresenter';
export interface UpdatePaymentStatusResultDTO {

View File

@@ -2,7 +2,7 @@
* Presenter Interface: IUpsertMembershipFeePresenter
*/
import type { Presenter } from '@gridpilot/shared/presentation/Presenter';
import type { Presenter } from '@core/shared/presentation/Presenter';
import type { MembershipFeeDto } from './IGetMembershipFeesPresenter';
export interface UpsertMembershipFeeResultDTO {

View File

@@ -10,7 +10,7 @@ import type {
AwardPrizeResultDTO,
AwardPrizeViewModel,
} from '../presenters/IAwardPrizePresenter';
import type { UseCase } from '@gridpilot/shared/application/UseCase';
import type { UseCase } from '@core/shared/application/UseCase';
export interface AwardPrizeInput {
prizeId: string;

View File

@@ -11,7 +11,7 @@ import type {
CreatePaymentResultDTO,
CreatePaymentViewModel,
} from '../presenters/ICreatePaymentPresenter';
import type { UseCase } from '@gridpilot/shared/application/UseCase';
import type { UseCase } from '@core/shared/application/UseCase';
const PLATFORM_FEE_RATE = 0.10;

View File

@@ -11,7 +11,7 @@ import type {
CreatePrizeResultDTO,
CreatePrizeViewModel,
} from '../presenters/ICreatePrizePresenter';
import type { UseCase } from '@gridpilot/shared/application/UseCase';
import type { UseCase } from '@core/shared/application/UseCase';
export interface CreatePrizeInput {
leagueId: string;

View File

@@ -10,7 +10,7 @@ import type {
DeletePrizeResultDTO,
DeletePrizeViewModel,
} from '../presenters/IDeletePrizePresenter';
import type { UseCase } from '@gridpilot/shared/application/UseCase';
import type { UseCase } from '@core/shared/application/UseCase';
export interface DeletePrizeInput {
prizeId: string;

View File

@@ -10,7 +10,7 @@ import type {
GetMembershipFeesResultDTO,
GetMembershipFeesViewModel,
} from '../presenters/IGetMembershipFeesPresenter';
import type { UseCase } from '@gridpilot/shared/application/UseCase';
import type { UseCase } from '@core/shared/application/UseCase';
export interface GetMembershipFeesInput {
leagueId: string;

View File

@@ -11,7 +11,7 @@ import type {
GetPaymentsResultDTO,
GetPaymentsViewModel,
} from '../presenters/IGetPaymentsPresenter';
import type { UseCase } from '@gridpilot/shared/application/UseCase';
import type { UseCase } from '@core/shared/application/UseCase';
export interface GetPaymentsInput {
leagueId?: string;

View File

@@ -10,7 +10,7 @@ import type {
GetPrizesResultDTO,
GetPrizesViewModel,
} from '../presenters/IGetPrizesPresenter';
import type { UseCase } from '@gridpilot/shared/application/UseCase';
import type { UseCase } from '@core/shared/application/UseCase';
export interface GetPrizesInput {
leagueId: string;

View File

@@ -11,7 +11,7 @@ import type {
GetWalletResultDTO,
GetWalletViewModel,
} from '../presenters/IGetWalletPresenter';
import type { UseCase } from '@gridpilot/shared/application/UseCase';
import type { UseCase } from '@core/shared/application/UseCase';
export interface GetWalletInput {
leagueId: string;

View File

@@ -11,7 +11,7 @@ import type {
ProcessWalletTransactionResultDTO,
ProcessWalletTransactionViewModel,
} from '../presenters/IProcessWalletTransactionPresenter';
import type { UseCase } from '@gridpilot/shared/application/UseCase';
import type { UseCase } from '@core/shared/application/UseCase';
export interface ProcessWalletTransactionInput {
leagueId: string;

View File

@@ -11,7 +11,7 @@ import type {
UpdateMemberPaymentResultDTO,
UpdateMemberPaymentViewModel,
} from '../presenters/IUpdateMemberPaymentPresenter';
import type { UseCase } from '@gridpilot/shared/application/UseCase';
import type { UseCase } from '@core/shared/application/UseCase';
const PLATFORM_FEE_RATE = 0.10;

View File

@@ -11,7 +11,7 @@ import type {
UpdatePaymentStatusResultDTO,
UpdatePaymentStatusViewModel,
} from '../presenters/IUpdatePaymentStatusPresenter';
import type { UseCase } from '@gridpilot/shared/application/UseCase';
import type { UseCase } from '@core/shared/application/UseCase';
export interface UpdatePaymentStatusInput {
paymentId: string;

View File

@@ -11,7 +11,7 @@ import type {
UpsertMembershipFeeResultDTO,
UpsertMembershipFeeViewModel,
} from '../presenters/IUpsertMembershipFeePresenter';
import type { UseCase } from '@gridpilot/shared/application/UseCase';
import type { UseCase } from '@core/shared/application/UseCase';
export interface UpsertMembershipFeeInput {
leagueId: string;