import 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; status: { server: components['schemas']['server_status']; empire?: components['schemas']['empire_status']; body?: components['schemas']['body_status']; }; }