@
Add star-map Angular app, ETL pipeline, and caveman plugin Angular 3D star map (galaxy/system/body views, Three.js rendering, navigation store) plus the NASA ETL tooling that builds the star, exoplanet and solar-system datasets, Playwright e2e suite, and the cs:caveman Claude Code plugin (command, agent, skill). Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> @
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
import { OrbitalElements } from '../../shared/models/body.model';
|
||||
|
||||
export type BodyDetailKind = 'planet' | 'moon' | 'dwarf' | 'exoplanet';
|
||||
|
||||
/**
|
||||
* Flattened view model combining the fields `InfoPanelComponent` displays, regardless of
|
||||
* whether the selected body came from `bodies.json` (solar-system `BodyRecord`) or
|
||||
* `exoplanets.json` (`ExoplanetRecord`) — the two sources report different subsets of data.
|
||||
*/
|
||||
export interface BodyDetailViewModel {
|
||||
id: string;
|
||||
name: string;
|
||||
kind: BodyDetailKind;
|
||||
hostStarName: string;
|
||||
radiusKm?: number;
|
||||
massEarth?: number;
|
||||
discoveryYear?: number;
|
||||
orbit: Partial<OrbitalElements>;
|
||||
}
|
||||
Reference in New Issue
Block a user