import 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']; }; }