Something went wrong. Try again.
TypeScript client for accessing TLE Community.
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206import type { components } from './schema';
export interface GetStarMapParams { left: number; top: number; right: number; bottom: number;}
export interface GetStarMapResponse { stars: Array<{ name: string; color: string; x: number; y: number; id: number; zone: string; /** May be null when the star is outside any station's jurisdiction. */ influence: number | null; station?: { id: number; x: number; y: number; name: string; alliance: { name: string; id: number; image: string }; }; bodies: Array<{ name: string; id: number; orbit: number; x: number; y: number; type: string; image: string; size: number; empire?: { id: number; name: string; alignment: 'ally' | 'self' | 'hostile'; is_isolationist: 1 | 0; }; body_has_fissure?: 1 | 0; }>; }>;}
export interface GetStarsParams { x1: number; y1: number; x2: number; y2: number;}
export interface GetStarsResponse { stars: Array<{ name: string; color: string; x: number; y: number; zone: string; /** May be null when the star is outside any station's jurisdiction. */ influence: number | null; id: number; station?: { id: number; x: number; y: number; name: string }; bodies?: Array<components['schemas']['body_status']>; }>; status: { server: components['schemas']['server_status']; empire?: components['schemas']['empire_status']; body?: components['schemas']['body_status']; };}
export interface CheckStarForIncomingProbeParams { star_id: number;}
export interface CheckStarForIncomingProbeResponse { status: { server: components['schemas']['server_status']; empire?: components['schemas']['empire_status']; body?: components['schemas']['body_status']; }; incoming_probe?: string;}
export interface GetStarParams { star_id: number;}
export interface GetStarResponse { star: { name: string; color: string; x: number; y: number; zone: string; /** May be null when the star is outside any station's jurisdiction. */ influence: number | null; id: number; station?: { id: number; x: number; y: number; name: string }; bodies?: Array<components['schemas']['body_status']>; }; status: { server: components['schemas']['server_status']; empire?: components['schemas']['empire_status']; body?: components['schemas']['body_status']; };}
export interface GetStarByNameParams { name: string;}
export interface GetStarByNameResponse { star: { name: string; color: string; x: number; y: number; zone: string; /** May be null when the star is outside any station's jurisdiction. */ influence: number | null; id: number; station?: { id: number; x: number; y: number; name: string }; bodies?: Array<components['schemas']['body_status']>; }; status: { server: components['schemas']['server_status']; empire?: components['schemas']['empire_status']; body?: components['schemas']['body_status']; };}
export interface GetStarByXyParams { x: number; y: number;}
export interface GetStarByXyResponse { star: { name: string; color: string; x: number; y: number; zone: string; /** May be null when the star is outside any station's jurisdiction. */ influence: number | null; id: number; station?: { id: number; x: number; y: number; name: string }; bodies?: Array<components['schemas']['body_status']>; }; status: { server: components['schemas']['server_status']; empire?: components['schemas']['empire_status']; body?: components['schemas']['body_status']; };}
export interface SearchStarsParams { name: string;}
export interface SearchStarsResponse { stars: Array<{ name: string; color: string; x: number; y: number }>; status: { server: components['schemas']['server_status']; empire?: components['schemas']['empire_status']; body?: components['schemas']['body_status']; };}
export interface ProbeSummaryFissuresParams { zone?: string;}
/** The lightweight body shape `probe_summary_fissures` maps by body id. */export interface BodyStatusLite { id: number; name: string; image: string; x: number; y: number; orbit: number; size: number; type: string;}
export interface ProbeSummaryFissuresResponse { /** Keyed by body id. `null` when no fissures match the query. */ fissures: Record<string, BodyStatusLite> | null;}
export interface ViewLawsParams { star_id: number;}
export interface ViewLawsResponse { status: { server: components['schemas']['server_status']; empire?: components['schemas']['empire_status']; body?: components['schemas']['body_status']; }; laws: Array<{ id: number; name: string; description: string; date_enacted: string }>;}