44 lines
896 B
TypeScript
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;
|
|
}
|