Something went wrong. Try again.
TypeScript client for accessing TLE Community.
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041import type { components } from './schema';import type { ViewResponse as BuildingViewResponse } from './building';
export interface PartyStatus { seconds_remaining: number; happiness: number; can_throw: 1 | 0;}
export interface ViewResponse extends BuildingViewResponse { party: PartyStatus;}
export interface ThrowAPartyParams { building_id: number;}
export interface ThrowAPartyResponse { building: components['schemas']['building']; status: { server: components['schemas']['server_status']; empire?: components['schemas']['empire_status']; body?: components['schemas']['body_status']; }; party: { seconds_remaining: number; happiness: number; can_throw: 1 | 0 };}
export interface SubsidizePartyParams { building_id: number;}
export interface SubsidizePartyResponse { building: components['schemas']['building']; status: { server: components['schemas']['server_status']; empire?: components['schemas']['empire_status']; body?: components['schemas']['body_status']; }; party: { seconds_remaining: number; happiness: number; can_throw: 1 | 0 };}