30 lines
502 B
TypeScript
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;
|
|
} |