14 lines
441 B
TypeScript
14 lines
441 B
TypeScript
import type { LeagueJoinRequestDto } from '../dtos';
|
|
|
|
/**
|
|
* League join request view model
|
|
* Transform from DTO to ViewModel with UI fields
|
|
*/
|
|
export interface LeagueJoinRequestViewModel extends LeagueJoinRequestDto {
|
|
// Formatted request date
|
|
formattedRequestedAt: string;
|
|
// Whether the request can be approved by current user
|
|
canApprove: boolean;
|
|
// Whether the request can be rejected by current user
|
|
canReject: boolean;
|
|
} |