Something went wrong. Try again.
TypeScript client for accessing TLE Community.
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334import type { components } from './schema';import type { ViewResponse as BuildingViewResponse } from './building';
export interface ViewResponse extends BuildingViewResponse { /** The server sends `null` (not 0) when nothing has quacked yet. */ ducks_quacked: number | null;}
export interface GetLotteryVotingOptionsParams { building_id: number;}
export interface GetLotteryVotingOptionsResponse { options: Array<{ name: string; url: string }>; status: { server: components['schemas']['server_status']; empire?: components['schemas']['empire_status']; body?: components['schemas']['body_status']; };}
export interface DuckQuackParams { building_id: number;}
export interface DuckQuackResponse { quack: string; status: { server: components['schemas']['server_status']; empire?: components['schemas']['empire_status']; body?: components['schemas']['body_status']; };}