export type ActiveSessionResponse = {
	crewSessionID: number;
	title: string;
	status: string;
	startedAt: string|null;
	createdAt: string;
	totalAmount: number;
	totalDonationCount: number;
	consents: ConsentItem[];
	summaries: SummaryItem[];
}|null;

export type ConsentItem = {
	crewMemberID: number;
	nickname: string;
	isConsented: boolean;
	consentedAt: string|null;
};

export type SummaryItem = {
	crewMemberID: number;
	nickname: string;
	totalAmount: number;
	donationCount: number;
	contributionRate: number;
	rank: number;
};

export type SessionHistoryResponse = {
	total: number;
	list: SessionHistoryItem[];
};

export type SessionHistoryItem = {
	id: number;
	title: string;
	totalAmount: number;
	totalDonationCount: number;
	startedAt: string|null;
	endedAt: string|null;
	createdAt: string;
};