import type { CommunityVisibility } from "./CommunityVisibility"; import type { LanguageId } from "./LanguageId"; /** * Create a community. */ export type CreateCommunity = { /** * The unique name. */ name: string; /** * A longer title. */ title: string; /** * A sidebar for the community in markdown. */ sidebar?: string; /** * A shorter, one line summary of your community. */ summary?: string; /** * Whether its an NSFW community. */ nsfw?: boolean; /** * Whether to restrict posting only to moderators. */ posting_restricted_to_mods?: boolean; discussion_languages?: Array; visibility?: CommunityVisibility; };