@resulbeser1/air-command-ui-components
Version:
UI Components for Air Command System
30 lines (29 loc) • 791 B
TypeScript
export interface Aircraft {
id: string;
callsign?: string;
callSign?: string;
type?: string;
classification?: string;
[key: string]: any;
}
export interface UpdateAircraftDialogProps {
isOpen: boolean;
onClose: () => void;
onUpdate: (updates: {
type?: string;
classification?: string;
}) => Promise<void>;
aircraft: Aircraft | null;
theme?: "light" | "dark";
labels?: {
updateTitle?: string;
cancel?: string;
update?: string;
updating?: string;
close?: string;
type?: string;
classification?: string;
};
}
export type AircraftType = "COMMERTIAL" | "MILITARY" | "DRONE" | "UNKNOWN";
export type ClassificationType = "FRIENDLY" | "HOSTILE" | "NEUTRAL" | "UNKNOWN";