import type { AdminOAuthProvider } from "./AdminOAuthProvider"; import type { Language } from "./Language"; import type { LanguageId } from "./LanguageId"; import type { LocalSiteUrlBlocklist } from "./LocalSiteUrlBlocklist"; import type { PersonView } from "./PersonView"; import type { PluginMetadata } from "./PluginMetadata"; import type { PublicOAuthProvider } from "./PublicOAuthProvider"; import type { SiteView } from "./SiteView"; import type { Tagline } from "./Tagline"; /** * An expanded response for a site. */ export type GetSiteResponse = { site_view: SiteView; admins: Array; version: string; all_languages: Array; discussion_languages: Array; /** * If the site has any taglines, a random one is included here for displaying */ tagline?: Tagline; /** * A list of external auth methods your site supports. */ oauth_providers: Array; admin_oauth_providers: Array; blocked_urls: Array; active_plugins: Array; /** * The number of seconds between the last application published, and approved / denied time. * * Useful for estimating when your application will be approved. */ last_application_duration_seconds?: number; captcha_enabled: boolean; };