mission-control/types/space.ts
2026-01-28 20:11:44 +01:00

35 lines
672 B
TypeScript

export interface ISSPass {
id: string;
timestamp: number;
duration: number;
maxElevation: number;
}
export interface CelestialEvent {
title: string;
date: Date;
type: 'iss' | 'eclipse' | 'comet' | 'launch';
description?: string;
}
export interface Star {
id: number;
left: string;
top: string;
size: number;
duration: number;
delay: number;
}
export interface EventCardProps {
id: string;
title: string;
targetDate: Date | null;
endDate: Date | null;
icon: React.ReactNode;
}
export interface MissionControlProps {
iss: { start: Date | null; end: Date | null };
moon: { title: string; start: Date | null; end: Date | null };
}