Something went wrong. Try again.
TypeScript client for accessing TLE Community.
Something went wrong. Try again.
12345678910111213141516171819202122232425import type { components } from './schema';import type { ViewResponse as BuildingViewResponse } from './building';
export interface ViewResponse extends BuildingViewResponse { themepark: { food_type_count?: number; can_operate: 1 | 0; /** `[code, message]`, or `[0, '']` when it can operate. */ reason: [number, string]; };}
export interface OperateParams { building_id: number;}
export interface OperateResponse { building: components['schemas']['building']; status: { server: components['schemas']['server_status']; empire?: components['schemas']['empire_status']; body?: components['schemas']['body_status']; };}