mission-control/types/space.ts
GeorgeWebberley 1f43a7c29e
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Added next rocket data
2026-01-28 20:39:18 +01:00

44 lines
896 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 };
cosmic: { title: string; start: Date | null; end: Date | null };
launch: { title: string; start: Date | null; end: Date | null };
}
export interface CosmicEvent {
id: string;
title: string;
event_time: string;
}