mission-control/types/space.ts
2026-01-28 15:20:04 +01:00

30 lines
502 B
TypeScript

import { ReactNode } from "react";
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 {
title: string;
targetDate: Date;
icon?: ReactNode;
}