Something went wrong. Try again.
TypeScript client for accessing TLE Community.
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556import Lacuna from '../lacuna';import Endpoint from '../core/endpoint';import * as map from '../types/map';
class Map extends Endpoint { lacuna: Lacuna; module: string;
constructor(lacuna: Lacuna, module: string) { super(); this.lacuna = lacuna; this.module = module; }
getStarMap(params: map.GetStarMapParams) { return this.callWithSession<map.GetStarMapResponse>('get_star_map', params); }
getStars(params: map.GetStarsParams) { return this.callWithSession<map.GetStarsResponse>('get_stars', params); }
checkStarForIncomingProbe(params: map.CheckStarForIncomingProbeParams) { return this.callWithSession<map.CheckStarForIncomingProbeResponse>( 'check_star_for_incoming_probe', params ); }
getStar(params: map.GetStarParams) { return this.callWithSession<map.GetStarResponse>('get_star', params); }
getStarByName(params: map.GetStarByNameParams) { return this.callWithSession<map.GetStarByNameResponse>('get_star_by_name', params); }
getStarByXy(params: map.GetStarByXyParams) { return this.callWithSession<map.GetStarByXyResponse>('get_star_by_xy', params); }
searchStars(params: map.SearchStarsParams) { return this.callWithSession<map.SearchStarsResponse>('search_stars', params); }
probeSummaryFissures(params: map.ProbeSummaryFissuresParams) { return this.callWithSession<map.ProbeSummaryFissuresResponse>('probe_summary_fissures', params); }
viewLaws(params: map.ViewLawsParams) { return this.callWithSession<map.ViewLawsResponse>('view_laws', params); }}
export default Map;