Something went wrong. Try again.
TypeScript client for accessing TLE Community.
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142import type { components } from './schema';import type { ViewResponse as BuildingViewResponse } from './building';import type { RecycleBlock } from './waste-recycling';
export type { RecycleBlock };
export interface ViewResponse extends BuildingViewResponse { recycle: RecycleBlock;}
export interface RecycleParams { building_id: number; water: number; ore: number; energy: number; use_essentia?: 1 | 0;}
export interface RecycleResponse { building: components['schemas']['building']; status: { server: components['schemas']['server_status']; empire?: components['schemas']['empire_status']; body?: components['schemas']['body_status']; }; recycle: RecycleBlock;}
export interface SubsidizeRecyclingParams { building_id: number;}
export interface SubsidizeRecyclingResponse { building: components['schemas']['building']; status: { server: components['schemas']['server_status']; empire?: components['schemas']['empire_status']; body?: components['schemas']['body_status']; }; recycle: RecycleBlock;}