Something went wrong. Try again.
TypeScript client for accessing TLE Community.
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435import type { components } from './schema';import type { ViewResponse as BuildingViewResponse } from './building';
export interface ViewResponse extends BuildingViewResponse { /** Whether a coverage-restriction policy is currently in effect for this planet. */ restrict_coverage: 1 | 0;}
export interface RestrictCoverageParams { building_id: number; onoff: 1 | 0;}
export interface RestrictCoverageResponse { status: { server: components['schemas']['server_status']; empire?: components['schemas']['empire_status']; body?: components['schemas']['body_status']; };}
export interface ViewNewsParams { building_id: number;}
export interface ViewNewsResponse { news: Array<{ headline: string; date: string }>; feeds: Record<string, string>; status: { server: components['schemas']['server_status']; empire?: components['schemas']['empire_status']; body?: components['schemas']['body_status']; };}